From 63318f0ae80eec6a51bc1e6973783ef53ef708192e0c45c38ba55bd6b8915f4a Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 7 Mar 2022 18:34:27 +0000 Subject: [PATCH] - Update to release 1.1.0 OBS-URL: https://build.opensuse.org/package/show/Printing/pappl?expand=0&rev=6 --- ...LE_OFFSET_BITS-64-on-linux-Issue-193.patch | 43 ++++++++++++++++++ pappl-1.0.3.tar.gz | 3 -- pappl-1.0.3.tar.gz.sig | Bin 566 -> 0 bytes pappl-1.1.0.tar.gz | 3 ++ pappl-1.1.0.tar.gz.sig | Bin 0 -> 566 bytes pappl.changes | 12 +++++ pappl.spec | 4 +- 7 files changed, 61 insertions(+), 4 deletions(-) create mode 100644 0001-Define-_FILE_OFFSET_BITS-64-on-linux-Issue-193.patch delete mode 100644 pappl-1.0.3.tar.gz delete mode 100644 pappl-1.0.3.tar.gz.sig create mode 100644 pappl-1.1.0.tar.gz create mode 100644 pappl-1.1.0.tar.gz.sig 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 36b04c088ea1f7753441e6f9de78c78a28d5fc0d08517d1856470b3f7c4ec61e..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 566 zcmV-60?GY}0y6{v0SEvc79j+LRAgogXlkoAR10sJm06%Cfmu}r0$_l#F#rk)5Sf)( zpeKP@Rhh>R{S)cXl-C+7Bt2npK{wsO(pQ;^>29wB5-u^ZUqKpxZ^(>P=7tFhP}h1! z32gEEO$M_7G&nKHdlZR8zD)I(krA;>D>}A z$yAz)^pj)@xLWYmwry+eIpCo2S}*2A*?v2PIW9k3wC1qWFqH&QrYVA7MF;gT6?Qno zPmr4n@L;klJY;XXGgETFW6v02n)%C)s~vIu(`H zNtJdnRzfyzBh!13#SQ_W$RVN+C@@4;w%|NYQZBxf&AXA@$mFM<^ zJ~WvAG>Z$BP(hM8kbm6}%UXxufa@WA(&bZEC%L&dn8u}^8oHokc;aePqEaBenC(!0 z8YLfQ`4{JVQ;dXTi%-&an2R3su!}?CfL)aK-R;yeOR=#=JTbA zxj;IEx;fL39^Izyw6ycAu=(!PEOIb_io`1mgrMrpkaCT>I6 zui>hAOR~tM+67j4!@c@M1ws3|ko$?zb_h)j%19Vb*1j~5-E3kYVfFy%a~WGc+$ z&1v}%FsQLzt1fyc6q!4lTZAlZB3RS|fhXCyYfOryXo|!?j^dm|D1UU#w(WIp`%Oz% zCJ!&6c%YXwIp&eFzCd-u#@6LlrNXeW-WM*Z~(MWb}0k Exo+kUY5)KL literal 0 HcmV?d00001 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