Commit Graph

205 Commits

Author SHA1 Message Date
sthen
0ec6fa23f4 update to ghostscript-10.0.0, from Volker Schlecht (maintainer) 2022-10-06 15:46:20 +00:00
kmos
c95d26d104 Fix build on sparc64 by adding -L${X11BASE}/lib to CONFIGURE_ENV LDFLAGS 2022-07-03 22:45:21 +00:00
sthen
83ec1e7a2f update to ghostscript-9.56.1, from maintainer Volker Schlecht
N.B. this switches to a new PDF interpreter (implemented in C rather than
PostScript). If you suspect problems and need to disable it you can return
to the old interpreter with -dNEWPDF=false.
2022-04-13 14:23:19 +00:00
naddy
0e126762d0 drop RCS Ids 2022-03-11 19:50:56 +00:00
ajacoutot
0a2ddd8539 Some cleanups:
- drop uneeded CFLAGS in both places; good side-effect, our CFLAGS are not overriden anymore
- add DEBUG_PACKAGES
- install gsc as gs (dynamic binary)
- only include gsx in the gtk FLAVOR (it's supposed to be the gtk loader,
otherwise it behaves as gs); could be a multi_package instead but that's for
another day
- simplify post-install dance

ok sthen@ (on an earlier diff), Volker Schlecht (maintainer)
2022-01-30 15:08:08 +00:00
ajacoutot
47c9618ea3 Fix soname; [libgs.so.16] -> [libgs.so.16.0]
Spotted during a port-lib-depends-check while updating libspectre:
Missing lib: libgs.so.16 (/usr/local/lib/libspectre.so.1.0) (NOT REACHABLE)
2022-01-29 07:37:14 +00:00
ajacoutot
76852cfaa9 Use tabs. 2022-01-29 07:20:50 +00:00
jca
fa1cd72963 Add patch missed in the update to 9.55.0
Patch needed for our library versioning to be respected.
Issue reported by sthen@
2022-01-28 17:05:41 +00:00
kili
f7e62948b1 Update to ghostscript-9.55.0.
From Volker Schlecht, who also takes maintainership. Thanks!
2022-01-27 20:55:01 +00:00
sthen
c782b2c284 Portroach/SiteHandler/GitHub.pm wants a trailing / when pointing
PORTROACH=site:... at a github url
2021-02-28 12:40:28 +00:00
matthieu
0961fb45df Add patch from upstream to handle freetype 2.10.3+
ok kn@ naddy@ killi@
2020-10-27 06:56:07 +00:00
kn
36b92d6c1e Use PATCHORIG
No update-patches churn, no change.
2020-10-21 13:25:03 +00:00
naddy
d159f8d1ad Make use of "find -exec {} +" (which is POSIX) and "find -delete"
(which is not) throughout the ports Makefiles.

* Replace find|xargs with find -exec {} +
* Replace -exec {} \; with -exec {} + if applicable.
* Use the -delete operator to remove files and empty directories.
* Combine and tweak some find(1) invocations while here.

ok kn@ rsadowski@ espie@
2020-03-20 16:44:21 +00:00
sthen
48b0b9660c replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes 2019-07-12 20:48:23 +00:00
tj
b78c82b5f8 switch some more homepage and master_sites links to https. input/ok sthen 2019-07-10 21:01:26 +00:00
naddy
2e1b191e55 replace gettext module and sync wantlib; ok kili@ 2017-11-02 17:52:26 +00:00
sthen
cd095cec5e Handle pthread-stubs removal. 2017-10-23 17:11:02 +00:00
stsp
6a06a5df7c In the stack smash patch, note the upstream git commit which fixed
the same issue (in 2014).
2017-10-17 13:22:47 +00:00
stsp
f2a232f9a3 Fix a stack smash in ghostscript to make my printer work again.
ok espie@
2017-10-17 13:00:57 +00:00
bluhm
8bdd831304 Fix CVE-2017-8291 shell injection in ghostscript.
Apply patches from upstream git.
OK kili@ (maintainer)
2017-05-04 06:51:09 +00:00
ajacoutot
ab7129d1a0 Unbreak with cups>=2.2.0.
Hopefully catched all breakage since a few ports aren't building currently
(ligtop2...).
2016-09-19 09:17:45 +00:00
naddy
bac38152ca replace libiconv module 2016-09-13 18:52:05 +00:00
naddy
b02576f2fd remove NO_SHARED_ARCHS, NO_SHARED_LIBS, and fold PFRAG.shared into PLIST
ok kili@
2016-03-10 20:26:03 +00:00
jasper
92f5938640 Security fix for CVE-2015-3228 ghostscript-core: out-of-bounbds read and write in gs_ttf.ps
ok kili@ (MAINTAINER)
2015-07-24 12:46:23 +00:00
ajacoutot
fe7142550b Update PLIST to register share/ghostscript/ as part of the package. 2015-05-23 08:40:02 +00:00
ajacoutot
887fca388a Move fonts from share/ghostscript/fonts to share/fonts/ghostscript.
ok kili@ (maintainer)
2015-04-06 21:04:30 +00:00
naddy
6bb8d0674b Drop USE_GROFF from ports where the formatting differences are acceptable
or mandoc provides the more useful output.
2015-02-16 22:57:07 +00:00
naddy
570aa62a9c Drop remaining MD5/RMD160/SHA1 checksums. 2015-01-18 03:12:39 +00:00
sthen
3d5a69c038 update the license marker, Artifex moved to the Affero license
ok kili@
2014-04-19 14:30:05 +00:00
kili
b220d5daad Intermediate update to ghostscript-9.07.
9.10 will follow in a few days.

