diff options
-rw-r--r-- | debian/changelog | 571 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 46 | ||||
-rw-r--r-- | debian/copyright | 32 | ||||
-rw-r--r-- | debian/patches/00list | 2 | ||||
-rw-r--r-- | debian/patches/02_docviewer.dpatch | 37 | ||||
-rw-r--r-- | debian/patches/03_gimp_acquire_menu.dpatch | 39 | ||||
-rwxr-xr-x | debian/rules | 164 | ||||
-rw-r--r-- | debian/xsane-common.dirs | 1 | ||||
-rw-r--r-- | debian/xsane-common.doc-base | 15 | ||||
-rw-r--r-- | debian/xsane.desktop | 18 | ||||
-rw-r--r-- | debian/xsane.dirs | 3 | ||||
-rw-r--r-- | debian/xsane.docs | 10 | ||||
-rw-r--r-- | debian/xsane.links | 2 | ||||
-rw-r--r-- | debian/xsane.menu | 6 | ||||
-rw-r--r-- | debian/xsane.postinst | 14 |
16 files changed, 961 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..113b378 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,571 @@ +xsane (0.99-1) unstable; urgency=low + + * New upstream release. + + -- Julien BLACHE <jblache@debian.org> Tue, 10 Jan 2006 21:58:08 +0100 + +xsane (0.98b-2) unstable; urgency=low + + * debian/control: + + Removed build-dependency on xlibs-dev (closes: bug#343945). + + -- Aurelien Jarno <aurel32@debian.org> Sun, 8 Jan 2006 00:43:52 +0100 + +xsane (0.98b-1) unstable; urgency=low + + * Bugfix release. + + -- Julien BLACHE <jblache@debian.org> Sat, 3 Dec 2005 14:51:29 +0100 + +xsane (0.98-1) unstable; urgency=low + + * New upstream release. + + Adds PDF support, including in mail mode (closes: #311510). + + Fixes batch scan (closes: #337208). + * debian/patches/11_manapge_fixes.dpatch: + + Removed; merged upstream. + * debian/patches/12_de.po_fixes.dpatch: + + Removed; merged upstream. + * debian/patches/10_batch_scan_bugfix.dpatch: + + Removed; merged upstream. + * debian/patches/01_logo_docs.dpatch: + + Removed; not necessary anymore. + + -- Julien BLACHE <jblache@debian.org> Mon, 21 Nov 2005 21:49:19 +0100 + +xsane (0.97-4) unstable; urgency=low + + * debian/control: + + Bumped Standards-Version to 3.6.2 (no changes). + * debian/patches/11_manpage_fixes.dpatch: + + Added; typo fixes for the manpage (closes: #302676). + * debian/patches/12_de.po_fixes.dpatch: + + Added; typo fixes for the german translation (closes: #313862). + * debian/patches/02_docviewer.dpatch: + + Fixed; do not change the value of BROWSER_NETSCAPE (closes: #321835). + * debian/xsane.postinst: + + Fix bashism in postinst. + + -- Julien BLACHE <jblache@debian.org> Sun, 28 Aug 2005 19:03:36 +0200 + +xsane (0.97-3) unstable; urgency=medium + + * debian/postinst: + + Fixed the link target directory. + + Empty /usr/share/doc/html before trying to remove it (closes: + #292718). + + -- Aurelien Jarno <aurel32@debian.org> Thu, 3 Feb 2005 16:24:20 +0100 + +xsane (0.97-2) unstable; urgency=low + + * debian/patches/10_batch_scan_bugfix.dpatch: + + Added; fix batch scanning bug, patch from Oliver Rauch. + + -- Julien BLACHE <jblache@debian.org> Thu, 27 Jan 2005 22:14:08 +0100 + +xsane (0.97-1) unstable; urgency=low + + * New upstream release. + + Fixes "filechooser chews up CPU" problem (closes: #287596). + + -- Julien BLACHE <jblache@debian.org> Sat, 22 Jan 2005 20:53:34 +0100 + +xsane (0.96-1) unstable; urgency=low + + * New upstream release. + + The preferences parser has been fixed so that it won't segfault anymore + when it doesn't recognize an entry (closes: #143704). + + -- Julien BLACHE <jblache@debian.org> Thu, 9 Sep 2004 11:26:13 +0200 + +xsane (0.95-1) unstable; urgency=low + + * New upstream release. + + debian/patches/10_fix_histo.dpatch: removed; merged upstream. + + -- Julien BLACHE <jblache@debian.org> Mon, 16 Aug 2004 18:56:07 +0200 + +xsane (0.94-4) unstable; urgency=medium + + * Fixed assertion failures when the histogram window is closed + (closes: #259073). + * debian/control: + + Removed obsolete build-dependency on gcc-3.3 (closes: #262243). + + Removed unneeded build-dependency on xlibs-dev. + + -- Julien BLACHE <jblache@debian.org> Tue, 3 Aug 2004 18:14:44 +0200 + +xsane (0.94-3) unstable; urgency=low + + * libtiff4 transition. + + -- Julien BLACHE <jblache@debian.org> Thu, 29 Jul 2004 08:16:16 +0200 + +xsane (0.94-2) unstable; urgency=low + + * debian/xsane.postinst + + Add a workaround for dpkg bug when replacing a directory with a symlink + (closes: #255403). + * debian/xsane.desktop + + Updated, thanks to Dan Korostelev. + + Added Catalan and Spanish translations, courtesy of Jordi Mallach + (closes: #254550). + + Added a French translation. + + I hope I didn't mess things up wrt UTF8... + + -- Julien BLACHE <jblache@debian.org> Sun, 4 Jul 2004 11:40:28 +0200 + +xsane (0.94-1) unstable; urgency=low + + * New upstream release. + + Might break RC file compatibility; if it segfaults on startup, remove + your ~/.sane/xsane/xsane.rc (do NOT report that problem). + * debian/xsane.desktop + + Include fixed xsane.desktop file, courtesy of Dan Korostelev + (closes: #247480). + * debian/control + + Recommends: mozilla-browser | www-browser, as www-browser is a virtual package. + + -- Julien BLACHE <jblache@debian.org> Thu, 10 Jun 2004 17:45:40 +0200 + +xsane (0.93-1) unstable; urgency=low + + * New upstream release. + * debian/patches/10_gimp2.0.dpatch: + + removed, merged upstream. + * debian/copyright: + + applied patch from #241999 (closes: #241999). + + -- Julien BLACHE <jblache@debian.org> Thu, 29 Apr 2004 14:48:59 +0200 + +xsane (0.92-3) unstable; urgency=low + + * xsane-common returns from the dead. Spare some archive space by splitting + out documentation in an arch: all package (closes: #233459). + * GIMP 2.0 support, finally (closes: #185436, #233496). + * Added GNOME/KDE menu entry, courtesy of Dan Korostelev. + + -- Julien BLACHE <jblache@debian.org> Thu, 1 Apr 2004 16:20:39 +0200 + +xsane (0.92-2) unstable; urgency=low + + * debian/patches/00list: strip the .dpatch suffix, so that the package + builds with older versions of dpatch (closes: #229541). + + -- Julien BLACHE <jblache@debian.org> Sun, 25 Jan 2004 12:19:20 +0100 + +xsane (0.92-1) unstable; urgency=low + + * New upstream release. + + -- Julien BLACHE <jblache@debian.org> Sun, 18 Jan 2004 16:31:42 +0100 + +xsane (0.91-6) unstable; urgency=low + + * gimp1.2 has been renamed to gimp, reflect this change in debian/control. + * Bumped Standards-Version to 3.6.1 (no changes). + * debian/compat: use DH_COMPAT=4. + * Use libpng10 instead of libpng2. + + -- Julien BLACHE <jblache@debian.org> Sun, 14 Sep 2003 15:54:18 +0200 + +xsane (0.91-5) unstable; urgency=low + + * Julien BLACHE <jblache@debian.org> + * debian/control: + + Temporary Build-Dependency on gcc-3.3 (>= 3.3.1-0pre0), which should + fix the ICE on arm. + * debian/rules: + + Should build with -O2 on arm again. + * Aurélien Jarno <aurel32@debian.org> + * Changed back icon to full colors. + * Converted to dpatch. Build-depends on dpatch. + * Dont run ./configure twice during the build + + -- Julien BLACHE <jblache@debian.org> Wed, 2 Jul 2003 12:20:45 +0200 + +xsane (0.91-4) unstable; urgency=low + + * Okay, the ICE on arm still exists, build with -O1 again. + + -- Julien BLACHE <jblache@debian.org> Sat, 31 May 2003 17:31:31 +0200 + +xsane (0.91-3) unstable; urgency=low + + * GCC 3.3 is in unstable, arm should now build with -O2 (hopefully). + * Fix libpng breakage, build-depends on libpng2-dev again. + * Do not ship sane-backends-doc.html, sane-pnm-doc.html, they're out-of-date + and not useful at all. Also use xsane-logo2.jpg in sane-problems-doc.html + and sane-scantips-doc.html (closes: #194222). + * Use /usr/bin/sensible-browser rather than www-browser as the default + browser. + * Standards-Version bumped to 3.5.10 (no changes). + + -- Julien BLACHE <jblache@debian.org> Sat, 31 May 2003 15:50:12 +0200 + +xsane (0.91-2) unstable; urgency=low + + * Build-depend on libpng10-dev, rather than libpng2-dev. + * Use -O1 on arm, as -O2 triggers an ICE. + + -- Julien BLACHE <jblache@debian.org> Thu, 15 May 2003 14:16:58 +0200 + +xsane (0.91-1) unstable; urgency=low + + * New upstream release. + * Fixes saving files when running as a GIMP plugin (closes: #190437). + + -- Julien BLACHE <jblache@debian.org> Mon, 12 May 2003 19:07:59 +0200 + +xsane (0.90-4) unstable; urgency=medium + + * Rebuild against libsane (>= 1.0.11-3) to get rid of the libgphoto2-2 + dependency. + * Recommends: www-browser. + * Suggests: gocr. + * Nuked xsane-gimp1.2. + * Use -www-broswer rather than netscape as the default browser for the + help system. + + -- Julien BLACHE <jblache@debian.org> Sun, 4 May 2003 16:34:12 +0200 + +xsane (0.90-3) unstable; urgency=low + + * Added missing gettext Build-Depends. + * Bumped Standards-Version to 3.5.8. + * In GIMP, scanners are now available from File/Acquire/XSane/*. + * Build xsane with GIMP 1.2 support, which means xsane-gimp1.2 is now a dummy + package, and xsane-common no longer exists. + * Provide a menu-policy-compliant icon. + + -- Julien BLACHE <jblache@debian.org> Sun, 2 Feb 2003 14:25:56 +0100 + +xsane (0.90-2) unstable; urgency=low + + * Use -a switch in the binary-arch target for all debhelper scripts. Woops. (closes: #174382). + * Back out patch for #126118 as it seems unneeded. + + -- Julien BLACHE <jblache@debian.org> Thu, 26 Dec 2002 19:46:39 +0100 + +xsane (0.90-1) unstable; urgency=low + + * New upstream release. + * Manpage now documents -s/--save option (closes: #172544). + + -- Julien BLACHE <jblache@debian.org> Tue, 17 Dec 2002 13:37:50 +0100 + +xsane (0.89-3) unstable; urgency=low + + * Rebuilt against new libgphoto2. + * Changed Uploaders: field so that Aurélien's uploads won't be tagged as + NMU again. + + -- Julien BLACHE <jblache@debian.org> Sun, 1 Dec 2002 11:44:00 +0100 + +xsane (0.89-2) unstable; urgency=low + + * Added a build rule to debian/rules to be Policy-compliant (wrt #167415). + * distclean may fail in clean-nogimp. + * Explain how the build takes place. + + -- Julien BLACHE <jblache@debian.org> Sat, 2 Nov 2002 11:40:38 +0100 + +xsane (0.89-1) unstable; urgency=low + + * New upstream release. + * No longer auto-selects a 0-pixels-wide area (closes: #164469). + * PostScript output includes DSC Page comment (closes: #164189). + * Fixed mistakes in description (closes: #165138). + * Use the xsane icon provided in source package for menus (closes: #165741). + + -- Julien BLACHE <jblache@debian.org> Wed, 23 Oct 2002 18:11:35 +0200 + +xsane (0.88-2) unstable; urgency=low + + * New maintainers. + * New upstream release (closes: #114604, #152597, #152921). + * Tempfiles handling corrected (closes: #55191). + * Repackaged from scratch using debhelper. + * Standards-Version bumped to 3.5.6. + * Applied patch to fix FPE on alpha (closes: #126118). + * Build xsane and xsane-gimp1.2 flavours (closes: #81635). + * Build a xsane-common containing locales, data and documentation. + * Install documentation into /usr/share/doc/xsane-common/html/. + * Built against latest gimp 1.2 (closes: #109223). + * l10n path fixed (closes: #114876, #154256). + * libusb dependency fixed (closes: #126117). + * libpng dependency sorted out (closes: #156883, #156627). + + -- Julien BLACHE <jblache@debian.org> Sat, 12 Oct 2002 11:44:47 +0200 + +xsane (0.88-1) unstable; urgency=low + + * New upstream release. + + -- Kevin Dalley <kevind@rahul.net> Sun, 6 Oct 2002 19:48:27 -0700 + +xsane (0.84-2) unstable; urgency=low + + * relinked with libusb-0.1-4. + + -- Kevin Dalley <kevind@rahul.net> Fri, 15 Mar 2002 14:20:02 +0000 + +xsane (0.84-1) unstable; urgency=low + + * new upstream release. + * relinked with new libpng-dev (closes: #136711). + + -- Kevin Dalley <kevind@rahul.net> Thu, 14 Mar 2002 02:23:44 +0000 + +xsane (0.72-2) unstable; urgency=low + + * New upstream version of xsane (closes: #105785). + + -- Kevin Dalley <kevind@rahul.net> Wed, 3 Oct 2001 00:36:17 -0700 + +xsane (0.72-1) unstable; urgency=low + + * New upstream version of xsane. Many changes. + + -- Kevin Dalley <kevind@rahul.net> Mon, 12 Mar 2001 10:32:10 +0000 + +xsane (0.70-1) unstable; urgency=low + + * new upstream release of xsane. + + -- Kevin Dalley <kevind@rahul.net> Mon, 15 Jan 2001 04:16:25 -0800 + +xsane (0.63-1) unstable; urgency=low + + * new upstream version of xsane + * link sane-gimp1.1 with libgimp1.1-1.1.29. + * change control files so that packages sane and sane-gimp1.1 are + explicitly described as working with gimp and gimp1.1 respectively. + The package sane now mentions the packages sane-gimp1.1 and vice + versa. + + -- Kevin Dalley <kevind@rahul.net> Sun, 5 Nov 2000 16:43:07 -0800 + +xsane (0.62-1) unstable; urgency=low + + * New upstream version of xsane. + + -- Kevin Dalley <kevind@rahul.net> Sat, 21 Oct 2000 16:35:58 -0700 + +xsane (0.61-2) unstable; urgency=low + + * link xsane-gimp1.1 with libgimp1.1, which is new library. + + -- Kevin Dalley <kevind@rahul.net> Sat, 21 Oct 2000 16:25:04 -0700 + +xsane (0.61-1) unstable; urgency=low + + * new upstream release of xsane. + + -- Kevin Dalley <kevind@rahul.net> Sat, 9 Sep 2000 15:06:04 -0700 + +xsane (0.59-1) unstable; urgency=low + + * new upstream release of xsane + * added preview support for 16bpp + * miscellaneous changes and improvements + + -- Kevin Dalley <kevind@rahul.net> Tue, 4 Jul 2000 16:47:55 -0700 + +xsane (0.50-7) unstable; urgency=low + + * link xsane-gimp1.1 with libgimp1.1.22, which is the most recent + libgimp1.1 in unstable. + + -- Kevin Dalley <kevind@rahul.net> Mon, 3 Jul 2000 23:03:21 -0700 + +xsane (0.50-6) unstable; urgency=low + + * link xsane-gimp1.1 with libgimp1.1.19, which is the most recent + libgimp1.1 in unstable. + + -- Kevin Dalley <kevind@rahul.net> Fri, 7 Apr 2000 14:51:00 -0700 + +xsane (0.50-5) frozen unstable; urgency=low + + * added to Build-Depends: libjpeg62-dev, libsane-dev, zlib1g-dev, + libtiff3g-dev, libpng2-dev (closes: #61836, #61837) + + -- Kevin Dalley <kevind@rahul.net> Wed, 5 Apr 2000 08:35:17 -0700 + +xsane (0.50-4) frozen unstable; urgency=low + + * Add Build-Depends to control files for xsane and xsane-gimp1.1 (closes: + #60923). + + -- Kevin Dalley <kevind@rahul.net> Mon, 27 Mar 2000 03:17:21 -0800 + +xsane (0.50-3) frozen unstable; urgency=low + + * link xsane-gimp1.1 with libgimp1.1.17, which is the most recent + libgimp1.1 in frozen. + + -- Kevin Dalley <kevind@rahul.net> Mon, 28 Feb 2000 02:34:45 +0000 + +xsane (0.50-2) frozen unstable; urgency=low + + * link xsane-gimp1.1 with libgimp1.1.15, which is the most recent + libgimp1.1 in frozen. + + -- Kevin Dalley <kevind@rahul.net> Sat, 22 Jan 2000 02:00:21 -0800 + +xsane (0.50-1) unstable; urgency=low + + * fixed a number of bugs in 0.49 + * xsane now conflicts with gimp1.1, which increases the chances of + getting the correct versions of gimp with each version of xsane. + Unfortunately, xsane-gimp1.1 cannot conflict with gimp, since gimp1.1 + provides gimp. + + -- Kevin Dalley <kevind@rahul.net> Sun, 16 Jan 2000 11:32:55 -0800 + +xsane (0.49-1) unstable; urgency=low + + * removed LZW compression from TIFF. + * many other changes and updates. + * fixed html link (closes: #51107). + + -- Kevin Dalley <kevind@rahul.net> Sun, 9 Jan 2000 23:03:58 -0800 + +xsane (0.42-1) unstable; urgency=low + + * fixed problem with saving file to png + + -- Kevin Dalley <kevind@rahul.net> Sun, 7 Nov 1999 03:05:56 -0800 + +xsane (0.41-2) unstable; urgency=low + + * corrected link to xsane which is by gimp + + -- Kevin Dalley <kevind@rahul.net> Mon, 1 Nov 1999 14:24:15 -0800 + +xsane-gimp1.1 (0.41-1) unstable; urgency=low + + * various small fixes. + * moved documentation to /usr/share/doc (closes: #37791). + * registers xsane documentation with doc-base. + + -- Kevin Dalley <kevind@rahul.net> Sun, 31 Oct 1999 05:37:48 -0800 + +xsane (0.40-1) unstable; urgency=low + + * new release of xsane + + -- Kevin Dalley <kevind@rahul.net> Sun, 24 Oct 1999 13:37:12 -0700 + +xsane (0.39-2) unstable; urgency=low + + * corrected documentation link for xsane-gimp1.1 + + -- Kevin Dalley <kevind@rahul.net> Fri, 15 Oct 1999 10:06:15 -0700 + +xsane (0.39-1) unstable; urgency=low + + * new upstream release + + -- Kevin Dalley <kevind@rahul.net> Fri, 15 Oct 1999 01:30:15 -0700 + +xsane (0.38-1) unstable; urgency=low + + * changed brightness and contrast range maximum form 300 to 400 % + * added continuous update to histogram sliders and preview selection + + -- Kevin Dalley <kevind@rahul.net> Sun, 10 Oct 1999 12:25:17 -0700 + +xsane (0.37-1) unstable; urgency=low + + * implemented real single-bit format for tiff + * setup/jpeg quality selection is enabled if jpeglib or libtiff is available + * miscellaneous other bug fixes and enhancements. + * separate sane-gimp1.1 from xsane + + -- Kevin Dalley <kevind@rahul.net> Sun, 10 Oct 1999 04:40:11 -0700 + +xsane (0.33-2) unstable; urgency=low + + * link xsane-gimp1.1 with libgimp-1.1.so.7 (closes: #44512) + + -- Kevin Dalley <kevind@rahul.net> Wed, 8 Sep 1999 15:29:25 -0700 + +xsane (0.33-1) unstable; urgency=low + + * updated to version 0.33 of xsane + + -- Kevin Dalley <kevind@rahul.net> Sat, 28 Aug 1999 14:07:06 -0700 + +xsane (0.31-1) unstable; urgency=low + + * added support for Automatic Document Feeder (scan until error) + * many other changes + + -- Kevin Dalley <kevind@rahul.net> Mon, 2 Aug 1999 23:14:58 -0700 + +xsane (0.30-1) unstable; urgency=low + + * pipette functions: middle mouse button defines shadow/gray/highlight + for color components, left mouse button only defines gray values! + * improved calculation of auto enhancement values + * many more improvements + + -- Kevin Dalley <kevind@rahul.net> Fri, 23 Jul 1999 00:10:42 -0700 + +xsane (0.29-1) unstable; urgency=low + + * xsane-mode can be selected as command line option + * fixed bugs + + -- Kevin Dalley <kevind@rahul.net> Fri, 16 Jul 1999 18:41:39 -0700 + +xsane (0.28-2) unstable; urgency=low + + * change in xsane-front-gtk.c prevents core dump in fax with some + scanners. + + -- Kevin Dalley <kevind@rahul.net> Tue, 13 Jul 1999 00:29:36 -0700 + +xsane (0.28-1) unstable; urgency=low + + * increased contrast to improve scanning of negatives + * added selection for number of copies in copy mode + * added option negative into enhancement and changed create_gamma + draw_histogram and auto_enhancement to work with it! + + -- Kevin Dalley <kevind@rahul.net> Sun, 11 Jul 1999 11:55:21 -0700 + +xsane (0.27-1) unstable; urgency=low + + * user can now reduce the preview area. + * fax options are saved. + + -- Kevin Dalley <kevind@rahul.net> Fri, 2 Jul 1999 00:44:28 -0700 + +xsane (0.26-1) unstable; urgency=low + + * added Pipette functions (pick black, gray and white) - mouse pointer + does change to pipetty icon + * many other changes. + * Now explicitly depends upon libsane, if compiled with fixed version of + sane (1.0.1-3). + * closes: #37756. + + -- Kevin Dalley <kevind@rahul.net> Sun, 27 Jun 1999 11:46:47 -0700 + +xsane (0.25-1) unstable; urgency=low + + * miscellaneous changes, updated release + + -- Kevin Dalley <kevind@rahul.net> Wed, 19 May 1999 01:40:40 -0700 + +xsane (0.22-1) unstable; urgency=low + + * first Debian release of xsane, a gtk based X11 frontend for SANE + + -- Kevin Dalley <kevind@rahul.net> Mon, 26 Apr 1999 23:03:13 -0700 + + diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..b8626c4 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +4 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..f066847 --- /dev/null +++ b/debian/control @@ -0,0 +1,46 @@ +Source: xsane +Section: graphics +Priority: optional +Maintainer: Julien BLACHE <jblache@debian.org> +Uploaders: Aurelien Jarno <aurel32@debian.org> +Standards-Version: 3.6.2 +Build-Depends: debhelper (>= 4.0.0), dpatch, libgimp2.0-dev (>= 2.0.0), libgtk2.0-dev, libjpeg62-dev, libpng12-dev, libtiff4-dev, libsane-dev (>= 1.0.11-3), zlib1g-dev, gettext, autotools-dev +Build-Conflicts: libpng10-dev + +Package: xsane +Section: graphics +Architecture: any +Depends: xsane-common (= ${Source-Version}), ${shlibs:Depends} +Recommends: mozilla-browser | www-browser +Suggests: gimp, hylafax-client | mgetty-fax, gv, gocr +Conflicts: xsane-gimp1.2, xsane-gimp1.3 +Replaces: xsane-gimp1.2, xsane-gimp1.3 +Description: GTK+-based X11 frontend for SANE (Scanner Access Now Easy) + xsane can be run as a stand-alone program or through the GIMP image + manipulation program. In stand-alone mode, xsane can save an image + to a file in a variety of image formats, serve as a frontend to a + fax program, or send an image to a printer. + . + SANE stands for "Scanner Access Now Easy" and is an application + programming interface (API) that provides standardized access to any + raster image scanner hardware (flatbed scanner, hand-held scanner, + video- and still-cameras, frame-grabbers, etc.). The SANE standard is + free and its discussion and development are open to everybody. The + current source code is written to support several operating systems, + including GNU/Linux, OS/2, Win32 and various Unices and is available + under the GNU General Public License (commercial applications and + backends are welcome, too, however). + +Package: xsane-common +Section: graphics +Architecture: all +Replaces: xsane +Recommends: xsane +Description: GTK+-based X11 frontend for SANE (Scanner Access Now Easy) + xsane can be run as a stand-alone program or through the GIMP image + manipulation program. In stand-alone mode, xsane can save an image + to a file in a variety of image formats, serve as a frontend to a + fax program, or send an image to a printer. + . + This package contains architecture-independent files needed by xsane + (locales, help). diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..ae0b088 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,32 @@ +This package was first debianized by Kevin Dalley kevind@rahul.net. +It is now maintained by Julien BLACHE <jblache@debian.org> and +Aurlien JARNO <aurel32@debian.org>. + +It was downloaded from : ftp://ftp.sane-project.org/pub/sane/xsane/ + +Upstream Author : Oliver Rauch <Oliver.Rauch@xsane.org> + + +Copyright: + + Copyright (C) 1998-2005 Oliver Rauch + +License: + + 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 program; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + +On Debian systems, a copy of the GNU General Public License (GPL) is available +in the file /usr/share/common-licenses/GPL. diff --git a/debian/patches/00list b/debian/patches/00list new file mode 100644 index 0000000..349899e --- /dev/null +++ b/debian/patches/00list @@ -0,0 +1,2 @@ +02_docviewer +03_gimp_acquire_menu diff --git a/debian/patches/02_docviewer.dpatch b/debian/patches/02_docviewer.dpatch new file mode 100644 index 0000000..0d402e0 --- /dev/null +++ b/debian/patches/02_docviewer.dpatch @@ -0,0 +1,37 @@ +#!/bin/sh -e +## 02_docviewer.dpatch.dpatch by Aurelien Jarno <aurel32@debian.org> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Change default browser to /usr/bin/sensible-browser. + +if [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi + +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch}" + +case "$1" in + -patch) patch $patch_opts -p1 < $0;; + -unpatch) patch $patch_opts -p1 -R < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 + +@DPATCH@ +diff -urNad --exclude=CVS --exclude=.svn ./src/xsane.h /tmp/dpep-work.2gLqkG/xsane-0.97/src/xsane.h +--- ./src/xsane.h 2005-01-22 16:18:40.000000000 +0100 ++++ /tmp/dpep-work.2gLqkG/xsane-0.97/src/xsane.h 2005-08-28 18:56:38.410683378 +0200 +@@ -231,7 +231,7 @@ + # elif defined(HAVE_OS2_H) + # define DEFAULT_BROWSER "netscape" + # else +-# define DEFAULT_BROWSER "netscape" ++# define DEFAULT_BROWSER "/usr/bin/sensible-browser" + # endif + #endif + diff --git a/debian/patches/03_gimp_acquire_menu.dpatch b/debian/patches/03_gimp_acquire_menu.dpatch new file mode 100644 index 0000000..d9832fe --- /dev/null +++ b/debian/patches/03_gimp_acquire_menu.dpatch @@ -0,0 +1,39 @@ +#!/bin/sh -e +## 03_gimp_acquire_menu.dpatch.dpatch by Aurelien Jarno <aurel32@debian.org> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +if [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi + +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch}" + +case "$1" in + -patch) patch $patch_opts -p1 < $0;; + -unpatch) patch $patch_opts -p1 -R < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 + +@DPATCH@ +diff -urNad /scratch/xsane/xsane-0.91/src/xsane-text.h xsane-0.91/src/xsane-text.h +--- /scratch/xsane/xsane-0.91/src/xsane-text.h 2003-01-05 18:05:55.000000000 +0100 ++++ xsane-0.91/src/xsane-text.h 2003-06-03 23:43:49.000000000 +0200 +@@ -726,8 +726,8 @@ + #define XSANE_GIMP_INSTALL_HELP _("This function provides access to scanners and other image acquisition devices through the SANE (Scanner Access Now Easy) interface.") + + /* Menu path must not be translated, this is done by the gimp. Only translate the text behind the last "/" */ +-#define XSANE_GIMP_MENU_DIALOG _("<Toolbox>/File/Acquire/XSane: Device dialog...") +-#define XSANE_GIMP_MENU _("<Toolbox>/File/Acquire/XSane: ") ++#define XSANE_GIMP_MENU_DIALOG _("<Toolbox>/File/Acquire/XSane/Device dialog...") ++#define XSANE_GIMP_MENU _("<Toolbox>/File/Acquire/XSane/") + #define XSANE_GIMP_MENU_DIALOG_OLD _("<Toolbox>/Xtns/XSane/Device dialog...") + #define XSANE_GIMP_MENU_OLD _("<Toolbox>/Xtns/XSane/") + diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..696e018 --- /dev/null +++ b/debian/rules @@ -0,0 +1,164 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# Include dpatch rules +include /usr/share/dpatch/dpatch.make + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + + +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) + CFLAGS += -g +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + + +autotools: autotools-stamp +autotools-stamp: + -rm -f config.sub config.guess + ln -s /usr/share/misc/config.sub config.sub + ln -s /usr/share/misc/config.guess config.guess + touch autotools-stamp + +config.status: autotools-stamp configure + dh_testdir + # Add here commands to configure the package. + ./configure --prefix=/usr \ + --mandir=\$${prefix}/share/man \ + --infodir=\$${prefix}/share/info \ + --enable-gimp + +build: build-stamp +build-stamp: patch-stamp config.status + dh_testdir + + # Add here commands to compile the package. + # Point the docdir to xsane-common, as the doc is in this package + $(MAKE) xsanedocdir=\$${datadir}/doc/xsane-common/html + + touch build-stamp + +clean: real-clean unpatch +real-clean: + dh_testdir + dh_testroot + rm -f autotools-stamp build-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) distclean + + -rm -f config.sub config.guess + -rm -f po/*.gmo + + dh_clean + + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # The docdir is set to a directory provided by xsane-common + # so that the documentation can be found at runtime + $(MAKE) install prefix=$(CURDIR)/debian/xsane/usr \ + xsanedocdir=\$${datadir}/doc/xsane-common/html + + install -m 0644 src/xsane-32x32.xpm \ + debian/xsane/usr/share/pixmaps/xsane.xpm + + install -m 0644 debian/xsane.desktop \ + debian/xsane/usr/share/applications + + # we don't want the locales, nor the HTML documentation to be in + # this package (provided in xsane-common) + rm -rf debian/xsane/usr/share/sane + rm -rf debian/xsane/usr/share/doc/xsane/html + rm -rf debian/xsane/usr/share/locale + rm -rf debian/xsane/usr/share/doc/xsane-common + + rm -rf debian/xsane/usr/sbin + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_installdirs + + ./configure --prefix=/usr --mandir=\$${prefix}/share/man + + $(MAKE) -C doc install prefix=$(CURDIR)/debian/xsane-common/usr \ + xsanedocdir=\$${datadir}/doc/xsane-common/html + + rm -rf debian/xsane-common/usr/share/pixmaps + + # remove outdated/useless documentation + rm -f debian/xsane-common/usr/share/doc/xsane-common/html/sane-backends-doc.html + rm -f debian/xsane-common/usr/share/doc/xsane-common/html/sane-pnm-doc.html + + # manpages go in the binary packages + rm -rf debian/xsane-common/usr/share/man + + $(MAKE) -C po install prefix=$(CURDIR)/debian/xsane-common/usr + + install -d debian/xsane-common/usr/share/sane/xsane + install -m 0644 src/xsane-style.rc debian/xsane-common/usr/share/sane/xsane + install -m 0644 src/xsane-startimage.pnm debian/xsane-common/usr/share/sane/xsane + install -m 0644 src/xsane-calibration.pnm debian/xsane-common/usr/share/sane/xsane + install -m 0644 src/xsane-logo.xpm debian/xsane-common/usr/share/sane/xsane + install -m 0644 src/xsane-gpl.txt debian/xsane-common/usr/share/sane/xsane + install -m 0644 src/xsane-eula.txt debian/xsane-common/usr/share/sane/xsane + cd src && \ + for logo in *-logo.xpm; do \ + install -m 0644 $${logo} ../debian/xsane-common/usr/share/sane/xsane/$${logo} ; \ + done && \ + cd - + + dh_testdir -i + dh_testroot -i + dh_installdocs -i +# dh_installexamples -i + dh_installman -i +# dh_installinfo -i + dh_installchangelogs -i + dh_compress -i + dh_fixperms -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir -a + dh_testroot -a + dh_installdocs -a +# dh_installexamples -a + dh_installmenu -a + dh_installman -a +# dh_installinfo -a +# dh_undocumented -a + dh_installchangelogs -a xsane.CHANGES + dh_link -a + dh_strip -a + dh_compress -a + dh_fixperms -a +# dh_makeshlibs -a + dh_installdeb -a +# dh_perl -a + dh_shlibdeps -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install patch unpatch real-clean diff --git a/debian/xsane-common.dirs b/debian/xsane-common.dirs new file mode 100644 index 0000000..c1da623 --- /dev/null +++ b/debian/xsane-common.dirs @@ -0,0 +1 @@ +usr/share/pixmaps diff --git a/debian/xsane-common.doc-base b/debian/xsane-common.doc-base new file mode 100644 index 0000000..d804d5a --- /dev/null +++ b/debian/xsane-common.doc-base @@ -0,0 +1,15 @@ +Document: xsane +Title: Xsane +Author: Oliver Rauch +Abstract: This manual describes how to use xsane as a frontend to + hardware scanners. Xsane is a gtk-based X11 frontend for SANE + (Scanner Access Now Easy). SANE stands for "Scanner Access Now Easy" + and is an application programming interface (API) that provides + standardized access to any raster image scanner hardware (flatbed + scanner, hand-held scanner, video- and still-cameras, frame-grabbers, + etc.). +Section: Apps/Graphics + +Format: html +Index: /usr/share/doc/xsane-common/html/sane-xsane-doc.html +Files: /usr/share/doc/xsane-common/html/*.html diff --git a/debian/xsane.desktop b/debian/xsane.desktop new file mode 100644 index 0000000..df5c05d --- /dev/null +++ b/debian/xsane.desktop @@ -0,0 +1,18 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=XSane Image scanning program +Name[ru]=Программа для сканирования изображений +Name[ca]=Programa d'escaneig d'imatges XSane +Name[es]=Programa de escaneo de imágenes XSane +Name[fr]=Programme d'acquisition d'images XSane +Comment=A program to work with scanner. Can be used as a scanning, copier, OCR, fax tools. +Comment[ru]=Программа для работы со сканером. Может быть использована в качестве копировального аппарата, факса, и др. +Comment[ca]=Un programa per a treballar amb escànners. Es pot utilitzar com una eina d'escanejat, copiat, OCR i fax. +Comment[es]=Un programa para trabajar con escáners. Se puede utilizar como una herramienta para escanear, copiar, OCR y fax. +Comment[fr]=Un programme d'acquisition d'images pour votre scanner. Peut également photocopier, faxer ou faire de la reconnaissance de caractères. +Exec=xsane +Icon=xsane +Terminal=false +Type=Application +Categories=GTK;Application;Graphics;RasterGraphics;Scanning;OCR; +StartupNotify=true diff --git a/debian/xsane.dirs b/debian/xsane.dirs new file mode 100644 index 0000000..c79467c --- /dev/null +++ b/debian/xsane.dirs @@ -0,0 +1,3 @@ +usr/lib/gimp/2.0/plug-ins +usr/share/pixmaps +usr/share/applications diff --git a/debian/xsane.docs b/debian/xsane.docs new file mode 100644 index 0000000..1c0c73b --- /dev/null +++ b/debian/xsane.docs @@ -0,0 +1,10 @@ +xsane.ACCELKEYS +xsane.AUTHOR +xsane.BACKENDS +xsane.BEGINNERS-INFO +xsane.BUGS +xsane.LOGO +xsane.PROBLEMS +xsane.ROOT +xsane.TODO +xsane.VENDOR-STRINGS diff --git a/debian/xsane.links b/debian/xsane.links new file mode 100644 index 0000000..af2ac1d --- /dev/null +++ b/debian/xsane.links @@ -0,0 +1,2 @@ +usr/bin/xsane usr/lib/gimp/2.0/plug-ins/xsane +usr/share/doc/xsane-common/html usr/share/doc/xsane/html diff --git a/debian/xsane.menu b/debian/xsane.menu new file mode 100644 index 0000000..1a6d35d --- /dev/null +++ b/debian/xsane.menu @@ -0,0 +1,6 @@ +?package(xsane):command="/usr/bin/xsane" needs="X11" \ + section="Apps/Graphics" title="xsane" \ + icon="/usr/share/pixmaps/xsane.xpm" \ + description="xsane provides a graphical \ + user interface to control an image acquisition device \ + such as a flatbed scanner or a camera." diff --git a/debian/xsane.postinst b/debian/xsane.postinst new file mode 100644 index 0000000..3a7af58 --- /dev/null +++ b/debian/xsane.postinst @@ -0,0 +1,14 @@ +#!/bin/sh + +HTMLDOCDIR=/usr/share/doc/xsane/html +NEWHTMLDOCDIR=../xsane-common/html + +if [ -d "$HTMLDOCDIR" ] && [ ! -L "$HTMLDOCDIR" ]; then + # Remove old directory and files that are now provided by xsane-common + rm -rf "$HTMLDOCDIR" + # Create a link to the new directory + ln -s "$NEWHTMLDOCDIR" "$HTMLDOCDIR" +fi + + +#DEBHELPER# |