summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/00list2
-rw-r--r--debian/patches/02_docviewer.dpatch8
-rw-r--r--debian/patches/03_gimp_acquire_menu.dpatch8
-rw-r--r--debian/patches/10_broken_links.dpatch20
4 files changed, 30 insertions, 8 deletions
diff --git a/debian/patches/00list b/debian/patches/00list
index 349899e..1c43793 100644
--- a/debian/patches/00list
+++ b/debian/patches/00list
@@ -1,2 +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
index 0d402e0..8dd70e8 100644
--- a/debian/patches/02_docviewer.dpatch
+++ b/debian/patches/02_docviewer.dpatch
@@ -23,10 +23,10 @@ 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 @@
+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
diff --git a/debian/patches/03_gimp_acquire_menu.dpatch b/debian/patches/03_gimp_acquire_menu.dpatch
index d9832fe..d2b4e82 100644
--- a/debian/patches/03_gimp_acquire_menu.dpatch
+++ b/debian/patches/03_gimp_acquire_menu.dpatch
@@ -23,10 +23,10 @@ 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 @@
+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 "/" */
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>