This commit is contained in:
Zdenek Dohnal 2020-02-18 16:17:50 +01:00
parent 3154c5b1e8
commit 3606bde648
6 changed files with 8 additions and 12674 deletions

1
.gitignore vendored
View File

@ -93,3 +93,4 @@
/cups-filters-1.22.5.tar.xz
/cups-filters-1.26.0.tar.xz
/cups-filters-1.27.0.tar.xz
/cups-filters-1.27.1.tar.xz

View File

@ -1,53 +0,0 @@
From e6c5025df307d3e8c79c3cd801780e4570f8607e Mon Sep 17 00:00:00 2001
From: Martin Wilck <mwilck@suse.com>
Date: Thu, 9 Jan 2020 10:20:46 +0100
Subject: [PATCH] foomatic-rip: fix compilation with -fno-common
Starting from the upcoming GCC release 10, the default of -fcommon option will
change to -fno-common. This causes compilation errors in foomatic-rip. These
seem to be due to missing "external" declarations.
https://gcc.gnu.org/onlinedocs/gcc-9.2.0/gcc/Code-Gen-Options.html#index-fno-common
---
filter/foomatic-rip/foomaticrip.c | 2 +-
filter/foomatic-rip/options.c | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/filter/foomatic-rip/foomaticrip.c b/filter/foomatic-rip/foomaticrip.c
index 3b27ce93..2c6cdb66 100644
--- a/filter/foomatic-rip/foomaticrip.c
+++ b/filter/foomatic-rip/foomaticrip.c
@@ -105,7 +105,7 @@ jobparams_t * get_current_job()
}
-dstr_t *postpipe; /* command into which the output of this filter should be piped */
+dstr_t *postpipe = NULL; /* command into which the output of this filter should be piped */
FILE *postpipe_fh = NULL;
FILE * open_postpipe()
diff --git a/filter/foomatic-rip/options.c b/filter/foomatic-rip/options.c
index 481e5c54..3c6b63d4 100644
--- a/filter/foomatic-rip/options.c
+++ b/filter/foomatic-rip/options.c
@@ -38,14 +38,14 @@ typedef struct icc_mapping_entry_s {
} icc_mapping_entry_t;
/* Values from foomatic keywords in the ppd file */
-char printer_model [256];
+extern char printer_model [256];
char printer_id [256];
char driver [128];
char cmd [4096];
char cmd_pdf [4096];
-dstr_t *postpipe = NULL; /* command into which the output of this
+extern dstr_t *postpipe; /* command into which the output of this
filter should be piped */
-char cupsfilter [256];
+extern char cupsfilter [256];
int jobentitymaxlen = 0;
int userentitymaxlen = 0;
int hostentitymaxlen = 0;
--
2.21.1

View File

@ -10,12 +10,3 @@ diff -up cups-filters-1.16.1/utils/cups-browsed.conf.in.createall cups-filters-1
# LocalQueueNamingIPPPrinter DNS-SD
# LocalQueueNamingIPPPrinter MakeModel
@@ -453,7 +453,7 @@ BrowseRemoteProtocols @BROWSEREMOTEPROTO
# CreateIPPPrinterQueues AppleRaster
# CreateIPPPrinterQueues Everywhere AppleRaster
# CreateIPPPrinterQueues Driverless
-# CreateIPPPrinterQueues All
+CreateIPPPrinterQueues All
# If cups-browsed is automatically creating print queues for native

File diff suppressed because it is too large Load Diff

View File

@ -3,8 +3,8 @@
Summary: OpenPrinting CUPS filters and backends
Name: cups-filters
Version: 1.27.0
Release: 2%{?dist}
Version: 1.27.1
Release: 1%{?dist}
# For a breakdown of the licensing, see COPYING file
# GPLv2: filters: commandto*, imagetoraster, pdftops, rasterto*,
@ -310,7 +310,10 @@ done
%{_libdir}/libfontembed.so
%changelog
* Tue Feb 17 2020 Zdenek Dohnal <zdohnal@redhat.com> - 1.27.0-2
* Tue Feb 18 2020 Zdenek Dohnal <zdohnal@redhat.com> - 1.27.1-1
- 1.27.1
* Tue Feb 18 2020 Zdenek Dohnal <zdohnal@redhat.com> - 1.27.0-2
- 1802969 - Service "cups-browsed" is crashing all the time
* Tue Jan 28 2020 Zdenek Dohnal <zdohnal@redhat.com> - 1.27.0-1

View File

@ -1 +1 @@
SHA512 (cups-filters-1.27.0.tar.xz) = f49d9c3e558cd3ac7d5eb0bf323940e7bb3c088a24ef9232cde2cb84ddc0e262c77acd29eb97851ca4e3bd473d764e730480808f9c1d95b1dd6d406073614702
SHA512 (cups-filters-1.27.1.tar.xz) = 3fde635735138fa5ef511466b07f396f96860efcc51d9a01f5b95e86fc71ef48b9d17ba1bbe2eeb29585c3afc8bf26370b8f07df76a3adea2335be90e3fdb91b