diff options
Diffstat (limited to 'debian/patches')
-rw-r--r-- | debian/patches/00list | 4 | ||||
-rw-r--r-- | debian/patches/02_docviewer.dpatch | 37 | ||||
-rw-r--r-- | debian/patches/03_gimp_acquire_menu.dpatch | 39 | ||||
-rw-r--r-- | debian/patches/10_broken_links.dpatch | 20 |
4 files changed, 100 insertions, 0 deletions
diff --git a/debian/patches/00list b/debian/patches/00list new file mode 100644 index 0000000..1c43793 --- /dev/null +++ b/debian/patches/00list @@ -0,0 +1,4 @@ +02_docviewer +03_gimp_acquire_menu +10_broken_links + diff --git a/debian/patches/02_docviewer.dpatch b/debian/patches/02_docviewer.dpatch new file mode 100644 index 0000000..8dd70e8 --- /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 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 + diff --git a/debian/patches/03_gimp_acquire_menu.dpatch b/debian/patches/03_gimp_acquire_menu.dpatch new file mode 100644 index 0000000..d2b4e82 --- /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 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 _("<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/patches/10_broken_links.dpatch b/debian/patches/10_broken_links.dpatch new file mode 100644 index 0000000..8e30119 --- /dev/null +++ b/debian/patches/10_broken_links.dpatch @@ -0,0 +1,20 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 10_broken_links.dpatch by <jblache@debian.org> +## +## 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 @@ + <li><a href="sane-xsane-setup-display-doc.html">Display setup</a></li> + <li><a href="sane-xsane-setup-enhancement-doc.html">Enhancement setup</a></li> + <li><a href="sane-xsane-setup-fax-doc.html">Fax setup</a></li> +-<li><a href="sane-xsane-setup-image-doc.html">Image setup</a></li> +-<li><a href="sane-xsane-setup-mail-doc.html">Mail setup</a></li> ++<li><a href="sane-xsane-setup-email-doc.html">Mail setup</a></li> + <li><a href="sane-xsane-setup-save-doc.html">Saving setup</a></li> + <li><a href="sane-xsane-setup-color-management-doc.html">Color management setup</a></li> + </ul> |