- Update to release 1.1.0

OBS-URL: https://build.opensuse.org/package/show/Printing/pappl?expand=0&rev=6
This commit is contained in:
Jan Engelhardt 2022-03-07 18:34:27 +00:00 committed by Git OBS Bridge
parent fd1dcedea6
commit 63318f0ae8
7 changed files with 61 additions and 4 deletions

View File

@ -0,0 +1,43 @@
From 7ec4ce4331b6637c54a37943269e05d15ff6dd47 Mon Sep 17 00:00:00 2001
From: Henrik Juul Pedersen <HenrikJuul@gmail.com>
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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:773c97799d2c52d75b45d13cd450a3aae67d8d2a04c42eff913935daedb9a0d9
size 1516264

Binary file not shown.

3
pappl-1.1.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:60b4d2c6698ef083e346c7c127e83c46df964b2f6ef3c35d7752d7cb70f4d6be
size 2275747

BIN
pappl-1.1.0.tar.gz.sig Normal file

Binary file not shown.

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Mar 7 18:27:49 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
- Add 0001-Define-_FILE_OFFSET_BITS-64-on-linux-Issue-193.patch
-------------------------------------------------------------------
Sun Feb 13 23:21:17 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
- 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 <jengelh@inai.de>

View File

@ -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