Thanks to aja@ for doing some testing.
2013-12-24 15:18:38 +00:00
ajacoutot
a9d871863f While the cups raster tools (gstoraster and gstopxl) are now in cups-filters,
we still need the cups device.
2013-08-22 09:14:32 +00:00
ajacoutot
4ee8fca26e Remove dependency on cups,-libs. gstoraster and friends are moving to
print/cups-filters.

ok kili@ (maintainer)
2013-08-22 08:02:22 +00:00
ajacoutot
8613536758 Some trivial WANTLIB and tweaks to unbreak after the Heimdal update.
Stop hardcoding the Kerberos libs and use krb5-config(1).
2013-06-17 19:28:36 +00:00
naddy
10bfdff492 the png headers are now directly under include/ 2013-06-04 18:41:39 +00:00
espie
eae66e4a7b PERMIT_* / REGRESS->TEST sweep 2013-03-11 11:35:43 +00:00
kili
217bf15d14 Ensure that cups/gdevcups.c is compiled with the same flags as
everything else, especially to get the same value for GX_COLOR_INDEX_TYPE
(and the same field sizes and offsets for the gx_device type).

This fixes crashes with the cups driver on 32 bit archs.

Reported and fix tested by Martin Crossley <martin@crossleys.biz>.

ok aja@ dcoppa@ sthen@
2013-02-15 12:40:00 +00:00
kili
764b569ac0 Create mutexes with type PTHREAD_MUTEX_RECURSIVE to stop ghostscript from
aborting.

ok aja@
2012-09-09 08:57:36 +00:00
ajacoutot
3e1fd36b4b Update to ghostscript-9.06.
This fixes a crash when using PDF printing with gtk-print.

ok kili@ (maintainer)
2012-08-22 06:24:17 +00:00
ajacoutot
3a90553d9c Compile/install gstoraster and the corresponding convs file.
Link gstoraster to pstoraster in case there are some oldies around that
still try to use pstoraster.
Remove the dlopen libcups hack and link to libcups as upstream intended.
Unconditionally depend on cups,-libs.

with and ok kili@
2012-08-04 17:51:44 +00:00
kili
5e34761dcb Update ghostscript to 9.05.
THe following devices had been added:

        cdnj500, eplcolor, eplmono, inkcov, pamcmyk4, plan, planc,
        plang, plank, planm, tiff48nc, tiff64nc, tiffscaled,
        tiffscaled24, tiffscaled8, tiffsep1, txtwrite

The following devices had been removed:

        cgm24, cgm8, cgmmono, imdi, lx5000, wtscmyk, wtsimdi

No objections from aja@ two or three days ago.
2012-07-11 10:26:31 +00:00
espie
6cb221c775 FLAVOR:L -> FLAVOR 2012-03-09 10:58:36 +00:00
kili
db74601aee Update to ghostscript-9.04.
Enable jbig2dec support.

New devices still not enabled (I've to resort the
device list anyway).

ok ajacoutot@
2011-11-16 12:43:23 +00:00
kili
494f00bf5b Don't build with -fno-builtin.
This was meant to reveal some problems decades ago, but actually it
now hides potential problems (with wrong printf format strings).

Format string problems will be dealt with after the update to gs9.04.

Thanks to espie@ who noticed that gs uses -fno-builtin.
2011-11-13 21:18:40 +00:00
espie
d0fa01c846 normalize pkgpath 2011-09-16 11:13:37 +00:00
ajacoutot
29857dcf3f New libcupsimage version for dlopen. 2011-09-08 10:34:06 +00:00
jasper
46b7f21fa4 add 'fonts' to their categories 2011-07-19 09:28:36 +00:00
kili
129f6e7703 Bring back pstopxl.
bleeding-eyes diff (zapping perl regexps from sed invocations) from
jirib, who also tested the complete diff.

According to jirib, it's still very slow (ten minutes for two pages),
but at least it works.
2011-07-18 20:24:36 +00:00
naddy
8c18b08ac5 Fix build with png-1.5.
All fixes from/via NetBSD pkgsrc.  The people there did a lot of
heavy lifting.
2011-07-08 20:36:09 +00:00
kili
fb203d1eab Update to gs-9.02 to fix the google maps problem with pdf2ps.
Drop gstoraster (formerly known as ps2raster); it is replaced
by the new gstoraster package.

Also Drop pstopxl, it's currently broken (at least since gs-9.00).
If anyone needs it, please let me know (or patch/repair it yourself
and send me a diff). Note that it would need rather heavy patching
or it had to depend on gnu grep.

ok aja@
2011-07-06 13:49:17 +00:00
kili
86fb8b8d76 Update to ghostscript-9.00.
ok landry@ (after putting it in a bulk build... thanks)
2011-06-08 19:15:48 +00:00