summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/0060-cross.patch4
-rw-r--r--debian/patches/0140-avahi.patch12
-rw-r--r--debian/patches/0145-avahi.patch4
-rw-r--r--debian/patches/0610-fix_groff_font_warnings.patch55
-rw-r--r--debian/patches/series1
5 files changed, 66 insertions, 10 deletions
diff --git a/debian/patches/0060-cross.patch b/debian/patches/0060-cross.patch
index 1c32cac..2bb5965 100644
--- a/debian/patches/0060-cross.patch
+++ b/debian/patches/0060-cross.patch
@@ -9,7 +9,7 @@ Index: trunk/acinclude.m4
===================================================================
--- trunk.orig/acinclude.m4
+++ trunk/acinclude.m4
-@@ -414,15 +414,19 @@ AC_DEFUN([SANE_CHECK_GPHOTO2],
+@@ -422,15 +422,19 @@ AC_DEFUN([SANE_CHECK_GPHOTO2],
# a program. And, if that works, then add the -l flags to
# GPHOTO2_LIBS and any other flags to GPHOTO2_LDFLAGS to pass to
# sane-config.
@@ -36,7 +36,7 @@ Index: trunk/acinclude.m4
saved_CPPFLAGS="${CPPFLAGS}"
CPPFLAGS="${GPHOTO2_CPPFLAGS}"
saved_LIBS="${LIBS}"
-@@ -442,13 +446,13 @@ AC_DEFUN([SANE_CHECK_GPHOTO2],
+@@ -450,13 +454,13 @@ AC_DEFUN([SANE_CHECK_GPHOTO2],
GPHOTO2_LIBS=""
else
SANE_EXTRACT_LDFLAGS(GPHOTO2_LIBS, GPHOTO2_LDFLAGS)
diff --git a/debian/patches/0140-avahi.patch b/debian/patches/0140-avahi.patch
index b666bff..799b350 100644
--- a/debian/patches/0140-avahi.patch
+++ b/debian/patches/0140-avahi.patch
@@ -9,7 +9,7 @@ Index: trunk/backend/net.c
===================================================================
--- trunk.orig/backend/net.c
+++ trunk/backend/net.c
-@@ -769,7 +769,7 @@ net_avahi_browse_callback (AvahiServiceB
+@@ -798,7 +798,7 @@ net_avahi_browse_callback (AvahiServiceB
{
case AVAHI_BROWSER_FAILURE:
DBG (1, "net_avahi_browse_callback: %s\n", avahi_strerror (avahi_client_errno (avahi_service_browser_get_client (b))));
@@ -18,7 +18,7 @@ Index: trunk/backend/net.c
return;
case AVAHI_BROWSER_NEW:
-@@ -834,7 +834,7 @@ net_avahi_callback (AvahiClient *c, Avah
+@@ -863,7 +863,7 @@ net_avahi_callback (AvahiClient *c, Avah
if (avahi_browser == NULL)
{
DBG (1, "net_avahi_callback: could not create service browser: %s\n", avahi_strerror (avahi_client_errno (c)));
@@ -27,7 +27,7 @@ Index: trunk/backend/net.c
}
break;
-@@ -857,14 +857,14 @@ net_avahi_callback (AvahiClient *c, Avah
+@@ -886,14 +886,14 @@ net_avahi_callback (AvahiClient *c, Avah
if (avahi_client == NULL)
{
DBG (1, "net_avahi_init: could not create Avahi client: %s\n", avahi_strerror (error));
@@ -44,7 +44,7 @@ Index: trunk/backend/net.c
}
break;
}
-@@ -1043,12 +1043,12 @@ sane_init (SANE_Int * version_code, SANE
+@@ -1072,12 +1072,12 @@ sane_init (SANE_Int * version_code, SANE
continue;
}
#if WITH_AVAHI
@@ -59,7 +59,7 @@ Index: trunk/backend/net.c
#endif /* WITH_AVAHI */
}
-@@ -1094,12 +1094,12 @@ sane_init (SANE_Int * version_code, SANE
+@@ -1123,12 +1123,12 @@ sane_init (SANE_Int * version_code, SANE
continue;
#endif /* ENABLE_IPV6 */
#if WITH_AVAHI
@@ -74,7 +74,7 @@ Index: trunk/backend/net.c
#endif /* WITH_AVAHI */
}
free (copy);
-@@ -1517,11 +1517,11 @@ sane_open (SANE_String_Const full_name,
+@@ -1546,11 +1546,11 @@ sane_open (SANE_String_Const full_name,
"sane_open: device %s not found, trying to register it anyway\n",
nd_name);
#if WITH_AVAHI
diff --git a/debian/patches/0145-avahi.patch b/debian/patches/0145-avahi.patch
index a5d98ef..c63aea5 100644
--- a/debian/patches/0145-avahi.patch
+++ b/debian/patches/0145-avahi.patch
@@ -9,7 +9,7 @@ Index: trunk/backend/net.c
===================================================================
--- trunk.orig/backend/net.c
+++ trunk/backend/net.c
-@@ -962,10 +962,6 @@ sane_init (SANE_Int * version_code, SANE
+@@ -991,10 +991,6 @@ sane_init (SANE_Int * version_code, SANE
first_device = NULL;
first_handle = NULL;
@@ -20,7 +20,7 @@ Index: trunk/backend/net.c
auth_callback = authorize;
/* Return the version number of the sane-backends package to allow
-@@ -1117,6 +1113,11 @@ sane_init (SANE_Int * version_code, SANE
+@@ -1146,6 +1142,11 @@ sane_init (SANE_Int * version_code, SANE
DBG (2, "sane_init: connect timeout set to %d seconds from env\n", connect_timeout);
}
diff --git a/debian/patches/0610-fix_groff_font_warnings.patch b/debian/patches/0610-fix_groff_font_warnings.patch
new file mode 100644
index 0000000..8d20c2a
--- /dev/null
+++ b/debian/patches/0610-fix_groff_font_warnings.patch
@@ -0,0 +1,55 @@
+Description: Fix non portable font
+Author: Jörg Frings-Fürst <debian@jff.email>
+Bug: https://gitlab.com/sane-project/backends/-/issues/738
+Last-Update: 2024-03-03
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: trunk/doc/sane-hp5590.man
+===================================================================
+--- trunk.orig/doc/sane-hp5590.man
++++ trunk/doc/sane-hp5590.man
+@@ -45,7 +45,7 @@ or
+ Valid command line options and their syntax can be listed by using:
+ .IP
+ .nf
+-\f[C]
++\f[I]
+ scanimage --help -d hp5590:interface:device
+ \f[R]
+ .fi
+@@ -63,7 +63,7 @@ on the first scanner identified.
+ Use the command:
+ .IP
+ .nf
+-\f[C]
++\f[I]
+ scanimage -L
+ \f[R]
+ .fi
+@@ -255,7 +255,7 @@ to be included in
+ .I hp5590.conf
+ .IP
+ .nf
+-\f[C]
++\f[I]
+ device hp5590 {
+ # Device matching
+ filter = \[dq]\[ha]hp5590.*\[dq]
+@@ -285,7 +285,7 @@ device hp5590 {
+ \f[B]scan_action.script\f[R]
+ .IP
+ .nf
+-\f[C]
++\f[I]
+ #!/bin/bash
+ echo device = $SCANBD_DEVICE
+ echo action = $SCANBD_ACTION
+@@ -319,7 +319,7 @@ variable controls the debug level for th
+ Higher debug levels increase the verbosity of the output:
+ .IP
+ .nf
+-\f[C]
++\f[I]
+ 10 - generic processing
+ 20 - verbose backend messages
+ 40 - HP5590 high-level commands
diff --git a/debian/patches/series b/debian/patches/series
index ac4a4b6..b03678d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -11,3 +11,4 @@
0060-cross.patch
0605-fix_groff-warnings.patch
0200-disable-check-equal-stderr.patch
+0610-fix_groff_font_warnings.patch