--- xsane-0.996.orig/debian/xsane.dirs +++ xsane-0.996/debian/xsane.dirs @@ -0,0 +1,3 @@ +usr/lib/gimp/2.0/plug-ins +usr/share/pixmaps +usr/share/applications --- xsane-0.996.orig/debian/xsane-doc.doc-base +++ xsane-0.996/debian/xsane-doc.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: Graphics + +Format: html +Index: /usr/share/doc/xsane-common/html/sane-xsane-doc.html +Files: /usr/share/doc/xsane-common/html/*.html --- xsane-0.996.orig/debian/xsane-common.links +++ xsane-0.996/debian/xsane-common.links @@ -0,0 +1 @@ +usr/share/doc/xsane-common/html/sane-xsane-doc.html usr/share/doc/xsane-common/html/index.html --- xsane-0.996.orig/debian/xsane.docs +++ xsane-0.996/debian/xsane.docs @@ -0,0 +1,9 @@ +xsane.ACCELKEYS +xsane.AUTHOR +xsane.BEGINNERS-INFO +xsane.BUGS +xsane.LOGO +xsane.PROBLEMS +xsane.ROOT +xsane.TODO +xsane.VENDOR-STRINGS --- xsane-0.996.orig/debian/xsane.postinst +++ xsane-0.996/debian/xsane.postinst @@ -0,0 +1,16 @@ +#!/bin/sh + +set -e + +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# --- xsane-0.996.orig/debian/xsane.desktop +++ xsane-0.996/debian/xsane.desktop @@ -0,0 +1,35 @@ +[Desktop Entry] +Name=XSane Image scanning program +Name[ru]=Программа для сканирования изображений +Name[ca]=Programa d'escaneig d'imatges XSane +Name[da]=XSane - Billedskanning +Name[de]=XSane Scanprogramm +Name[es]=Programa de escaneo de imágenes XSane +Name[fr]=Programme d'acquisition d'images XSane +Name[fi]=XSane-kuvanlukuohjelma +Name[fa]=برنامه اسکن تصاویر XSane +Name[pt]=Programa de digitalização XSane +Name[pt_BR]=Programa de Digitalização XSane +Name[it]=Xsane Programma di acquisizione di immagini +Name[nl]=XSane scannerprogramma +Name[hu]=XSane lapolvasó program +Comment=Scan, copy and fax images +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[de]=Ein Programm, um mit einem Scanner zu arbeiten. Kann zum scannen, kopieren, faxen, oder zur Texterkennung verwendet werden. +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. +Comment[fi]=Ohjelma kuvanlukijoiden käyttöön. Voidaan käyttää kuvanluku-, kopiointi-, tekstintunnistus- ja faksaustarkoituksiin. +Comment[fa]=برنامه ای که با دستگاه اسکنر شما کار میکند +Comment[pt]=Um programa para trabalhar com o digitalizador. Pode ser usado para digitalizar, copiar, reconhecimento óptico de caracteres, fax. +Comment[pt_BR]=Um programa para trabalhar com o scanner. Pode ser usado para digitalizar, copiar, reconhecimento óptico de caracteres, fax. +Comment[it]=Un programma per lavorare con lo scanner. Può essere usato per acquisire, copiare, fare OCR, fax. +Comment[nl]=Een programma om met de scanner te werken. Kan gebruikt worden voor scannen, kopiëren, OCR en faxen. +Comment[hu]=Lapolvasót kezelő program. Lapolvasó, másoló, fax és OCR eszközként is használható. +Exec=xsane +Icon=xsane +Terminal=false +Type=Application +Categories=GTK;Graphics;RasterGraphics;Scanning;OCR; +StartupNotify=true +X-Ubuntu-Gettext-Domain=xsane --- xsane-0.996.orig/debian/xsane-common.dirs +++ xsane-0.996/debian/xsane-common.dirs @@ -0,0 +1 @@ +usr/share/pixmaps --- xsane-0.996.orig/debian/xsane.menu +++ xsane-0.996/debian/xsane.menu @@ -0,0 +1,6 @@ +?package(xsane):command="/usr/bin/xsane" needs="X11" \ + section="Applications/Graphics" title="XSane" \ + icon="/usr/share/pixmaps/xsane.xpm" \ + description="XSane provides an advanced graphical \ + user interface to control an image acquisition device \ + such as a flatbed scanner or a camera." --- xsane-0.996.orig/debian/control +++ xsane-0.996/debian/control @@ -0,0 +1,55 @@ +Source: xsane +Section: graphics +Priority: optional +Maintainer: Ubuntu Core Developers +XSBC-Original-Maintainer: Julien BLACHE +Standards-Version: 3.8.0 +Build-Depends: debhelper (>= 5), dpatch, libgimp2.0-dev (>= 2.0.0), libgtk2.0-dev, libjpeg62-dev, libpng12-dev, libtiff4-dev, liblcms1-dev, libsane-dev (>= 1.0.11-3), zlib1g-dev, gettext, autotools-dev + +Package: xsane +Section: graphics +Architecture: any +Depends: xsane-common (= ${source:Version}), ${shlibs:Depends} +Recommends: firefox | www-browser, cups-client +Suggests: xsane-doc, gimp, hylafax-client | mgetty-fax, gv, gocr +Description: featureful graphical 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: featureful graphical 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). + +Package: xsane-doc +Section: doc +Architecture: all +Replaces: xsane-common (<< 0.99+0.991-3ubuntu5) +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 the help files for xsane. --- xsane-0.996.orig/debian/copyright +++ xsane-0.996/debian/copyright @@ -0,0 +1,32 @@ +This package was first debianized by Kevin Dalley kevind@rahul.net. +It is now maintained by Julien BLACHE and +Aurélien JARNO . + +It was downloaded from : ftp://ftp.sane-project.org/pub/sane/xsane/ + +Upstream Author : Oliver Rauch + + +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. --- xsane-0.996.orig/debian/xsane.links +++ xsane-0.996/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 --- xsane-0.996.orig/debian/changelog +++ xsane-0.996/debian/changelog @@ -0,0 +1,934 @@ +xsane (0.996-1ubuntu1) jaunty; urgency=low + + * Resynchronise with Debian. Remaining changes: + - debian/patches/13_pot_desktop_msgid.dpatch: Add .desktop file Name and + Comment to the POT. + - debian/control: + - Build separate xsane doc package. + - Depend on firefox instead of iceweasel. + - Rename xsane-common.doc-base to xsane-doc.doc-base. + + -- Colin Watson Tue, 23 Dec 2008 18:17:01 +0000 + +xsane (0.996-1) unstable; urgency=low + + * New upstream release. + + * debian/xsane.postinst: + + Make maintainer script set -e. + + * debian/patches/06_fix_pdf_xref.dpatch: + + Updated; this release fixes the single-page case but the multipage case + was left out. + + -- Julien BLACHE Wed, 26 Nov 2008 22:35:41 +0100 + +xsane (0.995-6ubuntu1) jaunty; urgency=low + + * Merge from debian unstable, remaining changes: + - debian/patches/13_pot_desktop_msgid.dpatch: Add .desktop file Name and + Comment to the POT. + - debian/control: + - build seperate xsane doc package + - depends on firefox instead of iceweasel + - rename xsane-common.doc-base to xsane-doc.doc-base + + -- Michael Vogt Tue, 18 Nov 2008 14:12:42 +0100 + +xsane (0.995-6) unstable; urgency=low + + * debian/patches/06_fix_pdf_xref.dpatch: + + Added; mark non-existent PDF objects as free in the xref table + (closes: #499104). + + -- Julien BLACHE Wed, 17 Sep 2008 21:40:10 +0200 + +xsane (0.995-5) unstable; urgency=low + + * debian/control: + + xsane Recommends: cups-client for the lp binary. + + * debian/patches/01_printing_defaults.dpatch: + + Added; switch printing defaults from lpr to lp (closes: #468274). + + -- Julien BLACHE Mon, 08 Sep 2008 11:04:02 +0200 + +xsane (0.995-4) unstable; urgency=low + + * debian/control: + + Bump Standards-Version to 3.8.0 (no changes). + * debian/xsane.desktop: + + Remove Encoding key (closes: #489790). + + * debian/patches/05_options_handling_fix.dpatch: + + Added; duplicate strings for options with a constraint type of + SANE_CONSTRAINT_STRING_LIST, as the constraint is not guaranteed to + be stable in memory, and actually isn't when the net backend is used. + Based on Brad Sawatzky's patch (closes: #487475, #307088). + * debian/patches/03_gimp_acquire_menu.dpatch: + + Updated; add missing patch description. + + -- Julien BLACHE Fri, 25 Jul 2008 19:04:12 +0200 + +xsane (0.995-3ubuntu2) intrepid; urgency=low + + * Modify debian/xsane.desktop to make it validate with + desktop-file-validate (LP: #245887) + + -- Nathan Handler Sat, 05 Jul 2008 14:47:14 -0500 + +xsane (0.995-3ubuntu1) intrepid; urgency=low + + * Merge from debian unstable, remaining changes: + - debian/patches/13_pot_desktop_msgid.dpatch: Add .desktop file Name and + Comment to the POT. + - debian/control: + - build seperate xsane doc package + - rename xsane-common.doc-base to xsane-doc.doc-base + - debian/control: Ubuntu maintainer. + * dropped debian/patches/04_disable_eula.dpatch: part of debian now + + -- Michael Vogt Thu, 29 May 2008 10:29:02 +0200 + +xsane (0.995-3) unstable; urgency=low + + * debian/patches/04_inhibit_clickthrough.dpatch: + + Added; finally give up and inhibit the license clickthrough. They + largely made me do it (closes: #132679). + * debian/xsane-common.doc-base: + + Fix doc-base section. + + -- Julien BLACHE Fri, 11 Apr 2008 19:03:59 +0200 + +xsane (0.995-2) unstable; urgency=low + + * debian/control: + + Bump Standards-Version to 3.7.3 (no changes). + + -- Julien BLACHE Sat, 01 Mar 2008 16:59:01 +0100 + +xsane (0.995-1ubuntu1) hardy; urgency=low + + * Merge from debian unstable, remaining changes: + - debian/patches/04_disable_eula.dpatch: Don't display GPL/EULA on first + start. + - debian/patches/13_pot_desktop_msgid.dpatch: Add .desktop file Name and + Comment to the POT. + - debian/control: + - build seperate xsane doc package + - rename xsane-common.doc-base to xsane-doc.doc-base + - debian/control: Ubuntu maintainer. + *debian/patches/07_save_speed.dpatch: dropped, does no longer apply + + -- Michael Vogt Mon, 03 Dec 2007 10:35:09 +0100 + +xsane (0.995-1) unstable; urgency=low + + * New upstream release. + + Enlarged buffer for the "No devices" help text (closes: #442294). + + LCMS (color management) support. + * debian/patches/11_contect_typo.dpatch: + + Removed; merged upstream. + * debian/patches/12_pbar_fixes.dpatch: + + Removed; fixed upstream with a different fix. + * debian/control: + + Build-Depends: liblcms1-dev for color management support. + + -- Julien BLACHE Thu, 22 Nov 2007 11:42:18 +0100 + +xsane (0.994-1) experimental; urgency=low + + * New upstream beta release. + + -- Julien BLACHE Wed, 7 Mar 2007 13:12:27 +0100 + +xsane (0.993-1) experimental; urgency=low + + * New upstream beta release. + + -- Julien BLACHE Tue, 27 Feb 2007 22:22:40 +0100 + +xsane (0.99+0.991-6) unstable; urgency=low + + * debian/patches/12_pbar_fixes.dpatch: + + Added; Reduce progress bar updates/redraws by rounding the progress + value. Patch by Joris van Rooij (closes: #432609). + * debian/xsane.desktop: + + Remove non-existent "Application" category. + * debian/xsane-common.links: + + Add an index.html symlink to sane-xsane-doc.html in the HTML doc. + + -- Julien BLACHE Fri, 24 Aug 2007 11:37:26 +0200 + +xsane (0.99+0.991-5) unstable; urgency=low + + * debian/xsane.menu: + + Update for the new menu structure. + + -- Julien BLACHE Sun, 05 Aug 2007 18:14:18 +0200 + +xsane (0.99+0.991-4) unstable; urgency=low + + * debian/control: + + Remove obsolete Build-Conflicts: libpng10-dev. + + Remove obsolete Conflicts/Replaces: xsane-gimp1.{2,3}. + + Update browser recommendation. + + Improve short description. + * debian/rules: + + Do not ignore errors from make distclean. + + -- Julien BLACHE Thu, 02 Aug 2007 18:15:18 +0200 + +xsane (0.99+0.991-3ubuntu5) gutsy; urgency=low + + * Move the user documentation to a separate xsane-doc package. + + -- Matthias Klose Fri, 05 Oct 2007 12:49:32 +0200 + +xsane (0.99+0.991-3ubuntu4) gutsy; urgency=low + + * Rebuild for new gimp version. + + -- Steve Kowalik Sat, 8 Sep 2007 22:50:10 +1000 + +xsane (0.99+0.991-3ubuntu3) gutsy; urgency=low + + * debian/patches/07_save_speed.dpatch: reduce update frequency of + the progress bar, to save files faster; patch provided by + Joris van Rooij (LP: #124879). + + -- Siegfried-Angel Gevatter Pujals (RainCT) Mon, 9 Jul 2007 15:41:16 +0200 + +xsane (0.99+0.991-3ubuntu2) gutsy; urgency=low + + * No-change rebuild for new libgimp2.0 (LP: #121840). + + -- Daniel T Chen Sun, 24 Jun 2007 01:30:19 -0400 + +xsane (0.99+0.991-3ubuntu1) gutsy; urgency=low + + * Merge to Debian unstable. Remaining Ubuntu changes: + - debian/patches/04_disable_eula.dpatch: Don't display GPL/EULA on first + start. + - debian/patches/13_pot_desktop_msgid.dpatch: Add .desktop file Name and + Comment to the POT. + - debian/xsane.desktop: Use "Scan, copy and fax images" instead of "A + program to work with scanner. Can be used as a scanning, copier, OCR, + fax tools." as a tooltip for the menu item. + * debian/control: Ubuntu maintainer. + + -- Martin Pitt Fri, 18 May 2007 16:43:06 +0200 + +xsane (0.99+0.991-3) unstable; urgency=low + + * debian/patches/10_broken_links.dpatch: + + Added; fix broken links in HTML documentation (closes: #415299). + * debian/patches/11_contect_typo.dpatch: + + Added; fix "contect" typo in xsane-text.h; original patch by + Martin Pitt (closes: #420749). + + -- Julien BLACHE Fri, 27 Apr 2007 21:46:28 +0200 + +xsane (0.99+0.991-2) unstable; urgency=low + + * debian/control: + + Bumped Standards-Version to 3.7.2 (no changes). + + Fix dependency on xsane-common to be binNMU-safe. + + Remove Uploaders. + + Thank you Aurélien JARNO for your help during these years. + + -- Julien BLACHE Sun, 7 Jan 2007 19:00:11 +0100 + +xsane (0.99+0.991-1ubuntu2) edgy; urgency=low + + * Add debian/patches/01_context_typo.dpatch: Fix contect->context typo in + source, pot, and all PO files. Closes: LP#20975 + + -- Martin Pitt Thu, 5 Oct 2006 15:28:03 +0200 + +xsane (0.99+0.991-1ubuntu1) edgy; urgency=low + + * Merge to Debian unstable. + * Drop our patching of configure & friends and adding the Xhosa po; we have + that in Rosetta now. + * Remaining Ubuntu changes: + - debian/patches/04_disable_eula.dpatch: Don't display GPL/EULA on first + start. + - debian/patches/13_pot_desktop_msgid.dpatch: Alter .desktop file comment. + + -- Martin Pitt Thu, 6 Jul 2006 21:12:24 +0200 + +xsane (0.99+0.991-1) unstable; urgency=low + + * New upstream bugfix release (0.991). + + -- Julien BLACHE Tue, 24 Jan 2006 23:14:44 +0100 + +xsane (0.99-1) unstable; urgency=low + + * New upstream release. + + -- Julien BLACHE 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 Sun, 8 Jan 2006 00:43:52 +0100 + +xsane (0.98b-1) unstable; urgency=low + + * Bugfix release. + + -- Julien BLACHE 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 Mon, 21 Nov 2005 21:49:19 +0100 + +xsane (0.97-4ubuntu6) dapper; urgency=low + + * debian/patches/13_pot_desktop_msgid.dpatch, debian/xsane.desktop: + - use "Scan, copy and fax images" instead of "A program to work with + scanner. Can be used as a scanning, copier, OCR, fax tools." as a tooltip + for the menu item + + -- Sebastien Bacher Thu, 16 Mar 2006 12:32:02 +0100 + +xsane (0.97-4ubuntu5) dapper; urgency=low + + * debian/patches/13_pot_desktop_msgid.dpatch, debian/xsane.desktop: + - change menu title from "XSane Image scanning program" + to "XSane Image Scanner" + + -- Sebastien Bacher Thu, 9 Mar 2006 12:55:35 +0000 + +xsane (0.97-4ubuntu4) dapper; urgency=low + + * debian/xsane.desktop: Add gettext domain to get language support. + * Add debian/patches/13_pot_desktop_msgid.dpatch: Add msgids from desktop + file to po/xmms.pot. + + -- Martin Pitt Fri, 24 Feb 2006 11:00:08 +0100 + +xsane (0.97-4ubuntu3) dapper; urgency=low + + * debian/xsane.desktop: + - restore the menu item + + -- Sebastien Bacher Tue, 14 Feb 2006 19:38:03 +0100 + +xsane (0.97-4ubuntu2) dapper; urgency=low + + * debian/xsane.desktop: + - hide the menu item, it can be used from gimp (MenusRevisited) + + -- Sebastien Bacher Wed, 23 Nov 2005 21:49:42 +0100 + +xsane (0.97-4ubuntu1) dapper; urgency=low + + * Resynchronise with Debian. + + -- Michael Vogt Fri, 11 Nov 2005 13:21:59 +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 Sun, 28 Aug 2005 19:03:36 +0200 + +xsane (0.97-3ubuntu2) breezy; urgency=low + + * debian/xsane.desktop: + - translations update. + + -- Sebastien Bacher Mon, 3 Oct 2005 16:18:21 +0200 + +xsane (0.97-3ubuntu1) breezy; urgency=low + + * Resynchronise with Debian. + * configure, configure.in: (re)added xh.po + + -- Michael Vogt Wed, 6 Jul 2005 14:26:24 +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 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 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 Sat, 22 Jan 2005 20:53:34 +0100 + +xsane (0.96-1ubuntu2) hoary; urgency=low + + * configure, configure.in, debian/xsane.desktop, po/xh.po, po/UTF-8/xh.po: + - translations update. + + -- Sebastien Bacher Mon, 4 Apr 2005 15:19:58 +0200 + +xsane (0.96-1ubuntu1) hoary; urgency=low + + * Resynchronize from Debian + * src/xsane.c: Don't display GPL/EULA on first start. + + -- Martin Pitt Fri, 29 Oct 2004 13:05:46 +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 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 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 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 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 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 Tue, 3 Aug 2004 18:14:44 +0200 + +xsane (0.94-3) unstable; urgency=low + + * libtiff4 transition. + + -- Julien BLACHE 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 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 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 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 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 Sun, 25 Jan 2004 12:19:20 +0100 + +xsane (0.92-1) unstable; urgency=low + + * New upstream release. + + -- Julien BLACHE 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 Sun, 14 Sep 2003 15:54:18 +0200 + +xsane (0.91-5) unstable; urgency=low + + * Julien BLACHE + * 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 + * Changed back icon to full colors. + * Converted to dpatch. Build-depends on dpatch. + * Dont run ./configure twice during the build + + -- Julien BLACHE 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 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 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 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 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 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 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 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 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 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 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 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 Sat, 12 Oct 2002 11:44:47 +0200 + +xsane (0.88-1) unstable; urgency=low + + * New upstream release. + + -- Kevin Dalley Sun, 6 Oct 2002 19:48:27 -0700 + +xsane (0.84-2) unstable; urgency=low + + * relinked with libusb-0.1-4. + + -- Kevin Dalley 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 Thu, 14 Mar 2002 02:23:44 +0000 + +xsane (0.72-2) unstable; urgency=low + + * New upstream version of xsane (closes: #105785). + + -- Kevin Dalley Wed, 3 Oct 2001 00:36:17 -0700 + +xsane (0.72-1) unstable; urgency=low + + * New upstream version of xsane. Many changes. + + -- Kevin Dalley Mon, 12 Mar 2001 10:32:10 +0000 + +xsane (0.70-1) unstable; urgency=low + + * new upstream release of xsane. + + -- Kevin Dalley 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 Sun, 5 Nov 2000 16:43:07 -0800 + +xsane (0.62-1) unstable; urgency=low + + * New upstream version of xsane. + + -- Kevin Dalley 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 Sat, 21 Oct 2000 16:25:04 -0700 + +xsane (0.61-1) unstable; urgency=low + + * new upstream release of xsane. + + -- Kevin Dalley 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 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 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 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 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 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 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 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 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 Sun, 9 Jan 2000 23:03:58 -0800 + +xsane (0.42-1) unstable; urgency=low + + * fixed problem with saving file to png + + -- Kevin Dalley 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 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 Sun, 31 Oct 1999 05:37:48 -0800 + +xsane (0.40-1) unstable; urgency=low + + * new release of xsane + + -- Kevin Dalley Sun, 24 Oct 1999 13:37:12 -0700 + +xsane (0.39-2) unstable; urgency=low + + * corrected documentation link for xsane-gimp1.1 + + -- Kevin Dalley Fri, 15 Oct 1999 10:06:15 -0700 + +xsane (0.39-1) unstable; urgency=low + + * new upstream release + + -- Kevin Dalley 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 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 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 Wed, 8 Sep 1999 15:29:25 -0700 + +xsane (0.33-1) unstable; urgency=low + + * updated to version 0.33 of xsane + + -- Kevin Dalley 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 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 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 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 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 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 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 Sun, 27 Jun 1999 11:46:47 -0700 + +xsane (0.25-1) unstable; urgency=low + + * miscellaneous changes, updated release + + -- Kevin Dalley 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 Mon, 26 Apr 1999 23:03:13 -0700 + + --- xsane-0.996.orig/debian/rules +++ xsane-0.996/debian/rules @@ -0,0 +1,162 @@ +#!/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. + [ ! -f Makefile ] || $(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 -i + + ./configure --prefix=/usr --mandir=\$${prefix}/share/man + + $(MAKE) -C doc install prefix=$(CURDIR)/debian/xsane-doc/usr \ + xsanedocdir=\$${datadir}/doc/xsane-common/html + + rm -rf debian/xsane-common/usr/share/pixmaps + + # remove outdated/useless documentation + rm -f debian/xsane-doc/usr/share/doc/xsane-common/html/sane-backends-doc.html + rm -f debian/xsane-doc/usr/share/doc/xsane-common/html/sane-pnm-doc.html + + # manpages go in the binary packages + rm -rf debian/xsane-doc/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_installdocs -i + ln -sf ../xsane-common/html debian/xsane-doc/usr/share/doc/xsane-doc/html + +# dh_installexamples -i + dh_installman -i +# dh_installinfo -i + dh_installchangelogs -i + dh_link -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_installchangelogs -a xsane.CHANGES + dh_link -a + dh_strip -a + dh_compress -a + dh_fixperms -a + dh_installdeb -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 --- xsane-0.996.orig/debian/compat +++ xsane-0.996/debian/compat @@ -0,0 +1 @@ +5 --- xsane-0.996.orig/debian/patches/10_broken_links.dpatch +++ xsane-0.996/debian/patches/10_broken_links.dpatch @@ -0,0 +1,20 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 10_broken_links.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fix broken links in HTML documentation. + +@DPATCH@ +diff -urNad xsane-0.995~/doc/sane-xsane-doc.html xsane-0.995/doc/sane-xsane-doc.html +--- xsane-0.995~/doc/sane-xsane-doc.html 2007-03-03 14:11:32.000000000 +0100 ++++ xsane-0.995/doc/sane-xsane-doc.html 2007-11-22 11:25:36.385421627 +0100 +@@ -165,8 +165,7 @@ +
  • Display setup
  • +
  • Enhancement setup
  • +
  • Fax setup
  • +-
  • Image setup
  • +-
  • Mail setup
  • ++
  • Mail setup
  • +
  • Saving setup
  • +
  • Color management setup
  • + --- xsane-0.996.orig/debian/patches/05_options_handling_fix.dpatch +++ xsane-0.996/debian/patches/05_options_handling_fix.dpatch @@ -0,0 +1,242 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 05_options_handling_fix.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Duplicate string values for options with constraint type of +## DP: SANE_CONSTRAINT_STRING_LIST. The string list is not guaranteed to +## DP: be stable, and actually isn't stable when the net backend is used. + +@DPATCH@ +diff -urNad xsane-0.995~/src/xsane-back-gtk.c xsane-0.995/src/xsane-back-gtk.c +--- xsane-0.995~/src/xsane-back-gtk.c 2008-07-25 18:53:38.000000000 +0200 ++++ xsane-0.995/src/xsane-back-gtk.c 2008-07-25 18:53:45.764102480 +0200 +@@ -2226,11 +2226,13 @@ + /* ----------------------------------------------------------------------------------------------------------------- */ + + void xsane_back_gtk_option_menu_new(GtkWidget *parent, const char *name, char *str_list[], +- const char *val, DialogElement *elem, ++ const char *val, SANE_Constraint_Type constraint_type, DialogElement *elem, + GtkTooltips *tooltips, const char *desc, SANE_Int settable) + { + GtkWidget *hbox, *label, *option_menu, *menu, *item; + MenuItem *menu_items; ++ int dup_string; ++ char *strval; + int i, num_items; + + DBG(DBG_proc, "xsane_back_gtk_option_menu_new(%s)\n", name); +@@ -2248,16 +2250,23 @@ + + menu_items = malloc((num_items + 1) * sizeof(menu_items[0])); + ++ dup_string = (constraint_type == SANE_CONSTRAINT_STRING_LIST); ++ + menu = gtk_menu_new(); + for (i = 0; i < num_items; ++i) + { +- item = gtk_menu_item_new_with_label(_BGT(str_list[i])); ++ if (dup_string) ++ strval = strdup(str_list[i]); ++ else ++ strval = str_list[i]; ++ ++ item = gtk_menu_item_new_with_label(_BGT(strval)); + gtk_container_add(GTK_CONTAINER(menu), item); + g_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_back_gtk_option_menu_callback, menu_items + i); + + gtk_widget_show(item); + +- menu_items[i].label = str_list[i]; ++ menu_items[i].label = strval; + menu_items[i].elem = elem; + menu_items[i].index = i; + } +@@ -2403,14 +2412,15 @@ + xsane.standard_hbox = NULL; + xsane.advanced_hbox = NULL; + +- /* free the menu labels of integer/fix-point word-lists: */ ++ /* free the menu labels */ + for (i = 0; i < xsane.num_elements; ++i) + { + if (xsane.element[i].menu) + { + opt = xsane_get_option_descriptor(xsane.dev, i); + elem = xsane.element + i; +- if (opt->type != SANE_TYPE_STRING) ++ if ((opt->type != SANE_TYPE_STRING) ++ || (opt->constraint_type == SANE_CONSTRAINT_STRING_LIST)) + { + for (j = 0; j < elem->menu_size; ++j) + { +diff -urNad xsane-0.995~/src/xsane-back-gtk.h xsane-0.995/src/xsane-back-gtk.h +--- xsane-0.995~/src/xsane-back-gtk.h 2008-07-25 18:53:38.000000000 +0200 ++++ xsane-0.995/src/xsane-back-gtk.h 2008-07-25 18:53:45.764102480 +0200 +@@ -117,7 +117,7 @@ + gfloat quant, int automatic, + DialogElement *elem, GtkTooltips *tooltips, const char *desc, SANE_Int settable); + extern void xsane_back_gtk_option_menu_new(GtkWidget *parent, const char *name, char *str_list[], +- const char *val, DialogElement *elem, GtkTooltips *tooltips, const char *desc, SANE_Int settable); ++ const char *val, SANE_Constraint_Type constraint_type, DialogElement *elem, GtkTooltips *tooltips, const char *desc, SANE_Int settable); + extern void xsane_back_gtk_text_entry_new(GtkWidget *parent, const char *name, const char *val, + DialogElement *elem, GtkTooltips *tooltips, const char *desc, SANE_Int settable); + extern void xsane_back_gtk_push_button_callback(GtkWidget *widget, gpointer data); +diff -urNad xsane-0.995~/src/xsane-front-gtk.c xsane-0.995/src/xsane-front-gtk.c +--- xsane-0.995~/src/xsane-front-gtk.c 2008-07-25 18:53:38.000000000 +0200 ++++ xsane-0.995/src/xsane-front-gtk.c 2008-07-25 18:53:58.887267644 +0200 +@@ -64,10 +64,10 @@ + int *state, void *xsane_toggle_button_callback); + GtkWidget *xsane_button_new_with_pixmap(GdkWindow *window, GtkWidget *parent, const char *xpm_d[], const char *desc, + void *xsane_button_callback, gpointer data); +-void xsane_option_menu_new(GtkWidget *parent, char *str_list[], const char *val, int option_number, const char *desc, ++void xsane_option_menu_new(GtkWidget *parent, char *str_list[], const char *val, SANE_Constraint_Type constraint_type, int option_number, const char *desc, + void *option_menu_callback, SANE_Int settable, const gchar *widget_name); + void xsane_option_menu_new_with_pixmap(GdkWindow *window, GtkBox *parent, const char *xpm_d[], const char *desc, +- char *str_list[], const char *val, ++ char *str_list[], const char *val, SANE_Constraint_Type constraint_type, + GtkWidget **data, int option, + void *option_menu_callback, SANE_Int settable, const gchar *widget_name); + void xsane_range_new(GtkBox *parent, char *labeltext, const char *desc, +@@ -1007,12 +1007,14 @@ + + /* ---------------------------------------------------------------------------------------------------------------------- */ + +-void xsane_option_menu_new(GtkWidget *parent, char *str_list[], const char *val, int option_number, const char *desc, ++void xsane_option_menu_new(GtkWidget *parent, char *str_list[], const char *val, SANE_Constraint_Type constraint_type, int option_number, const char *desc, + void *option_menu_callback, SANE_Int settable, const gchar *widget_name) + { + GtkWidget *option_menu, *menu, *item; + MenuItem *menu_items; + DialogElement *elem; ++ int dup_string; ++ char *strval; + int i, num_items; + + DBG(DBG_proc, "xsane_option_menu_new\n"); +@@ -1031,9 +1033,16 @@ + gtk_widget_set_name(menu, widget_name); + } + ++ dup_string = (constraint_type == SANE_CONSTRAINT_STRING_LIST); ++ + for (i = 0; i < num_items; ++i) + { +- item = gtk_menu_item_new_with_label(_BGT(str_list[i])); ++ if (dup_string) ++ strval = strdup(str_list[i]); ++ else ++ strval = str_list[i]; ++ ++ item = gtk_menu_item_new_with_label(_BGT(strval)); + gtk_container_add(GTK_CONTAINER(menu), item); + + if (option_menu_callback) +@@ -1047,7 +1056,7 @@ + + gtk_widget_show(item); + +- menu_items[i].label = str_list[i]; ++ menu_items[i].label = strval; + menu_items[i].elem = elem; + menu_items[i].index = i; + } +@@ -1075,7 +1084,7 @@ + /* ---------------------------------------------------------------------------------------------------------------------- */ + + void xsane_option_menu_new_with_pixmap(GdkWindow *window, GtkBox *parent, const char *xpm_d[], const char *desc, +- char *str_list[], const char *val, ++ char *str_list[], const char *val, SANE_Constraint_Type constraint_type, + GtkWidget **data, int option, + void *option_menu_callback, SANE_Int settable, const gchar *widget_name) + { +@@ -1094,7 +1103,7 @@ + gtk_box_pack_start(GTK_BOX(hbox), pixmapwidget, FALSE, FALSE, 2); + gtk_widget_show(pixmapwidget); + +- xsane_option_menu_new(hbox, str_list, val, option, desc, option_menu_callback, settable, widget_name); ++ xsane_option_menu_new(hbox, str_list, val, constraint_type, option, desc, option_menu_callback, settable, widget_name); + gtk_widget_show(hbox); + } + +diff -urNad xsane-0.995~/src/xsane-front-gtk.h xsane-0.995/src/xsane-front-gtk.h +--- xsane-0.995~/src/xsane-front-gtk.h 2008-07-25 18:53:38.000000000 +0200 ++++ xsane-0.995/src/xsane-front-gtk.h 2008-07-25 18:53:45.768101033 +0200 +@@ -54,10 +54,10 @@ + extern GtkWidget *xsane_button_new_with_pixmap(GdkWindow *window, GtkWidget *parent, const char *xpm_d[], const char *desc, + void *xsane_button_callback, gpointer data); + extern void xsane_pixmap_new(GtkWidget *parent, char *title, int width, int height, XsanePixmap *hist); +-extern void xsane_option_menu_new(GtkWidget *parent, char *str_list[], const char *val, int option_number, const char *desc, ++extern void xsane_option_menu_new(GtkWidget *parent, char *str_list[], const char *val, SANE_Constraint_Type constraint_type, int option_number, const char *desc, + void *option_menu_callback, SANE_Int settable, const gchar *widget_name); + extern void xsane_option_menu_new_with_pixmap(GdkWindow *window, GtkBox *parent, const char *xpm_d[], const char *desc, +- char *str_list[], const char *val, ++ char *str_list[], const char *val, SANE_Constraint_Type constraint_type, + GtkWidget **data, int option, + void *option_menu_callback, SANE_Int settable, const gchar *widget_name); + extern void xsane_range_new(GtkBox *parent, char *labeltext, const char *desc, +diff -urNad xsane-0.995~/src/xsane.c xsane-0.995/src/xsane.c +--- xsane-0.995~/src/xsane.c 2008-07-25 18:53:45.132101694 +0200 ++++ xsane-0.995/src/xsane.c 2008-07-25 18:53:45.772100494 +0200 +@@ -876,7 +876,7 @@ + str_list[j] = 0; + sprintf(str, "%d", (int) val); + +- xsane_option_menu_new_with_pixmap(xsane.xsane_window->window, GTK_BOX(parent), image_xpm, desc, str_list, str, &resolution_widget, well_known_option, ++ xsane_option_menu_new_with_pixmap(xsane.xsane_window->window, GTK_BOX(parent), image_xpm, desc, str_list, str, opt->constraint_type, &resolution_widget, well_known_option, + xsane_resolution_list_callback, SANE_OPTION_IS_SETTABLE(opt->cap), widget_name); + + free(str_list); +@@ -931,7 +931,7 @@ + + + xsane_option_menu_new_with_pixmap(xsane.xsane_window->window, GTK_BOX(parent), image_xpm, desc, +- str_list, str, &resolution_widget, well_known_option, ++ str_list, str, opt->constraint_type, &resolution_widget, well_known_option, + xsane_resolution_list_callback, SANE_OPTION_IS_SETTABLE(opt->cap), widget_name); + free(str_list); + } +@@ -1490,7 +1490,7 @@ + set = malloc(opt->size); + status = xsane_control_option(xsane.dev, xsane.well_known.scansource, SANE_ACTION_GET_VALUE, set, 0); + +- xsane_option_menu_new(hbox, (char **) opt->constraint.string_list, set, xsane.well_known.scansource, ++ xsane_option_menu_new(hbox, (char **) opt->constraint.string_list, set, opt->constraint_type, xsane.well_known.scansource, + _BGT(opt->desc), 0, SANE_OPTION_IS_SETTABLE(opt->cap), 0); + } + break; +@@ -1529,7 +1529,7 @@ + set = malloc(opt->size); + status = xsane_control_option(xsane.dev, xsane.well_known.scanmode, SANE_ACTION_GET_VALUE, set, 0); + +- xsane_option_menu_new(hbox, (char **) opt->constraint.string_list, set, xsane.well_known.scanmode, ++ xsane_option_menu_new(hbox, (char **) opt->constraint.string_list, set, opt->constraint_type, xsane.well_known.scanmode, + _BGT(opt->desc), xsane_scanmode_menu_callback, SANE_OPTION_IS_SETTABLE(opt->cap), 0); + } + break; +@@ -4635,7 +4635,7 @@ + } + str_list[j] = 0; + sprintf(str, "%d", val); +- xsane_back_gtk_option_menu_new(parent, title, str_list, str, elem, xsane.tooltips, _BGT(opt->desc), ++ xsane_back_gtk_option_menu_new(parent, title, str_list, str, opt->constraint_type, elem, xsane.tooltips, _BGT(opt->desc), + SANE_OPTION_IS_SETTABLE(opt->cap)); + free(str_list); + gtk_widget_show(parent->parent); +@@ -4733,7 +4733,7 @@ + } + str_list[j] = 0; + sprintf(str, "%g", SANE_UNFIX(val)); +- xsane_back_gtk_option_menu_new(parent, title, str_list, str, elem, xsane.tooltips, _BGT(opt->desc), SANE_OPTION_IS_SETTABLE(opt->cap)); ++ xsane_back_gtk_option_menu_new(parent, title, str_list, str, opt->constraint_type, elem, xsane.tooltips, _BGT(opt->desc), SANE_OPTION_IS_SETTABLE(opt->cap)); + free (str_list); + gtk_widget_show(parent->parent); + } +@@ -4770,7 +4770,7 @@ + (strcmp (opt->name, SANE_NAME_SCAN_SOURCE) != 0) ) /* do not show scansource */ + { + /* use a "list-selection" widget */ +- xsane_back_gtk_option_menu_new(parent, title, (char **) opt->constraint.string_list, buf, ++ xsane_back_gtk_option_menu_new(parent, title, (char **) opt->constraint.string_list, buf, opt->constraint_type, + elem, xsane.tooltips, _BGT(opt->desc), SANE_OPTION_IS_SETTABLE(opt->cap)); + gtk_widget_show (parent->parent); + } --- xsane-0.996.orig/debian/patches/13_pot_desktop_msgid.dpatch +++ xsane-0.996/debian/patches/13_pot_desktop_msgid.dpatch @@ -0,0 +1,20 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 13_pot_desktop_msgid.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad xsane-0.97~/po/xsane.pot xsane-0.97/po/xsane.pot +--- xsane-0.97~/po/xsane.pot 2004-08-21 14:31:12.000000000 +0100 ++++ xsane-0.97/po/xsane.pot 2006-03-09 14:44:07.000000000 +0000 +@@ -2672,3 +2672,9 @@ + + msgid "Access to resource has been denied" + msgstr "" ++ ++msgid "XSane Image Scanner" ++msgstr "" ++ ++msgid "Scan, copy and fax images" ++msgstr "" --- xsane-0.996.orig/debian/patches/01_printing_defaults.dpatch +++ xsane-0.996/debian/patches/01_printing_defaults.dpatch @@ -0,0 +1,21 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01_printing_defaults.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Change default printing options, switch from lpr to lp. + +@DPATCH@ +diff -urNad xsane-0.995~/src/xsane.h xsane-0.995/src/xsane.h +--- xsane-0.995~/src/xsane.h 2008-09-08 11:02:36.000000000 +0200 ++++ xsane-0.995/src/xsane.h 2008-09-08 11:03:17.191704659 +0200 +@@ -510,8 +510,8 @@ + + #define OUT_FILENAME "out.pnm" + #define PRINTERNAME "new printer" +-#define PRINTERCOMMAND "lpr" +-#define PRINTERCOPYNUMBEROPTION "-#" ++#define PRINTERCOMMAND "lp" ++#define PRINTERCOPYNUMBEROPTION "-n" + #define FAXPROJECT "faxproject" + #define FAXCOMMAND "sendfax" + #define FAXRECEIVEROPT "-d" --- xsane-0.996.orig/debian/patches/00list +++ xsane-0.996/debian/patches/00list @@ -0,0 +1,8 @@ +01_printing_defaults +02_docviewer +03_gimp_acquire_menu +04_inhibit_clickthrough +05_options_handling_fix +06_fix_pdf_xref +10_broken_links +13_pot_desktop_msgid --- xsane-0.996.orig/debian/patches/06_fix_pdf_xref.dpatch +++ xsane-0.996/debian/patches/06_fix_pdf_xref.dpatch @@ -0,0 +1,21 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 06_fix_pdf_xref.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Mark non-existent objects as free in the xref table. + +@DPATCH@ +diff -urNad xsane-0.995~/src/xsane-multipage-project.c xsane-0.995/src/xsane-multipage-project.c +--- xsane-0.995~/src/xsane-multipage-project.c 2007-05-17 14:57:31.000000000 +0200 ++++ xsane-0.995/src/xsane-multipage-project.c 2008-09-17 21:54:28.871207862 +0200 +@@ -973,6 +973,10 @@ + else if (output_format == XSANE_PDF) + { + xsane_save_pdf_create_document_header(outfile, &xref, pages, preferences.save_pdf_flatedecoded); ++ ++ /* Objects 4 and 5 are unused and do not exist */ ++ xref.obj[4] = 0; ++ xref.obj[5] = 0; + } + } + #ifdef HAVE_LIBTIFF --- xsane-0.996.orig/debian/patches/02_docviewer.dpatch +++ xsane-0.996/debian/patches/02_docviewer.dpatch @@ -0,0 +1,37 @@ +#!/bin/sh -e +## 02_docviewer.dpatch.dpatch by Aurelien Jarno +## +## 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 xsane-0.995~/src/xsane.h xsane-0.995/src/xsane.h +--- xsane-0.995~/src/xsane.h 2007-08-13 09:20:32.000000000 +0200 ++++ xsane-0.995/src/xsane.h 2007-11-22 11:24:15.068421579 +0100 +@@ -251,7 +251,7 @@ + # elif defined(HAVE_OS2_H) + # define DEFAULT_BROWSER "netscape" + # else +-# define DEFAULT_BROWSER "netscape" ++# define DEFAULT_BROWSER "/usr/bin/sensible-browser" + # endif + #endif + --- xsane-0.996.orig/debian/patches/04_inhibit_clickthrough.dpatch +++ xsane-0.996/debian/patches/04_inhibit_clickthrough.dpatch @@ -0,0 +1,59 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 04_inhibit_clickthrough.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Finally give up and inhibit the license clickthrough. + +@DPATCH@ +diff -urNad xsane-0.995~/src/xsane.c xsane-0.995/src/xsane.c +--- xsane-0.995~/src/xsane.c 2007-09-28 17:24:56.000000000 +0200 ++++ xsane-0.995/src/xsane.c 2008-04-11 18:56:55.120439147 +0200 +@@ -1901,11 +1901,11 @@ + /* ---------------------------------------------------------------------------------------------------------------------- */ + + static int xsane_pref_restore(void) +-/* returns true if this is the first time this xsane version is called */ ++/* Originally: returns true if this is the first time this xsane version is called */ + { + char filename[PATH_MAX]; + int fd; +- int result = TRUE; ++ int result = FALSE; + int i; + + DBG(DBG_proc, "xsane_pref_restore\n"); +@@ -1919,6 +1919,7 @@ + preferences_restore(fd); + close(fd); + ++#if 0 + /* the version test only is done for the local xsane.rc file because each user */ + /* shall accept (or not) the license for xsane */ + if (preferences.xsane_version_str) +@@ -1928,6 +1929,7 @@ + result = FALSE; /* this version already has been started */ + } + } ++#endif /* 0 */ + } + else /* no local sane file, look for system file */ + { +@@ -5795,7 +5797,10 @@ + xsane.xsane_rc_set_filename = strdup("xsane"); /* ".rc" is appended later */ + } + ++ xsane_pref_restore(); ++ xsane_pref_save(); + ++#if 0 /* Original XSane code */ + if (xsane_pref_restore()) /* restore preferences, returns TRUE if license is not accpted yet */ + { + if (xsane_display_eula(1)) /* show license and ask for accept/not accept */ +@@ -5808,6 +5813,7 @@ + xsane_pref_save(); + } + } ++#endif /* Original XSane code */ + + xsane_pref_restore_media(); + --- xsane-0.996.orig/debian/patches/03_gimp_acquire_menu.dpatch +++ xsane-0.996/debian/patches/03_gimp_acquire_menu.dpatch @@ -0,0 +1,39 @@ +#!/bin/sh -e +## 03_gimp_acquire_menu.dpatch.dpatch by Aurelien Jarno +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Group XSane actions in their own submenu in the Acquire menu. + +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 xsane-0.995~/src/xsane-text.h xsane-0.995/src/xsane-text.h +--- xsane-0.995~/src/xsane-text.h 2007-08-13 09:16:43.000000000 +0200 ++++ xsane-0.995/src/xsane-text.h 2007-11-22 11:24:49.170421498 +0100 +@@ -869,8 +869,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 _("/File/Acquire/XSane: Device dialog...") +-#define XSANE_GIMP_MENU _("/File/Acquire/XSane: ") ++#define XSANE_GIMP_MENU_DIALOG _("/File/Acquire/XSane/Device dialog...") ++#define XSANE_GIMP_MENU _("/File/Acquire/XSane/") + #define XSANE_GIMP_MENU_DIALOG_OLD _("/Xtns/XSane/Device dialog...") + #define XSANE_GIMP_MENU_OLD _("/Xtns/XSane/") +