summaryrefslogtreecommitdiff
path: root/print/ghostscript9-agpl-base/files/patch-Resource_Init_cidfmap
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2018-06-12 09:45:14 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2018-06-12 09:45:14 +0000
commit9a60a2e4c546c63e50ed3d5597c5533b138946f4 (patch)
treea2effec62daa5e6f6d778b9d83d9c09299678f15 /print/ghostscript9-agpl-base/files/patch-Resource_Init_cidfmap
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-Resource_Init_cidfmap')
-rw-r--r--print/ghostscript9-agpl-base/files/patch-Resource_Init_cidfmap70
1 files changed, 0 insertions, 70 deletions
diff --git a/print/ghostscript9-agpl-base/files/patch-Resource_Init_cidfmap b/print/ghostscript9-agpl-base/files/patch-Resource_Init_cidfmap
deleted file mode 100644
index 8745e073270b..000000000000
--- a/print/ghostscript9-agpl-base/files/patch-Resource_Init_cidfmap
+++ /dev/null
@@ -1,70 +0,0 @@
---- Resource/Init/cidfmap.orig 2015-03-30 08:21:24 UTC
-+++ Resource/Init/cidfmap
-@@ -29,6 +29,67 @@
- % /ShinGo-Bold /HeiseiKakuGo-W5 ;
- % /Ryumin-Medium << /FileType /TrueType /Path (H:/AuxFiles/Fonts/BATANG.TTC) /SubfontID 3 /CSI [(Japan1) 2] >> ;
- % /Ryumin-Medium << /FileType /TrueType /Path (windir) getenv not {(c:/windows)}if (/Fonts/BATANG.TTC)concatstrings /SubfontID 3 /CSI [(Japan1) 2] >> ;
-+/Ryumin-Light << /FileType /TrueType /Path (Ryumin-Light) /SubfontID 0 /CSI [(Japan1) 6] >> ;
-+/GothicBBB-Medium << /FileType /TrueType /Path (GothicBBB-Medium) /SubfontID 0 /CSI [(Japan1) 6] >> ;
-+
-+/Ryumin-Medium /Ryumin-Light ;
-+/Ryumin-Regular /Ryumin-Light ;
-+/RyuminPro-Light /Ryumin-Light ;
-+
-+/GothicBBBPro-Medium /GothicBBB-Medium ;
-+
-+/KozGoPro-Bold /GothicBBB-Medium ;
-+/KozGoPro-Heavy /GothicBBB-Medium ;
-+/KozGoPro-Medium /GothicBBB-Medium ;
-+/KozGoPro-Regular /GothicBBB-Medium ;
-+
-+/KozMinPro-Bold /Ryumin-Light ;
-+/KozMinPro-Light /Ryumin-Light ;
-+/KozMinPro-Medium /Ryumin-Light ;
-+/KozMinPro-Regular /Ryumin-Light ;
-+
-+/HiraKakuPro-W3 /GothicBBB-Medium ;
-+/HiraKakuPro-W6 /GothicBBB-Medium ;
-+/HiraKakuStd-W8 /GothicBBB-Medium ;
-+
-+/HiraMaruPro-W4 /GothicBBB-Medium ;
-+
-+/HiraMinPro-W3 /Ryumin-Light ;
-+
-+/HeiseiMin-W3 /Ryumin-Light ;
-+/HeiseiKakuGo-W5 /GothicBBB-Medium ;
-+
-+/FutoMinA101-Bold /Ryumin-Light ;
-+/FutoMinA101Pro-Bold /Ryumin-Light ;
-+/FutoGoB101-Bold /GothicBBB-Medium ;
-+/FutoGoB101Pro-Bold /GothicBBB-Medium ;
-+
-+/Jun101-Light /Ryumin-Light ;
-+/Jun101Pro-Light /Ryumin-Light ;
-+
-+/MidashiGo-MB31 /GothicBBB-Medium ;
-+/MidashiGoPro-MB31 /GothicBBB-Medium ;
-+
-+/MidashiMinPro-MA31 /Ryumin-Light ;
-+
-+/MS-Mincho /Ryumin-Light ;
-+/MS-PMincho /Ryumin-Light ;
-+/MS-Gothic /GothicBBB-Medium ;
-+/MS-PGothic /GothicBBB-Medium ;
-+
-+%/Munhwa-Regular /Munhwa-Regular ;
-+%/MunhwaGothic-Regular /MunhwaGothic-Regular ;
-+%/Munhwa-Bold /Munhwa-Bold ;
-+%/MunhwaGothic-Bold /MunhwaGothic-Bold ;
-+
-+/HYGoThic-Medium /MunhwaGothic-Regular ;
-+/HYSMyeongJo-Medium /Munhwa-Regular ;
-+/HYRGoThic-Medium /MunhwaGothic-Bold ;
-+
-+/STHeiti-Regular << /FileType /TrueType /Path (STHeiti-Regular) /SubfontID 0 /CSI [(CNS1) 5] >> ;
-+/STSong-Light << /FileType /TrueType /Path (STSong-Light) /SubfontID 0 /CSI [(GB1) 5] >> ;
-+/MSung-Light << /FileType /TrueType /Path (MSung-Light) /SubfontID 0 /CSI [(CNS1) 5] >> ;
-+/MHei-Medium << /FileType /TrueType /Path (MHei-Medium) /SubfontID 0 /CSI [(GB1) 5] >> ;
- %
- % NOTE: getenv returns a boolean to indicate success of or failure, as well as the value on success. In the example, it uses this
- % to include a default value should getenv fail.