summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Timo Gurr <tgurr@exherbo.org> 2017-10-05 14:04:31 +0200
committerAvatar Timo Gurr <tgurr@exherbo.org> 2017-10-05 14:16:24 +0200
commit71c22bb463a390a029fb97d0bf3b0f6696648d55 (patch)
tree345e312637e41af60b39ba3f2aaabd7b34aba05f
parent220a43ca5387c4d270a6ec063851534c78577ce3 (diff)
downloadarbor-71c22bb463a390a029fb97d0bf3b0f6696648d55.tar.gz
arbor-71c22bb463a390a029fb97d0bf3b0f6696648d55.tar.xz
ghostscript: version bump to 9.22
Change-Id: Ie8f80645b20268441843e22d0af8c5a9fd69cdb0 Reviewed-on: https://galileo.mailstation.de/gerrit/10194 Reviewed-by: Jenkins <wk@mailstation.de> Reviewed-by: Timo Gurr <tgurr@exherbo.org>
-rw-r--r--packages/app-text/ghostscript/files/4129543f9f51ccaf97d8429a9e66e348394e95b0.patch112
-rw-r--r--packages/app-text/ghostscript/files/57f20719e1cfaea77b67cb26e26de7fe4d7f9b2e.patch51
-rw-r--r--packages/app-text/ghostscript/files/a0e27403bbb991f5a541d39122a92505afb0d1dc.patch30
-rw-r--r--packages/app-text/ghostscript/files/fa182eb185494fae17731f426fb3307d7feda4f0.patch55
-rw-r--r--packages/app-text/ghostscript/files/ghostscript-9.21-Bug-697548-use-the-correct-param-list-enumerator.patch42
-rw-r--r--packages/app-text/ghostscript/files/ghostscript-9.21-Bug-697799-have-.eqproc-check-its-parameters.patch34
-rw-r--r--packages/app-text/ghostscript/files/ghostscript-9.21-Bug-697799-have-.rsdparams-check-its-parameters.patch63
-rw-r--r--packages/app-text/ghostscript/files/ghostscript-9.21-Ensure-a-device-has-raster-memory-before-trying-to-r.patch36
-rw-r--r--packages/app-text/ghostscript/ghostscript-9.22.exheres-0 (renamed from packages/app-text/ghostscript/ghostscript-9.21-r4.exheres-0)21
9 files changed, 5 insertions, 439 deletions
diff --git a/packages/app-text/ghostscript/files/4129543f9f51ccaf97d8429a9e66e348394e95b0.patch b/packages/app-text/ghostscript/files/4129543f9f51ccaf97d8429a9e66e348394e95b0.patch
deleted file mode 100644
index 9272cfe..0000000
--- a/packages/app-text/ghostscript/files/4129543f9f51ccaf97d8429a9e66e348394e95b0.patch
+++ /dev/null
@@ -1,112 +0,0 @@
-Source/Upstream: yes, fixed in git master
-Reason: Render PDF files with filled forms correctly
-
-From 4129543f9f51ccaf97d8429a9e66e348394e95b0 Mon Sep 17 00:00:00 2001
-From: Ken Sharp <ken.sharp@artifex.com>
-Date: Thu, 31 Aug 2017 16:11:15 +0100
-Subject: [PATCH] PDF interpreter - add support for Choice fields in Widget
- annotations
-
-Bug 698461 "PDF files with filled forms are not rendered correctly if they have drop-down lists"
-
-We didn't support Choice fields in either AcroForms or Widget annotations
-which leads to these not being rendered if they have no Appearance (in
-the case of widget annotations) or not rendered at all in the case of
-AcroForms.
-
-This commit adds simple support for single selection Choice fields, we
-may want to improve this later.
----
- Resource/Init/pdf_draw.ps | 64 ++++++++++++++++++++++++++++++++++++++++++-----
- devices/vector/gdevpsds.c | 6 ++---
- 2 files changed, 61 insertions(+), 9 deletions(-)
-
-diff --git a/Resource/Init/pdf_draw.ps b/Resource/Init/pdf_draw.ps
-index dedaf40..9e6b523 100644
---- a/Resource/Init/pdf_draw.ps
-+++ b/Resource/Init/pdf_draw.ps
-@@ -3091,11 +3091,18 @@ end
- //false exch
- NeedAppearances {
- dup /FT fget {
-- /Tx eq {
-- dup /V oknown {
-- pop not 1
-- } if
-- } if
-+ dup /Tx eq {
-+ pop
-+ dup /V oknown {
-+ pop not 1
-+ } if
-+ } {
-+ /Ch eq {
-+ dup /V oknown {
-+ pop not 1
-+ } if
-+ } if
-+ } ifelse
- } if
- } if
- pop
-@@ -3117,6 +3124,7 @@ end
- % dup /AP undef
- % } if
- % } if
-+
- dup /AP knownoget {
- dup /N known not {
- ( **** Error: Appearance dictionary (AP) lacks the mandatory normal (N) appearance.\n)
-@@ -4336,7 +4344,51 @@ currentdict /.PDFDrawAnnotType? undef
- } bdef
-
- /Ch {
-- (Ch is not yet implemened) //== exec
-+ dup /AP known 3 index /NeedAppearances knownoget not { //true } if not and {
-+ dup 1 1 3 -1 roll drawwidget
-+ } {
-+ %% If we don't have a NeedApperances, treat as true, because Acrobat
-+ %% always regenerates Appearances anyway.
-+ 2 index /NeedAppearances knownoget not { //true } if {
-+ dup /AP << /N 10 dict dup cvx begin >> put
-+ /Subtype /Form def
-+ /BBox [ 0 0 4 index /Rect oget { oforce } forall 3 -1 roll sub abs 3 1 roll sub abs exch ] def
-+ /Resources 3 index /DR pget not { 0 dict } if def
-+ /File 1000 string dup 3 1 roll def
-+ /Length 1000 def
-+ % <acroform> <field> <annot> (string)
-+ /NullEncode filter % <acroform> <field> <annot> file
-+
-+ dup (BT ) writestring
-+ 2 index /DA pget not { () } if
-+ [ exch
-+ { token {
-+ dup /Tf eq {
-+ 2 index 0 eq {
-+ /BBox load 3 get
-+ 0.75 mul % empirical constant
-+ 4 -1 roll pop 3 1 roll
-+ } if
-+ } if
-+ exch
-+ } {
-+ exit
-+ } ifelse
-+ } loop
-+ ]
-+ { 1 index exch write== } forall
-+ dup 3 index /MaxLen pget not { 0 } if write=
-+ dup 3 index /V pget not {
-+ 3 index /DV pget not { () } if
-+ } if write==
-+ dup 3 index /Ff pget not { 0 } if write=
-+ dup 3 index /Q pget not { 0 } if write=
-+ dup (Tform ET) write=
-+ end
-+ closefile % <acroform> <field> <annot>
-+ dup 1 1 3 -1 roll drawwidget
-+ } if
-+ } ifelse
- } bdef
-
- /Sig {
diff --git a/packages/app-text/ghostscript/files/57f20719e1cfaea77b67cb26e26de7fe4d7f9b2e.patch b/packages/app-text/ghostscript/files/57f20719e1cfaea77b67cb26e26de7fe4d7f9b2e.patch
deleted file mode 100644
index 3478343..0000000
--- a/packages/app-text/ghostscript/files/57f20719e1cfaea77b67cb26e26de7fe4d7f9b2e.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-Source/Upstream: yes, fixed in git master
-Reason: Followup fix for CVE patch
-
-From 57f20719e1cfaea77b67cb26e26de7fe4d7f9b2e Mon Sep 17 00:00:00 2001
-From: Chris Liddell <chris.liddell@artifex.com>
-Date: Wed, 3 May 2017 12:05:45 +0100
-Subject: [PATCH] Bug 697846: revision to commit 4f83478c88 (.eqproc)
-
-When using the "DELAYBIND" feature, it turns out that .eqproc can be called with
-parameters that are not both procedures. In this case, it turns out, the
-expectation is for the operator to return 'false', rather than throw an error.
----
- psi/zmisc3.c | 15 +++++++++++++--
- 1 file changed, 13 insertions(+), 2 deletions(-)
-
-diff --git a/psi/zmisc3.c b/psi/zmisc3.c
-index 37293ff..3f01d39 100644
---- a/psi/zmisc3.c
-+++ b/psi/zmisc3.c
-@@ -38,6 +38,15 @@ zcliprestore(i_ctx_t *i_ctx_p)
- return gs_cliprestore(igs);
- }
-
-+static inline bool
-+eqproc_check_type(ref *r)
-+{
-+ return r_has_type(r, t_array)
-+ || r_has_type(r, t_mixedarray)
-+ || r_has_type(r, t_shortarray)
-+ || r_has_type(r, t_oparray);
-+}
-+
- /* <proc1> <proc2> .eqproc <bool> */
- /*
- * Test whether two procedures are equal to depth 10.
-@@ -58,8 +67,10 @@ zeqproc(i_ctx_t *i_ctx_p)
-
- if (ref_stack_count(&o_stack) < 2)
- return_error(gs_error_stackunderflow);
-- if (!r_is_array(op - 1) || !r_is_array(op)) {
-- return_error(gs_error_typecheck);
-+ if (!eqproc_check_type(op -1) || !eqproc_check_type(op)) {
-+ make_false(op - 1);
-+ pop(1);
-+ return 0;
- }
-
- make_array(&stack[0].proc1, 0, 1, op - 1);
---
-2.9.1
-
diff --git a/packages/app-text/ghostscript/files/a0e27403bbb991f5a541d39122a92505afb0d1dc.patch b/packages/app-text/ghostscript/files/a0e27403bbb991f5a541d39122a92505afb0d1dc.patch
deleted file mode 100644
index d69523a..0000000
--- a/packages/app-text/ghostscript/files/a0e27403bbb991f5a541d39122a92505afb0d1dc.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-Source/Upstream: yes, fixed in git master
-Reason: Fix the shared openjpeg build
-
-From a0e27403bbb991f5a541d39122a92505afb0d1dc Mon Sep 17 00:00:00 2001
-From: Chris Liddell <chris.liddell@artifex.com>
-Date: Tue, 21 Mar 2017 15:45:34 +0000
-Subject: [PATCH] Fix the shared openjpeg build
-
----
- base/sjpx_openjpeg.c | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/base/sjpx_openjpeg.c b/base/sjpx_openjpeg.c
-index 8ce5e4c..5498a0c 100644
---- a/base/sjpx_openjpeg.c
-+++ b/base/sjpx_openjpeg.c
-@@ -24,8 +24,9 @@
- #include "sjpx_openjpeg.h"
- #include "gxsync.h"
- #include "assert_.h"
-+#if !defined(SHARE_JPX) || (SHARE_JPX == 0)
- #include "opj_malloc.h"
--
-+#endif
- /* Some locking to get around the criminal lack of context
- * in the openjpeg library. */
- static gs_memory_t *opj_memory;
---
-2.9.1
-
diff --git a/packages/app-text/ghostscript/files/fa182eb185494fae17731f426fb3307d7feda4f0.patch b/packages/app-text/ghostscript/files/fa182eb185494fae17731f426fb3307d7feda4f0.patch
deleted file mode 100644
index 0342512..0000000
--- a/packages/app-text/ghostscript/files/fa182eb185494fae17731f426fb3307d7feda4f0.patch
+++ /dev/null
@@ -1,55 +0,0 @@
-Source/Upstream: yes, fixed in git master
-Reason: Fix the shared openjpeg build
-
-From fa182eb185494fae17731f426fb3307d7feda4f0 Mon Sep 17 00:00:00 2001
-From: Chris Liddell <chris.liddell@artifex.com>
-Date: Tue, 21 Mar 2017 17:50:14 +0000
-Subject: [PATCH] Bug 697681: fix shared lib build with openjpeg >= 2.1.1
-
-In 2.1.1 openjpeg extended the use of the OPJ_STATIC to use gcc attributes to
-hide certain functions, as well as the previous use of preventing the
-inclusion of the Windows DllMain function.
-
-As we (in Ghostscript) need the functions the OPJ_STATIC on Linux/Unix hides,
-only set the flag for Windows builds.
----
- base/lib.mak | 2 +-
- psi/msvc.mak | 6 +++---
- 2 files changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/base/lib.mak b/base/lib.mak
-index 76023b4..46b5ee1 100644
---- a/base/lib.mak
-+++ b/base/lib.mak
-@@ -1851,7 +1851,7 @@ $(GLOBJ)sjpx_openjpeg.$(OBJ) : $(GLSRC)sjpx_openjpeg.c $(AK) \
- $(memory__h) $(gserror_h) $(gserrors_h) \
- $(gdebug_h) $(strimpl_h) $(sjpx_openjpeg_h) $(LIB_MAK) $(MAKEDIRS)
- $(GLJPXOPJCC) $(GLO_)sjpx_openjpeg.$(OBJ) \
-- $(C_) -DOPJ_STATIC $(GLSRC)sjpx_openjpeg.c
-+ $(C_) $(GLSRC)sjpx_openjpeg.c
-
- # no jpx version
- sjpx_none=$(GLOBJ)sjpx_none.$(OBJ)
-diff --git a/psi/msvc.mak b/psi/msvc.mak
-index 5242a77..92a8a88 100644
---- a/psi/msvc.mak
-+++ b/psi/msvc.mak
-@@ -1371,12 +1371,12 @@ JPXSRCDIR=openjpeg
- !endif
- !ifndef JPX_CFLAGS
- !ifdef WIN64
--JPX_CFLAGS=-DUSE_OPENJPEG_JP2 -DUSE_JPIP $(JPX_SSE_CFLAGS) -DWIN64
-+JPX_CFLAGS=-DUSE_OPENJPEG_JP2 -DUSE_JPIP $(JPX_SSE_CFLAGS) -DOPJ_STATIC -DWIN64
- !else
--JPX_CFLAGS=-DUSE_OPENJPEG_JP2 -DUSE_JPIP $(JPX_SSE_CFLAGS) -DWIN32
-+JPX_CFLAGS=-DUSE_OPENJPEG_JP2 -DUSE_JPIP $(JPX_SSE_CFLAGS) -DOPJ_STATIC -DWIN32
- !endif
- !else
--JPX_CFLAGS = $JPX_CFLAGS -DUSE_JPIP -DUSE_OPENJPEG_JP2
-+JPX_CFLAGS = $JPX_CFLAGS -DUSE_JPIP -DUSE_OPENJPEG_JP2 -DOPJ_STATIC
- !endif
- !endif
-
---
-2.9.1
-
diff --git a/packages/app-text/ghostscript/files/ghostscript-9.21-Bug-697548-use-the-correct-param-list-enumerator.patch b/packages/app-text/ghostscript/files/ghostscript-9.21-Bug-697548-use-the-correct-param-list-enumerator.patch
deleted file mode 100644
index 23a8de2..0000000
--- a/packages/app-text/ghostscript/files/ghostscript-9.21-Bug-697548-use-the-correct-param-list-enumerator.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-Upstream: yes
-Reason: CVE-2017-5951
-
-From bfa6b2ecbe48edc69a7d9d22a12419aed25960b8 Mon Sep 17 00:00:00 2001
-From: Chris Liddell <chris.liddell@artifex.com>
-Date: Thu, 6 Apr 2017 16:44:54 +0100
-Subject: [PATCH] Bug 697548: use the correct param list enumerator
-
-When we encountered dictionary in a ref_param_list, we were using the enumerator
-for the "parent" param_list, rather than the enumerator for the param_list
-we just created for the dictionary. That parent was usually the stack
-list enumerator, and caused a segfault.
-
-Using the correct enumerator works better.
----
- psi/iparam.c | 7 ++++---
- 1 file changed, 4 insertions(+), 3 deletions(-)
-
-diff --git a/psi/iparam.c b/psi/iparam.c
-index 4e63b6d25..b2fa85fa2 100644
---- a/psi/iparam.c
-+++ b/psi/iparam.c
-@@ -770,12 +770,13 @@ ref_param_read_typed(gs_param_list * plist, gs_param_name pkey,
- gs_param_enumerator_t enumr;
- gs_param_key_t key;
- ref_type keytype;
-+ dict_param_list *dlist = (dict_param_list *) pvalue->value.d.list;
-
- param_init_enumerator(&enumr);
-- if (!(*((iparam_list *) plist)->enumerate)
-- ((iparam_list *) pvalue->value.d.list, &enumr, &key, &keytype)
-+ if (!(*(dlist->enumerate))
-+ ((iparam_list *) dlist, &enumr, &key, &keytype)
- && keytype == t_integer) {
-- ((dict_param_list *) pvalue->value.d.list)->int_keys = 1;
-+ dlist->int_keys = 1;
- pvalue->type = gs_param_type_dict_int_keys;
- }
- }
---
-2.12.2
-
diff --git a/packages/app-text/ghostscript/files/ghostscript-9.21-Bug-697799-have-.eqproc-check-its-parameters.patch b/packages/app-text/ghostscript/files/ghostscript-9.21-Bug-697799-have-.eqproc-check-its-parameters.patch
deleted file mode 100644
index d150662..0000000
--- a/packages/app-text/ghostscript/files/ghostscript-9.21-Bug-697799-have-.eqproc-check-its-parameters.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-Upstream: yes
-Reason: CVE-2017-8291
-
-From 4f83478c88c2e05d6e8d79ca4557eb039354d2f3 Mon Sep 17 00:00:00 2001
-From: Chris Liddell <chris.liddell@artifex.com>
-Date: Thu, 27 Apr 2017 13:03:33 +0100
-Subject: [PATCH 1/2] Bug 697799: have .eqproc check its parameters
-
-The Ghostscript custom operator .eqproc was not check the number or type of
-the parameters it was given.
----
- psi/zmisc3.c | 6 ++++++
- 1 file changed, 6 insertions(+)
-
-diff --git a/psi/zmisc3.c b/psi/zmisc3.c
-index 54b304246..37293ff4b 100644
---- a/psi/zmisc3.c
-+++ b/psi/zmisc3.c
-@@ -56,6 +56,12 @@ zeqproc(i_ctx_t *i_ctx_p)
- ref2_t stack[MAX_DEPTH + 1];
- ref2_t *top = stack;
-
-+ if (ref_stack_count(&o_stack) < 2)
-+ return_error(gs_error_stackunderflow);
-+ if (!r_is_array(op - 1) || !r_is_array(op)) {
-+ return_error(gs_error_typecheck);
-+ }
-+
- make_array(&stack[0].proc1, 0, 1, op - 1);
- make_array(&stack[0].proc2, 0, 1, op);
- for (;;) {
---
-2.12.2
-
diff --git a/packages/app-text/ghostscript/files/ghostscript-9.21-Bug-697799-have-.rsdparams-check-its-parameters.patch b/packages/app-text/ghostscript/files/ghostscript-9.21-Bug-697799-have-.rsdparams-check-its-parameters.patch
deleted file mode 100644
index a2a09bb..0000000
--- a/packages/app-text/ghostscript/files/ghostscript-9.21-Bug-697799-have-.rsdparams-check-its-parameters.patch
+++ /dev/null
@@ -1,63 +0,0 @@
-Upstream: yes
-Reason: CVE-2017-8291
-
-From 04b37bbce174eed24edec7ad5b920eb93db4d47d Mon Sep 17 00:00:00 2001
-From: Chris Liddell <chris.liddell@artifex.com>
-Date: Thu, 27 Apr 2017 13:21:31 +0100
-Subject: [PATCH 2/2] Bug 697799: have .rsdparams check its parameters
-
-The Ghostscript internal operator .rsdparams wasn't checking the number or
-type of the operands it was being passed. Do so.
----
- psi/zfrsd.c | 22 +++++++++++++++-------
- 1 file changed, 15 insertions(+), 7 deletions(-)
-
-diff --git a/psi/zfrsd.c b/psi/zfrsd.c
-index 191107d8a..950588d69 100644
---- a/psi/zfrsd.c
-+++ b/psi/zfrsd.c
-@@ -49,13 +49,20 @@ zrsdparams(i_ctx_t *i_ctx_p)
- ref *pFilter;
- ref *pDecodeParms;
- int Intent = 0;
-- bool AsyncRead;
-+ bool AsyncRead = false;
- ref empty_array, filter1_array, parms1_array;
- uint i;
-- int code;
-+ int code = 0;
-+
-+ if (ref_stack_count(&o_stack) < 1)
-+ return_error(gs_error_stackunderflow);
-+ if (!r_has_type(op, t_dictionary) && !r_has_type(op, t_null)) {
-+ return_error(gs_error_typecheck);
-+ }
-
- make_empty_array(&empty_array, a_readonly);
-- if (dict_find_string(op, "Filter", &pFilter) > 0) {
-+ if (r_has_type(op, t_dictionary)
-+ && dict_find_string(op, "Filter", &pFilter) > 0) {
- if (!r_is_array(pFilter)) {
- if (!r_has_type(pFilter, t_name))
- return_error(gs_error_typecheck);
-@@ -94,12 +101,13 @@ zrsdparams(i_ctx_t *i_ctx_p)
- return_error(gs_error_typecheck);
- }
- }
-- code = dict_int_param(op, "Intent", 0, 3, 0, &Intent);
-+ if (r_has_type(op, t_dictionary))
-+ code = dict_int_param(op, "Intent", 0, 3, 0, &Intent);
- if (code < 0 && code != gs_error_rangecheck) /* out-of-range int is ok, use 0 */
- return code;
-- if ((code = dict_bool_param(op, "AsyncRead", false, &AsyncRead)) < 0
-- )
-- return code;
-+ if (r_has_type(op, t_dictionary))
-+ if ((code = dict_bool_param(op, "AsyncRead", false, &AsyncRead)) < 0)
-+ return code;
- push(1);
- op[-1] = *pFilter;
- if (pDecodeParms)
---
-2.12.2
-
diff --git a/packages/app-text/ghostscript/files/ghostscript-9.21-Ensure-a-device-has-raster-memory-before-trying-to-r.patch b/packages/app-text/ghostscript/files/ghostscript-9.21-Ensure-a-device-has-raster-memory-before-trying-to-r.patch
deleted file mode 100644
index 8a1f754..0000000
--- a/packages/app-text/ghostscript/files/ghostscript-9.21-Ensure-a-device-has-raster-memory-before-trying-to-r.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-Upstream: yes
-Reason: CVE-2017-7207
-
-From 309eca4e0a31ea70dcc844812691439312dad091 Mon Sep 17 00:00:00 2001
-From: Ken Sharp <ken.sharp@artifex.com>
-Date: Mon, 20 Mar 2017 09:34:11 +0000
-Subject: [PATCH] Ensure a device has raster memory, before trying to read it.
-
-Bug #697676 "Null pointer dereference in mem_get_bits_rectangle()"
-
-This is only possible by abusing/mis-using Ghostscript-specific
-language extensions, so cannot happen in a general PostScript program.
-
-Nevertheless, Ghostscript should not crash. So this commit checks the
-memory device to see if raster memory has been allocated, before trying
-to read from it.
----
- base/gdevmem.c | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/base/gdevmem.c b/base/gdevmem.c
-index afd05bdb3..d52d68414 100644
---- a/base/gdevmem.c
-+++ b/base/gdevmem.c
-@@ -606,6 +606,8 @@ mem_get_bits_rectangle(gx_device * dev, const gs_int_rect * prect,
- GB_PACKING_CHUNKY | GB_COLORS_NATIVE | GB_ALPHA_NONE;
- return_error(gs_error_rangecheck);
- }
-+ if (mdev->line_ptrs == 0x00)
-+ return_error(gs_error_rangecheck);
- if ((w <= 0) | (h <= 0)) {
- if ((w | h) < 0)
- return_error(gs_error_rangecheck);
---
-2.12.2
-
diff --git a/packages/app-text/ghostscript/ghostscript-9.21-r4.exheres-0 b/packages/app-text/ghostscript/ghostscript-9.22.exheres-0
index 6dc84b1..eeb2b28 100644
--- a/packages/app-text/ghostscript/ghostscript-9.21-r4.exheres-0
+++ b/packages/app-text/ghostscript/ghostscript-9.22.exheres-0
@@ -29,12 +29,12 @@ DEPENDENCIES="
build+run:
dev-libs/expat
dev-libs/libpaper
- media-libs/OpenJPEG:2[>=2.1.0]
+ media-libs/OpenJPEG:2[>=2.2.0]
media-libs/fontconfig
media-libs/freetype:2[>=2.4.2]
- media-libs/jbig2dec[>=0.13]
- media-libs/lcms2[>=2.6]
- media-libs/libpng:=[>=1.5.7]
+ media-libs/jbig2dec[>=0.14]
+ media-libs/lcms2[>=2.8]
+ media-libs/libpng:=[>=1.6.26]
sys-libs/zlib
cups? ( net-print/cups )
dbus? ( sys-apps/dbus )
@@ -49,20 +49,9 @@ DEPENDENCIES="
)
run:
app-text/poppler-data[>=0.4.4] [[ note = [ CMap encoding data ] ]]
- fonts/urw-fonts[>=20160926] [[ note = [ PostScript standard fonts ] ]]
+ fonts/urw-fonts[>=20170801] [[ note = [ PostScript standard fonts ] ]]
"
-DEFAULT_SRC_PREPARE_PATCHES=(
- "${FILES}"/a0e27403bbb991f5a541d39122a92505afb0d1dc.patch
- "${FILES}"/fa182eb185494fae17731f426fb3307d7feda4f0.patch
- "${FILES}"/${PNV}-Ensure-a-device-has-raster-memory-before-trying-to-r.patch
- "${FILES}"/${PNV}-Bug-697548-use-the-correct-param-list-enumerator.patch
- "${FILES}"/${PNV}-Bug-697799-have-.eqproc-check-its-parameters.patch
- "${FILES}"/${PNV}-Bug-697799-have-.rsdparams-check-its-parameters.patch
- "${FILES}"/57f20719e1cfaea77b67cb26e26de7fe4d7f9b2e.patch
- "${FILES}"/4129543f9f51ccaf97d8429a9e66e348394e95b0.patch
-)
-
src_prepare() {
edo rm -r ./{cups/libs,freetype,jbig2dec,jpeg,lcms2,libpng,openjpeg,tiff,zlib}