[cups-filters/f20] 1.0.53 (#1091569)
Jiří Popelka
jpopelka at fedoraproject.org
Mon Apr 28 10:53:14 UTC 2014
commit 251ba775754e27173595173c8f488d69130a4518
Author: Jiri Popelka <jpopelka at redhat.com>
Date: Mon Apr 28 12:36:39 2014 +0200
1.0.53 (#1091569)
.gitignore | 1 +
cups-filters-bug1083327.patch | 79 -------------------
cups-filters-dbus.patch | 58 --------------
cups-filters-filter-costs.patch | 12 ---
cups-filters-memory-leaks.patch | 36 ---------
cups-filters-pdf-landscape.patch | 49 ------------
cups-filters-pdftoopvp.patch | 160 --------------------------------------
cups-filters-urftopdf.patch | 37 ---------
cups-filters.spec | 80 +++++++++-----------
sources | 2 +-
10 files changed, 38 insertions(+), 476 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 84c9cb1..6fa4d34 100644
--- a/.gitignore
+++ b/.gitignore
@@ -17,3 +17,4 @@
/cups-filters-1.0.39.tar.xz
/cups-filters-1.0.40.tar.xz
/cups-filters-1.0.41.tar.xz
+/cups-filters-1.0.53.tar.xz
diff --git a/cups-filters.spec b/cups-filters.spec
index 998e862..fdd24b1 100644
--- a/cups-filters.spec
+++ b/cups-filters.spec
@@ -3,32 +3,23 @@
Summary: OpenPrinting CUPS filters and backends
Name: cups-filters
-Version: 1.0.41
-Release: 6%{?dist}
+Version: 1.0.53
+Release: 1%{?dist}
# For a breakdown of the licensing, see COPYING file
# GPLv2: filters: commandto*, imagetoraster, pdftops, rasterto*,
# imagetopdf, pstopdf, texttopdf
# backends: parallel, serial
-# GPLv2+: filters: gstopxl, textonly, texttops, imagetops
+# GPLv2+: filters: gstopxl, textonly, texttops, imagetops, foomatic-rip
# GPLv3: filters: bannertopdf
# GPLv3+: filters: urftopdf
# LGPLv2+: utils: cups-browsed
# MIT: filters: gstoraster, pdftoijs, pdftoopvp, pdftopdf, pdftoraster
License: GPLv2 and GPLv2+ and GPLv3 and GPLv3+ and LGPLv2+ and MIT
-Group: System Environment/Base
Url: http://www.linuxfoundation.org/collaborate/workgroups/openprinting/cups-filters
Source0: http://www.openprinting.org/download/cups-filters/cups-filters-%{version}.tar.xz
-Patch1: cups-filters-pdf-landscape.patch
-Patch2: cups-filters-dbus.patch
-Patch3: cups-filters-memory-leaks.patch
-Patch4: cups-filters-filter-costs.patch
-Patch5: cups-filters-urftopdf.patch
-Patch6: cups-filters-pdftoopvp.patch
-Patch7: cups-filters-bug1083327.patch
-
Requires: cups-filters-libs%{?_isa} = %{version}-%{release}
# Obsolete cups-php (bug #971741)
@@ -37,24 +28,28 @@ Obsoletes: cups-php < 1:1.6.0-1
#Provides: cups-php = 1:1.6.0-1
BuildRequires: cups-devel
+BuildRequires: pkgconfig
# pdftopdf
-BuildRequires: qpdf-devel
+BuildRequires: pkgconfig(libqpdf)
# pdftops
BuildRequires: poppler-utils
# pdftoijs, pdftoopvp, pdftoraster, gstoraster
-BuildRequires: poppler-devel poppler-cpp-devel
+BuildRequires: pkgconfig(poppler)
+BuildRequires: poppler-cpp-devel
BuildRequires: libjpeg-devel
-BuildRequires: libpng-devel
BuildRequires: libtiff-devel
-BuildRequires: zlib-devel
-BuildRequires: pkgconfig dbus-devel
+BuildRequires: pkgconfig(libpng)
+BuildRequires: pkgconfig(zlib)
+BuildRequires: pkgconfig(dbus-1)
# libijs
-BuildRequires: ghostscript-devel
-BuildRequires: freetype-devel
-BuildRequires: fontconfig-devel
-BuildRequires: lcms2-devel
+BuildRequires: pkgconfig(ijs)
+BuildRequires: pkgconfig(freetype2)
+BuildRequires: pkgconfig(fontconfig)
+BuildRequires: pkgconfig(lcms) pkgconfig(lcms2)
# cups-browsed
-BuildRequires: avahi-devel avahi-glib-devel
+BuildRequires: avahi-devel
+BuildRequires: pkgconfig(avahi-glib)
+BuildRequires: pkgconfig(glib-2.0)
BuildRequires: systemd
# Make sure we get postscriptdriver tags.
@@ -70,6 +65,10 @@ BuildRequires: libtool
Requires: cups-filesystem
Requires: poppler-utils
+
+# texttopdf
+Requires: liberation-mono-fonts
+
# pstopdf
Requires: bc grep sed
@@ -111,28 +110,6 @@ This is the development package for OpenPrinting CUPS filters and backends.
%prep
%setup -q
-# Fix PDF landscape printing (bug #768811).
-%patch1 -p1 -b .pdf-landscape
-
-# Include dbus so that colord support works (bug #1026928).
-%patch2 -p1 -b .dbus
-
-# Fix memory leaks in cups-browsed (bug #1027317).
-%patch3 -p1 -b .memory-leaks
-
-# Adjust filter costs so application/vnd.adobe-read-postscript input
-# doesn't go via pstotiff (bug #1008166).
-%patch4 -p1 -b .filter-costs
-
-# Don't ship urftopdf for now (bug #1002947).
-%patch5 -p1 -b .urftopdf
-
-# Don't ship pdftoopvp for now (bug #1027557).
-%patch6 -p1 -b .pdftoopvp
-
-# Remote command injection in cups-browsed (bug #1083327).
-%patch7 -p1 -b .bug1083327
-
%build
# work-around Rpath
./autogen.sh
@@ -167,6 +144,18 @@ rm -f %{buildroot}%{_bindir}/ttfread
mkdir -p %{buildroot}%{_unitdir}
install -p -m 644 utils/cups-browsed.service %{buildroot}%{_unitdir}
+# Don't ship urftopdf for now (bug #1002947).
+rm -f %{buildroot}%{_cups_serverbin}/filter/urftopdf
+sed -i '/urftopdf/d' %{buildroot}%{_datadir}/cups/mime/cupsfilters.convs
+
+# Don't ship pdftoopvp for now (bug #1027557).
+rm -f %{buildroot}%{_cups_serverbin}/filter/pdftoopvp
+rm -f %{buildroot}%{_sysconfdir}/fonts/conf.d/99pdftoopvp.conf
+
+# Don't ship foomatic-rip
+rm -f %{buildroot}%{_cups_serverbin}/filter/foomatic-rip
+rm -f %{buildroot}%{_mandir}/man1/foomatic-rip.1
+
%check
make check
@@ -246,6 +235,9 @@ fi
%{_libdir}/libfontembed.so
%changelog
+* Mon Apr 28 2014 Jiri Popelka <jpopelka at redhat.com> - 1.0.53-1
+- 1.0.53
+
* Wed Apr 02 2014 Jiri Popelka <jpopelka at redhat.com> - 1.0.41-6
- Remote command injection in cups-browsed (bug #1083327).
diff --git a/sources b/sources
index 3340f74..7351c93 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-fe5a9a07b9a64b35975154068cbedef9 cups-filters-1.0.41.tar.xz
+85c605f82cddfd9990a17f1ffaf51eec cups-filters-1.0.53.tar.xz
More information about the scm-commits
mailing list