[arch-commits] Commit in cups-filters/trunk (PKGBUILD goostring-constness.patch)

Andreas Radke andyrtr at archlinux.org
Tue Aug 21 06:26:50 UTC 2018


    Date: Tuesday, August 21, 2018 @ 06:26:50
  Author: andyrtr
Revision: 332724

upgpkg: cups-filters 1.21.0-1

upstream update 1.21.0

Modified:
  cups-filters/trunk/PKGBUILD
Deleted:
  cups-filters/trunk/goostring-constness.patch

---------------------------+
 PKGBUILD                  |   15 ++++-----------
 goostring-constness.patch |   25 -------------------------
 2 files changed, 4 insertions(+), 36 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-20 23:17:48 UTC (rev 332723)
+++ PKGBUILD	2018-08-21 06:26:50 UTC (rev 332724)
@@ -2,8 +2,8 @@
 # Maintainer: Andreas Radke <andyrtr at archlinux.org>
 
 pkgname=cups-filters
-pkgver=1.20.4
-pkgrel=2
+pkgver=1.21.0
+pkgrel=1
 pkgdesc="OpenPrinting CUPS Filters"
 arch=('x86_64')
 url="https://wiki.linuxfoundation.org/openprinting/cups-filters"
@@ -16,16 +16,9 @@
 	    'foomatic-db-nonfree: drivers use Ghostscript to convert PostScript to a printable form directly'
 	    'antiword: needed to convert MS Word documents (requires also docx2txt (AUR)')
 backup=(etc/cups/cups-browsed.conf)
-source=(https://www.openprinting.org/download/cups-filters/$pkgname-$pkgver.tar.xz
-        goostring-constness.patch)
-sha256sums=('33756e9fa8562cde050ecbec13f4c84b1c61c4f79a525e02382787c528ab536a'
-            '12e342e64d5654b3ab124ace762ed776f924af0bc8bbae223ea01285cd1fa044')
+source=(https://www.openprinting.org/download/cups-filters/$pkgname-$pkgver.tar.xz)
+sha256sums=('d1e975eaece2884ffa726f8d57dc249bd220e09cc5bd48ef7a0892987a07493b')
 
-prepare() {
-  cd $pkgname-$pkgver
-  patch -Np1 -i ../goostring-constness.patch
-}
-
 build() {
   cd $pkgname-$pkgver
   ./configure --prefix=/usr  \

Deleted: goostring-constness.patch
===================================================================
--- goostring-constness.patch	2018-08-20 23:17:48 UTC (rev 332723)
+++ goostring-constness.patch	2018-08-21 06:26:50 UTC (rev 332724)
@@ -1,25 +0,0 @@
-From 07a0a423a8469a2dd6d7f64bb3b62ba6ac42cc28 Mon Sep 17 00:00:00 2001
-From: Lars Wendler <polynomial-c at gentoo.org>
-Date: Fri, 20 Jul 2018 15:20:11 +0200
-Subject: [PATCH] GooString needs to be const since >=poppler-0.64.0
-
-This only fails with >=poppler-0.67.0 but the change to const was done
-in 0.64.0
----
- filter/pdf.cxx | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/filter/pdf.cxx b/filter/pdf.cxx
-index 206ccf88..665eab09 100644
---- a/filter/pdf.cxx
-+++ b/filter/pdf.cxx
-@@ -734,6 +734,9 @@ extern "C" int pdf_fill_form(pdf_t *doc, opt_t *opt)
-         }
- 
-         FormField *ff = fm_text->getField();
-+#if POPPLER_VERSION_MAJOR > 0 || POPPLER_VERSION_MINOR >= 64
-+        const
-+#endif
-         GooString *field_name;
-         field_name = ff->getFullyQualifiedName();
-         if ( ! field_name )



More information about the arch-commits mailing list