diff options
author | tijl <tijl@FreeBSD.org> | 2018-06-12 17:45:14 +0800 |
---|---|---|
committer | tijl <tijl@FreeBSD.org> | 2018-06-12 17:45:14 +0800 |
commit | d813adea777f534af71f99bb7a17feb4f010fd1c (patch) | |
tree | a2effec62daa5e6f6d778b9d83d9c09299678f15 /graphics | |
parent | 13e5c3a8bfd9b9f8e067029a437598a85d64a405 (diff) | |
download | freebsd-ports-gnome-d813adea777f534af71f99bb7a17feb4f010fd1c.tar.gz freebsd-ports-gnome-d813adea777f534af71f99bb7a17feb4f010fd1c.tar.zst freebsd-ports-gnome-d813adea777f534af71f99bb7a17feb4f010fd1c.zip |
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)
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/poppler-data/Makefile | 10 | ||||
-rw-r--r-- | graphics/poppler-data/distinfo | 6 | ||||
-rw-r--r-- | graphics/poppler-data/pkg-plist | 224 |
3 files changed, 234 insertions, 6 deletions
diff --git a/graphics/poppler-data/Makefile b/graphics/poppler-data/Makefile index 246afce261f6..93ec14a88982 100644 --- a/graphics/poppler-data/Makefile +++ b/graphics/poppler-data/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= poppler-data -PORTVERSION= 0.4.8 +PORTVERSION= 0.4.9 CATEGORIES= graphics MASTER_SITES= http://poppler.freedesktop.org/ @@ -10,8 +10,12 @@ COMMENT= Poppler encoding data USES= pathfix PATHFIX_MAKEFILEIN=Makefile +MAKE_ARGS= prefix=${PREFIX} -post-patch: - @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' ${WRKSRC}/Makefile +post-install: +# Share CMap files with Ghostscript. + ${MKDIR} ${STAGEDIR}${PREFIX}/share/cmap + ${LN} ${STAGEDIR}${PREFIX}/share/poppler/cMap/*/* \ + ${STAGEDIR}${PREFIX}/share/cmap .include <bsd.port.mk> diff --git a/graphics/poppler-data/distinfo b/graphics/poppler-data/distinfo index 5c048a0f7c7f..3dfdaed58552 100644 --- a/graphics/poppler-data/distinfo +++ b/graphics/poppler-data/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1507026292 -SHA256 (poppler-data-0.4.8.tar.gz) = 1096a18161f263cccdc6d8a2eb5548c41ff8fcf9a3609243f1b6296abdf72872 -SIZE (poppler-data-0.4.8.tar.gz) = 4209901 +TIMESTAMP = 1525105925 +SHA256 (poppler-data-0.4.9.tar.gz) = 1f9c7e7de9ecd0db6ab287349e31bf815ca108a5a175cf906a90163bdbe32012 +SIZE (poppler-data-0.4.9.tar.gz) = 4196919 diff --git a/graphics/poppler-data/pkg-plist b/graphics/poppler-data/pkg-plist index 35d69da8328a..45b67f2a5556 100644 --- a/graphics/poppler-data/pkg-plist +++ b/graphics/poppler-data/pkg-plist @@ -1,4 +1,228 @@ libdata/pkgconfig/poppler-data.pc +share/cmap/78-EUC-H +share/cmap/78-EUC-V +share/cmap/78-H +share/cmap/78-RKSJ-H +share/cmap/78-RKSJ-V +share/cmap/78-V +share/cmap/78ms-RKSJ-H +share/cmap/78ms-RKSJ-V +share/cmap/83pv-RKSJ-H +share/cmap/90ms-RKSJ-H +share/cmap/90ms-RKSJ-UCS2 +share/cmap/90ms-RKSJ-V +share/cmap/90msp-RKSJ-H +share/cmap/90msp-RKSJ-V +share/cmap/90pv-RKSJ-H +share/cmap/90pv-RKSJ-UCS2 +share/cmap/90pv-RKSJ-UCS2C +share/cmap/90pv-RKSJ-V +share/cmap/Add-H +share/cmap/Add-RKSJ-H +share/cmap/Add-RKSJ-V +share/cmap/Add-V +share/cmap/Adobe-CNS1-0 +share/cmap/Adobe-CNS1-1 +share/cmap/Adobe-CNS1-2 +share/cmap/Adobe-CNS1-3 +share/cmap/Adobe-CNS1-4 +share/cmap/Adobe-CNS1-5 +share/cmap/Adobe-CNS1-6 +share/cmap/Adobe-CNS1-7 +share/cmap/Adobe-CNS1-B5pc +share/cmap/Adobe-CNS1-ETen-B5 +share/cmap/Adobe-CNS1-H-CID +share/cmap/Adobe-CNS1-H-Host +share/cmap/Adobe-CNS1-H-Mac +share/cmap/Adobe-CNS1-UCS2 +share/cmap/Adobe-GB1-0 +share/cmap/Adobe-GB1-1 +share/cmap/Adobe-GB1-2 +share/cmap/Adobe-GB1-3 +share/cmap/Adobe-GB1-4 +share/cmap/Adobe-GB1-5 +share/cmap/Adobe-GB1-GBK-EUC +share/cmap/Adobe-GB1-GBpc-EUC +share/cmap/Adobe-GB1-H-CID +share/cmap/Adobe-GB1-H-Host +share/cmap/Adobe-GB1-H-Mac +share/cmap/Adobe-GB1-UCS2 +share/cmap/Adobe-Japan1-0 +share/cmap/Adobe-Japan1-1 +share/cmap/Adobe-Japan1-2 +share/cmap/Adobe-Japan1-3 +share/cmap/Adobe-Japan1-4 +share/cmap/Adobe-Japan1-5 +share/cmap/Adobe-Japan1-6 +share/cmap/Adobe-Japan1-90ms-RKSJ +share/cmap/Adobe-Japan1-90pv-RKSJ +share/cmap/Adobe-Japan1-H-CID +share/cmap/Adobe-Japan1-H-Host +share/cmap/Adobe-Japan1-H-Mac +share/cmap/Adobe-Japan1-PS-H +share/cmap/Adobe-Japan1-PS-V +share/cmap/Adobe-Japan1-UCS2 +share/cmap/Adobe-Japan2-0 +share/cmap/Adobe-Korea1-0 +share/cmap/Adobe-Korea1-1 +share/cmap/Adobe-Korea1-2 +share/cmap/Adobe-Korea1-H-CID +share/cmap/Adobe-Korea1-H-Host +share/cmap/Adobe-Korea1-H-Mac +share/cmap/Adobe-Korea1-KSCms-UHC +share/cmap/Adobe-Korea1-KSCpc-EUC +share/cmap/Adobe-Korea1-UCS2 +share/cmap/B5-H +share/cmap/B5-V +share/cmap/B5pc-H +share/cmap/B5pc-UCS2 +share/cmap/B5pc-UCS2C +share/cmap/B5pc-V +share/cmap/CNS-EUC-H +share/cmap/CNS-EUC-V +share/cmap/CNS1-H +share/cmap/CNS1-V +share/cmap/CNS2-H +share/cmap/CNS2-V +share/cmap/ETHK-B5-H +share/cmap/ETHK-B5-V +share/cmap/ETen-B5-H +share/cmap/ETen-B5-UCS2 +share/cmap/ETen-B5-V +share/cmap/ETenms-B5-H +share/cmap/ETenms-B5-V +share/cmap/EUC-H +share/cmap/EUC-V +share/cmap/Ext-H +share/cmap/Ext-RKSJ-H +share/cmap/Ext-RKSJ-V +share/cmap/Ext-V +share/cmap/GB-EUC-H +share/cmap/GB-EUC-V +share/cmap/GB-H +share/cmap/GB-V +share/cmap/GBK-EUC-H +share/cmap/GBK-EUC-UCS2 +share/cmap/GBK-EUC-V +share/cmap/GBK2K-H +share/cmap/GBK2K-V +share/cmap/GBKp-EUC-H +share/cmap/GBKp-EUC-V +share/cmap/GBT-EUC-H +share/cmap/GBT-EUC-V +share/cmap/GBT-H +share/cmap/GBT-V +share/cmap/GBTpc-EUC-H +share/cmap/GBTpc-EUC-V +share/cmap/GBpc-EUC-H +share/cmap/GBpc-EUC-UCS2 +share/cmap/GBpc-EUC-UCS2C +share/cmap/GBpc-EUC-V +share/cmap/H +share/cmap/HKdla-B5-H +share/cmap/HKdla-B5-V +share/cmap/HKdlb-B5-H +share/cmap/HKdlb-B5-V +share/cmap/HKgccs-B5-H +share/cmap/HKgccs-B5-V +share/cmap/HKm314-B5-H +share/cmap/HKm314-B5-V +share/cmap/HKm471-B5-H +share/cmap/HKm471-B5-V +share/cmap/HKscs-B5-H +share/cmap/HKscs-B5-V +share/cmap/Hankaku +share/cmap/Hiragana +share/cmap/Hojo-EUC-H +share/cmap/Hojo-EUC-V +share/cmap/Hojo-H +share/cmap/Hojo-V +share/cmap/KSC-EUC-H +share/cmap/KSC-EUC-V +share/cmap/KSC-H +share/cmap/KSC-Johab-H +share/cmap/KSC-Johab-V +share/cmap/KSC-V +share/cmap/KSCms-UHC-H +share/cmap/KSCms-UHC-HW-H +share/cmap/KSCms-UHC-HW-V +share/cmap/KSCms-UHC-UCS2 +share/cmap/KSCms-UHC-V +share/cmap/KSCpc-EUC-H +share/cmap/KSCpc-EUC-UCS2 +share/cmap/KSCpc-EUC-UCS2C +share/cmap/KSCpc-EUC-V +share/cmap/Katakana +share/cmap/NWP-H +share/cmap/NWP-V +share/cmap/RKSJ-H +share/cmap/RKSJ-V +share/cmap/Roman +share/cmap/UCS2-90ms-RKSJ +share/cmap/UCS2-90pv-RKSJ +share/cmap/UCS2-B5pc +share/cmap/UCS2-ETen-B5 +share/cmap/UCS2-GBK-EUC +share/cmap/UCS2-GBpc-EUC +share/cmap/UCS2-KSCms-UHC +share/cmap/UCS2-KSCpc-EUC +share/cmap/UniCNS-UCS2-H +share/cmap/UniCNS-UCS2-V +share/cmap/UniCNS-UTF16-H +share/cmap/UniCNS-UTF16-V +share/cmap/UniCNS-UTF32-H +share/cmap/UniCNS-UTF32-V +share/cmap/UniCNS-UTF8-H +share/cmap/UniCNS-UTF8-V +share/cmap/UniGB-UCS2-H +share/cmap/UniGB-UCS2-V +share/cmap/UniGB-UTF16-H +share/cmap/UniGB-UTF16-V +share/cmap/UniGB-UTF32-H +share/cmap/UniGB-UTF32-V +share/cmap/UniGB-UTF8-H +share/cmap/UniGB-UTF8-V +share/cmap/UniHojo-UCS2-H +share/cmap/UniHojo-UCS2-V +share/cmap/UniHojo-UTF16-H +share/cmap/UniHojo-UTF16-V +share/cmap/UniHojo-UTF32-H +share/cmap/UniHojo-UTF32-V +share/cmap/UniHojo-UTF8-H +share/cmap/UniHojo-UTF8-V +share/cmap/UniJIS-UCS2-H +share/cmap/UniJIS-UCS2-HW-H +share/cmap/UniJIS-UCS2-HW-V +share/cmap/UniJIS-UCS2-V +share/cmap/UniJIS-UTF16-H +share/cmap/UniJIS-UTF16-V +share/cmap/UniJIS-UTF32-H +share/cmap/UniJIS-UTF32-V +share/cmap/UniJIS-UTF8-H +share/cmap/UniJIS-UTF8-V +share/cmap/UniJIS2004-UTF16-H +share/cmap/UniJIS2004-UTF16-V +share/cmap/UniJIS2004-UTF32-H +share/cmap/UniJIS2004-UTF32-V +share/cmap/UniJIS2004-UTF8-H +share/cmap/UniJIS2004-UTF8-V +share/cmap/UniJISPro-UCS2-HW-V +share/cmap/UniJISPro-UCS2-V +share/cmap/UniJISPro-UTF8-V +share/cmap/UniJISX0213-UTF32-H +share/cmap/UniJISX0213-UTF32-V +share/cmap/UniJISX02132004-UTF32-H +share/cmap/UniJISX02132004-UTF32-V +share/cmap/UniKS-UCS2-H +share/cmap/UniKS-UCS2-V +share/cmap/UniKS-UTF16-H +share/cmap/UniKS-UTF16-V +share/cmap/UniKS-UTF32-H +share/cmap/UniKS-UTF32-V +share/cmap/UniKS-UTF8-H +share/cmap/UniKS-UTF8-V +share/cmap/V +share/cmap/WP-Symbol share/poppler/cMap/Adobe-CNS1/Adobe-CNS1-0 share/poppler/cMap/Adobe-CNS1/Adobe-CNS1-1 share/poppler/cMap/Adobe-CNS1/Adobe-CNS1-2 |