summaryrefslogtreecommitdiff
path: root/libre/cups-filters
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2018-09-09 19:52:12 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2018-09-09 19:52:12 -0500
commit7831e2f3c460b2faed5173bd2c99a7930f5d76f5 (patch)
tree35167b886b8d71ea5c2476aa792ac4c7bd493db6 /libre/cups-filters
parentcf5c5dfddad4bf5ef782559a66304bad44af73b0 (diff)
cups-filters-1.21.2-1.parabola1: updating version
Diffstat (limited to 'libre/cups-filters')
-rw-r--r--libre/cups-filters/PKGBUILD15
-rw-r--r--libre/cups-filters/goostring-constness.patch25
2 files changed, 4 insertions, 36 deletions
diff --git a/libre/cups-filters/PKGBUILD b/libre/cups-filters/PKGBUILD
index 7d410b1d1..257fe8ae9 100644
--- a/libre/cups-filters/PKGBUILD
+++ b/libre/cups-filters/PKGBUILD
@@ -3,8 +3,8 @@
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
pkgname=cups-filters
-pkgver=1.20.4
-pkgrel=2
+pkgver=1.21.2
+pkgrel=1
pkgrel+=.parabola1
pkgdesc="OpenPrinting CUPS Filters"
pkgdesc+=", without foomatic-db-nonfree recommendation"
@@ -20,15 +20,8 @@ optdepends=('ghostscript: for non-PostScript printers to print with CUPS to conv
'foomatic-db-engine: drivers use Ghostscript to convert PostScript to a printable form directly'
'antiword: needed to convert MS Word documents (requires also docx2txt)')
backup=(etc/cups/cups-browsed.conf)
-source=(https://www.openprinting.org/download/cups-filters/$pkgname-$pkgver.tar.xz
- goostring-constness.patch)
-sha256sums=('33756e9fa8562cde050ecbec13f4c84b1c61c4f79a525e02382787c528ab536a'
- '12e342e64d5654b3ab124ace762ed776f924af0bc8bbae223ea01285cd1fa044')
-
-prepare() {
- cd $pkgname-$pkgver
- patch -Np1 -i ../goostring-constness.patch
-}
+source=(https://www.openprinting.org/download/cups-filters/$pkgname-$pkgver.tar.xz)
+sha256sums=('2203060fd55406e5454b52a7b4bf8906a29a26fdc5777df75709443a5a78e09b')
build() {
cd $pkgname-$pkgver
diff --git a/libre/cups-filters/goostring-constness.patch b/libre/cups-filters/goostring-constness.patch
deleted file mode 100644
index ba0c365d7..000000000
--- a/libre/cups-filters/goostring-constness.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 07a0a423a8469a2dd6d7f64bb3b62ba6ac42cc28 Mon Sep 17 00:00:00 2001
-From: Lars Wendler <polynomial-c@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 )