diff --git a/0001-Define-_FILE_OFFSET_BITS-64-on-linux-Issue-193.patch b/0001-Define-_FILE_OFFSET_BITS-64-on-linux-Issue-193.patch new file mode 100644 index 0000000..5c5416b --- /dev/null +++ b/0001-Define-_FILE_OFFSET_BITS-64-on-linux-Issue-193.patch @@ -0,0 +1,43 @@ +From 7ec4ce4331b6637c54a37943269e05d15ff6dd47 Mon Sep 17 00:00:00 2001 +From: Henrik Juul Pedersen +Date: Thu, 3 Mar 2022 14:13:24 +0100 +Subject: [PATCH] Define _FILE_OFFSET_BITS=64 on linux (Issue #193) + +Removes glibc 2.34 error: +error: "_TIME_BITS=64 is allowed only with _FILE_OFFSET_BITS=64" + +Fixes pappl issue #193 +--- + configure | 2 +- + configure.ac | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/configure b/configure +index e25fa81..697a5be 100755 +--- a/configure ++++ b/configure +@@ -5080,7 +5080,7 @@ esac + case "$host_os_name" in #( + linux*) : + +- CPPFLAGS="$CPPFLAGS -D__USE_MISC -D_TIME_BITS=64" ++ CPPFLAGS="$CPPFLAGS -D__USE_MISC -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64" + ;; #( + darwin*) : + +diff --git a/configure.ac b/configure.ac +index edccd1c..e3af0c6 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -484,7 +484,7 @@ AS_IF([test -n "$GCC"], [ + + dnl OS-specific compiler options... + AS_CASE(["$host_os_name"], [linux*], [ +- CPPFLAGS="$CPPFLAGS -D__USE_MISC -D_TIME_BITS=64" ++ CPPFLAGS="$CPPFLAGS -D__USE_MISC -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64" + ], [darwin*], [ + AS_IF([test "$host_os_version" -ge 200 -a x$enable_debug != xyes], [ + # macOS 11.0 and higher support the Apple Silicon (arm64) CPUs +-- +2.35.1 + diff --git a/pappl-1.0.3.tar.gz b/pappl-1.0.3.tar.gz deleted file mode 100644 index 1389d3a..0000000 --- a/pappl-1.0.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:773c97799d2c52d75b45d13cd450a3aae67d8d2a04c42eff913935daedb9a0d9 -size 1516264 diff --git a/pappl-1.0.3.tar.gz.sig b/pappl-1.0.3.tar.gz.sig deleted file mode 100644 index 36b04c0..0000000 Binary files a/pappl-1.0.3.tar.gz.sig and /dev/null differ diff --git a/pappl-1.1.0.tar.gz b/pappl-1.1.0.tar.gz new file mode 100644 index 0000000..5174c21 --- /dev/null +++ b/pappl-1.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:60b4d2c6698ef083e346c7c127e83c46df964b2f6ef3c35d7752d7cb70f4d6be +size 2275747 diff --git a/pappl-1.1.0.tar.gz.sig b/pappl-1.1.0.tar.gz.sig new file mode 100644 index 0000000..f7a3597 Binary files /dev/null and b/pappl-1.1.0.tar.gz.sig differ diff --git a/pappl.changes b/pappl.changes index b1c1f2b..2b16f35 100644 --- a/pappl.changes +++ b/pappl.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Mon Mar 7 18:27:49 UTC 2022 - Jan Engelhardt + +- Add 0001-Define-_FILE_OFFSET_BITS-64-on-linux-Issue-193.patch + +------------------------------------------------------------------- +Sun Feb 13 23:21:17 UTC 2022 - Jan Engelhardt + +- Update to release 1.1.0 + * Support for Wi-Fi configuration, IPP-USB, printer driver + lookup and auto-add functionality. + ------------------------------------------------------------------- Mon Jun 14 16:11:11 UTC 2021 - Jan Engelhardt diff --git a/pappl.spec b/pappl.spec index 6b21e9a..b8380ce 100644 --- a/pappl.spec +++ b/pappl.spec @@ -18,7 +18,7 @@ Name: pappl %define lname libpappl1 -Version: 1.0.3 +Version: 1.1.0 Release: 0 Summary: A printer application framework License: Apache-2.0 @@ -26,6 +26,7 @@ Group: Hardware/Printing URL: https://www.msweet.org/pappl/ Source: https://github.com/michaelrsweet/pappl/releases/download/v%version/pappl-%version.tar.gz Source2: https://github.com/michaelrsweet/pappl/releases/download/v%version/pappl-%version.tar.gz.sig +Patch1: 0001-Define-_FILE_OFFSET_BITS-64-on-linux-Issue-193.patch BuildRequires: cups-devel >= 2.2 BuildRequires: pam-devel BuildRequires: pkgconfig(avahi-client) @@ -79,6 +80,7 @@ This subpackage contains the headers for the library. %autosetup -p1 %build +perl -i -lpe 's{^\.SILENT:.*}{}g' Makedefs.in # includedir intentional, cf. bugzilla.opensuse.org/795968 %configure --disable-static --includedir="%_includedir/%name" %make_build