192 Commits

Author SHA1 Message Date
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
ajacoutot
8722c5a062 Do not hardcode fonts path in pstoraster and fix it while here.
Create ${SYSCONFDIR}/cups/ with the correct group ownership.

Tweaks from and ok kili@ (maintainer).
2011-03-02 07:10:55 +00:00
espie
4856ef07e8 missed some new depends 2010-11-22 09:34:10 +00:00
espie
bec176e99e new depends 2010-11-20 09:48:38 +00:00
ajacoutot
ff07e285bc Remove USE_X11. 2010-10-24 20:58:58 +00:00
espie
4cc3f43b65 USE_GROFF=Yes 2010-10-18 21:25:07 +00:00
jasper
e34499f593 - fix WANTLIB after cairo update. 2010-10-11 08:11:24 +00:00
jasper
c7aa72883e Security fix for SA40452
Ghostscript "-P-" Command Line Option Security Issue.

ok kili@ (MAINTAINER)
2010-08-19 08:19:45 +00:00
edd
273e6d9067 Convert a whole bunch of ports/print to use new WANTLIB/LIB_DEPENDS/REVISION.
OK aja@
2010-07-26 20:07:31 +00:00
kili
aa71e00a3d Remove all traces of SO(BIN|REL)DIR, as ./obj/foo and ./obj/../obj/foo
are different files for gmake, which leads to wrong target rebuilds
on NFS. Some targets are still rebuilt on NFS, but at least in the
correct order and without trashing ./obj/ld.tr and/or ./obj/ldt.tr.

This hopefully fixes the build problems landry@ and marco@ had with
WRKOBJDIR on NFS.
2010-05-24 14:25:05 +00:00
espie
f675634237 use "our" make :C modifier instead of systemV substitution, since that one
is a bit fuzzy, and we want to change it to help xenocara.
2010-05-10 18:41:49 +00:00
pirofti
eed5d3cd05 Remove MESSAGE after discussions with ajacoutot@ and kili@. Okay kili@. 2010-04-02 12:02:45 +00:00
ajacoutot
a9024260f2 Bump cups requirements. 2010-03-31 16:22:30 +00:00
kili
d4dc1f4d12 Actully build the complete thing during make build instead of linking
obj/gs during make fake. This fixes the breakage on hppa found by
landry@ the other day. Bump PKGNAME to be save (shouldn't be
necessary, but the failure on hppa was weird enough to get paranoic).

Builds fine on hppa for landry@.

ok ajacoutot@
2010-02-06 19:56:40 +00:00