head 1.7; access; symbols pkgsrc-2026Q1:1.7.0.68 pkgsrc-2026Q1-base:1.7 pkgsrc-2025Q4:1.7.0.66 pkgsrc-2025Q4-base:1.7 pkgsrc-2025Q3:1.7.0.64 pkgsrc-2025Q3-base:1.7 pkgsrc-2025Q2:1.7.0.62 pkgsrc-2025Q2-base:1.7 pkgsrc-2025Q1:1.7.0.60 pkgsrc-2025Q1-base:1.7 pkgsrc-2024Q4:1.7.0.58 pkgsrc-2024Q4-base:1.7 pkgsrc-2024Q3:1.7.0.56 pkgsrc-2024Q3-base:1.7 pkgsrc-2024Q2:1.7.0.54 pkgsrc-2024Q2-base:1.7 pkgsrc-2024Q1:1.7.0.52 pkgsrc-2024Q1-base:1.7 pkgsrc-2023Q4:1.7.0.50 pkgsrc-2023Q4-base:1.7 pkgsrc-2023Q3:1.7.0.48 pkgsrc-2023Q3-base:1.7 pkgsrc-2023Q2:1.7.0.46 pkgsrc-2023Q2-base:1.7 pkgsrc-2023Q1:1.7.0.44 pkgsrc-2023Q1-base:1.7 pkgsrc-2022Q4:1.7.0.42 pkgsrc-2022Q4-base:1.7 pkgsrc-2022Q3:1.7.0.40 pkgsrc-2022Q3-base:1.7 pkgsrc-2022Q2:1.7.0.38 pkgsrc-2022Q2-base:1.7 pkgsrc-2022Q1:1.7.0.36 pkgsrc-2022Q1-base:1.7 pkgsrc-2021Q4:1.7.0.34 pkgsrc-2021Q4-base:1.7 pkgsrc-2021Q3:1.7.0.32 pkgsrc-2021Q3-base:1.7 pkgsrc-2021Q2:1.7.0.30 pkgsrc-2021Q2-base:1.7 pkgsrc-2021Q1:1.7.0.28 pkgsrc-2021Q1-base:1.7 pkgsrc-2020Q4:1.7.0.26 pkgsrc-2020Q4-base:1.7 pkgsrc-2020Q3:1.7.0.24 pkgsrc-2020Q3-base:1.7 pkgsrc-2020Q2:1.7.0.22 pkgsrc-2020Q2-base:1.7 pkgsrc-2020Q1:1.7.0.18 pkgsrc-2020Q1-base:1.7 pkgsrc-2019Q4:1.7.0.20 pkgsrc-2019Q4-base:1.7 pkgsrc-2019Q3:1.7.0.16 pkgsrc-2019Q3-base:1.7 pkgsrc-2019Q2:1.7.0.14 pkgsrc-2019Q2-base:1.7 pkgsrc-2019Q1:1.7.0.12 pkgsrc-2019Q1-base:1.7 pkgsrc-2018Q4:1.7.0.10 pkgsrc-2018Q4-base:1.7 pkgsrc-2018Q3:1.7.0.8 pkgsrc-2018Q3-base:1.7 pkgsrc-2018Q2:1.7.0.6 pkgsrc-2018Q2-base:1.7 pkgsrc-2018Q1:1.7.0.4 pkgsrc-2018Q1-base:1.7 pkgsrc-2017Q4:1.7.0.2 pkgsrc-2017Q4-base:1.7 pkgsrc-2017Q3:1.6.0.24 pkgsrc-2017Q3-base:1.6 pkgsrc-2017Q2:1.6.0.20 pkgsrc-2017Q2-base:1.6 pkgsrc-2017Q1:1.6.0.18 pkgsrc-2017Q1-base:1.6 pkgsrc-2016Q4:1.6.0.16 pkgsrc-2016Q4-base:1.6 pkgsrc-2016Q3:1.6.0.14 pkgsrc-2016Q3-base:1.6 pkgsrc-2016Q2:1.6.0.12 pkgsrc-2016Q2-base:1.6 pkgsrc-2016Q1:1.6.0.10 pkgsrc-2016Q1-base:1.6 pkgsrc-2015Q4:1.6.0.8 pkgsrc-2015Q4-base:1.6 pkgsrc-2015Q3:1.6.0.6 pkgsrc-2015Q3-base:1.6 pkgsrc-2015Q2:1.6.0.4 pkgsrc-2015Q2-base:1.6 pkgsrc-2015Q1:1.6.0.2 pkgsrc-2015Q1-base:1.6 pkgsrc-2014Q4:1.5.0.4 pkgsrc-2014Q4-base:1.5 pkgsrc-2014Q3:1.5.0.2 pkgsrc-2014Q3-base:1.5 pkgsrc-2014Q2:1.4.0.2 pkgsrc-2014Q2-base:1.4 pkgsrc-2014Q1:1.1.0.10 pkgsrc-2014Q1-base:1.1 pkgsrc-2013Q4:1.1.0.8 pkgsrc-2013Q4-base:1.1 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.7 date 2017.10.27.16.17.49; author jperkin; state Exp; branches; next 1.6; commitid 6MRqInEQMVKpZHcA; 1.6 date 2015.02.24.08.21.07; author markd; state Exp; branches; next 1.5; commitid cneW8QBAzkbSIeby; 1.5 date 2014.07.18.08.56.37; author ryoon; state Exp; branches; next 1.4; commitid gK2DN7i0NbLu1QIx; 1.4 date 2014.05.01.04.11.01; author richard; state Exp; branches; next 1.3; commitid eSiHs7sxJG0RWMyx; 1.3 date 2014.04.26.13.51.40; author wiz; state Exp; branches; next 1.2; commitid jbJbcZylIAY5kcyx; 1.2 date 2014.04.07.07.36.20; author richard; state Exp; branches; next 1.1; commitid 9HGK8j8OQrxyPIvx; 1.1 date 2013.03.16.21.32.01; author dholland; state Exp; branches; next ; desc @@ 1.7 log @ghostscript-gpl: Fix zlib change fallout. @ text @$NetBSD: patch-ah,v 1.6 2015/02/24 08:21:07 markd Exp $ (1) First chunk to fix the X11_TYPE=native problem, which freetype2 in /usr/X11R7/ is way old, and work around to use ghostscript-provided freetype2. This part is not necessary for NetBSD 6.0, 6.1. (2) Second chunk for X11_TYPE=native, will have following problem without this patch: | Shared object "libpaper.so.1" not found (3) SCO_SV chunk for SCO OpenServer 5.0.7/3.2's linker. --- configure.orig 2012-08-08 08:04:57.000000000 +0000 +++ configure @@@@ -3756,7 +3756,7 @@@@ $as_echo "$as_me: WARNING: disabling con ;; *) # This is just an arbitrary file in contrib to check - if !(test -f contrib/gdevbjc_.c); then + if ! (test -f contrib/gdevbjc_.c); then enable_contrib=no fi ;; @@@@ -3786,13 +3786,13 @@@@ case `uname` in ;; *BSD) if test $ac_cv_c_compiler_gnu = yes; then - CC_OPT_FLAGS_TO_TRY="-O2" + CC_OPT_FLAGS_TO_TRY="-O2 -I./freetype/include" CC_DBG_FLAGS_TO_TRY="-g -O0" fi ;; Darwin*) if test $ac_cv_c_compiler_gnu = yes; then - CC_OPT_FLAGS_TO_TRY="-O2" + CC_OPT_FLAGS_TO_TRY="-O2 -I./freetype/include" CC_DBG_FLAGS_TO_TRY="-g -O0" fi SET_DT_SONAME="" @@@@ -3806,6 +3806,9 @@@@ case `uname` in fi CC_DBG_FLAGS_TO_TRY="-g -O0" ;; + SCO_SV) + SET_DT_SONAME="-h," + ;; esac @@@@ -5331,7 +5334,7 @@@@ fi fi if test x$with_libpaper != xno; then - LIBS="$LIBS -lpaper" + LIBS="$LIBS -L${LPLIBDIR} -Wl,-R${LPLIBDIR} -lpaper" $as_echo "#define USE_LIBPAPER 1" >>confdefs.h @@@@ -5832,7 +5835,7 @@@@ if ${ac_cv_lib_z_deflate+:} false; then $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-lz $LIBS" +LIBS="-L${ZLIB_DIR} -Wl,-R${ZLIB_DIR} -lz $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@@@ -5871,7 +5874,7 @@@@ if test "x$ac_cv_header_zlib_h" = xyes; cat >>confdefs.h <<_ACEOF #define HAVE_ZLIB_H 1 _ACEOF - SHARE_ZLIB=1; AUX_SHARED_ZLIB="-l\$(ZLIB_NAME)" + SHARE_ZLIB=1; AUX_SHARED_ZLIB="-L${ZLIB_DIR} -Wl,-R${ZLIB_DIR} -l\$(ZLIB_NAME)" fi done @@@@ -6474,7 +6477,9 @@@@ done LCUPSINCLUDE="include \$(GLSRCDIR)/lcups.mak" LCUPSIINCLUDE="include \$(GLSRCDIR)/lcupsi.mak" if ( test x$with_pdftoraster != xno ); then - if test "$CUPSVERSION" ">" "1.2"; then + if echo "$CUPSVERSION" | grep -q '^1\.[2-9]'; then + CUPSPDFTORASTER="1" + elif echo "$CUPSVERSION" | grep -q '^[2-9]\.[0-9]'; then CUPSPDFTORASTER="1" fi fi @ 1.6 log @Allow cups>=2.0 @ text @d1 1 a1 1 $NetBSD: patch-ah,v 1.5 2014/07/18 08:56:37 ryoon Exp $ d60 18 @ 1.5 log @Fix SCO OpenServer 5.0.7/3.2 build. @ text @d1 1 a1 1 $NetBSD: patch-ah,v 1.1 2013/03/16 21:32:01 dholland Exp $ d60 1 a60 1 @@@@ -6474,7 +6477,7 @@@@ done d66 2 @ 1.4 log @reapply lost patch: 'cups' option needs to ensure BUILD_TARGET 'cups' is added. configure adjusted to correctly accept CUPSVERSION and, while we're at it, add missing space between '!' and parens in test for contrib directory. @ text @d1 1 a1 1 $NetBSD: patch-ah,v 1.3 2014/04/26 13:51:40 wiz Exp $ d8 1 a8 1 (2) Second chunk for X11_TYPE=native, will have following problem without d12 2 d41 11 a51 1 @@@@ -5331,7 +5331,7 @@@@ fi d60 1 a60 1 @@@@ -6474,7 +6474,7 @@@@ done @ 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: patch-ah,v 1.1 2013/03/16 21:32:01 dholland Exp $ d12 1 a12 1 --- configure.orig 2012-08-08 17:04:57.000000000 +0900 d14 10 a23 1 @@@@ -3786,13 +3786,13 @@@@ d39 1 a39 1 @@@@ -5331,7 +5331,7 @@@@ d48 9 @ 1.2 log @'cups' option needs to ensure BUILD_TARGET 'cups' is added. configure adjusted to correctly accept CUPSVERSION and, while we're at it, add missing space between '!' and parens in test for contrib directory. @ text @d6 1 d8 3 a10 1 (2) Second chunk existed from old days, and no idea, sorry (mef@@). d12 1 a12 1 --- configure.orig 2012-02-08 08:50:31.000000000 +0000 d14 1 a14 10 @@@@ -3747,7 +3747,7 @@@@ CONTRIBINCLUDE="include contrib/contrib. INSTALL_CONTRIB="install-contrib-extras" # This is just an arbitrary file in contrib to check -if !(test -f contrib/gdevbjc_.c); then +if ! (test -f contrib/gdevbjc_.c); then enable_contrib=no fi @@@@ -3775,13 +3775,13 @@@@ case `uname` in d30 1 a30 1 @@@@ -5290,7 +5290,7 @@@@ fi a38 9 @@@@ -6426,7 +6426,7 @@@@ done LCUPSINCLUDE="include \$(GLSRCDIR)/lcups.mak" LCUPSIINCLUDE="include \$(GLSRCDIR)/lcupsi.mak" if ( test x$with_pdftoraster != xno ); then - if test "$CUPSVERSION" ">" "1.2"; then + if echo "$CUPSVERSION" | grep -q '^1\.[2-9]'; then CUPSPDFTORASTER="1" fi fi @ 1.1 log @Copy the pre-update ghostscript 9.05 package as ghostscript-gpl. @ text @d1 1 a1 1 $NetBSD: patch-ah,v 1.7 2012/10/10 02:18:25 mef Exp $ d9 1 a9 1 --- configure.orig 2012-08-08 17:04:57.000000000 +0900 d11 10 a20 1 @@@@ -3786,13 +3786,13 @@@@ d36 1 a36 1 @@@@ -5331,7 +5331,7 @@@@ d45 9 @