debian/0000775000000000000000000000000012053174114007166 5ustar debian/manpages0000664000000000000000000000002111771551564010713 0ustar debian/Preview.1 debian/menu0000664000000000000000000000024111771551564010070 0ustar ?package(preview.app):needs="X11" \ section="Applications/Viewers"\ title="Preview" \ command="/usr/bin/Preview" \ icon="/usr/share/pixmaps/Preview.xpm" debian/watch0000664000000000000000000000015111771551564010232 0ustar version=3 http://home.gna.org/gsimageapps/ http://download.gna.org/gsimageapps/Preview-([\d.]+)\.tar.gz debian/preinst0000664000000000000000000000141211771551564010611 0ustar #!/bin/sh # preinst script for preview.app, adapted from gnumail.app # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `install' # * `install' # * `upgrade' # * `abort-upgrade' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package PACKAGENAME=Preview.app RESDIR=/usr/lib/GNUstep/Applications/$PACKAGENAME/Resources case "$1" in install|upgrade) if [ -d $RESDIR ] && [ ! -L $RESDIR ]; then rm -rf $RESDIR fi ;; abort-upgrade) ;; *) echo "preinst called with unknown argument \`$1'" >&2 exit 1 ;; esac #DEBHELPER# exit 0 debian/Preview.desktop0000664000000000000000000000027611771551564012225 0ustar [Desktop Entry] Type=Application Version=1.0 Categories=Graphics;Viewer; Name=Preview Comment=Image viewer Icon=/usr/lib/GNUstep/Applications/Preview.app/Resources/Preview.tiff Exec=Preview debian/source/0000775000000000000000000000000011771551564010504 5ustar debian/source/format0000664000000000000000000000001411771551564011712 0ustar 3.0 (quilt) debian/copyright0000664000000000000000000000242511771551564011142 0ustar This package was debianized by Gürkan Sengün on Fri, 6 Feb 2004 18:24:38 +0100. It was downloaded from http://home.gna.org/gsimageapps/ Upstream Author: Fabien Vallon License: Copyright (C) 2003-2005 Fabien Vallon This program 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 program 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian GNU/Linux systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. The debian packaging is Copyright (c) 2004-2007 Gürkan Sengün Copyright (c) 2009 Federico Gimenez Nieto debian/dirs0000664000000000000000000000001011771551564010057 0ustar usr/bin debian/changelog0000664000000000000000000001304112053174114011037 0ustar preview.app (0.8.5-9build1) raring; urgency=low * Rebuild for gnustep-gui 0.22 transition. -- Benjamin Drung Wed, 21 Nov 2012 16:50:36 +0100 preview.app (0.8.5-9) unstable; urgency=low * gcc-4.7.patch by Yavor Doganov (Closes: #667875) * debian/control: + bumped Standards-Version: 3.9.3 + Added Debian GNUstep maintainers as uploaders + Added Vcs-Git and Vcs-Browser fields * debian/rules: added "-z relro" to LDFLAGS to prevent hardening-no-relro -- Federico Gimenez Nieto Sun, 24 Jun 2012 12:28:06 +0200 preview.app (0.8.5-8) unstable; urgency=low * Added debian/patches/compilation-errors.patch: Fix FTBFS with gnustep-gui/0.18.0 (Closes: #581970) * debian/rules: noopt modifications to work with gnustep-make/2.4.x (Closes: #581971) * debian/control: bumped Standards-Version: 3.8.4 (no changes needed) -- Federico Gimenez Nieto Tue, 18 May 2010 18:56:43 +0200 preview.app (0.8.5-7) unstable; urgency=low * Corrected preinst script to comply with the directory layout set by the new version of gnustep-make (Closes: #562812) * debian/control: added dependency on ${misc:Depends} -- Federico Gimenez Nieto Mon, 28 Dec 2009 08:56:43 +0100 preview.app (0.8.5-6) unstable; urgency=low * New maintainer (closes: #454450) * Added debian/source/format for 3.0 (quilt) new source format * Added debian/watch file * Added debian/preview.app.preinst with code to install Resource files under /usr/share/GNUstep and create a symbolic link from /usr/lib/GNUstep/Applications/Preview.app on install or upgrade (adapted from gnumail.app, thanks Yavor Doganov ) * debian/compat: updated compat version to 5 * debian/control: + Modified Section from 'graphics' to 'gnustep' + Bumped Standars-Version to 3.8.3 + Modified debhelper version on Build-Depends field (4->5) + Corrected typo at Description field + Removed version dependency on libgnustep-gui-dev (0.14 is in Lenny) and gnustep-make entirely (pulled in by the dependency chain, thanks Yavor) + Added ${gnustep:Depends} to Depends field (thanks Yavor) + Added dependency on imagemagic to generate xpm icon * debian/copyright: + Modified link to GPL-2 license + Added maintainer information * debian/rules: + Moved install-related commands from the binary-indep to the install target + Exported GNUSTEP_MAKEFILES and replaced gs_make by $(MAKE) (thanks Yavor) + Added code to define flags for optimized builds, preventing a GNUstep make bug and build. Added also 'messages=yes' to the $(MAKE) invocation to make the build log verbose (thanks Yavor) + Added gsdh_gnustep to the binary_arch target, this will prevent the installation on systems that have Debian GNUstep packages configured not to follow the FHS (thanks Yavor) + Added LDFLAGS definition to get rid of the dpkg-shlibdeps warnings (thanks Yavor) + Added code to remove empty directories + Added code to move the Resources directory to /usr/share/GNUstep and add a symlynk if the installation follows the FHS (adapted from agenda.app, thanks Yavor) + Added code to install the xpm icon (adapted from agenda.app, thanks Yavor) * debian/dirs: removed /usr/share/lintian/overrides * debian/Preview.desktop: upgraded Version field (0.94->1.0, the version of the spec) and removed the MimeType field because Preview.app doesn't support command-line options (thanks Yavor) * debian/menu: declared xpm icon to use (thanks Yavor) -- Federico Gimenez Nieto Sat, 28 Nov 2009 11:22:43 +0100 preview.app (0.8.5-5) unstable; urgency=low * Orphaning package, setting maintainer to the Debian QA Group. -- Ana Beatriz Guerrero Lopez Fri, 07 Dec 2007 02:58:19 +0100 preview.app (0.8.5-4) unstable; urgency=low * Applied patch to fix french localization, merci Bourgoin Camille. (Closes: #417260) * Remove leftover from debian/dirs. -- Gürkan Sengün Wed, 31 Oct 2007 22:36:51 +0100 preview.app (0.8.5-3) unstable; urgency=low * GNUstep transition. + Updated debian/rules. + Updated debian/dirs. * Added a desktop file. -- Gürkan Sengün Wed, 24 Oct 2007 10:34:53 +0200 preview.app (0.8.5-2) unstable; urgency=low * Rebuild against latest libgnustep-gui-dev. * Bump standards version. -- Gürkan Sengün Wed, 20 Sep 2006 22:15:07 +0200 preview.app (0.8.5-1) unstable; urgency=low * New upstream version. * Bump standards version. * Fix homepage in description. * Updated manual page. * Rebuild against latest libgnustep-gui. -- Gürkan Sengün Mon, 12 Dec 2005 13:39:42 +0100 preview.app (0.7.5-1) unstable; urgency=low * New upstream version. -- Gürkan Sengün Thu, 16 Dec 2004 20:54:30 +0100 preview.app (0.7-1) unstable; urgency=low * New upstream version. * Updated debian/control build-depends for GNUstep 0.9.4. -- Gürkan Sengün Mon, 22 Nov 2004 01:27:39 +0100 preview.app (0.6-2) unstable; urgency=medium * Moving the package to unstable * Renamed source package name to preview.app * Cleaned debian/{copyright,rules} -- Gürkan Sengün Wed, 15 Sep 2004 23:38:23 +0200 preview (0.6-1) experimental; urgency=low * Initial Release. -- Gürkan Sengün Fri, 6 Feb 2004 18:24:38 +0100 debian/Preview.10000664000000000000000000000135711771551564010715 0ustar .TH PREVIEW 1 "February 6, 2004" .SH NAME Preview \- General purpose image viewer for GNUstep .SH SYNOPSIS .B Preview .SH DESCRIPTION This manual page documents briefly the .B Preview command. This manual page was written for the Debian distribution because the original program does not have a manual page. .PP \fBPreview\fP is an application that can be used to display images. It is designed to be easy to use and will support all GNUstep features (images design support, pasteboard/services, printint and layout...). It tries to follow the NeXTSTEP spirit. .SH SEE ALSO .BR GNUstep (7), .BR open (1). .SH AUTHOR This manual page was written by G\[:u]rkan Seng\[:u]n , for the Debian project (but may be used by others). debian/control0000664000000000000000000000153411771556046010612 0ustar Source: preview.app Section: gnustep Priority: optional Maintainer: Federico Gimenez Nieto Uploaders: Debian GNUstep maintainers Build-Depends: debhelper (>= 5), libgnustep-gui-dev, imagemagick Standards-Version: 3.9.3 Vcs-Git: git://git.debian.org/pkg-gnustep/preview.app.git Vcs-Browser: http://git.debian.org/?p=pkg-gnustep/preview.app.git Homepage: http://home.gna.org/gsimageapps/ Package: preview.app Architecture: any Depends: ${shlibs:Depends}, ${gnustep:Depends}, ${misc:Depends} Description: General purpose image viewer for GNUstep Preview is an application that can be used to display images. It is designed to be easy to use and will support all GNUstep features (images design support, pasteboard/services, printing and layout...). It tries to follow the NeXTSTEP spirit. debian/docs0000664000000000000000000000021011771551564010050 0ustar README Documentation/Contributors.rtf Documentation/TODO Documentation/FEATURES Documentation/Developers Documentation/Known_issues.txt debian/rules0000775000000000000000000000404111771557005010257 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 include /usr/share/GNUstep/debian/config.mk GNUSTEP_MAKEFILES=$(GS_MAKE_DIR) export GNUSTEP_MAKEFILES := $(GS_MAKE_DIR) d_app := $(CURDIR)/debian/preview.app #defined LDFLAGS to prevent dpkg-shlibdeps warnings LDFLAGS := -z relro -Wl,-z,defs -Wl,--as-needed #define optim to build optimized package (thanks Yavor Doganov) ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) optim := debug=yes endif build: build-stamp build-stamp: dh_testdir $(MAKE) $(optim) LDFLAGS="$(LDFLAGS)" messages=yes convert Images/Preview.tiff -resize 32x32 Preview.xpm touch build-stamp clean: dh_testdir dh_testroot $(RM) -f build-stamp $(MAKE) distclean $(RM) Preview.xpm dh_clean install: build dh_testdir dh_testroot dh_clean -k dh_installdirs $(MAKE) install GNUSTEP_INSTALLATION_DOMAIN=SYSTEM DESTDIR=$(CURDIR)/debian/preview.app dh_install debian/*.desktop usr/share/applications/ rm $(CURDIR)/debian/*.app/usr/lib/GNUstep/Applications/*.app/Resources/*.desktop #move resources to /usr/share/GNUstep and add a symlink if the installation is following the FHS ifeq ($(GS_USE_FHS),yes) dh_installdirs usr/share/GNUstep mv $(d_app)$(GNUSTEP_SYSTEM_APPS)/Preview.app/Resources \ $(d_app)/usr/share/GNUstep/Preview.app dh_link usr/share/GNUstep/Preview.app \ $(GNUSTEP_SYSTEM_APPS)/Preview.app/Resources endif # Install the XPM icon. install -D -m 644 Preview.xpm \ $(d_app)/usr/share/pixmaps/Preview.xpm dh_installchangelogs ChangeLog dh_installdocs dh_installmenu dh_installman dh_installdeb #remove empty directories find debian/preview.app -type d -empty -delete # Build architecture-independent files here. binary-indep: build install # We have nothing to do by default. # Build architecture-dependent files here. binary-arch: build install dh_testdir dh_testroot dh_strip dh_compress dh_fixperms gsdh_gnustep dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install debian/patches/0000775000000000000000000000000011771552643010632 5ustar debian/patches/gcc-4.7.patch0000664000000000000000000000046511771552577012730 0ustar --- preview.app-0.8.5.orig/Document.m +++ preview.app-0.8.5/Document.m @@ -591,7 +578,7 @@ { SEL action = [menuItem action]; - if ( sel_eq(action,@selector(resize:)) ) + if ( sel_isEqual(action,@selector(resize:)) ) { if ( [menuItem tag] == [self _currentItem] ) return NO; debian/patches/compilation-errors.patch0000664000000000000000000000202711771551564015505 0ustar 2010-05-18 Federico Gimenez Nieto * Document.m: Import . Index: preview.app-0.8.5/Document.m =================================================================== --- preview.app-0.8.5.orig/Document.m 2010-05-18 19:18:11.000000000 +0200 +++ preview.app-0.8.5/Document.m 2010-05-18 19:18:23.000000000 +0200 @@ -35,20 +35,7 @@ #include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include /*********************************************************************/ /**************** NSDocument Private methods *************************/ debian/patches/series0000664000000000000000000000004711771552643012050 0ustar compilation-errors.patch gcc-4.7.patch debian/compat0000664000000000000000000000000211771551564010402 0ustar 5