summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/005-keywords_desktop.patch15
-rw-r--r--debian/patches/01-zlib.patch28
-rw-r--r--debian/patches/series2
3 files changed, 45 insertions, 0 deletions
diff --git a/debian/patches/005-keywords_desktop.patch b/debian/patches/005-keywords_desktop.patch
new file mode 100644
index 0000000..02cb317
--- /dev/null
+++ b/debian/patches/005-keywords_desktop.patch
@@ -0,0 +1,15 @@
+Description: Add _Keywords to .desktop file
+Author: Jörg Frings-Fürst <debian@jff-webhosting.net>
+Forwarded: not-needed
+Last-Update: 2014-08-18
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: trunk/data/simple-scan.desktop.in
+===================================================================
+--- trunk.orig/data/simple-scan.desktop.in 2013-06-05 08:21:08.000000000 +0200
++++ trunk/data/simple-scan.desktop.in 2014-08-18 19:31:47.717829473 +0200
+@@ -8,3 +8,4 @@
+ StartupNotify=true
+ Categories=GNOME;GTK;Graphics;Scanning;
+ X-GNOME-Gettext-Domain=simple-scan
++Keywords=scan;simple;sane;documents;
diff --git a/debian/patches/01-zlib.patch b/debian/patches/01-zlib.patch
new file mode 100644
index 0000000..0656f92
--- /dev/null
+++ b/debian/patches/01-zlib.patch
@@ -0,0 +1,28 @@
+Description: add zlib
+Last-Update: 2014-07-19
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: trunk/configure.ac
+===================================================================
+--- trunk.orig/configure.ac 2014-07-19 15:43:15.000000000 +0200
++++ trunk/configure.ac 2014-07-19 15:48:14.745109540 +0200
+@@ -38,6 +38,7 @@
+
+ AC_CHECK_HEADERS([sane/sane.h],[],[AC_MSG_ERROR([SANE not found])])
+ AC_CHECK_HEADERS([sane/saneopts.h],[],[AC_MSG_ERROR([SANE not found])])
++AC_CHECK_HEADERS([zlib.h],[],[AC_MSG_ERROR([ZLib not found])])
+
+ dnl ###########################################################################
+ dnl Documentation
+Index: trunk/src/Makefile.am
+===================================================================
+--- trunk.orig/src/Makefile.am 2014-07-19 15:43:15.000000000 +0200
++++ trunk/src/Makefile.am 2014-07-19 15:47:51.812626560 +0200
+@@ -46,6 +46,7 @@
+ $(SIMPLE_SCAN_LIBS) \
+ $(COLORD_LIBS) \
+ -lsane \
++ -lz \
+ -lm
+
+ CLEANFILES = \
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..32af344
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+005-keywords_desktop.patch
+01-zlib.patch