head 1.5; access; symbols pkgsrc-2026Q1:1.5.0.68 pkgsrc-2026Q1-base:1.5 pkgsrc-2025Q4:1.5.0.66 pkgsrc-2025Q4-base:1.5 pkgsrc-2025Q3:1.5.0.64 pkgsrc-2025Q3-base:1.5 pkgsrc-2025Q2:1.5.0.62 pkgsrc-2025Q2-base:1.5 pkgsrc-2025Q1:1.5.0.60 pkgsrc-2025Q1-base:1.5 pkgsrc-2024Q4:1.5.0.58 pkgsrc-2024Q4-base:1.5 pkgsrc-2024Q3:1.5.0.56 pkgsrc-2024Q3-base:1.5 pkgsrc-2024Q2:1.5.0.54 pkgsrc-2024Q2-base:1.5 pkgsrc-2024Q1:1.5.0.52 pkgsrc-2024Q1-base:1.5 pkgsrc-2023Q4:1.5.0.50 pkgsrc-2023Q4-base:1.5 pkgsrc-2023Q3:1.5.0.48 pkgsrc-2023Q3-base:1.5 pkgsrc-2023Q2:1.5.0.46 pkgsrc-2023Q2-base:1.5 pkgsrc-2023Q1:1.5.0.44 pkgsrc-2023Q1-base:1.5 pkgsrc-2022Q4:1.5.0.42 pkgsrc-2022Q4-base:1.5 pkgsrc-2022Q3:1.5.0.40 pkgsrc-2022Q3-base:1.5 pkgsrc-2022Q2:1.5.0.38 pkgsrc-2022Q2-base:1.5 pkgsrc-2022Q1:1.5.0.36 pkgsrc-2022Q1-base:1.5 pkgsrc-2021Q4:1.5.0.34 pkgsrc-2021Q4-base:1.5 pkgsrc-2021Q3:1.5.0.32 pkgsrc-2021Q3-base:1.5 pkgsrc-2021Q2:1.5.0.30 pkgsrc-2021Q2-base:1.5 pkgsrc-2021Q1:1.5.0.28 pkgsrc-2021Q1-base:1.5 pkgsrc-2020Q4:1.5.0.26 pkgsrc-2020Q4-base:1.5 pkgsrc-2020Q3:1.5.0.24 pkgsrc-2020Q3-base:1.5 pkgsrc-2020Q2:1.5.0.22 pkgsrc-2020Q2-base:1.5 pkgsrc-2020Q1:1.5.0.18 pkgsrc-2020Q1-base:1.5 pkgsrc-2019Q4:1.5.0.20 pkgsrc-2019Q4-base:1.5 pkgsrc-2019Q3:1.5.0.16 pkgsrc-2019Q3-base:1.5 pkgsrc-2019Q2:1.5.0.14 pkgsrc-2019Q2-base:1.5 pkgsrc-2019Q1:1.5.0.12 pkgsrc-2019Q1-base:1.5 pkgsrc-2018Q4:1.5.0.10 pkgsrc-2018Q4-base:1.5 pkgsrc-2018Q3:1.5.0.8 pkgsrc-2018Q3-base:1.5 pkgsrc-2018Q2:1.5.0.6 pkgsrc-2018Q2-base:1.5 pkgsrc-2018Q1:1.5.0.4 pkgsrc-2018Q1-base:1.5 pkgsrc-2017Q4:1.5.0.2 pkgsrc-2017Q4-base:1.5 pkgsrc-2017Q3:1.4.0.6 pkgsrc-2017Q3-base:1.4 pkgsrc-2017Q2:1.4.0.2 pkgsrc-2017Q2-base:1.4 pkgsrc-2017Q1:1.3.0.24 pkgsrc-2017Q1-base:1.3 pkgsrc-2016Q4:1.3.0.22 pkgsrc-2016Q4-base:1.3 pkgsrc-2016Q3:1.3.0.20 pkgsrc-2016Q3-base:1.3 pkgsrc-2016Q2:1.3.0.18 pkgsrc-2016Q2-base:1.3 pkgsrc-2016Q1:1.3.0.16 pkgsrc-2016Q1-base:1.3 pkgsrc-2015Q4:1.3.0.14 pkgsrc-2015Q4-base:1.3 pkgsrc-2015Q3:1.3.0.12 pkgsrc-2015Q3-base:1.3 pkgsrc-2015Q2:1.3.0.10 pkgsrc-2015Q2-base:1.3 pkgsrc-2015Q1:1.3.0.8 pkgsrc-2015Q1-base:1.3 pkgsrc-2014Q4:1.3.0.6 pkgsrc-2014Q4-base:1.3 pkgsrc-2014Q3:1.3.0.4 pkgsrc-2014Q3-base:1.3 pkgsrc-2014Q2:1.3.0.2 pkgsrc-2014Q2-base:1.3 pkgsrc-2014Q1:1.2.0.4 pkgsrc-2014Q1-base:1.2 pkgsrc-2013Q4:1.2.0.2 pkgsrc-2013Q4-base:1.2 pkgsrc-2013Q3:1.1.0.6 pkgsrc-2013Q3-base:1.1 pkgsrc-2013Q2:1.1.0.4 pkgsrc-2013Q2-base:1.1 pkgsrc-2013Q1:1.1.0.2 pkgsrc-2013Q1-base:1.1; locks; strict; comment @# @; 1.5 date 2017.11.10.18.17.55; author khorben; state Exp; branches; next 1.4; commitid bhERiiU8vOdHcweA; 1.4 date 2017.04.11.10.31.14; author jperkin; state Exp; branches; next 1.3; commitid PG5xSm8gxVJ7t6Nz; 1.3 date 2014.04.26.13.51.40; author wiz; state Exp; branches; next 1.2; commitid jbJbcZylIAY5kcyx; 1.2 date 2013.10.05.05.13.07; author ryoon; state Exp; branches; next 1.1; commitid 9ipBrzI9OGvQY38x; 1.1 date 2013.03.16.21.32.01; author dholland; state Exp; branches; next ; desc @@ 1.5 log @Add support for LDFLAGS This notably fixes building with RELRO enabled. @ text @$NetBSD: patch-af,v 1.4 2017/04/11 10:31:14 jperkin Exp $ (From the log for revision 1.4 of print/ghostscript/patches/patch-af) date: 2008/11/13 17:36:54; author: chuck; state: Exp; lines: +22 -4 ghostscript has hand-rolled shared lib handling in src/unix-dll.mak that does not do the right thing on Darwin (where shared libs are created with different linking flags and use dylib rather than so as an extension). You need to manually reconfigure unix-dll.mak to make it work, so do it in hacks.mk. XXX: this still leaves the issue of libgs.so (et al.) being hardwired in PLIST, instead of using libgs.dylib (et al.). i'm not sure of the best way to fix that. at least it compiles now.... --- base/unix-dll.mak.orig 2012-08-08 08:01:36.000000000 +0000 +++ base/unix-dll.mak @@@@ -59,13 +59,12 @@@@ LDFLAGS_SO=-shared -Wl,$(LD_SET_DT_SONAM # MacOS X -#GS_SOEXT=dylib -#GS_SONAME=$(GS_SONAME_BASE).$(GS_SOEXT) -#GS_SONAME_MAJOR=$(GS_SONAME_BASE).$(GS_VERSION_MAJOR).$(GS_SOEXT) -#GS_SONAME_MAJOR_MINOR=$(GS_SONAME_BASE).$(GS_VERSION_MAJOR).$(GS_VERSION_MINOR).$(GS_SOEXT) +#Darwin#GS_SOEXT=dylib +#Darwin#GS_SONAME=$(GS_SONAME_BASE).$(GS_SOEXT) +#Darwin#GS_SONAME_MAJOR=$(GS_SONAME_BASE).$(GS_VERSION_MAJOR).$(GS_SOEXT) +#Darwin#GS_SONAME_MAJOR_MINOR=$(GS_SONAME_BASE).$(GS_VERSION_MAJOR).$(GS_VERSION_MINOR).$(GS_SOEXT) #LDFLAGS_SO=-dynamiclib -flat_namespace -LDFLAGS_SO_MAC=-dynamiclib -install_name $(GS_SONAME_MAJOR_MINOR) -#LDFLAGS_SO=-dynamiclib -install_name $(FRAMEWORK_NAME) +#Darwin#LDFLAGS_SO=-dynamiclib -install_name $(DESTDIR)$(libdir)/$(GS_SONAME_MAJOR) GS_SO=$(BINDIR)/$(GS_SONAME) GS_SO_MAJOR=$(BINDIR)/$(GS_SONAME_MAJOR) @@@@ -85,12 +84,12 @@@@ $(GS_SO_MAJOR): $(GS_SO_MAJOR_MINOR) # Build the small Ghostscript loaders, with Gtk+ and without $(GSSOC_XE): $(GS_SO) $(PSSRC)$(SOC_LOADER) - $(GLCC) -g -o $(GSSOC_XE) $(PSSRC)dxmainc.c \ - -L$(BINDIR) -l$(GS) + $(GLCC) -g -o $(GSSOC_XE) $(LDFLAGS) $(PSSRC)dxmainc.c \ + -L$(BINDIR) -L$(PREFIX)/lib -Wl,-R$(PREFIX)/lib -l$(GS) $(GSSOX_XE): $(GS_SO) $(PSSRC)$(SOC_LOADER) - $(GLCC) -g $(SOC_CFLAGS) -o $(GSSOX_XE) $(PSSRC)$(SOC_LOADER) \ - -L$(BINDIR) -l$(GS) $(SOC_LIBS) + $(GLCC) -g $(SOC_CFLAGS) -o $(GSSOX_XE) $(LDFLAGS) $(PSSRC)$(SOC_LOADER) \ + -L$(BINDIR) -L$(PREFIX)/lib -Wl,-R$(PREFIX)/lib -l$(GS) $(SOC_LIBS) # ------------------------- Recursive make targets ------------------------- # @ 1.4 log @Ensure pkgsrc libraries can be found. @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.3 2014/04/26 13:51:40 wiz Exp $ d38 2 a39 1 @@@@ -86,11 +85,11 @@@@ $(GS_SO_MAJOR): $(GS_SO_MAJOR_MINOR) d42 1 a42 1 $(GLCC) -g -o $(GSSOC_XE) $(PSSRC)dxmainc.c \ d44 1 d48 1 a48 1 $(GLCC) -g $(SOC_CFLAGS) -o $(GSSOX_XE) $(PSSRC)$(SOC_LOADER) \ d50 1 @ 1.3 log @Update to 9.06 from mef via pkgsrc-wip. (Upstream) Version 9.06 (2012-08-08) This is the sixth full release in the stable 9.x series. Highlights in this release include: * PDF/A-2 - pdfwrite now supports the creation of PDF/A-2 files. The 'PDFA' command line switch can now take a numeric parameter: + 0 = not PDF/A compliant + 1 = PDF/A-1b compliant + 2 = PDF/A-2b compliant Simply specifying "-dPDFA" continues to have the old behaviour of creating PDF/A-1b files. For PDF/A-2 the command line should include "-dPDFA=2". * pdfwrite "Server mode" - pdfwrite can now be run in "server mode" which allows the device to be closed without closing the interpreter. This means it is no longer necessary to terminate GS before starting a new PDF conversion. This leads on to: * pdfwrite now supports the "%d" format in the OutputFile switch. If this is set then pdfwrite will output each page of input to an individual file. * ps2write - recent exposure to a range of PostScript devices has thrown up some interesting deficiencies in those devices. ps2write now emits PostScript in slightly different ways in order to produce output on a wider variety of devices. In some cases this also results in improved print times but it is still important to set the resolution appropriately for the output device, especially if the input contains transparency. * Ghostscript can now use output intents defined in PDFs by using the "-dUsePDFX3Profile" command line option. See ICC Color Parameters for details. * tiffsep/tiffsep1: support for large numbers of separations improved. The previous implementation of those devices utilised a "compressed color encoding" to represent the tints for all the plates in one 64 bit value. As the number of plates increased, fewer bits were available for the tint for each plate, ultimately resulting in an "unencodable pixels" error. These revisions remove the reliance on the compressed color encoding, thus ensuring that we have a consistent color bit depth, regardless of the number of plates, and ensuring the "unencodable pixels" error will never occur. Also as a result of these changes, there are substantial performance improvements in jobs with separations and transparency. * tiffsep, psdcmyk and psdrgb now support the "downscaler" functionality. This brings the "tiffscaled" style functionality to the DeviceN output devices, so jobs can be rendered internally in contone and at a high resolution, and the output optionally downsampled by a level specified by "-dDownScaleFactor=n", and also optionally error diffused to 1bpp output. * Third party libraries: libtiff, libpng, libjpeg , Freetype and zlib have all be updated. * clist storage, for rendering pages in bands, is now a run-time option: -sBandListStorage={file|memory}. * Plus the usual round of bug fixes, compatibility changes, and incremental improvements. @ text @d1 1 a1 1 $NetBSD$ d17 3 a19 3 --- base/unix-dll.mak.orig 2012-08-08 17:01:36.000000000 +0900 +++ base/unix-dll.mak 2012-10-10 10:03:50.000000000 +0900 @@@@ -59,13 +59,12 @@@@ d38 1 a38 1 @@@@ -86,11 +85,11 @@@@ d43 1 a43 1 + -L$(BINDIR) -Wl,-R$(PREFIX)/lib -l$(GS) d48 1 a48 1 + -L$(BINDIR) -l$(GS) -Wl,-R$(PREFIX)/lib -l$(GS) $(SOC_LIBS) @ 1.2 log @Fix build on OpenBSD 5.3. * Pass LDFLAGS to gsx build etc. * Pass -lxcb to LDFLAGS for OpenBSD @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.1 2013/03/16 21:32:01 dholland Exp $ d17 3 a19 3 --- base/unix-dll.mak.orig 2012-02-08 08:48:48.000000000 +0000 +++ base/unix-dll.mak @@@@ -58,13 +58,12 @@@@ LDFLAGS_SO=-shared -Wl,$(LD_SET_DT_SONAM d38 1 a38 1 @@@@ -85,11 +84,11 @@@@ $(GS_SO_MAJOR): $(GS_SO_MAJOR_MINOR) d43 1 a43 1 + -L$(BINDIR) -Wl,-R$(PREFIX)/lib -l$(GS) ${LDFLAGS} d48 1 a48 1 + -L$(BINDIR) -l$(GS) -Wl,-R$(PREFIX)/lib -l$(GS) $(SOC_LIBS) ${LDFLAGS} @ 1.1 log @Copy the pre-update ghostscript 9.05 package as ghostscript-gpl. @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.8 2012/10/10 02:18:25 mef Exp $ d17 3 a19 3 --- base/unix-dll.mak.orig 2012-08-08 17:01:36.000000000 +0900 +++ base/unix-dll.mak 2012-10-10 10:03:50.000000000 +0900 @@@@ -59,13 +59,12 @@@@ d38 1 a38 1 @@@@ -86,11 +85,11 @@@@ d43 1 a43 1 + -L$(BINDIR) -Wl,-R$(PREFIX)/lib -l$(GS) d48 1 a48 1 + -L$(BINDIR) -l$(GS) -Wl,-R$(PREFIX)/lib -l$(GS) $(SOC_LIBS) @