debian/0000755000000000000000000000000012244453701007170 5ustar debian/compat0000644000000000000000000000000212244453175010373 0ustar 9 debian/changelog0000644000000000000000000003337212244453456011061 0ustar zathura (0.2.6-1) unstable; urgency=low * New upstream release. -- Sebastian Ramacher Sun, 24 Nov 2013 20:44:44 +0100 zathura (0.2.5-1) unstable; urgency=low * New upstream release. - zathura 0.2.5. - zathura-pdf-poppler 0.2.4. - Fixes page refresh issues. (Closes: #721260) * Bump zathura's ABI to 2gtk3 since zathura switched from GTK+2 to GTK+3. - dh_zathura: Allow alphanumeric characters in the ABI version "number". * debian/control: - Replace libgtk2.0-dev with libgtk-3-dev everywhere. - Bump libgirara-dev to >= 0.1.8 for proper GTK+3 support. - Bump Standards-Version to 3.9.5. -- Sebastian Ramacher Sat, 09 Nov 2013 17:14:31 +0100 zathura (0.2.4-1) unstable; urgency=low * New upstream release. * debian/rules: Re-enable test suite on kfreebsd-am64. -- Sebastian Ramacher Thu, 15 Aug 2013 01:19:12 +0200 zathura (0.2.3-2) unstable; urgency=low * Upload to unstable. * debian/control: Add zathura-cb to zathura's Suggests. * debian/rules: Disable tests on kfreebsd-amd64 since check is broken there (cf. 712196). -- Sebastian Ramacher Fri, 14 Jun 2013 23:31:08 +0200 zathura (0.2.3-1) experimental; urgency=low * New upstream release. - zathura 0.2.3. - zathura-pdf-poppler 0.2.3. * debian/patches: Removed, not needed anymore. * debian/zathura.install: Install desktop file for the PDF plugin. * debian/control: - Remove Jakub Wilk from Uploaders on his request. Thanks for your work on zathura, Jakub. - Bump libgirara-dev dependencies to >= 0.1.6. - Drop Build-Conflicts on libpng-dev (>= 0.15) since it's gone. - Add Build-Dep on libmagic-dev for the new MIME type detection code. * debian/copyright: Update copyright years of zathura-pdf-poppler and update my mail address for the upstream copyright. * debian/rules: Run dh with --parallel. -- Sebastian Ramacher Mon, 13 May 2013 21:32:28 +0200 zathura (0.2.2-1) experimental; urgency=low * New upstream release. - zathura-pdf-poppler 0.2.2. * debian/control: Bump libgirara-dev Build-Dep to >= 0.1.5. * debian/copyright: Update copyright years. * debian/patches: - Drop old patches, not needed anymore. - add-translations.patch: update some translations and add new translations for Catalan, Greek and Portuguese (Brazil). -- Sebastian Ramacher Thu, 24 Jan 2013 13:41:13 +0100 zathura (0.2.1-2) experimental; urgency=low * debian/control: - Update my mail address. - Remove DMUA. Not needed anymore. - Bump Standards-Version to 3.9.4 (no changes required). * debian/copyright: Update my mail address. * debian/patches: - Add fix-czech-translation.patch: Fix errors in Czech translation. Thanks to Jakub Wilk for the report and the fixed strings. (Closes: #686972) - Add incremental-search.patch: Add config option to disable incremental search. (Closes: #686234) -- Sebastian Ramacher Thu, 22 Nov 2012 00:14:36 +0100 zathura (0.2.1-1) experimental; urgency=low * New upstream release. - zathura 0.2.1 + Makes :pagenum work again. (Closes: #676517) - zathura-pdf-poppler 0.2.1 * d/control: - Bump libgirara-dev Build-Dep and Dep in zathura-dev to >= 0.1.4. - Bump debhelper Build-Dep to >= 9. - Add libpng15-dev (>= 1.5) to Build-Conflicts since it provides libpng12-dev but doesn't ship libpng12.pc and breaks `pkg-config --cflags gtk+-2.0`. As soon as #652001 is fixed or gdk-pixbuf-2.0.pc uses libpng15 (#642265), this change will be reverted. * d/compat: Bump to 9. * d/patches: Remove all patches, not needed anymore. * d/rules: Build test suite with the same flags as zathura. -- Sebastian Ramacher Thu, 06 Sep 2012 11:41:08 +0200 zathura (0.1.2-4) unstable; urgency=low * debian/{changelog,patches/fix-pan-problem}: Fix some typos. * debian/patches: Backport some fixes from upstream. - render-lock: Fix a crash if pages are rendered in the render thread and for printing at the same time. - printing: Print pages without margin and set up the orientation correctly. -- Sebastian Ramacher Tue, 12 Jun 2012 10:48:20 +0200 zathura (0.1.2-3) unstable; urgency=low * debian/control: Add Suggests on zathura-{ps,djvu}. * debian/patches: Backport some fixes and translations from upstream. - fix-pan-problem: Fix bad panning behavior. (Closes: #669034) - close-on-destroy: Correctly close the document on exit so the current page is remembered. - free-index: Free index if document gets closed. Otherwise one would get the old index after a document gets reloaded. - add-translations: Backport new translations. * debian/copyright: Fix formatting. * debian/rules: Call xfvb-run with -a to prevent FTBFS if there is already another xvfb instance running. -- Sebastian Ramacher Thu, 10 May 2012 20:02:11 +0200 zathura (0.1.2-2) unstable; urgency=low * debian/patches: - Add patch hurd-use-flock from upstream to fix FTBFS on hurd-i386. - Really remove unneeded patches. -- Sebastian Ramacher Tue, 27 Mar 2012 12:08:58 +0200 zathura (0.1.2-1) unstable; urgency=low * Upload to unstable. * New upstream release. * Add ABI versioning: - zathura now Provides zathura-abi-${abiversion}. Plugins should depend on zathura-abi-${abiversion} to denote the ABI version they are compatible with. - zathura-dev ships dh_zathura in /usr/share/zathura to generate the correct dependency. - debian/rules: Use dh_zathura in overide_dh_gencontrol to generate the correct providoes. * debian/patches: Drop fix-translation and add-zathurarc-content (not needed anymore). * debian/control: - Bump libgirara-dev dependencies to >= 0.1.2 since new symbols and macros from girara 0.1.2 are used. - Add Build-Dep on xvfb and xauth since the test suite now requires a X session. * debian/rules: - Run the test suite with xvfb-run. - Set CF_DEFAULT_TIMEOUT=0 to disable check's timeout check. The tests may take longer than the default timeout of 4 seconds. - Upstream's build system now builds the mo pages in the default target so there is no need to call it manually anymore. * debian/clean: Remove zathura.1 and zathurarc.5 as they are now shipped in the upstream tarball. -- Sebastian Ramacher Mon, 26 Mar 2012 17:22:01 +0200 zathura (0.1.1-1) experimental; urgency=low * New upstream release. (Closes: #657159, #657160, #663131) * Pack zathura-pdf-poppler as part of zathura. * debian/control: - Bump Standards-Version to 3.9.3 (no changes required). - Add Build-Dep on libgirara-dev. - Add Build-Dep on check to build the test suite. - Add Build-Dep on dpkg-dev (>= 1.16.1~) for /usr/share/dpkg/buildflags.mk. - Add Build-Dep on libsqlite3-dev to build sqlite database backend. - Add Build-Dep on gettext to build the translation files. - Add zathura-dev package. - Remove Suggests on cups-client | lpr. zathura now uses GTK+ to print. - Update description and mention the ability to extend zathura via plugins. * debian/patches: - Drop safe-realloc-fix (not needed anymore). - Drop use-sensible-browser. zathura now uses xdg-open via girara to open links. - Add fix-version-check from upstream. Otherwise the plugin will be relinked during install. - Add fix-translation from upstream. This fixes some issues with the German translation. - Add add-zathurarc-content from upstream so that zathurarc.5 is not useless. * debian/watch: Update once again due to website layout changes. * debian/zathura-pdf-poppler.watch: Add watch file for the PDF plugin. * debian/rules: - Build the plugin and translation files. - Add get-orig-source target to rename the PDF plugin's source accordingly. - Upstream's build system now supports CPPFLAGS. - Include /usr/share/dpkg/buildflags.mk to get the buildflags and call dpkg-buildflags directly to get the hardening=+all buildflags for zathura. * debian/examples/zathurarc: Update to new setting names and add an example on how to change the database backend. * debian/copyright: - Add copyright information for zathura-pdf-poppler. - Update copyright to reflect changes from upstream's LICENSE. - Update Format URL. - Update Upstream-Contact and Homepage. * debian/clean: Removed (not needed anymore). * debian/menu: Renamed to debian/zathura.menu. * debian/{zathura,zathura-dev}.install: Added to install files in the correct packages. -- Sebastian Ramacher Thu, 15 Mar 2012 22:01:52 +0100 zathura (0.0.8.5-4) unstable; urgency=low * Enable all hardening flags. Thanks to Simon Ruderich for the patch. (Closes: #652688) -- Sebastian Ramacher Tue, 20 Dec 2011 11:43:33 +0100 zathura (0.0.8.5-3) unstable; urgency=low * debian/patches: add safe-realloc-fix from upstream to fix crash while trying to complete unknown commands. -- Sebastian Ramacher Mon, 12 Dec 2011 01:21:19 +0100 zathura (0.0.8.5-2) unstable; urgency=low * Pass CPPFLAGS to the build system. Thanks to Jakub Wilk for the report. (Closes: #648336) -- Sebastian Ramacher Sat, 12 Nov 2011 14:57:52 +0100 zathura (0.0.8.5-1) unstable; urgency=low * New upstream release. * debian/patches: drop dont-invert-y-coordinate (applied upstream). * debian/rules: enable verbose build output. -- Sebastian Ramacher Thu, 10 Nov 2011 13:19:05 +0100 zathura (0.0.8.4-2) unstable; urgency=low * debian/patches: add patch dont-invert-y-coordinate from upstream to fix usage of poppler_page_get_selected_text. (Closes: 635551) -- Sebastian Ramacher Fri, 29 Jul 2011 10:35:24 +0200 zathura (0.0.8.4-1) unstable; urgency=low [ Sebastian Ramacher ] * New upstream release. * Bump Standards-Version to 3.9.2 (no changes needed). * debian/{rules,zathurarc.5.rst,zathura.manpages}: zathurarc.5.rst is now shipped by upstream and built in the Makefile. * debian/rules: use debian/clean instead of overriding dh_clean. * debian/copyright: - Update Format URL and update to latest revision (no changes needed). - Update Copyright info to reflect changes from upstream's LICENSE. - Fix typo in my name. [ Jakub Wilk ] * Set DM-Upload-Allowed field. * debian/watch: update once again due to new website layout. -- Sebastian Ramacher Sat, 23 Jul 2011 23:31:04 +0200 zathura (0.0.8.3-1) unstable; urgency=low * New upstream release. * Removed patches `fix-options-section-and-gtk-capitalization`, `build-with-poppler-0.15`, `fix-regression-from-f91bea5f` and `fix-bookmark-memory-issues` (all applied upstram). * Update `debian/watch` due to new website layout. -- Sebastian Ramacher Thu, 24 Mar 2011 13:05:58 +0100 zathura (0.0.8.2-4) unstable; urgency=low * Add patch `fix-options-section-and-gtk-capitalization` (Closes: #607011, #607013). * Add patch `dont-segfault-on-reload-document`. * Add patch `build-with-poppler-0.15` to be able to build with poppler versions >= 0.15. * Update `debian/copyright` to DEP5. * Update `debian/watch` due to new website layout. * Update URLs in patches `fix-bookmark-memory-issues` and `fix-regression-from-f91bea5f` due to new website layout. -- Sebastian Ramacher Fri, 25 Feb 2011 14:05:16 +0100 zathura (0.0.8.2-3) unstable; urgency=low * Upload to unstable. -- Jakub Wilk Sun, 06 Feb 2011 13:39:44 +0100 zathura (0.0.8.2-2) experimental; urgency=low * Add patch `fix-regression-from-f91bea5f` to fix regression introduced by `fix-bookmark-memory-issues`. * Add documentation for `scroll_wrap` to zathurarc.5 manpage. -- Sebastian Ramacher Sun, 12 Dec 2010 11:52:25 +0100 zathura (0.0.8.2-1) experimental; urgency=low * New upstream version (Closes: #598056). * Remove patch `fix-cmd-print` (applied upstream). * Remove patch `do-not-strip`. zathura's build system now honors predefinied values of `SFLAGS`. * Remove patch `fix-settings-descriptions` (applied upstream). * Add patch `fix-bookmark-memory-issues` to fix memory issues in code related to bookmarks which made them almost useless. * Honor `CFLAGS` and `LDFLAGS` from dpkg-buildflags and therefore add `dpkg` to Build-Depends. -- Sebastian Ramacher Wed, 02 Dec 2010 11:31:38 +0100 zathura (0.0.8.1-2) unstable; urgency=low * Add zathurarc.5 manpage (Closes: #593552). * Add `python-docutils` to Build-Depends to build the manpage. * Add zathurarc example. * Add patch `fix-settings-descriptions` to display correct descriptions. * Correct the origin of patch `fix-cmd-print`. -- Sebastian Ramacher Thu, 19 Aug 2010 20:05:30 +0200 zathura (0.0.8.1-1) unstable; urgency=low [ Sebastian Ramacher ] * New upstream version (Closes: #590205, #590974). * Correct Homepage (Closes: #590970). * Update watch file. * Update Standards version to 3.9.1 (no changes needed). * Remove patch `manpage-description` (applied upstream). * Add `poppler-data` to Suggests. * Add patch `fix-cmd-print` to fix printing issues. [ Jakub Wilk ] * Prevent upstream makefile from stripping binaries. -- Sebastian Ramacher Mon, 02 Aug 2010 14:26:04 +0200 zathura (0.0.7-1) unstable; urgency=low [ Sebastian Ramacher ] * Initial release (Closes: #582119) [ Jakub Wilk ] * Add myself to uploaders. -- Sebastian Ramacher Fri, 23 Jul 2010 12:18:37 +0200 debian/dh_zathura.10000644000000000000000000000141212244453175011406 0ustar .TH DH_ZATHURA 1 "2012-03-21" "zathura" .SH NAME /usr/share/zathura/dh_zathura \- adds zathura depends to misc:Depends substvar .SH SYNOPSYS \fBdh_zathura\fR [\fIdebhelper\ options\fR] [\fB\-\-substvar=\fR\fIname] .SH DESCRIPTION dh_zathura adds information about the correct dependency on zathura to misc:Depends substvar. This is needed because an ABI breakage might make the a plugin unusable. .PP The helper script uses the information stored in zathura's pkg-config file to determine the ABI version. .SH "OPTIONS" .IP "\fB\-\-substvar=\fR\fIname" 4 Change the substvar name to something other than misc:Depends. .SH "SEE ALSO" \fIdebhelper\fR(7) .PP This program is provided by zathura-dev and is not part of debhelper. .SH "AUTHOR" Sebastian Ramacher debian/copyright0000644000000000000000000000537212244453175011137 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: zathura Upstream-Contact: Moritz Lipp Source: http://pwmt.org/projects/zathura/ Files: * Copyright: 2009-2013 Moritz Lipp 2010-2013 Sebastian Ramacher License: Zlib Files: pdf-poppler-*/* Copyright: 2011-2013 Moritz Lipp 2011-2013 Sebastian Ramacher License: Zlib License: Zlib This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. . Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: . 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. Files: debian/* Copyright: 2010-2013 Sebastian Ramacher License: BSD-3-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/clean0000644000000000000000000000002612244453175010200 0ustar zathura.1 zathurarc.5 debian/dh_zathura0000755000000000000000000000411612244453175011256 0ustar #!/usr/bin/perl -w # Copyright 2012 Sebastian Ramacher # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # 3. The name of the author may not be used to endorse or promote products # derived from this software without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. # IN NO EVENT SHALL THE AUTOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED # TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR # PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. use strict; use Debian::Debhelper::Dh_Lib; init(options => { "substvar=s" => \$dh{SUBSTVAR} }); my $abiversion; open(PKGCONFIG, 'pkg-config --variable=abiversion zathura |') or error("cannot read ABI version data: $!"); while () { chomp; next unless /^\w+$/; $abiversion = $_; } close PKGCONFIG or error($! ? "cannot close pkg-config pipe: $!\n" : "non-zero exit status from pkg-config: $?"); unless ($abiversion) { error("cannot parse ABI version data"); } unless ($dh{SUBSTVAR}) { $dh{SUBSTVAR} = "misc:Depends"; } foreach my $package (@{$dh{DOPACKAGES}}) { addsubstvar($package, $dh{SUBSTVAR}, "zathura-abi-$abiversion"); } exit 0; debian/watch0000644000000000000000000000012012244453175010217 0ustar version=3 http://pwmt.org/projects/zathura/download/ zathura-([0-9.]*)\.tar\.gz debian/zathura-dev.manpages0000644000000000000000000000002412244453175013140 0ustar debian/dh_zathura.1 debian/zathura.install0000644000000000000000000000023612244453175012244 0ustar usr/bin/zathura usr/lib/zathura/pdf.so usr/share/man/man1/zathura.1 usr/share/man/man5/zathurarc.5 usr/share/applications/zathura*.desktop usr/share/locale/* debian/control0000644000000000000000000000310012244453175010572 0ustar Source: zathura Section: text Priority: optional Maintainer: Sebastian Ramacher Build-Depends: debhelper (>= 9), dpkg-dev (>= 1.16.1~), pkg-config, libgirara-dev (>= 0.1.8), libgtk-3-dev, libcairo2-dev (>= 1.8.8), libpoppler-glib-dev (>= 0.12.3), libsqlite3-dev, libmagic-dev, gettext, check, xvfb, xauth, python-docutils (>= 0.6) Standards-Version: 3.9.5 Homepage: http://pwmt.org/projects/zathura Package: zathura Architecture: any Provides: pdf-viewer, ${zathura:Provides} Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: www-browser, poppler-data, zathura-ps, zathura-djvu, zathura-cb Description: PDF viewer with a minimalistic interface zathura is a PDF viewer with a minimalistic and space saving interface. It offers a vim-like experience and has a focus on keyboard interaction. The key bindings, commands and most other settings can be customized. . Some of the features are: * bookmarking pages * printing the whole document or specific pages * following links * searching in the document * browsing the document index . zathura can be extended to support other file formats via a plugin system. Package: zathura-dev Section: libdevel Architecture: all Multi-Arch: foreign Depends: ${misc:Depends}, libgirara-dev (>= 0.1.8), libgtk-3-dev, libcairo2-dev (>= 1.8.8) Description: development files for zathura plugins zathura is a PDF viewer with a minimalistic and space saving interface. It can be extended to support other file formats via a plugin system. . This package contains the files to develop plugins. debian/examples/0000755000000000000000000000000012244453175011013 5ustar debian/examples/zathurarc0000644000000000000000000000051612244453175012743 0ustar # zathurarc # colors set statusbar-bg "#00FF00" set statusbar-fg red # settings set window-height 1024 set window-width 768 set adjust-open width # use sqlite as bookmarks database backend set database sqlite # key bindings map navigate previous map navigate next map + zoom in map - zoom out map quit debian/zathura-dev.install0000644000000000000000000000012712244453175013017 0ustar usr/include/zathura/* usr/lib/pkgconfig/zathura.pc debian/dh_zathura usr/share/zathura debian/zathura.menu0000644000000000000000000000015212244453175011537 0ustar ?package(zathura):needs="X11" section="Applications/Office"\ title="zathura" command="/usr/bin/zathura" debian/zathura.mime0000644000000000000000000000041412244453175011523 0ustar application/pdf; /usr/bin/zathura %s; test=test -n "$DISPLAY"; description=Portable Document Format; nametemplate=%s.pdf; priority=6 application/x-pdf; /usr/bin/zathura %s; test=test -n "$DISPLAY"; description=Portable Document Format; nametemplate=%s.pdf; priority=6 debian/rules0000755000000000000000000000446612244453175010267 0ustar #!/usr/bin/make -f # -*- makefile -*- export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk # Use all hardening flags for zathura dpkg_buildflags = DEB_BUILD_MAINT_OPTIONS="hardening=+all" dpkg-buildflags # do not strip export SFLAGS= # build with verbose output export VERBOSE=1 # build flags for the plugin export ZATHURA_INC=-I$(CURDIR)/zathura-headers/usr/include export PLUGINDIR=/usr/lib/zathura export PKG_CONFIG_PATH=$(CURDIR)/zathura-headers/usr/lib/pkgconfig # disable check's timeout functionality export CK_DEFAULT_TIMEOUT=0 PDFVER=0.2.4 PDFVERC=$(subst .,-,$(PDFVER)) DEB_DEBDIR=$(dir $(firstword $(MAKEFILE_LIST))) DEB_UPSTREAM_VER=$(shell dpkg-parsechangelog -l$(DEB_DEBDIR)/changelog \ | sed -ne 's/^Version: \(.*\)-[^-]*/\1/p') get-orig-source: uscan --no-conf \ --force-download \ --rename \ --watchfile $(DEB_DEBDIR)/watch \ --package zathura \ --upstream-version $(DEB_UPSTREAM_VER) \ --destdir=. TMPD=`mktemp -d` && \ uscan --no-conf \ --force-download \ --no-symlink \ --watchfile $(DEB_DEBDIR)/zathura-pdf-poppler.watch \ --package zathura-pdf-poppler \ --upstream-version $(PDFVER) \ --destdir=$$TMPD && \ mv $$TMPD/zathura-pdf-poppler-$(PDFVER).tar.gz \ zathura_$(DEB_UPSTREAM_VER).orig-pdf-poppler-$(PDFVERC).tar.gz && \ rmdir $$TMPD %: dh $@ --parallel override_dh_auto_clean: $(MAKE) clean $(MAKE) -C pdf-poppler-$(PDFVERC) clean # ... and remove the headers $(MAKE) uninstall-headers DESTDIR=$(CURDIR)/zathura-headers override_dh_auto_build: $(shell $(dpkg_buildflags) --export=configure) $(MAKE) # append gtk3 to ABI version for the GTK+2 -> GTK+3 switch # (can be dropped once zathura bumps its ABI the next time) $(MAKE) zathura.pc sed -i 's/^abiversion=.*$$/>k3/' zathura.pc # we need the headers to build the plugin $(MAKE) install-headers DESTDIR=$(CURDIR)/zathura-headers $(MAKE) -C pdf-poppler-$(PDFVERC) override_dh_auto_install: $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp $(MAKE) -C pdf-poppler-$(PDFVERC) install \ DESTDIR=$(CURDIR)/debian/tmp override_dh_auto_test: ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) xvfb-run -a env $(shell $(dpkg_buildflags) --export=configure) $(MAKE) test endif override_dh_gencontrol: ./debian/dh_zathura -pzathura --substvar=zathura:Provides dh_gencontrol debian/source/0000755000000000000000000000000012244453175010475 5ustar debian/source/format0000644000000000000000000000001412244453175011703 0ustar 3.0 (quilt) debian/zathura.examples0000644000000000000000000000003212244453175012406 0ustar debian/examples/zathurarc debian/zathura-pdf-poppler.watch0000644000000000000000000000017512244453175014134 0ustar version=3 http://pwmt.org/projects/zathura/plugins/zathura-pdf-poppler/ \.\./download/zathura-pdf-poppler-([0-9.]*)\.tar\.gz