summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2015-01-02 20:06:30 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2015-01-02 20:06:30 +0100
commitb2802d98d4486d6afc585062f4ca02fddf829dc5 (patch)
treeb74907ddd07161872edfa3d8be1a4ece63a6ec62 /debian
parent29eaee2cf7c71df75a2d31f82738cc3a060f7a88 (diff)
Release 1.0.25+git20150102-1
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog29
-rw-r--r--debian/patches/0500-systemd_configure.patch12
-rw-r--r--debian/patches/sane-desc.c_debian_mods.patch13
-rw-r--r--debian/patches/series16
-rwxr-xr-xdebian/rules5
-rw-r--r--debian/sane-utils.postinst4
-rw-r--r--debian/watch5
7 files changed, 53 insertions, 31 deletions
diff --git a/debian/changelog b/debian/changelog
index f14118b..c7f5ad4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,32 @@
+sane-backends (1.0.25+git20150102-1) experimental; urgency=medium
+
+ * Build from daily snapshot sane-backends-git20150102.tar.gz.
+ * Remove applied patches from debian/patches:
+ - fix-FTBFS-format-not-a-string-literal-error.patch
+ - kodakaio.patch
+ - saned.man.patch
+ - man-page-spelling.patch
+ - source-spelling.patch
+ - hp5370c.patch
+ - out_of_bounds.patch
+ - 0100-usb3-corrections.patch
+ * Refresh patches:
+ - sane-desc.c_debian_mods.patch
+ - 0500-systemd_configure.patch
+ * debian/rules:
+ - Add line to extract the version from debian/changelog.
+ - Add version string to dpkg-gensymbols.
+
+ -- Jörg Frings-Fürst <debian@jff-webhosting.net> Fri, 02 Jan 2015 10:28:45 +0100
+
+sane-backends (1.0.24-9) UNRELEASED; urgency=medium
+
+ * Correct typo and add missing "-q" to line 33 of
+ debian/sane-utils.postinst (Closes: #773826).
+ - Thanks to "Nelson A. de Oliveira" <naoliv@debian.org>
+
+ -- Jörg Frings-Fürst <debian@jff-webhosting.net> Fri, 02 Jan 2015 10:28:33 +0100
+
sane-backends (1.0.24-8) unstable; urgency=medium
* New debian/patches/0100-usb3-corrections.patch:
diff --git a/debian/patches/0500-systemd_configure.patch b/debian/patches/0500-systemd_configure.patch
index 27121e6..440bf02 100644
--- a/debian/patches/0500-systemd_configure.patch
+++ b/debian/patches/0500-systemd_configure.patch
@@ -5,13 +5,13 @@ Forwarded: https://alioth.debian.org/tracker/index.php?func=detail&aid=314906&gr
Last-Update: 2014-12-11
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
-Index: trunk/configure.in
+Index: experimental/configure.in
===================================================================
---- trunk.orig/configure.in
-+++ trunk/configure.in
-@@ -344,17 +344,40 @@ else
- with_cups="no"
- fi
+--- experimental.orig/configure.in
++++ experimental/configure.in
+@@ -344,17 +344,40 @@ dnl $as_echo "in order to autodetect ne
+ dnl with_cups="no"
+ dnl fi
+dnl
dnl added by llagendijk 12/7/2012 to detect systemd for saned
diff --git a/debian/patches/sane-desc.c_debian_mods.patch b/debian/patches/sane-desc.c_debian_mods.patch
index 27520ce..4b9faec 100644
--- a/debian/patches/sane-desc.c_debian_mods.patch
+++ b/debian/patches/sane-desc.c_debian_mods.patch
@@ -859,19 +859,6 @@ Index: sane-backends-1.0.24/testsuite/tools/data/html-backends-split.ref
<b>Description:</b> Network access to saned servers<br>
<b>Comment:</b> Can be used to access any scanner supported by SANE over the net. Supports IPv4 and IPv6.<br>
</p>
-Index: sane-backends-1.0.24/testsuite/tools/Makefile.in
-===================================================================
---- sane-backends-1.0.24.orig/testsuite/tools/Makefile.in 2013-10-05 16:41:07.991355170 -0400
-+++ sane-backends-1.0.24/testsuite/tools/Makefile.in 2013-10-05 16:47:36.395343694 -0400
-@@ -503,7 +503,7 @@
- do \
- echo "PASS: sane-desc -m $$mode -s $(srcdir)/data"; \
- $(SANEDESC) -m $$mode -s $(srcdir)/data >$$mode.res ;\
-- if ! diff --ignore-matching-lines="..:..:.. 20[0-9][0-9]" $(srcdir)/data/$$mode.ref $$mode.res ; \
-+ if ! diff --ignore-matching-lines="by sane-desc .* from sane-backends\|..:..:.. 20[0-9][0-9]" $(srcdir)/data/$$mode.ref $$mode.res ; \
- then \
- echo "**** File generated for $$mode mode is different from reference" ;\
- exit 1 ;\
Index: sane-backends-1.0.24/testsuite/tools/data/html-mfgs.ref
===================================================================
--- sane-backends-1.0.24.orig/testsuite/tools/data/html-mfgs.ref 2013-08-25 17:23:27.000000000 -0400
diff --git a/debian/patches/series b/debian/patches/series
index 5586d9d..53b3757 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -6,19 +6,19 @@ dll_backend_conf.patch
multiarch_dll_search_path.patch
multiarch_manpages_libdir.patch
kfreebsd.patch
-fix-FTBFS-format-not-a-string-literal-error.patch
+#fix-FTBFS-format-not-a-string-literal-error.patch
frontend_libs.patch
libsane_deps.patch
trim-libraries-in-sane-backends.pc.in.patch
unneeded_doc.patch
sane-desc.c_debian_mods.patch
-kodakaio.patch
-saned.man.patch
+#kodakaio.patch
+#saned.man.patch
nousbtest.patch
-man-page-spelling.patch
-source-spelling.patch
+#man-page-spelling.patch
+#source-spelling.patch
ppc64el.patch
-hp5370c.patch
-out_of_bounds.patch
+#hp5370c.patch
+#out_of_bounds.patch
0500-systemd_configure.patch
-0100-usb3-corrections.patch
+#0100-usb3-corrections.patch
diff --git a/debian/rules b/debian/rules
index 5fc4afb..846dcad 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,6 +10,7 @@ DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
+
ifeq ($(DEB_HOST_ARCH_OS),)
DEB_HOST_ARCH_OS := $(subst -gnu,,$(shell dpkg-architecture -qDEB_HOST_GNU_SYSTEM))
ifeq ($(DEB_HOST_ARCH_OS),gnu)
@@ -26,6 +27,8 @@ ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
STRIP = ""
endif
+VERSION = $(shell head -n1 debian/changelog | sed -e 's/.*(//;s/+.*).*//;s/\+/\-/')
+
%:
dh $@ --parallel --with autotools_dev,systemd
@@ -137,5 +140,5 @@ override_dh_builddeb:
dh_builddeb -- -Zxz
override_dh_makeshlibs:
- dpkg-gensymbols -plibsane
+ dpkg-gensymbols -v$(VERSION) -plibsane
dh_makeshlibs
diff --git a/debian/sane-utils.postinst b/debian/sane-utils.postinst
index 4f16f0a..c29b29c 100644
--- a/debian/sane-utils.postinst
+++ b/debian/sane-utils.postinst
@@ -30,8 +30,8 @@ if [ "$1" = "configure" ] || [ "$1" = "reconfigure" ]; then
fi
# Move home from /home/saned to /var/lib/saned
- if getent passwd | grep "^saned:" | grep "/home/saned"; then
- echo "Moveing homedir from /home/saned to /var/lib/saned"
+ if getent passwd | grep -q "^saned:" | grep "/home/saned"; then
+ echo "Moving homedir from /home/saned to /var/lib/saned"
usermod -d /var/lib/saned saned
fi
if [ "$SANED_IN_SCANNER" = "true" ]; then
diff --git a/debian/watch b/debian/watch
index ed24163..5a03f64 100644
--- a/debian/watch
+++ b/debian/watch
@@ -2,4 +2,7 @@
# watch file for sane-backends
#
version=3
-https://alioth.debian.org/frs/?group_id=30186 .*/sane-backends-(.*).(?:tar\.xz|txz|tar\.bz2|tbz2|tar\.gz|tgz)
+#
+# disabled in experimental
+#
+#https://alioth.debian.org/frs/?group_id=30186 .*/sane-backends-(.*).(?:tar\.xz|txz|tar\.bz2|tbz2|tar\.gz|tgz)