SHA256
1
0
forked from pool/pappl

- Update to release 1.2.0

OBS-URL: https://build.opensuse.org/package/show/Printing/pappl?expand=0&rev=7
This commit is contained in:
Jan Engelhardt 2022-05-16 11:38:10 +00:00 committed by Git OBS Bridge
parent 63318f0ae8
commit a34a817d2b
7 changed files with 17 additions and 49 deletions

View File

@ -1,43 +0,0 @@
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:60b4d2c6698ef083e346c7c127e83c46df964b2f6ef3c35d7752d7cb70f4d6be
size 2275747

Binary file not shown.

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

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

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

Binary file not shown.

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon May 16 11:02:57 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
- Update to release 1.2.0
* Added `papplMainloopShutdown` API to trigger a shutdown of the
system that was started by `papplMainloop`.
* Fixed mapping of MIME media types to IEEE-1284 Command Set values.
* Fixed a crash bug when no printers are added.
* Fixed compatibility issues with libcups3.
- Drop 0001-Define-_FILE_OFFSET_BITS-64-on-linux-Issue-193.patch
(merged)
-------------------------------------------------------------------
Mon Mar 7 18:27:49 UTC 2022 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package pappl
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,7 +18,7 @@
Name: pappl
%define lname libpappl1
Version: 1.1.0
Version: 1.2.0
Release: 0
Summary: A printer application framework
License: Apache-2.0
@ -26,7 +26,6 @@ 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)