head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.2 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.2.0.2 pkgsrc-2012Q4-base:1.2; locks; strict; comment @# @; 1.4 date 2013.03.16.23.04.09; author dholland; state dead; branches; next 1.3; 1.3 date 2013.03.08.20.45.25; author adam; state Exp; branches; next 1.2; 1.2 date 2012.12.12.16.37.09; author bsiegert; state Exp; branches; next 1.1; 1.1 date 2012.10.07.14.19.19; author mef; state Exp; branches; next ; desc @@ 1.4 log @Removed print/ghostscript; moved to print/ghostscript-agpl. @ text @$NetBSD: patch-openjpeg_libopenjpeg_opj_malloc_h,v 1.3 2013/03/08 20:45:25 adam Exp $ To avoid following problem: | gcc .. (omitted).. g -o ./sobin/gsc ./psi/dxmainc.c \ | -L./sobin -Wl,-R/usr/pkg/lib -lgs | ./sobin/libgs.so: undefined reference to `memalign' | gmake[2]: *** [sobin/gsc] Error 1 --- openjpeg/libopenjpeg/opj_malloc.h.orig 2013-02-14 07:58:13.000000000 +0000 +++ openjpeg/libopenjpeg/opj_malloc.h @@@@ -84,7 +84,7 @@@@ Allocate memory aligned to a 16 byte bou #if defined(__sun) #define HAVE_MEMALIGN /* Linux x86_64 and OSX always align allocations to 16 bytes */ - #elif !defined(__amd64__) && !defined(__APPLE__) && !defined(_AIX) && !defined(__FreeBSD__) + #elif !defined(__amd64__) && !defined(__APPLE__) && !defined(_AIX) && !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__DragonFly__) && !defined(__OpenBSD__) #define HAVE_MEMALIGN #include #endif @ 1.3 log @Changes 9.07: As of this release (9.07), Ghostscript and GhostPDL are distributed under the GNU Affero General Public License (AGPL). Ghostscript now has the option to be built as thread safe. Note that not all devices are thread safe. See the GS_THREADSAFE option in: GS_THREADSAFE The pdfwrite devices now supports linearized (or optimized for fast web view) output directly ("-dFastWebView") The Font API (FAPI) has been moved from the Postscript interpreter (psi) into the graphics library (base), and extended to support the other languages (PCL/PXL/XPS). All interpreters now use Freetype by default to render all viable font types. Ghostscript has been extended to support Postscript string and array objects with >64k entries. Ghostscript has been extended to support file sizes >4Gb - in particular reading and writing PDF files. As a side effect of this, Ghostscript also now supports 64 bit Postscript integer objects. All CMYK devices can now support simulated overprint of spot colors using the "-dSimulateOverprint" command line option. Support for use of DeviceN ICC color profiles as the output profile with the tiffsep and psdcmyk devices. Support for customized named color handling with DeviceN colors Support for black point compensation Support for K preservation in CMYK to CMYK conversions Support for DeviceLink profiles for graphic, image and text objects Support for custom color replacement Increased control in specifying color conversions as a function of object type Full details of the color management features can be found in: GS9_Color_Management.pdf Provide BigTIFF output option: the tiff devices can write BigTIFF files using the "-dUseBigTIFF" option. This requires libtiff version >=4.0.0 (the option is ignored for versions <4.0.0) LittleCMS updated to 2.4 Plus the usual round of bug fixes, compatibility changes, and incremental improvements. @ text @d1 1 a1 1 $NetBSD: patch-openjpeg_libopenjpeg_opj_malloc_h,v 1.2 2012/12/12 16:37:09 bsiegert Exp $ @ 1.2 log @Unbreak on {Mir,Openâ‰}BSD by excluding the use of memalign. The patch is a horrible way to fix this. The real fix should be a check for the existence of memalign in the configure script. @ text @d1 1 a1 1 $NetBSD: patch-openjpeg_libopenjpeg_opj_malloc_h,v 1.1 2012/10/07 14:19:19 mef Exp $ d9 3 a11 3 --- openjpeg/libopenjpeg/opj_malloc.h.orig 2012-04-18 22:36:57.000000000 +0900 +++ openjpeg/libopenjpeg/opj_malloc.h 2012-04-18 22:54:13.000000000 +0900 @@@@ -84,7 +84,7 @@@@ d15 2 a16 2 - #elif !defined(__amd64__) && !defined(__APPLE__) + #elif !defined(__amd64__) && !defined(__APPLE__) && !defined(__NetBSD__) && !defined(__DragonFly__) && !defined(__OpenBSD__) @ 1.1 log @(1) Bump version 8.71 to 9.05 (importing from wip/ghostscript). For the Changes: See share/ghostscript/9.05/doc/History9.htm Or work/ghostscript-9.05/doc/History9.htm Upstream releases and their date are: Version 9.05 (2012-02-08) Version 9.04 (2011-08-05) Version 9.02 (2011-03-30) Version 9.01 (2011-02-07) Version 9.00 (2010-09-14) (2) Resolve pkg PR/44400. options.mk: - Have new option disable-compile-inits Makefile - rename cidfmap to cidfmap-dist (post-extract:) (3) Have new file Makefile.common to share with fonts/ghostscript-cidfonts fonts/ghostscript-cidfonts-ryumin to set ${GS_VERSION}, and then ${GS_RESOURCEDIR}. (4) options.mk - Add new options, disable-compile-inits - Add following line for non X11 installation CONFIGURE_ARGS+= --disable-freetype - Name change pstorater.convs -> gstoraster.convs (5) PLIST So many changes, but just a note: -share/ghostscript/${PKGVERSION}/doc/README share/ghostscript/${PKGVERSION}/doc/Readme.htm (6) patches directory: Removed, for upstream included. ------ patch-aa 9.00 base/gsnogc.c patch-ab 9.05 base/unixinst.mak patch-ac 9.00 ase/gdevpx.c patch-ad 9.04 lib/pv.sh patch-ae 9.00 psi/zfile.c patch-ag 9.00 cups/cups.mak patch-ak 9.04 -> a part left in patch-base_gdevpng.c patch-am 9.00 lib/pdf2dsc.ps patch-ba 9.00 psi/idosave.h patch-bb 9.00 psi/isave.c (CVS-2010-1628) patch-bc 9.00 psi/ialloc.c (CVS-2010-1628) patch-bd 9.00 (1) bug #691029 and #691108 9.00 (2) arrayoption() macro 9.00 (3) silence compiler warning Modified, or unchanged ------ patch-af (Add comments from former commit log, and adjust) patch-ah (Add comments from former commit log, and adjust) patch-ai (Add comments from former commit log, and adjust) patch-aj (unchanged) patch-al (unchanged) patch-an (Add comments from former commit log, and adjust) Added -------- patch-base_gdevpng.c (a part of previous patch-ak) patch-base_gserrors_h (silence compile warning) patch-configure.ac (For just a record, see patch-ah (configure)) patch-freetype_include_freetype_internal_t1types_h (To avoid redifintion of T1_EncodingType_ ) patch-openjpeg_libopenjpeg_opj_malloc_h (To avoid undefined ref. to memalign) OK'ed by wiz@@, thanks a lot. @ text @d1 1 a1 1 $NetBSD$ d16 1 a16 1 + #elif !defined(__amd64__) && !defined(__APPLE__) && !defined(__NetBSD__) && !defined(__DragonFly__) @