diff options
author | Tijl Coosemans <tijl@FreeBSD.org> | 2018-06-12 09:45:14 +0000 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2018-06-12 09:45:14 +0000 |
commit | 9a60a2e4c546c63e50ed3d5597c5533b138946f4 (patch) | |
tree | a2effec62daa5e6f6d778b9d83d9c09299678f15 /print/ghostscript9-agpl-base/files/patch-Makefile.in | |
parent | - Update WWW (diff) |
Clean up print/ghostscript9-agpl-base and print/ghostscript9-agpl-x11 and
update them to version 9.23. Share CMap data with graphics/poppler-data
and update that to 0.4.9.
Details for print/ghostscript9-agpl-base:
- Update to 9.23.
- Drop external epag device.
- Always use fontconfig to find fonts.
- Use ports openjpeg instead of bundled.
- Use bundled lcms2, because upstream forked it.
- Drop dependency on gsfonts. Newer versions of the fonts are already
included.
- Depend on poppler-data for CMap files. It has the same maps except
Identity-H, Identity-UTF16-H, and Identity-V.
- Resolve conflict with gambc by moving bin/gsc to bin/gs instead of
symlinking.
- Configure with --with-libiconv=maybe instead of --with-libiconv=native to
prevent detecting libiconv from converters/libiconv if it happens to be
installed. Also remove the ICONV option because it's part of the base
system in all supported versions of FreeBSD.
- Enable thread safety.
- Remove all driver options and simply build with --with-drivers=ALL. They
don't take up much space and don't require additional dependencies so
options don't provide much value. This makes the port a lot easier to
maintain.
- Set the internal font path to ${LOCALBASE}/share/fonts because the
upstream default doesn't make much sense on FreeBSD.
- Make dependency on libijs optional because it only seems to be used by
print/hpijs which is deprecated.
- Extract all directories and remove unwanted directories in post-patch so
contents can be examined after 'make extract'.
- Strip gs and libgs.so. Reported by stage-qa.
- Install color profiles in share/color/icc, where other programs can find
them.
- Remove old patches.
Details for print/ghostscript9-agpl-x11:
- Keep the Makefile similar to ghostscript9-agpl-base Makefile.
- Set PATCHDIR to ghostscript9-agpl-base/files so patches are shared.
Details for graphics/poppler-data:
- Update to 0.4.9.
- Replace post-patch with MAKE_ARGS.
- Add post-install to make all CMap files available in share/cmap so
Ghostscript can use them too. Unfortunately, Poppler requires these files
organised in subdirectories and Ghostscript wants them all in one
directory, hence the hardlinks.
PR: 228546
Approved by: maintainer timeout (15 days)
Notes
Notes:
svn path=/head/; revision=472239
Diffstat (limited to 'print/ghostscript9-agpl-base/files/patch-Makefile.in')
-rw-r--r-- | print/ghostscript9-agpl-base/files/patch-Makefile.in | 144 |
1 files changed, 0 insertions, 144 deletions
diff --git a/print/ghostscript9-agpl-base/files/patch-Makefile.in b/print/ghostscript9-agpl-base/files/patch-Makefile.in deleted file mode 100644 index 383975f6f4fa..000000000000 --- a/print/ghostscript9-agpl-base/files/patch-Makefile.in +++ /dev/null @@ -1,144 +0,0 @@ ---- Makefile.in.orig 2015-03-30 08:21:24 UTC -+++ Makefile.in -@@ -52,9 +52,9 @@ PSD=$(PSGENDIR)/ - # the directories also define the default search path for the - # initialization files (gs_*.ps) and the fonts. - --INSTALL = $(GLSRCDIR)/instcopy -c --INSTALL_PROGRAM = $(INSTALL) -m 755 --INSTALL_DATA = $(INSTALL) -m 644 -+INSTALL_PROGRAM = ${BSD_INSTALL_PROGRAM} -+INSTALL_SCRIPT = ${BSD_INSTALL_SCRIPT} -+INSTALL_DATA = ${BSD_INSTALL_DATA} - INSTALL_SHARED = @INSTALL_SHARED@ - - prefix = @prefix@ -@@ -199,7 +199,7 @@ JSRCDIR=@LIBJPEGDIR@ - # some older JPEG streams that violate the standard. If the JPEG - # library built from local sources, the patch will be applied. - --SHARE_JPEG=@SHARE_LIBJPEG@ -+SHARE_JPEG=1 - JPEG_NAME=jpeg - - # Define the directory where the PNG library sources are stored, -@@ -207,12 +207,12 @@ JPEG_NAME=jpeg - # You may need to change this if the libpng version changes. - # See png.mak for more information. - --SHARE_LIBPNG=@SHARE_LIBPNG@ -+SHARE_LIBPNG=1 - PNGSRCDIR=@LIBPNGDIR@ - LIBPNG_NAME=png - - # libtiff --SHARE_LIBTIFF=@SHARE_LIBTIFF@ -+SHARE_LIBTIFF=1 - TIFFSRCDIR=@LIBTIFFDIR@ - TIFFCONFDIR=@LIBTIFFCONFDIR@ - TIFFPLATFORM=unix -@@ -222,7 +222,7 @@ LIBTIFF_NAME=tiff - # Define the directory where the zlib sources are stored. - # See zlib.mak for more information. - --SHARE_ZLIB=@SHARE_ZLIB@ -+SHARE_ZLIB=1 - ZSRCDIR=@ZLIBDIR@ - #ZLIB_NAME=gz - ZLIB_NAME=z -@@ -249,7 +249,7 @@ JBIG2_CFLAGS=@JBIG2_AUTOCONF_CFLAGS@ - JPX_LIB=@JPX_DECODER@ - SHARE_JPX=@SHARE_JPX@ - JPXSRCDIR=@JPXDIR@ --JPX_CFLAGS=@JPX_AUTOCONF_CFLAGS@ -+JPX_CFLAGS=@JPX_AUTOCONF_CFLAGS@ -ffast-math -DOPJ_STATIC -std=c99 - - # uncomment the following three lines and one of the last two to - # compile in the Luratech lwf_jp2 codec -@@ -335,7 +335,7 @@ GCFLAGS=@CPPFLAGS@ @GCFLAGS@ @CFLAGS@ - # Define the added flags for standard, debugging, profiling - # and shared object builds. - --CFLAGS_STANDARD=@OPT_CFLAGS@ -+CFLAGS_STANDARD?=@OPT_CFLAGS@ - CFLAGS_DEBUG=@DBG_CFLAGS@ - CFLAGS_PROFILE=-pg @OPT_CFLAGS@ - CFLAGS_SO=@DYNAMIC_CFLAGS@ -@@ -388,8 +388,8 @@ LDFLAGS_SO=@DYNAMIC_LDFLAGS@ - # Solaris may need -lnsl -lsocket -lposix4. - # (Libraries required by individual drivers are handled automatically.) - --EXTRALIBS=$(XTRALIBS) @LIBS@ @DYNAMIC_LIBS@ @FONTCONFIG_LIBS@ @FT_LIBS@ --AUXEXTRALIBS=$(XTRALIBS) @LIBS@ @DYNAMIC_LIBS@ @FONTCONFIG_LIBS@ @FT_LIBS@ @AUX_SHARED_ZLIB@ -+EXTRALIBS=$(XTRALIBS) @LIBS@ @DYNAMIC_LIBS@ @FONTCONFIG_LIBS@ @FT_LIBS@ -Wl,-export-dynamic -+AUXEXTRALIBS=$(XTRALIBS) @LIBS@ @DYNAMIC_LIBS@ @FONTCONFIG_LIBS@ @FT_LIBS@ @AUX_SHARED_ZLIB@ -Wl,-export-dynamic - - # Define the standard libraries to search at the end of linking. - # Most platforms require -lpthread for the POSIX threads library; -@@ -433,7 +433,7 @@ XLIBS=@X_LIBS@ - # the pthread library. Otherwise use SYNC=nosync - #SYNC=posync - #SYNC=nosync --SYNC=@SYNC@ -+SYNC=nosync - - # programs we use - RM=rm -f -@@ -527,28 +527,27 @@ DISPLAY_DEV=$(DD)bbox.dev - #DEVICE_DEVS20=$(DD)cljet5.dev $(DD)cljet5c.dev - #DEVICE_DEVS21=$(DD)spotcmyk.dev $(DD)devicen.dev $(DD)xcf.dev $(DD)psdcmyk.dev $(DD)psdrgb.dev $(DD)psdcmykog.dev $(DD)fpng.dev - DEVICE_DEVS=$(DISPLAY_DEV) @X11_DEVS@ --DEVICE_DEVS1=@F_DEVS@ --DEVICE_DEVS2=@P_DEVS@ --DEVICE_DEVS3=@CUPS_DEVS@ --DEVICE_DEVS4=@IJS_DEVS@ --DEVICE_DEVS5=@OMNIDEVS@ --DEVICE_DEVS6=@PNG_DEVS@ --DEVICE_DEVS7=@JBIG2_DEVS@ --DEVICE_DEVS8= --DEVICE_DEVS9=@XPS_DEVS@ --DEVICE_DEVS10= --DEVICE_DEVS11= --DEVICE_DEVS12= --DEVICE_DEVS13= --DEVICE_DEVS14= --DEVICE_DEVS15= --DEVICE_DEVS16= --DEVICE_DEVS17= --DEVICE_DEVS18= --DEVICE_DEVS19= --DEVICE_DEVS20= --DEVICE_DEVS21= -- -+#DEVICE_DEVS1=@F_DEVS@ -+#DEVICE_DEVS2=@P_DEVS@ -+#DEVICE_DEVS3=@CUPS_DEVS@ -+#DEVICE_DEVS4=@IJS_DEVS@ -+#DEVICE_DEVS5=@OMNIDEVS@ -+#DEVICE_DEVS6=@PNG_DEVS@ -+#DEVICE_DEVS7=@JBIG2_DEVS@ -+#DEVICE_DEVS8= -+#DEVICE_DEVS9=@XPS_DEVS@ -+#DEVICE_DEVS10= -+#DEVICE_DEVS11= -+#DEVICE_DEVS12= -+#DEVICE_DEVS13= -+#DEVICE_DEVS14= -+#DEVICE_DEVS15= -+#DEVICE_DEVS16= -+#DEVICE_DEVS17= -+#DEVICE_DEVS18= -+#DEVICE_DEVS19= -+#DEVICE_DEVS20= -+#DEVICE_DEVS21= - - # Shared library target to build. - GS_SHARED_OBJS=@DYNAMIC_DEVS@ -@@ -591,6 +590,7 @@ MAKEDIRSTOP= - # ---------------- End of platform-specific section ---------------- # - - INSTALL_CONTRIB=@INSTALL_CONTRIB@ -+include $(GLSRCDIR)/drivers.mak - include $(GLSRCDIR)/unixhead.mak - include $(GLSRCDIR)/gs.mak - include $(GLSRCDIR)/trio.mak |