debian/0000755000000000000000000000000012251734046007172 5ustar debian/rules0000755000000000000000000000037512251734046010257 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ override_dh_auto_build: CFLAGS="$(CFLAGS) $(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" $(MAKE) PREFIX=/usr override_dh_auto_install: dh_auto_install -- PREFIX=/usr debian/compat0000644000000000000000000000000212251734046010370 0ustar 9 debian/patches/0000755000000000000000000000000012251734046010621 5ustar debian/patches/allow-cflags-override.diff0000644000000000000000000000107012251735422015640 0ustar Description: Allow cflags override and remove optimization -O2 Forwarded: no Author: Daniel Echeverry Origin: vendor Last-Update: 2013-12-10 --- a/Makefile +++ b/Makefile @@ -4,8 +4,8 @@ MANPREFIX = $(PREFIX)/share/man CC = gcc -CFLAGS = -std=c99 -Wall -pedantic -O2 -I$(PREFIX)/include -DHAVE_GIFLIB -LDFLAGS = -L$(PREFIX)/lib +CFLAGS += -std=c99 -Wall -pedantic -I$(PREFIX)/include -DHAVE_GIFLIB +LDFLAGS += -L$(PREFIX)/lib LIBS = -lX11 -lImlib2 -lgif SRC = commands.c exif.c image.c main.c options.c thumbs.c util.c window.c debian/patches/series0000644000000000000000000000003312251734046012032 0ustar allow-cflags-override.diff debian/source/0000755000000000000000000000000012251734046010472 5ustar debian/source/format0000644000000000000000000000001412251734046011700 0ustar 3.0 (quilt) debian/control0000644000000000000000000000136512251734046010602 0ustar Source: sxiv Section: graphics Priority: extra Maintainer: Daniel Echeverry Build-Depends: debhelper (>= 9), libimlib2-dev Standards-Version: 3.9.4 Homepage: https://github.com/muennich/sxiv Package: sxiv Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: libjpeg-progs, imagemagick Description: simple X image viewer sxiv is an alternative to feh and qiv. Its only dependency besides xlib is imlib2. The primary goal for writing sxiv is to create an image viewer, which only has the most basic features required for fast image viewing. It works nicely with tiling window managers and its code base should be kept small and clean to make it easy for you to dig into it and customize it for your needs. debian/copyright0000644000000000000000000000221412251734046011124 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Contact: Bert Münnich Upstream-Name: sxiv Source: https://github.com/muennich/sxiv Files: * Copyright: 2011-2013 Bert Münnich License: GPL-2.0+ Files: debian/* Copyright: 2011-2013 Daniel Echeverry License: GPL-2.0+ License: GPL-2.0+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". debian/sxiv.mime0000644000000000000000000000102212251734046011027 0ustar image/gif; sxiv '%s'; test=test -n "$DISPLAY" image/jpeg; sxiv '%s'; test=test -n "$DISPLAY" image/png; sxiv '%s'; test=test -n "$DISPLAY" image/tiff; sxiv '%s'; test=test -n "$DISPLAY" image/x-ms-bmp; sxiv '%s'; test=test -n "$DISPLAY" image/x-portable-anymap; sxiv '%s'; test=test -n "$DISPLAY" image/x-portable-bitmap; sxiv '%s'; test=test -n "$DISPLAY" image/x-portable-graymap; sxiv '%s'; test=test -n "$DISPLAY" image/x-portable-pixmap; sxiv '%s'; test=test -n "$DISPLAY" image/x-xpixmap; sxiv '%s'; test=test -n "$DISPLAY" debian/changelog0000644000000000000000000000451612252136546011054 0ustar sxiv (1.1.1-2) unstable; urgency=low * debian/patches + Refresh allow-cflags-override.diff patch + Allow correctly usage of CFLAGS and LDFLAGS (Closes: #729628) + Thanks to Julián Moreno for the fix * debian/rules + Pass properly CFLAGS and LDFLAGS to avoid override them * Update copyright file * Switch compat level 8 to 9 -- Daniel Echeverry Sat, 16 Nov 2013 22:22:09 -0500 sxiv (1.1.1-1) unstable; urgency=low * New upstream release * debian/control + Bump standard versions to 3.9.4 (no changes) + Bump debhelper to 9 in B-D * debian/patches + Refresh allow-cflags-override.diff patch * Add sxiv.docs to install README.md file * debian/copyright + Extend copyright holders years * Update watch file + Thanks to John Paul Adrian Glaubitz -- Daniel Echeverry Thu, 16 May 2013 22:29:44 -0500 sxiv (1.0-1) unstable; urgency=low * New upstream release * Remove fix-manpage.diff + Merge with upstream * Refresh allow-cflags-override.diff patch * debian/copyright + Update upstream email address * Use cflags, ldflags and cppflags from dpkg-buildflags -- Daniel Echeverry Sat, 05 Nov 2011 12:56:11 -0500 sxiv (0.9-1) unstable; urgency=low * New upstream release * debian/patches + allow-cflags-override.diff patch to remove gcc optimization from Makefile and overridden with DEB_BUILD_OPTIONS and dpkg-buildflags * debian/rules + DEB_BUILD_OPTIONS=noopt to force gcc optimization -O0 + Use dpkg-buildflags to get default cflags * debian/copyright + Update copyright file to DEP5 rev 174 -- Daniel Echeverry Wed, 07 Sep 2011 14:56:23 -0500 sxiv (0.8.2-3) unstable; urgency=low * Updated watch file * Readme.md file isn't needed * Added suggests field in debian/control -- Daniel Echeverry Thu, 07 Jul 2011 13:29:20 -0500 sxiv (0.8.2-2) unstable; urgency=low * Install mailcap entries (Closes: #632914) * Added fix_manpage.diff patch + Fix hyphen-used-as-minus-sign -- Daniel Echeverry Wed, 06 Jul 2011 19:43:51 -0500 sxiv (0.8.2-1) unstable; urgency=low * Initial release (Closes: #631728) -- Daniel Echeverry Thu, 30 Jun 2011 16:34:51 -0500 debian/sxiv.docs0000644000000000000000000000001212251734046011026 0ustar README.md debian/watch0000644000000000000000000000013512251734046010222 0ustar version=3 https://github.com/muennich/sxiv/tags .*/v?(\d.*)\.(?:tgz|tbz2|tar\.(?:gz|bz2|xz))