summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog8
-rw-r--r--debian/files1
-rw-r--r--debian/patches/0001-fix_missing_sane-config.patch16
-rw-r--r--debian/patches/series1
4 files changed, 26 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 556fcaf..270bacd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+sane-frontends (1.0.14-12) UNRELEASED; urgency=medium
+
+ * New debian/patches/0001-fix_missing_sane-config.patch:
+ - Fix FTBFS because of missing sane-config from the package
+ sane-backends >= 1.25-3.
+
+ -- Jörg Frings-Fürst <debian@jff-webhosting.net> Sat, 28 Jan 2017 07:47:34 +0100
+
sane-frontends (1.0.14-11) unstable; urgency=medium
* New debian/patch/30_gimp_init.patch:
diff --git a/debian/files b/debian/files
new file mode 100644
index 0000000..0081bd9
--- /dev/null
+++ b/debian/files
@@ -0,0 +1 @@
+sane-frontends_1.0.14-12_source.buildinfo graphics optional
diff --git a/debian/patches/0001-fix_missing_sane-config.patch b/debian/patches/0001-fix_missing_sane-config.patch
new file mode 100644
index 0000000..3750797
--- /dev/null
+++ b/debian/patches/0001-fix_missing_sane-config.patch
@@ -0,0 +1,16 @@
+Index: trunk/configure.in
+===================================================================
+--- trunk.orig/configure.in
++++ trunk/configure.in
+@@ -112,7 +112,10 @@ fi
+
+ AC_CHECK_TOOL(RANLIB, ranlib, :)
+
+-AM_PATH_SANE(1.0.0, HAVE_SANE=yes, )
++PKG_CHECK_MODULES([SANE], [sane-backends >= 1.0.0])
++PKG_CHECK_VAR([SANE_PREFIX], [sane-backends >= 1.0.0], [prefix])
++PKG_CHECK_VAR([SANE_LDFLAGS], [sane-backends >= 1.0.0], [ldflags],
++ [HAVE_SANE=yes])
+ dnl Print error message if sane is missing
+ if test "x${HAVE_SANE}" = "x"; then
+ echo "**********************************************************************"
diff --git a/debian/patches/series b/debian/patches/series
index 8c0069e..bb24e0e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+0001-fix_missing_sane-config.patch
30_gimp_init.patch
25_manpages-typo.patch
01_xcam.c_dead_code.patch