summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien BLACHE <jblache@debian.org>2005-08-28 19:03:36 +0200
committerMattia Rizzolo <mattia@mapreri.org>2014-10-03 14:05:07 +0000
commit13a92fd57322d6de4548e7dc992db591a0a54ee3 (patch)
tree1dec53471e000a61faef1657595957f35b67e525
parent825ef604db05e42ea267a86187bf62d54670c98c (diff)
Imported Debian patch 0.97-4debian/0.97-4
-rw-r--r--debian/changelog15
-rw-r--r--debian/control2
-rw-r--r--debian/patches/00list2
-rw-r--r--debian/patches/02_docviewer.dpatch17
-rw-r--r--debian/patches/11_manpage_fixes.dpatch28
-rw-r--r--debian/patches/12_de.po_fixes.dpatch318
-rw-r--r--debian/xsane.postinst6
7 files changed, 371 insertions, 17 deletions
diff --git a/debian/changelog b/debian/changelog
index 69f67e7..d390175 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,18 @@
+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:
diff --git a/debian/control b/debian/control
index b23a37e..5e160d1 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: graphics
Priority: optional
Maintainer: Julien BLACHE <jblache@debian.org>
Uploaders: Aurelien Jarno <aurel32@debian.org>
-Standards-Version: 3.6.1
+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, xlibs-dev (>= 4.0.1-11), gettext, autotools-dev
Build-Conflicts: libpng10-dev
diff --git a/debian/patches/00list b/debian/patches/00list
index 3badab4..afb0d5f 100644
--- a/debian/patches/00list
+++ b/debian/patches/00list
@@ -2,3 +2,5 @@
02_docviewer
03_gimp_acquire_menu
10_batch_scan_bugfix
+11_manpage_fixes
+12_de.po_fixes
diff --git a/debian/patches/02_docviewer.dpatch b/debian/patches/02_docviewer.dpatch
index 68082e0..0d402e0 100644
--- a/debian/patches/02_docviewer.dpatch
+++ b/debian/patches/02_docviewer.dpatch
@@ -23,10 +23,10 @@ esac
exit 0
@DPATCH@
-diff -urNad /home/julien/debian/pkg-build/SANE/xsane/0.94/xsane-0.94/src/xsane.h xsane-0.94/src/xsane.h
---- /home/julien/debian/pkg-build/SANE/xsane/0.94/xsane-0.94/src/xsane.h 2004-06-10 17:35:52.000000000 +0200
-+++ xsane-0.94/src/xsane.h 2004-06-10 17:35:52.000000000 +0200
-@@ -205,7 +205,7 @@
+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
@@ -35,12 +35,3 @@ diff -urNad /home/julien/debian/pkg-build/SANE/xsane/0.94/xsane-0.94/src/xsane.h
# endif
#endif
-@@ -453,7 +453,7 @@
- #define OCROUTPUTFILEOPT "-o"
- #define OCROUTFDOPT "-x"
- #define OCRPROGRESSKEY ""
--#define BROWSER_NETSCAPE "netscape"
-+#define BROWSER_NETSCAPE "/usr/bin/sensible-browser"
-
- #define XSANE_MEDIUM_CALIB_BRIGHTNESS_MIN -1000.0
- #define XSANE_MEDIUM_CALIB_BRIGHTNESS_MAX 1000.0
diff --git a/debian/patches/11_manpage_fixes.dpatch b/debian/patches/11_manpage_fixes.dpatch
new file mode 100644
index 0000000..c553c8a
--- /dev/null
+++ b/debian/patches/11_manpage_fixes.dpatch
@@ -0,0 +1,28 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 11_manpage_fixes.dpatch by <jblache@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Typo fixes.
+
+@DPATCH@
+diff -urNad --exclude=CVS --exclude=.svn ./doc/xsane.man /tmp/dpep-work.OfGxo6/xsane-0.97/doc/xsane.man
+--- ./doc/xsane.man 2004-04-20 18:28:21.000000000 +0200
++++ /tmp/dpep-work.OfGxo6/xsane-0.97/doc/xsane.man 2005-08-28 18:39:53.354342295 +0200
+@@ -31,7 +31,7 @@
+ .B xsane
+ provides a graphical user-interface to control an image
+ acquisition device such as a flatbed scanner. It allows
+-previewing and scanning invidual images and can be invoked either
++previewing and scanning individual images and can be invoked either
+ directly from the command-line or through The GIMP image manipulation
+ program. In the former case,
+ .B xsane
+@@ -111,7 +111,7 @@
+ .B xsane
+ is started from the
+ .B gimp
+-then it is not possible to add a devicename explictly. You have to make the
++then it is not possible to add a devicename explicitly. You have to make the
+ devices known to the system by configuring
+ .B sane-dll, sane-net
+ and
diff --git a/debian/patches/12_de.po_fixes.dpatch b/debian/patches/12_de.po_fixes.dpatch
new file mode 100644
index 0000000..944abb3
--- /dev/null
+++ b/debian/patches/12_de.po_fixes.dpatch
@@ -0,0 +1,318 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 12_de.po_fixes.dpatch by <jblache@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: typo fixes.
+
+@DPATCH@
+diff -urNad --exclude=CVS --exclude=.svn ./po/UTF-8/de.po /tmp/dpep-work.sTuWWg/xsane-0.97/po/UTF-8/de.po
+--- ./po/UTF-8/de.po 2004-09-06 19:07:33.000000000 +0200
++++ /tmp/dpep-work.sTuWWg/xsane-0.97/po/UTF-8/de.po 2005-08-28 18:43:00.882680371 +0200
+@@ -409,7 +409,7 @@
+
+ #. BUTTON_DO_NOT_CLOSE
+ msgid "Do not close"
+-msgstr "nicht schliessen"
++msgstr "nicht schließen"
+
+ #. BUTTON_SCALE_BIND
+ msgid "Bind scale"
+@@ -557,7 +557,7 @@
+
+ #. TEXT_SCANNER_OUTPUT_DEPTH
+ msgid "Scanner output depth:"
+-msgstr "Bittieffe Scannerausgabe:"
++msgstr "Bittiefe Scannerausgabe:"
+
+ #. TEXT_OUTPUT_FORMATS
+ msgid "XSane output formats:"
+@@ -1376,7 +1376,7 @@
+ "menu."
+ msgstr ""
+ "Quellmedium auswählen.\n"
+-"Zum Umbennenn, Umsortieren oder Löschen eines Eintrags das Kontextmenü "
++"Zum Umbenennen, Umsortieren oder Löschen eines Eintrags das Kontextmenü "
+ "benutzen (rechter Mausknopf).\n"
+ "Um ein neues Medium zu erzeugen, Option Medium ändern im Einstellungsmenü "
+ "aktivieren."
+@@ -1398,7 +1398,7 @@
+ "Type of image format, the suitable filename extension is automatically added "
+ "to the filename"
+ msgstr ""
+-"Dateiformat, die passende Dateinamen-Erweiterung wird autmatisch an den "
++"Dateiformat, die passende Dateinamen-Erweiterung wird automatisch an den "
+ "Dateinamen angehängt"
+
+ #. DESC_FAXPROJECT
+@@ -1711,7 +1711,7 @@
+
+ #. DESC_OVERWRITE_WARNING
+ msgid "Warn before overwriting an existing file"
+-msgstr "Warne vorm Ãœberschreiben exisitierender Dateien"
++msgstr "Warne vorm Ãœberschreiben existierender Dateien"
+
+ #. DESC_SKIP_EXISTING
+ msgid ""
+@@ -1810,7 +1810,7 @@
+ "when transformation from grayscale to lineart is enabled"
+ msgstr ""
+ "Name des Graustufen-Scanmodus auswählen. Dieser Scanmodus wird beim Schwarz-"
+-"Weiss Vorschauscan verwendet, wenn Umwandlung von Graustufen in Schwarz/Weiß "
++"Weiß Vorschauscan verwendet, wenn Umwandlung von Graustufen in Schwarz/Weiß "
+ "aktiviert ist."
+
+ #. DESC_PREVIEW_THRESHOLD_MIN
+@@ -1879,7 +1879,7 @@
+
+ #. DESC_FAX_RECEIVER_OPT
+ msgid "Enter option to specify receiver"
+-msgstr "Option, mit der die Empfängertelephonnumer angegeben wird"
++msgstr "Option, mit der die Empfängertelephonnummer angegeben wird"
+
+ #. DESC_FAX_POSTSCRIPT_OPT
+ msgid "Enter option to specify postscript files following"
+@@ -1927,19 +1927,19 @@
+
+ #. DESC_POP3_SERVER
+ msgid "IP Address or Domain name of POP3 server"
+-msgstr "IP Adresse oder Domain Name des POP3 Servers"
++msgstr "IP Adresse oder Domain Name des POP3-Servers"
+
+ #. DESC_POP3_PORT
+ msgid "port to connect to POP3 server"
+-msgstr "Port, auf dem zum POP3 Server verbunden werden soll"
++msgstr "Port, auf dem zum POP3-Server verbunden werden soll"
+
+ #. DESC_POP3_USER
+ msgid "user name for POP3 server"
+-msgstr "Benuter Name für den POP3 Server"
++msgstr "Benutzername für den POP3-Server"
+
+ #. DESC_POP3_PASS
+ msgid "password for POP3 server"
+-msgstr "Passwort für den POP3 Server"
++msgstr "Passwort für den POP3-Server"
+
+ #. DESC_MAIL_VIEWER
+ msgid "Enter command to be executed to view a mail image"
+@@ -1947,7 +1947,7 @@
+
+ #. DESC_HTML_MAIL
+ msgid "Mail is sent in html mode, place image with: <IMAGE>"
+-msgstr "E-Mail wird im hmtl Modus gesandt, Bild placieren mit: <IMAGE>"
++msgstr "E-Mail wird im html Modus gesandt, Bild platzieren mit: <IMAGE>"
+
+ #. DESC_OCR_COMMAND
+ msgid "Enter command to start ocr program"
+@@ -2051,7 +2051,7 @@
+ "button)."
+ msgstr ""
+ "Bereichsvoreinstellung:\n"
+-"Um einen neuen Bereich hinzuzufügen oder exisitierende Voreinstellungen zu "
++"Um einen neuen Bereich hinzuzufügen oder existierende Voreinstellungen zu "
+ "ändern verwenden Sie das Kontextmenü (rechter Mausknopf)."
+
+ #. DESC_ROTATION
+@@ -2209,7 +2209,7 @@
+ #. ERR_GIMP_BAD_DEPTH
+ #, c-format
+ msgid "GIMP can't handle depth %d bits/color"
+-msgstr "GIMP unterstützt Bittieffe %d Bits/Farbe nicht"
++msgstr "GIMP unterstützt Bittiefe %d Bits/Farbe nicht"
+
+ #. ERR_UNKNOWN_SAVING_FORMAT
+ msgid "Unknown file format for saving"
+@@ -2222,7 +2222,7 @@
+ #. ERR_CREATE_SECURE_FILE
+ msgid "Could not create secure file (may be a link does exist):"
+ msgstr ""
+-"Konnte keine sichere Datei erzeugen (möglicherweise exisitiert ein Link):"
++"Konnte keine sichere Datei erzeugen (möglicherweise existiert ein Link):"
+
+ #. ERR_FAILED_PRINTER_PIPE
+ msgid "Failed to open pipe for executing printercommand"
+@@ -2437,17 +2437,17 @@
+ #. WARN_FILE_EXISTS
+ #, c-format
+ msgid "File %s already exists"
+-msgstr "Datei %s exisitiert bereits"
++msgstr "Datei %s existiert bereits"
+
+ #. ERR_FILE_NOT_EXISTS
+ #, c-format
+ msgid "File %s does not exist"
+-msgstr "Datei %s exisitiert nicht"
++msgstr "Datei %s existiert nicht"
+
+ #. ERR_FILE_NOT_POSTSCRIPT
+ #, c-format
+ msgid "File %s is not a postscript file"
+-msgstr "Datei %s is keine Postscript Datei"
++msgstr "Datei %s ist keine Postscript-Datei"
+
+ #. ERR_UNSUPPORTED_OUTPUT_FORMAT
+ #, c-format
+@@ -2456,7 +2456,7 @@
+
+ #. WARN_VIEWER_IMAGE_NOT_SAVED
+ msgid "viewer image is not saved"
+-msgstr "Betrachter Bild ist nicht gespeichert"
++msgstr "Betrachter-Bild ist nicht gespeichert"
+
+ #. TEXT_USAGE
+ msgid "Usage:"
+diff -urNad --exclude=CVS --exclude=.svn ./po/de.po /tmp/dpep-work.sTuWWg/xsane-0.97/po/de.po
+--- ./po/de.po 2004-12-06 00:07:29.000000000 +0100
++++ /tmp/dpep-work.sTuWWg/xsane-0.97/po/de.po 2005-08-28 18:52:45.250643019 +0200
+@@ -6,7 +6,7 @@
+ msgstr ""
+ "Project-Id-Version: XSANE 0.96\n"
+ "POT-Creation-Date: 2004-08-21 15:31+0200\n"
+-"PO-Revision-Date: 2000-01-21 15:51+01:00\n"
++"PO-Revision-Date: 2005-08-28 18:52+0200\n"
+ "Last-Translator: Oliver Rauch <Oliver.Rauch@rauch-domain.de>\n"
+ "Language-Team: German <de@li.org>\n"
+ "MIME-Version: 1.0\n"
+@@ -557,7 +557,7 @@
+
+ #. TEXT_SCANNER_OUTPUT_DEPTH
+ msgid "Scanner output depth:"
+-msgstr "Bittieffe Scannerausgabe:"
++msgstr "Bittiefe Scannerausgabe:"
+
+ #. TEXT_OUTPUT_FORMATS
+ msgid "XSane output formats:"
+@@ -1376,10 +1376,8 @@
+ "menu."
+ msgstr ""
+ "Quellmedium auswählen.\n"
+-"Zum Umbennenn, Umsortieren oder Löschen eines Eintrags das Kontextmenü "
+-"benutzen (rechter Mausknopf).\n"
+-"Um ein neues Medium zu erzeugen, Option Medium ändern im Einstellungsmenü "
+-"aktivieren."
++"Zum Umbenennen, Umsortieren oder Löschen eines Eintrags das Kontextmenü benutzen (rechter Mausknopf).\n"
++"Um ein neues Medium zu erzeugen, Option Medium ändern im Einstellungsmenü aktivieren."
+
+ #. DESC_FILENAME_COUNTER_STEP
+ msgid "Value that is added to filenamecounter after scan"
+@@ -1397,9 +1395,7 @@
+ msgid ""
+ "Type of image format, the suitable filename extension is automatically added "
+ "to the filename"
+-msgstr ""
+-"Dateiformat, die passende Dateinamen-Erweiterung wird autmatisch an den "
+-"Dateinamen angehängt"
++msgstr "Dateiformat, die passende Dateinamen-Erweiterung wird automatisch an den Dateinamen angehängt"
+
+ #. DESC_FAXPROJECT
+ msgid "Enter name of fax project"
+@@ -1711,7 +1707,7 @@
+
+ #. DESC_OVERWRITE_WARNING
+ msgid "Warn before overwriting an existing file"
+-msgstr "Warne vorm Überschreiben exisitierender Dateien"
++msgstr "Warne vorm Überschreiben existierender Dateien"
+
+ #. DESC_SKIP_EXISTING
+ msgid ""
+@@ -1879,7 +1875,7 @@
+
+ #. DESC_FAX_RECEIVER_OPT
+ msgid "Enter option to specify receiver"
+-msgstr "Option, mit der die Empfängertelephonnumer angegeben wird"
++msgstr "Option, mit der die Empfängertelephonnummer angegeben wird"
+
+ #. DESC_FAX_POSTSCRIPT_OPT
+ msgid "Enter option to specify postscript files following"
+@@ -1927,19 +1923,19 @@
+
+ #. DESC_POP3_SERVER
+ msgid "IP Address or Domain name of POP3 server"
+-msgstr "IP Adresse oder Domain Name des POP3 Servers"
++msgstr "IP Adresse oder Domain Name des POP3-Servers"
+
+ #. DESC_POP3_PORT
+ msgid "port to connect to POP3 server"
+-msgstr "Port, auf dem zum POP3 Server verbunden werden soll"
++msgstr "Port, auf dem zum POP3-Server verbunden werden soll"
+
+ #. DESC_POP3_USER
+ msgid "user name for POP3 server"
+-msgstr "Benuter Name für den POP3 Server"
++msgstr "Benutzername für den POP3-Server"
+
+ #. DESC_POP3_PASS
+ msgid "password for POP3 server"
+-msgstr "Passwort für den POP3 Server"
++msgstr "Passwort für den POP3-Server"
+
+ #. DESC_MAIL_VIEWER
+ msgid "Enter command to be executed to view a mail image"
+@@ -1947,7 +1943,7 @@
+
+ #. DESC_HTML_MAIL
+ msgid "Mail is sent in html mode, place image with: <IMAGE>"
+-msgstr "E-Mail wird im hmtl Modus gesandt, Bild placieren mit: <IMAGE>"
++msgstr "E-Mail wird im hmtl Modus gesandt, Bild platzieren mit: <IMAGE>"
+
+ #. DESC_OCR_COMMAND
+ msgid "Enter command to start ocr program"
+@@ -2051,8 +2047,7 @@
+ "button)."
+ msgstr ""
+ "Bereichsvoreinstellung:\n"
+-"Um einen neuen Bereich hinzuzufügen oder exisitierende Voreinstellungen zu "
+-"ändern verwenden Sie das Kontextmenü (rechter Mausknopf)."
++"Um einen neuen Bereich hinzuzufügen oder existierende Voreinstellungen zu ändern verwenden Sie das Kontextmenü (rechter Mausknopf)."
+
+ #. DESC_ROTATION
+ msgid "Rotate preview and scan"
+@@ -2209,7 +2204,7 @@
+ #. ERR_GIMP_BAD_DEPTH
+ #, c-format
+ msgid "GIMP can't handle depth %d bits/color"
+-msgstr "GIMP unterstützt Bittieffe %d Bits/Farbe nicht"
++msgstr "GIMP unterstützt Bittiefe %d Bits/Farbe nicht"
+
+ #. ERR_UNKNOWN_SAVING_FORMAT
+ msgid "Unknown file format for saving"
+@@ -2221,8 +2216,7 @@
+
+ #. ERR_CREATE_SECURE_FILE
+ msgid "Could not create secure file (may be a link does exist):"
+-msgstr ""
+-"Konnte keine sichere Datei erzeugen (möglicherweise exisitiert ein Link):"
++msgstr "Konnte keine sichere Datei erzeugen (möglicherweise existiert ein Link):"
+
+ #. ERR_FAILED_PRINTER_PIPE
+ msgid "Failed to open pipe for executing printercommand"
+@@ -2437,17 +2431,17 @@
+ #. WARN_FILE_EXISTS
+ #, c-format
+ msgid "File %s already exists"
+-msgstr "Datei %s exisitiert bereits"
++msgstr "Datei %s existiert bereits"
+
+ #. ERR_FILE_NOT_EXISTS
+ #, c-format
+ msgid "File %s does not exist"
+-msgstr "Datei %s exisitiert nicht"
++msgstr "Datei %s existiert nicht"
+
+ #. ERR_FILE_NOT_POSTSCRIPT
+ #, c-format
+ msgid "File %s is not a postscript file"
+-msgstr "Datei %s is keine Postscript Datei"
++msgstr "Datei %s is keine Postscript-Datei"
+
+ #. ERR_UNSUPPORTED_OUTPUT_FORMAT
+ #, c-format
+@@ -2456,7 +2450,7 @@
+
+ #. WARN_VIEWER_IMAGE_NOT_SAVED
+ msgid "viewer image is not saved"
+-msgstr "Betrachter Bild ist nicht gespeichert"
++msgstr "Betrachter-Bild ist nicht gespeichert"
+
+ #. TEXT_USAGE
+ msgid "Usage:"
diff --git a/debian/xsane.postinst b/debian/xsane.postinst
index 6d55a03..3a7af58 100644
--- a/debian/xsane.postinst
+++ b/debian/xsane.postinst
@@ -3,11 +3,11 @@
HTMLDOCDIR=/usr/share/doc/xsane/html
NEWHTMLDOCDIR=../xsane-common/html
-if [ -d $HTMLDOCDIR -a ! -L $HTMLDOCDIR ]; then
+if [ -d "$HTMLDOCDIR" ] && [ ! -L "$HTMLDOCDIR" ]; then
# Remove old directory and files that are now provided by xsane-common
- rm -rf $HTMLDOCDIR
+ rm -rf "$HTMLDOCDIR"
# Create a link to the new directory
- ln -s $NEWHTMLDOCDIR $HTMLDOCDIR
+ ln -s "$NEWHTMLDOCDIR" "$HTMLDOCDIR"
fi