Commit Graph

164 Commits

Author SHA1 Message Date
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
espie
100f0c7870 SUBDIR += is wrong: it means the makefile will pick up SUBDIR from env, thus
breaking cd /usr/ports && SUBDIR=some/path make something for
category makefiles. While there, also put spaces around += uniformously.
okay naddy@, jasper@
2010-02-01 17:00:12 +00:00
jasper
683631fed7 SECURITY FIX:
CVE-2009-4270: Ghostscript "errprintf()" Buffer Overflow Vulnerability

ok kili@ (MAINTAINER)
2010-01-04 19:14:52 +00:00
kili
5d5711efef Remove the symlink in ${PREFIX}/lib/X11/fonts.
ok ajacoutot@ (during p2k9)
2009-10-21 14:19:01 +00:00
ajacoutot
c81df85b8c Always add the 'display' device for !no_x11.
Thanks to kili@'s idea, it is possible to make it wok alongside regular
command line invocation whether we have gtk support or not.
This change fixes helpers like libspectre which depend on this device
driver being available (even when we don't want the gtk FLAVOR).

Tweak DESCR while here.

ok kili@ aka The Thing Padawan
2009-09-13 20:59:16 +00:00
kili
8fc6287292 WANTLIB changes after xcb addition and bump. 2009-08-10 06:29:51 +00:00
sthen
2c90438f29 add a patch from upstream; fixes printing PDFs with canon drivers bjc600/800.
ok kili@
2009-06-16 21:03:59 +00:00
bernd
692ceb000e Sync after latest cups library bump. 2009-04-27 08:26:23 +00:00
jasper
56c787888b - add security fix for CVE-2009-0196
ok kili@ (MAINTAINER)
2009-04-16 19:53:38 +00:00
jasper
a41479263c - add SECURITY FIXES for SA34534, CVE-2009-0583 and CVE-2009-0584.
patches taken from upstream and gentoo bugreports

ok kili@ (MAINTAINER)
2009-04-06 17:06:33 +00:00
kili
e91fb64abf Build, install and use libgs in all flavors on shared archs. Note:
there is currently no libgs (not even a libgs.a) on static archs.

Install only *one* binary (bin/gs), even in the gtk flavor; the gsc
binary in the gtk flavor was identically to gsx, with the exception
that the display driver (which is the sole purpose of the gtk flavor)
didn't work in gsc.

ok ajacoutot@
2009-01-19 12:46:22 +00:00
ajacoutot
665a62471d - last commit needed a bump 2008-12-23 10:55:30 +00:00
jolan
17ebdecbd4 respect SYSCONFDIR 2008-12-23 00:18:01 +00:00
ajacoutot
bca5fcd5fa - install pstoraster.convs sample file so that CUPS can use pstoraster
without any configuration tweaks

ok kili@ (maintainer)
2008-11-19 09:59:38 +00:00
kili
bd3f00bb23 cups is an ex-flavor 2008-11-12 19:27:28 +00:00
kili
fe63fbce40 Use dlopen(2) for cups libraries to get rid of the cups flavor and
the evil circular dependencies.

Idea: bernd@
Tests: ajacoutot@
Catering: Sir Lancelot
Music: Dave Soldier and Komar & Melamid

ok ajacoutot@
2008-11-12 19:26:38 +00:00
kili
3e88a42347 Update to 8.63.
ok ajacoutot (who trusts me... hrhrhr)
2008-10-28 17:53:42 +00:00
kili
0983b83248 Instead of copying the address, just copy the color data.
Initially found by naddy grepping for suspicious casts.
Bug and patch approved upstream.
2008-07-12 19:11:56 +00:00
kili
cbb706a50f Fix the build of the gtk flavor on amd64.
Tested by steven@, who also found the problem.
2008-05-09 19:29:44 +00:00
kili
6cf57f0d06 Re-add some important files dropped with the last update.
Noticed by Onat I. <onatinadresi@gmail.com>, fix double-checked also
by Onat I. and Giovanni Bechis <bigionews@snb.it>.
2008-04-06 15:48:13 +00:00
kili
ed80eba166 Update to 8.62.
NOTE: the cups flavor will probably vanish very soon. See
http://marc.info/?l=openbsd-ports&m=120624299930920&w=2 for
explanation.

"looks ok", and some testing, jakemsr@
2008-04-01 20:37:00 +00:00
wcmaier
2f08e80c7d Make distfile fetchable via MASTER_SITE_SOURCEFORGE.
Noticed by Tobias Ulmer; ok merdely@ jasper@
2008-03-31 12:49:58 +00:00
espie
17d70806a3 tweak FAKE_FLAGS semantics to saner defaults. 2008-01-04 17:48:33 +00:00
ajacoutot
beac1a304b - add the cups FLAVOR to the build
"fine with it" okan@, "add it" steven@
2007-11-20 14:18:16 +00:00
kili
a1f3aba027 Update to 8.60.
Add a cups flavor (for the pstoraster thingy).
Accept the truth and dake maintainership.

Tested by many.
ok simon@
2007-11-19 20:06:56 +00:00
merdely
432ab66897 Put quotes back around ERRORS.
From simon@
2007-09-15 23:36:43 +00:00
merdely
37a0c13bfe Remove surrounding quotes in COMMENT/PERMIT_*/ERRORS 2007-09-15 21:36:44 +00:00
kili
9377c838a8 pkg tools now deal with fonts.scale -- installing it explicitely
will cause pkg_delete to leave a partial package around.
Noticed by kurt@.

ok espie@, ajacoutot@
2007-08-03 15:15:20 +00:00
kili
6610e8bb38 Use the pdf_sec.ps shipped with ghostcript 8.54, which has the minor
advance of actually working.
DIST_SUBDIR and Makefile.inc are obsolete now, so drop them.
Use included (and patched) jasper to simplify the update to gs 8.56.

ok jasper@, jakemsr@
"go for it", espie@
2007-05-26 12:25:10 +00:00