View | Details | Raw Unified | Return to bug 272131 | Differences between
and this patch

Collapse All | Expand All

(-)b/MOVED (+2 lines)
Lines 7854-7856 net-p2p/transmission-utils|net-p2p/transmission|2023-09-10|Moved to a flavored v Link Here
7854
www/transmission-web|net-p2p/transmission|2023-09-10|Moved to the daemon flavor
7854
www/transmission-web|net-p2p/transmission|2023-09-10|Moved to the daemon flavor
7855
devel/rubygem-cucumber-tag-expressions4|devel/rubygem-cucumber-tag-expressions|2023-09-11|Remove obsoleted port. Use devel/rubygem-cucumber-tag-expressions instead
7855
devel/rubygem-cucumber-tag-expressions4|devel/rubygem-cucumber-tag-expressions|2023-09-11|Remove obsoleted port. Use devel/rubygem-cucumber-tag-expressions instead
7856
security/rosenpass|net/rosenpass|2023-09-12|Remove duplicate port
7856
security/rosenpass|net/rosenpass|2023-09-12|Remove duplicate port
7857
print/ghostscript9-agpl-base||2023-12-31|Has expired: Obsolete and unsupported upstream, consider using print/ghostscipt10
7858
print/ghostscript9-agpl-x11||2023-12-31|Has expired: Obsolete and unsupported upstream, consider using print/ghostscipt10
(-)b/Mk/Uses/ghostscript.mk (-33 / +10 lines)
Lines 4-15 Link Here
4
# Usage:	USES=ghostscript or USES=ghostscript:args
4
# Usage:	USES=ghostscript or USES=ghostscript:args
5
# Valid ARGS:	<version>, build, lib, run, test, x11
5
# Valid ARGS:	<version>, build, lib, run, test, x11
6
#
6
#
7
# version 	The chooseable versions are 9, agpl and 10. If no version is
7
# version 	The chooseable versions are 10 only. If no version is specified
8
#		specified version 10 is selected. 9 and agpl are synonymous.
8
#           version 10 is selected.
9
#
9
#
10
#		USES=ghostscript:10	    # Use Ghostscript 10
10
#		USES=ghostscript:10	    # Use Ghostscript 10
11
#		USES=ghostscript:run	# Use to set default Ghostscript as a run dependency
11
#		USES=ghostscript:run	# Use to set default Ghostscript as a run dependency
12
#		USES=ghostscript:9,build # Use Ghostscript 9 as a build dependency.
12
#		USES=ghostscript:10,build # Use Ghostscript 10 as a build dependency.
13
#
13
#
14
# build		Ghostscript is used as BUILD_DEPENDS
14
# build		Ghostscript is used as BUILD_DEPENDS
15
# lib		Ghostscript is used as LIB_DEPENDS
15
# lib		Ghostscript is used as LIB_DEPENDS
Lines 29-35 _INCLUDE_USES_GHOSTSCRIPT_MK= yes Link Here
29
# allowed versions
29
# allowed versions
30
# When adding a version, please keep the comment in
30
# When adding a version, please keep the comment in
31
# Mk/bsd.default-versions.mk in sync.
31
# Mk/bsd.default-versions.mk in sync.
32
_GS_VERSION=	9 agpl 10
32
_GS_VERSION=	10
33
33
34
_GS_ARGS=	${ghostscript_ARGS}
34
_GS_ARGS=	${ghostscript_ARGS}
35
35
Lines 72-118 _GS_RUN_DEP= yes Link Here
72
_V=${V}
72
_V=${V}
73
.    if ${_V:M10}
73
.    if ${_V:M10}
74
_GS_SELECTED?=		10
74
_GS_SELECTED?=		10
75
.    elif ${_V:M9}
76
_GS_SELECTED?=		9-agpl
77
.    elif ${_V:Magpl}
78
_GS_SELECTED?=		9-agpl
79
.    endif
75
.    endif
80
.  endfor
76
.  endfor
81
77
82
.  undef _GS_STATIC
83
.  if empty(_GS_SELECTED:M9-agpl)
84
_GS_STATIC=	yes
85
.  endif
86
87
# Resolve minor version number for X11.so library.
88
.  if !empty(_GS_SELECTED:M10)
78
.  if !empty(_GS_SELECTED:M10)
89
_GS_VERSION_MINOR=	10.02.0
79
_GS_FULL_VERSION=	10.02.0
90
.  elif !empty(_GS_SELECTED:M9-agpl)
91
_GS_VERSION_MINOR=	9.56.1
92
.  endif
80
.  endif
93
81
94
# dependencies
82
# dependencies
95
_GS_LIB=	libgs.so
83
_GS_LIB=	libgs.so
96
_GS_PKGNAME=	ghostscript${_GS_SELECTED}${_GS_STATIC:?:-base}
84
_GS_PKGNAME=	ghostscript${_GS_SELECTED}
97
_GS_X11_PKGNAME=ghostscript${_GS_SELECTED}${_GS_STATIC:?:-x11}
85
_GS_PORT=	print/ghostscript${_GS_SELECTED}
98
_GS_PORT=	print/ghostscript${_GS_SELECTED}${_GS_STATIC:?:-base}
99
_GS_X11_PORT=	print/ghostscript${_GS_SELECTED}${_GS_STATIC:?:-x11}
100
86
101
.  for type in BUILD LIB RUN TEST
87
.  for type in BUILD LIB RUN TEST
102
.    if defined(_GS_${type}_DEP)
88
.    if defined(_GS_${type}_DEP)
103
.      if !defined(_GS_STATIC) || !${_GS_ARGS:Mx11}
89
.      if ${type:MLIB}
104
.        if ${type:MLIB}
105
${type}_DEPENDS+=	${_GS_LIB}:${_GS_PORT}
90
${type}_DEPENDS+=	${_GS_LIB}:${_GS_PORT}
106
.        else
91
.      else
107
${type}_DEPENDS+=	${_GS_PKGNAME}>=${_GS_VERSION_MINOR}:${_GS_PORT}
92
${type}_DEPENDS+=	${_GS_PKGNAME}>=${_GS_FULL_VERSION}:${_GS_PORT}
108
.        endif
109
.      endif
110
.      if ${_GS_ARGS:Mx11}
111
.        if ${type:MLIB}
112
${type}_DEPENDS+=	${_GS_LIB}:${_GS_X11_PORT}
113
.        else
114
${type}_DEPENDS+=	${_GS_X11_PKGNAME}>=${_GS_VERSION_MINOR}:${_GS_X11_PORT}
115
.        endif
116
.      endif
93
.      endif
117
.    endif
94
.    endif
118
.  endfor
95
.  endfor
(-)b/print/Makefile (-2 lines)
Lines 57-64 Link Here
57
    SUBDIR += freetype2
57
    SUBDIR += freetype2
58
    SUBDIR += ft2demos
58
    SUBDIR += ft2demos
59
    SUBDIR += ghostscript10
59
    SUBDIR += ghostscript10
60
    SUBDIR += ghostscript9-agpl-base
61
    SUBDIR += ghostscript9-agpl-x11
62
    SUBDIR += gimp-gutenprint
60
    SUBDIR += gimp-gutenprint
63
    SUBDIR += gl2ps
61
    SUBDIR += gl2ps
64
    SUBDIR += gsfonts
62
    SUBDIR += gsfonts
(-)a/print/ghostscript9-agpl-base/Makefile (-100 lines)
Removed Link Here
1
PORTNAME=	ghostscript
2
PORTVERSION=	9.56.1
3
PORTREVISION=	12
4
CATEGORIES=	print
5
MASTER_SITES=	https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${PORTVERSION:S/.//g}/
6
PKGNAMESUFFIX=	9-agpl-base
7
8
MAINTAINER=	hrs@FreeBSD.org
9
COMMENT=	PostScript and PDF interpreter
10
WWW=		https://ghostscript.com/
11
12
LICENSE=	AGPLv3
13
LICENSE_FILE=	${WRKSRC}/LICENSE
14
15
DEPRECATED=	Obsolete and unsupported upstream, consider using print/ghostscipt10
16
EXPIRATION_DATE=	2023-12-31
17
18
BUILD_DEPENDS=	jbig2dec>=0.17:graphics/jbig2dec
19
LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
20
		libfreetype.so:print/freetype2 \
21
		libidn.so:dns/libidn \
22
		libjbig2dec.so:graphics/jbig2dec \
23
		libopenjp2.so:graphics/openjpeg \
24
		libpaper.so:print/libpaper \
25
		libpng.so:graphics/png \
26
		libtiff.so:graphics/tiff
27
RUN_DEPENDS=	poppler-data>=0.4.9:graphics/poppler-data
28
29
USES=		cpe gmake iconv jpeg localbase pkgconfig tar:xz
30
USE_LDCONFIG=	yes
31
32
CONFLICTS_INSTALL= \
33
		ghostscript[789] \
34
		ghostscript[789]-nox11 \
35
		ghostscript9-agpl \
36
		ghostscript9-agpl-nox11
37
CPE_VENDOR=	artifex
38
DATADIR=	${PREFIX}/share/${PORTNAME}/${PORTVERSION}
39
DOCSDIR=	${PREFIX}/share/doc/${PORTNAME}/${PORTVERSION}
40
EXTRACT_AFTER_ARGS= \
41
	--exclude cups/libs \
42
	--exclude freetype \
43
	--exclude ijs \
44
	--exclude jbig2dec \
45
	--exclude jpeg \
46
	--exclude libpng \
47
	--exclude openjpeg \
48
	--exclude zlib
49
GNU_CONFIGURE=	yes
50
CONFIGURE_ARGS=	--disable-compile-inits \
51
		--disable-dbus \
52
		--disable-gtk \
53
		--enable-contrib \
54
		--enable-dynamic \
55
		--enable-fontconfig \
56
		--enable-freetype \
57
		--enable-openjpeg \
58
		--with-drivers=ALL \
59
		--with-fontpath=${LOCALBASE}/share/fonts \
60
		--with-jbig2dec \
61
		--with-libiconv=maybe \
62
		--with-libidn \
63
		--with-libpaper \
64
		--with-system-libtiff \
65
		--without-x
66
ALL_TARGET=	so
67
INSTALL_TARGET=	soinstall
68
PLIST_SUB=	GS_VERSION="${PORTVERSION:C/.[0-9]$//}" \
69
		PORTVERSION="${PORTVERSION}"
70
71
OPTIONS_DEFINE=	DOCS CUPS IJS
72
OPTIONS_DEFAULT=DOCS CUPS
73
OPTIONS_SUB=	yes
74
75
CUPS_CONFIGURE_ENABLE=	cups
76
CUPS_LIB_DEPENDS=	libcupsimage.so:print/cups
77
78
IJS_CONFIGURE_WITH=	ijs
79
IJS_DESC=		Support libijs based Ghostscript devices
80
IJS_LIB_DEPENDS=	libijs.so:print/libijs
81
82
post-install:
83
	${MV} ${STAGEDIR}${PREFIX}/bin/gsc ${STAGEDIR}${PREFIX}/bin/gs
84
	${RM} ${STAGEDIR}${PREFIX}/bin/gsx
85
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/gs
86
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgs.so
87
	${MKDIR} ${STAGEDIR}${PREFIX}/share/color/icc
88
	${MV} ${STAGEDIR}${DATADIR}/iccprofiles \
89
	    ${STAGEDIR}${PREFIX}/share/color/icc/ghostscript
90
	${RLN} ${STAGEDIR}${PREFIX}/share/color/icc/ghostscript \
91
	    ${STAGEDIR}${DATADIR}/iccprofiles
92
	${RLN} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${DATADIR}/doc
93
	${MKDIR} ${STAGEDIR}${PREFIX}/share/cmap
94
	${MV} ${STAGEDIR}${DATADIR}/Resource/CMap/Identity* \
95
	    ${STAGEDIR}${PREFIX}/share/cmap
96
	${RM} -r ${STAGEDIR}${DATADIR}/Resource/CMap
97
	${RLN} ${STAGEDIR}${PREFIX}/share/cmap \
98
	    ${STAGEDIR}${DATADIR}/Resource/CMap
99
100
.include <bsd.port.mk>
(-)a/print/ghostscript9-agpl-base/distinfo (-3 lines)
Removed Link Here
1
TIMESTAMP = 1651717085
2
SHA256 (ghostscript-9.56.1.tar.xz) = d43406805650009b42c3d5f6dc535233454533c1e27c13a77dd1d462a056b8e4
3
SIZE (ghostscript-9.56.1.tar.xz) = 62589232
(-)a/print/ghostscript9-agpl-base/files/patch-Resource-Init-gs_statd.ps (-15 lines)
Removed Link Here
1
--- Resource/Init/gs_statd.ps.orig	2020-03-12 12:26:37 UTC
2
+++ Resource/Init/gs_statd.ps
3
@@ -125,6 +125,12 @@ statusdict begin
4
         % Japanese postcard size, 100mm x 148mm
5
  /hagaki {283 420 //.setpagesize stopped { pop pop /hagaki $error /errorname get signalerror } if } bind def
6
         % U.S. ANSI/ASME Y14.1 paper sizes
7
+ /postcard {284 419 //.setpagesize exec} bind def
8
+ /dbl_postcard {419 568 //.setpagesize exec} bind def
9
+ /Executive {522 756 //.setpagesize exec} bind def
10
+ /jenv_you4 {298 666 //.setpagesize exec} bind def
11
+ /jenv_you2 {324 460 //.setpagesize exec} bind def
12
+ /jenv_kaku2 {682 942 //.setpagesize exec} bind def
13
  /ANSI_A  //letter def
14
  /ANSI_B  //11x17  def
15
  /tabloid //11x17  def
(-)a/print/ghostscript9-agpl-base/files/patch-Resource-Init-gs_ttf.ps (-24 lines)
Removed Link Here
1
--- Resource/Init/gs_ttf.ps.orig	2022-04-04 13:48:49 UTC
2
+++ Resource/Init/gs_ttf.ps
3
@@ -1116,10 +1116,17 @@ mark
4
   } ifelse
5
                 % Stack: ... /FontInfo mark key1 value1 ...
6
   post //null ne {
7
-    /ItalicAngle first_post_string 4 gets32 65536.0 div
8
-    /isFixedPitch first_post_string 12 getu32 0 ne
9
-    /UnderlinePosition first_post_string 8 gets16 upem div
10
-    /UnderlineThickness first_post_string 10 gets16 upem div
11
+    post type /arraytype eq {
12
+      % this post table is a big table. /post should be [(...) ...]
13
+      % data we actually need here should be first one in array.
14
+      /posttable post 1 get def
15
+    } {
16
+      /posttable post def
17
+    } ifelse
18
+    /ItalicAngle posttable 4 gets32 65536.0 div
19
+    /isFixedPitch posttable 12 getu32 0 ne
20
+    /UnderlinePosition posttable 8 gets16 upem div
21
+    /UnderlineThickness posttable 10 gets16 upem div
22
   } if
23
   counttomark 0 ne { .dicttomark } { pop pop } ifelse
24
   /XUID [orgXUID 42 curxuid]
(-)a/print/ghostscript9-agpl-base/files/patch-Resource-Init-pdf_font.ps (-15 lines)
Removed Link Here
1
--- Resource/Init/pdf_font.ps.orig	2022-04-04 13:48:49 UTC
2
+++ Resource/Init/pdf_font.ps
3
@@ -2231,10 +2231,12 @@ currentdict /CMap_read_dict undef
4
 
5
 /buildCIDType0 {	% <CIDFontType0-font-resource> buildCIDType0 <font>
6
   dup /BaseFont get findCIDFont exch pop
7
+  addCIDmetrics /CIDFont defineresource
8
 } bind executeonly def
9
 
10
 /buildCIDType2 {	% <CIDFontType2-font-resource> buildCIDType2 <font>
11
   dup /BaseFont get findCIDFont exch pop
12
+  addCIDmetrics /CIDFont defineresource
13
 } bind executeonly def
14
 
15
 /processCIDToGIDMap { % <fontres> <cidfont> processCIDToGIDMap <fontres> <cidfont>
(-)a/print/ghostscript9-agpl-base/files/patch-Resource_Init_FAPIcidfmap (-62 lines)
Removed Link Here
1
--- Resource/Init/FAPIcidfmap.orig	2020-03-19 08:21:42 UTC
2
+++ Resource/Init/FAPIcidfmap
3
@@ -29,4 +29,59 @@
4
 %
5
 %  /Ryumin-Medium     << /Path (msgothic.ttc) /CIDFontType 0 /FAPI /UFST /CSI [(Japan1) 2] >> ;
6
 %  /HeiseiKakuGo-W5   << /Path (F:/WIN2000/Fonts/BATANG.TTC) /CIDFontType 0 /FAPI /UFST /CSI [(Japan1) 2] >> ;
7
+%/Ryumin-Light		<< /Path (Ryumin-Light) /CIDFontType 0 /FAPI /UFST /CSI [(Japan1) 2] >> ;
8
+%/GothicBBB-Medium	<< /Path (GothicBBB-Medium) /CIDFontType 0 /FAPI /UFST /CSI [(Japan1) 2] >> ;
9
 
10
+/Ryumin-Medium		/Ryumin-Light ;
11
+/Ryumin-Regular		/Ryumin-Light ;
12
+/RyuminPro-Light	/Ryumin-Light ;
13
+
14
+/GothicBBBPro-Medium	/GothicBBB-Medium ;
15
+
16
+/KozGoPro-Bold		/GothicBBB-Medium ;
17
+/KozGoPro-Heavy		/GothicBBB-Medium ;
18
+/KozGoPro-Medium	/GothicBBB-Medium ;
19
+/KozGoPro-Regular	/GothicBBB-Medium ;
20
+
21
+/KozMinPro-Bold		/Ryumin-Light ;
22
+/KozMinPro-Light	/Ryumin-Light ;
23
+/KozMinPro-Medium	/Ryumin-Light ;
24
+/KozMinPro-Regular	/Ryumin-Light ;
25
+
26
+/HiraKakuPro-W3		/GothicBBB-Medium ;
27
+/HiraKakuPro-W6		/GothicBBB-Medium ;
28
+/HiraKakuStd-W8		/GothicBBB-Medium ;
29
+
30
+/HiraMaruPro-W4		/GothicBBB-Medium ;
31
+
32
+/HiraMinPro-W3		/Ryumin-Light ;
33
+
34
+/HeiseiMin-W3		/Ryumin-Light ;
35
+/HeiseiKakuGo-W5	/GothicBBB-Medium ;
36
+
37
+/FutoMinA101-Bold	/Ryumin-Light ;
38
+/FutoMinA101Pro-Bold	/Ryumin-Light ;
39
+/FutoGoB101-Bold	/GothicBBB-Medium ;
40
+/FutoGoB101Pro-Bold	/GothicBBB-Medium ;
41
+
42
+/Jun101-Light		/Ryumin-Light ;
43
+/Jun101Pro-Light	/Ryumin-Light ;
44
+
45
+/MidashiGo-MB31		/GothicBBB-Medium ;
46
+/MidashiGoPro-MB31	/GothicBBB-Medium ;
47
+
48
+/MidashiMinPro-MA31	/Ryumin-Light ;
49
+
50
+%/Munhwa-Regular	/Munhwa-Regular ;
51
+%/MunhwaGothic-Regular	/MunhwaGothic-Regular ;
52
+%/Munhwa-Bold		/Munhwa-Bold ;
53
+%/MunhwaGothic-Bold	/MunhwaGothic-Bold ;
54
+
55
+/HYGoThic-Medium	/MunhwaGothic-Regular ;
56
+/HYSMyeongJo-Medium	/Munhwa-Regular ;
57
+/HYRGoThic-Medium	/MunhwaGothic-Bold ;
58
+
59
+%/STHeiti-Regular << /Path (STHeiti-Regular) /CIDFontType 0 /FAPI /UFST /CSI [(CNS1) 5] >> ;
60
+%/STSong-Light << /Path (STSong-Light) /CIDFontType 0 /FAPI /UFST /CSI [(GB1) 5] >> ;
61
+%/MSung-Light << /Path (MSung-Light) /CIDFontType 0 /FAPI /UFST /CSI [(CNS1) 5] >> ;
62
+%/MHei-Medium << /Path (MHei-Medium) /CIDFontType 0 /FAPI /UFST /CSI [(GB1) 5] >> ;
(-)a/print/ghostscript9-agpl-base/files/patch-Resource_Init_FAPIconfig (-10 lines)
Removed Link Here
1
--- Resource/Init/FAPIconfig.orig	2012-08-08 08:01:36 UTC
2
+++ Resource/Init/FAPIconfig
3
@@ -12,3 +12,7 @@
4
 % and CID font resource files.
5
 % "Embedded fonts" are fonts and CID fonts being embedded into a document.
6
 
7
+/FontPath	()	% A default directory for FAPI-handled font files path in FAPIfontmap.
8
+/CIDFontPath	()	% A default directory for FAPI-handled CID font files path in FAPIcidfmap.
9
+/HookDiskFonts	[]	% FontType values for disk PS fonts to be redirected to FAPI.
10
+/HookEmbeddedFonts	[]	% FontType values for embedded PS fonts to be redirected to FAPI.
(-)a/print/ghostscript9-agpl-base/files/patch-Resource_Init_cidfmap (-67 lines)
Removed Link Here
1
--- Resource/Init/cidfmap.orig	2022-04-04 13:48:49 UTC
2
+++ Resource/Init/cidfmap
3
@@ -46,3 +46,64 @@
4
 %
5
 %  Note the use of a string to cope with the name containing a space.
6
 %
7
+/Ryumin-Light << /FileType /TrueType /Path (std.ja_JP/Ryumin-Light) /SubfontID 0 /CSI [(Japan1) 6] >> ;
8
+/GothicBBB-Medium << /FileType /TrueType /Path (std.ja_JP/GothicBBB-Medium) /SubfontID 0 /CSI [(Japan1) 6] >> ;
9
+
10
+/Ryumin-Medium		/Ryumin-Light ;
11
+/Ryumin-Regular		/Ryumin-Light ;
12
+/RyuminPro-Light	/Ryumin-Light ;
13
+
14
+/GothicBBBPro-Medium	/GothicBBB-Medium ;
15
+
16
+/KozGoPro-Bold		/GothicBBB-Medium ;
17
+/KozGoPro-Heavy		/GothicBBB-Medium ;
18
+/KozGoPro-Medium	/GothicBBB-Medium ;
19
+/KozGoPro-Regular	/GothicBBB-Medium ;
20
+
21
+/KozMinPro-Bold		/Ryumin-Light ;
22
+/KozMinPro-Light	/Ryumin-Light ;
23
+/KozMinPro-Medium	/Ryumin-Light ;
24
+/KozMinPro-Regular	/Ryumin-Light ;
25
+
26
+/HiraKakuPro-W3		/GothicBBB-Medium ;
27
+/HiraKakuPro-W6		/GothicBBB-Medium ;
28
+/HiraKakuStd-W8		/GothicBBB-Medium ;
29
+
30
+/HiraMaruPro-W4		/GothicBBB-Medium ;
31
+
32
+/HiraMinPro-W3		/Ryumin-Light ;
33
+
34
+/HeiseiMin-W3		/Ryumin-Light ;
35
+/HeiseiKakuGo-W5	/GothicBBB-Medium ;
36
+
37
+/FutoMinA101-Bold	/Ryumin-Light ;
38
+/FutoMinA101Pro-Bold	/Ryumin-Light ;
39
+/FutoGoB101-Bold	/GothicBBB-Medium ;
40
+/FutoGoB101Pro-Bold	/GothicBBB-Medium ;
41
+
42
+/Jun101-Light		/Ryumin-Light ;
43
+/Jun101Pro-Light	/Ryumin-Light ;
44
+
45
+/MidashiGo-MB31		/GothicBBB-Medium ;
46
+/MidashiGoPro-MB31	/GothicBBB-Medium ;
47
+
48
+/MidashiMinPro-MA31	/Ryumin-Light ;
49
+
50
+/MS-Mincho		/Ryumin-Light ;
51
+/MS-PMincho		/Ryumin-Light ;
52
+/MS-Gothic		/GothicBBB-Medium ;
53
+/MS-PGothic		/GothicBBB-Medium ;
54
+
55
+%/Munhwa-Regular	/Munhwa-Regular ;
56
+%/MunhwaGothic-Regular	/MunhwaGothic-Regular ;
57
+%/Munhwa-Bold		/Munhwa-Bold ;
58
+%/MunhwaGothic-Bold	/MunhwaGothic-Bold ;
59
+
60
+/HYGoThic-Medium	/MunhwaGothic-Regular ;
61
+/HYSMyeongJo-Medium	/Munhwa-Regular ;
62
+/HYRGoThic-Medium	/MunhwaGothic-Bold ;
63
+
64
+/STHeiti-Regular << /FileType /TrueType /Path (std.zh_CN/STHeiti-Regular) /SubfontID 0 /CSI [(CNS1) 5] >> ;
65
+/STSong-Light << /FileType /TrueType /Path (std.zh_CN/STSong-Light) /SubfontID 0 /CSI [(GB1) 5] >> ;
66
+/MSung-Light << /FileType /TrueType /Path (std.zh_CN/MSung-Light) /SubfontID 0 /CSI [(CNS1) 5] >> ;
67
+/MHei-Medium << /FileType /TrueType /Path (std.zh_CN/MHei-Medium) /SubfontID 0 /CSI [(GB1) 5] >> ;
(-)a/print/ghostscript9-agpl-base/files/patch-base_cbcp.c (-23 lines)
Removed Link Here
1
--- base/sbcp.c
2
+++ base/sbcp.c
3
@@ -1,4 +1,4 @@
4
-/* Copyright (C) 2001-2021 Artifex Software, Inc.
5
+/* Copyright (C) 2001-2023 Artifex Software, Inc.
6
    All Rights Reserved.
7
 
8
    This software is provided AS-IS with no warranty, either express or
9
@@ -50,6 +50,14 @@ s_xBCPE_process(stream_state * st, stream_cursor_read * pr,
10
         byte ch = *++p;
11
 
12
         if (ch <= 31 && escaped[ch]) {
13
+            /* Make sure we have space to store two characters in the write buffer,
14
+             * if we don't then exit without consuming the input character, we'll process
15
+             * that on the next time round.
16
+             */
17
+            if (pw->limit - q < 2) {
18
+                p--;
19
+                break;
20
+            }
21
             if (p == rlimit) {
22
                 p--;
23
                 break;
(-)a/print/ghostscript9-agpl-base/files/patch-configure (-16 lines)
Removed Link Here
1
--- configure.orig	2022-04-04 13:48:49 UTC
2
+++ configure
3
@@ -11629,7 +11629,12 @@ if test "${enable_dynamic+set}" = set; then :
4
         DBG_CFLAGS="$DYNAMIC_CFLAGS $DBG_CFLAGS"
5
       ;;
6
       *bsd*)
7
-        DYNAMIC_DEVS="\$(GLOBJDIR)/X11.so"
8
+        INSTALL_SHARED="install-shared"
9
+        if test "x$X_DEVS" != x; then
10
+                DYNAMIC_DEVS="\$(GLOBJDIR)/X11.so"
11
+        else
12
+                DYNAMIC_DEVS=""
13
+        fi
14
         DYNAMIC_FLAGS="-DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\\\"\$(gssharedir)\\\""
15
         X11_DEVS=""
16
         OPT_CFLAGS="$DYNAMIC_CFLAGS $OPT_CFLAGS"
(-)a/print/ghostscript9-agpl-base/files/patch-tesseract_src_arch_simddetect.cpp (-34 lines)
Removed Link Here
1
--- tesseract/src/arch/simddetect.cpp.orig	2021-09-27 07:44:02 UTC
2
+++ tesseract/src/arch/simddetect.cpp
3
@@ -40,10 +40,13 @@
4
 #if defined(HAVE_NEON) && !defined(__aarch64__)
5
 #ifdef ANDROID
6
 #include <cpu-features.h>
7
-#else
8
+#elif defined(__linux__)
9
 /* Assume linux */
10
 #include <sys/auxv.h>
11
 #include <asm/hwcap.h>
12
+#elif defined(__FreeBSD__)
13
+#include <sys/auxv.h>
14
+#include <sys/elf.h>
15
 #endif
16
 #endif
17
 
18
@@ -188,9 +191,15 @@ SIMDDetect::SIMDDetect() {
19
       neon_available_ = (android_getCpuFeatures() &
20
                          ANDROID_CPU_ARM_FEATURE_NEON);
21
   }
22
-#else
23
+#elif defined(__linux__)
24
   /* Assume linux */
25
   neon_available_ = getauxval(AT_HWCAP) & HWCAP_NEON;
26
+#elif defined(__FreeBSD__)
27
+  unsigned long hwcap = 0;
28
+  elf_aux_info(AT_HWCAP, &hwcap, sizeof hwcap);
29
+  neon_available_ = hwcap & HWCAP_NEON;
30
+#else
31
+  neon_available_ = 0;
32
 #endif
33
 #endif
34
 
(-)a/print/ghostscript9-agpl-base/pkg-descr (-3 lines)
Removed Link Here
1
Ghostscript is an interpreter for PostScript and Portable Document
2
Format (PDF) files.  It allows you to manipulate such files and to
3
convert them to various printer, image and other formats.
(-)a/print/ghostscript9-agpl-base/pkg-message (-8 lines)
Removed Link Here
1
[
2
{ type: install
3
  message: <<EOM
4
This package installs a script named dvipdf that depends on dvips.  If you
5
want to use this script you need to install print/tex-dvipsk.
6
EOM
7
}
8
]
(-)a/print/ghostscript9-agpl-base/pkg-plist (-402 lines)
Removed Link Here
1
bin/dvipdf
2
bin/eps2eps
3
bin/gs
4
bin/gsbj
5
bin/gsdj
6
bin/gsdj500
7
bin/gslj
8
bin/gslp
9
bin/gsnd
10
bin/lprsetup.sh
11
bin/pdf2dsc
12
bin/pdf2ps
13
bin/pf2afm
14
bin/pfbtopfa
15
bin/pphs
16
bin/printafm
17
bin/ps2ascii
18
bin/ps2epsi
19
bin/ps2pdf
20
bin/ps2pdf12
21
bin/ps2pdf13
22
bin/ps2pdf14
23
bin/ps2pdfwr
24
bin/ps2ps
25
bin/ps2ps2
26
bin/unix-lpr.sh
27
include/ghostscript/gdevdsp.h
28
include/ghostscript/gserrors.h
29
include/ghostscript/iapi.h
30
include/ghostscript/ierrors.h
31
lib/libgs.so
32
lib/libgs.so.9
33
lib/libgs.so.%%GS_VERSION%%
34
man/de/man1/dvipdf.1.gz
35
man/de/man1/eps2eps.1.gz
36
man/de/man1/gsnd.1.gz
37
man/de/man1/pdf2dsc.1.gz
38
man/de/man1/pdf2ps.1.gz
39
man/de/man1/printafm.1.gz
40
man/de/man1/ps2ascii.1.gz
41
man/de/man1/ps2pdf.1.gz
42
man/de/man1/ps2pdf12.1.gz
43
man/de/man1/ps2pdf13.1.gz
44
man/de/man1/ps2pdf14.1.gz
45
man/de/man1/ps2ps.1.gz
46
man/man1/dvipdf.1.gz
47
man/man1/eps2eps.1.gz
48
man/man1/gs.1.gz
49
man/man1/gsbj.1.gz
50
man/man1/gsdj.1.gz
51
man/man1/gsdj500.1.gz
52
man/man1/gslj.1.gz
53
man/man1/gslp.1.gz
54
man/man1/gsnd.1.gz
55
man/man1/pdf2dsc.1.gz
56
man/man1/pdf2ps.1.gz
57
man/man1/pf2afm.1.gz
58
man/man1/pfbtopfa.1.gz
59
man/man1/printafm.1.gz
60
man/man1/ps2ascii.1.gz
61
man/man1/ps2epsi.1.gz
62
man/man1/ps2pdf.1.gz
63
man/man1/ps2pdf12.1.gz
64
man/man1/ps2pdf13.1.gz
65
man/man1/ps2pdf14.1.gz
66
man/man1/ps2pdfwr.1.gz
67
man/man1/ps2ps.1.gz
68
share/cmap/Identity-H
69
share/cmap/Identity-UTF16-H
70
share/cmap/Identity-V
71
share/color/icc/ghostscript/a98.icc
72
share/color/icc/ghostscript/default_cmyk.icc
73
share/color/icc/ghostscript/default_gray.icc
74
share/color/icc/ghostscript/default_rgb.icc
75
share/color/icc/ghostscript/esrgb.icc
76
share/color/icc/ghostscript/gray_to_k.icc
77
share/color/icc/ghostscript/lab.icc
78
share/color/icc/ghostscript/ps_cmyk.icc
79
share/color/icc/ghostscript/ps_gray.icc
80
share/color/icc/ghostscript/ps_rgb.icc
81
share/color/icc/ghostscript/rommrgb.icc
82
share/color/icc/ghostscript/scrgb.icc
83
share/color/icc/ghostscript/sgray.icc
84
share/color/icc/ghostscript/srgb.icc
85
%%PORTDOCS%%%%DOCSDIR%%/API.htm
86
%%PORTDOCS%%%%DOCSDIR%%/C-style.htm
87
%%PORTDOCS%%%%DOCSDIR%%/COPYING
88
%%PORTDOCS%%%%DOCSDIR%%/DLL.htm
89
%%PORTDOCS%%%%DOCSDIR%%/Deprecated.htm
90
%%PORTDOCS%%%%DOCSDIR%%/Develop.htm
91
%%PORTDOCS%%%%DOCSDIR%%/Devices.htm
92
%%PORTDOCS%%%%DOCSDIR%%/Drivers.htm
93
%%PORTDOCS%%%%DOCSDIR%%/Fonts.htm
94
%%PORTDOCS%%%%DOCSDIR%%/GS9_Color_Management.pdf
95
%%PORTDOCS%%%%DOCSDIR%%/History9.htm
96
%%PORTDOCS%%%%DOCSDIR%%/Install.htm
97
%%PORTDOCS%%%%DOCSDIR%%/Language.htm
98
%%PORTDOCS%%%%DOCSDIR%%/Lib.htm
99
%%PORTDOCS%%%%DOCSDIR%%/Make.htm
100
%%PORTDOCS%%%%DOCSDIR%%/News.htm
101
%%PORTDOCS%%%%DOCSDIR%%/Ps-style.htm
102
%%PORTDOCS%%%%DOCSDIR%%/Ps2epsi.htm
103
%%PORTDOCS%%%%DOCSDIR%%/Psfiles.htm
104
%%PORTDOCS%%%%DOCSDIR%%/Readme.htm
105
%%PORTDOCS%%%%DOCSDIR%%/Release.htm
106
%%PORTDOCS%%%%DOCSDIR%%/SavedPages.htm
107
%%PORTDOCS%%%%DOCSDIR%%/Source.htm
108
%%PORTDOCS%%%%DOCSDIR%%/Unix-lpr.htm
109
%%PORTDOCS%%%%DOCSDIR%%/Use.htm
110
%%PORTDOCS%%%%DOCSDIR%%/VectorDevices.htm
111
%%PORTDOCS%%%%DOCSDIR%%/WhatIsGS.htm
112
%%PORTDOCS%%%%DOCSDIR%%/gdevds32.c
113
%%PORTDOCS%%%%DOCSDIR%%/images/Artifex_logo.png
114
%%PORTDOCS%%%%DOCSDIR%%/images/favicon.png
115
%%PORTDOCS%%%%DOCSDIR%%/images/ghostscript_logo.png
116
%%PORTDOCS%%%%DOCSDIR%%/images/hamburger-light.png
117
%%PORTDOCS%%%%DOCSDIR%%/images/x-light.png
118
%%PORTDOCS%%%%DOCSDIR%%/index.html
119
%%PORTDOCS%%%%DOCSDIR%%/pscet_status.txt
120
%%PORTDOCS%%%%DOCSDIR%%/sample_downscale_device.htm
121
%%PORTDOCS%%%%DOCSDIR%%/subclass.htm
122
%%PORTDOCS%%%%DOCSDIR%%/thirdparty.htm
123
%%DATADIR%%/Resource/CIDFSubst/DroidSansFallback.ttf
124
%%DATADIR%%/Resource/CIDFont/ArtifexBullet
125
%%DATADIR%%/Resource/CMap
126
%%DATADIR%%/Resource/ColorSpace/DefaultCMYK
127
%%DATADIR%%/Resource/ColorSpace/DefaultGray
128
%%DATADIR%%/Resource/ColorSpace/DefaultRGB
129
%%DATADIR%%/Resource/ColorSpace/TrivialCMYK
130
%%DATADIR%%/Resource/ColorSpace/sGray
131
%%DATADIR%%/Resource/ColorSpace/sRGB
132
%%DATADIR%%/Resource/Decoding/FCO_Dingbats
133
%%DATADIR%%/Resource/Decoding/FCO_Symbol
134
%%DATADIR%%/Resource/Decoding/FCO_Unicode
135
%%DATADIR%%/Resource/Decoding/FCO_Wingdings
136
%%DATADIR%%/Resource/Decoding/Latin1
137
%%DATADIR%%/Resource/Decoding/StandardEncoding
138
%%DATADIR%%/Resource/Decoding/Unicode
139
%%DATADIR%%/Resource/Encoding/CEEncoding
140
%%DATADIR%%/Resource/Encoding/ExpertEncoding
141
%%DATADIR%%/Resource/Encoding/ExpertSubsetEncoding
142
%%DATADIR%%/Resource/Encoding/NotDefEncoding
143
%%DATADIR%%/Resource/Encoding/Wingdings
144
%%DATADIR%%/Resource/Font/C059-BdIta
145
%%DATADIR%%/Resource/Font/C059-Bold
146
%%DATADIR%%/Resource/Font/C059-Italic
147
%%DATADIR%%/Resource/Font/C059-Roman
148
%%DATADIR%%/Resource/Font/D050000L
149
%%DATADIR%%/Resource/Font/NimbusMonoPS-Bold
150
%%DATADIR%%/Resource/Font/NimbusMonoPS-BoldItalic
151
%%DATADIR%%/Resource/Font/NimbusMonoPS-Italic
152
%%DATADIR%%/Resource/Font/NimbusMonoPS-Regular
153
%%DATADIR%%/Resource/Font/NimbusRoman-Bold
154
%%DATADIR%%/Resource/Font/NimbusRoman-BoldItalic
155
%%DATADIR%%/Resource/Font/NimbusRoman-Italic
156
%%DATADIR%%/Resource/Font/NimbusRoman-Regular
157
%%DATADIR%%/Resource/Font/NimbusSans-Bold
158
%%DATADIR%%/Resource/Font/NimbusSans-BoldItalic
159
%%DATADIR%%/Resource/Font/NimbusSans-Italic
160
%%DATADIR%%/Resource/Font/NimbusSans-Regular
161
%%DATADIR%%/Resource/Font/NimbusSansNarrow-Bold
162
%%DATADIR%%/Resource/Font/NimbusSansNarrow-BoldOblique
163
%%DATADIR%%/Resource/Font/NimbusSansNarrow-Oblique
164
%%DATADIR%%/Resource/Font/NimbusSansNarrow-Regular
165
%%DATADIR%%/Resource/Font/P052-Bold
166
%%DATADIR%%/Resource/Font/P052-BoldItalic
167
%%DATADIR%%/Resource/Font/P052-Italic
168
%%DATADIR%%/Resource/Font/P052-Roman
169
%%DATADIR%%/Resource/Font/StandardSymbolsPS
170
%%DATADIR%%/Resource/Font/URWBookman-Demi
171
%%DATADIR%%/Resource/Font/URWBookman-DemiItalic
172
%%DATADIR%%/Resource/Font/URWBookman-Light
173
%%DATADIR%%/Resource/Font/URWBookman-LightItalic
174
%%DATADIR%%/Resource/Font/URWGothic-Book
175
%%DATADIR%%/Resource/Font/URWGothic-BookOblique
176
%%DATADIR%%/Resource/Font/URWGothic-Demi
177
%%DATADIR%%/Resource/Font/URWGothic-DemiOblique
178
%%DATADIR%%/Resource/Font/Z003-MediumItalic
179
%%DATADIR%%/Resource/IdiomSet/Pscript5Idiom
180
%%DATADIR%%/Resource/IdiomSet/PPI_CUtils
181
%%DATADIR%%/Resource/Init/FAPIcidfmap
182
%%DATADIR%%/Resource/Init/FAPIconfig
183
%%DATADIR%%/Resource/Init/FAPIfontmap
184
%%DATADIR%%/Resource/Init/FCOfontmap-PCLPS2
185
%%DATADIR%%/Resource/Init/Fontmap
186
%%DATADIR%%/Resource/Init/Fontmap.GS
187
%%DATADIR%%/Resource/Init/cidfmap
188
%%DATADIR%%/Resource/Init/gs_agl.ps
189
%%DATADIR%%/Resource/Init/gs_btokn.ps
190
%%DATADIR%%/Resource/Init/gs_cet.ps
191
%%DATADIR%%/Resource/Init/gs_cff.ps
192
%%DATADIR%%/Resource/Init/gs_cidcm.ps
193
%%DATADIR%%/Resource/Init/gs_ciddc.ps
194
%%DATADIR%%/Resource/Init/gs_cidfm.ps
195
%%DATADIR%%/Resource/Init/gs_cidfn.ps
196
%%DATADIR%%/Resource/Init/gs_cidtt.ps
197
%%DATADIR%%/Resource/Init/gs_cmap.ps
198
%%DATADIR%%/Resource/Init/gs_cspace.ps
199
%%DATADIR%%/Resource/Init/gs_dbt_e.ps
200
%%DATADIR%%/Resource/Init/gs_diskn.ps
201
%%DATADIR%%/Resource/Init/gs_dps1.ps
202
%%DATADIR%%/Resource/Init/gs_dps2.ps
203
%%DATADIR%%/Resource/Init/gs_dscp.ps
204
%%DATADIR%%/Resource/Init/gs_epsf.ps
205
%%DATADIR%%/Resource/Init/gs_fapi.ps
206
%%DATADIR%%/Resource/Init/gs_fntem.ps
207
%%DATADIR%%/Resource/Init/gs_fonts.ps
208
%%DATADIR%%/Resource/Init/gs_frsd.ps
209
%%DATADIR%%/Resource/Init/gs_icc.ps
210
%%DATADIR%%/Resource/Init/gs_il1_e.ps
211
%%DATADIR%%/Resource/Init/gs_img.ps
212
%%DATADIR%%/Resource/Init/gs_init.ps
213
%%DATADIR%%/Resource/Init/gs_lev2.ps
214
%%DATADIR%%/Resource/Init/gs_ll3.ps
215
%%DATADIR%%/Resource/Init/gs_mex_e.ps
216
%%DATADIR%%/Resource/Init/gs_mgl_e.ps
217
%%DATADIR%%/Resource/Init/gs_mro_e.ps
218
%%DATADIR%%/Resource/Init/gs_pdf_e.ps
219
%%DATADIR%%/Resource/Init/gs_pdfwr.ps
220
%%DATADIR%%/Resource/Init/gs_res.ps
221
%%DATADIR%%/Resource/Init/gs_resmp.ps
222
%%DATADIR%%/Resource/Init/gs_setpd.ps
223
%%DATADIR%%/Resource/Init/gs_statd.ps
224
%%DATADIR%%/Resource/Init/gs_std_e.ps
225
%%DATADIR%%/Resource/Init/gs_sym_e.ps
226
%%DATADIR%%/Resource/Init/gs_trap.ps
227
%%DATADIR%%/Resource/Init/gs_ttf.ps
228
%%DATADIR%%/Resource/Init/gs_typ32.ps
229
%%DATADIR%%/Resource/Init/gs_typ42.ps
230
%%DATADIR%%/Resource/Init/gs_type1.ps
231
%%DATADIR%%/Resource/Init/gs_wan_e.ps
232
%%DATADIR%%/Resource/Init/pdf_base.ps
233
%%DATADIR%%/Resource/Init/pdf_draw.ps
234
%%DATADIR%%/Resource/Init/pdf_font.ps
235
%%DATADIR%%/Resource/Init/pdf_main.ps
236
%%DATADIR%%/Resource/Init/pdf_ops.ps
237
%%DATADIR%%/Resource/Init/pdf_rbld.ps
238
%%DATADIR%%/Resource/Init/pdf_sec.ps
239
%%DATADIR%%/Resource/Init/xlatmap
240
%%DATADIR%%/Resource/SubstCID/CNS1-WMode
241
%%DATADIR%%/Resource/SubstCID/GB1-WMode
242
%%DATADIR%%/Resource/SubstCID/Japan1-WMode
243
%%DATADIR%%/Resource/SubstCID/Korea1-WMode
244
%%DATADIR%%/doc
245
%%DATADIR%%/iccprofiles
246
%%DATADIR%%/lib/PDFA_def.ps
247
%%DATADIR%%/lib/PDFX_def.ps
248
%%DATADIR%%/lib/PM760p.upp
249
%%DATADIR%%/lib/PM760pl.upp
250
%%DATADIR%%/lib/PM820p.upp
251
%%DATADIR%%/lib/PM820pl.upp
252
%%DATADIR%%/lib/Stc670p.upp
253
%%DATADIR%%/lib/Stc670pl.upp
254
%%DATADIR%%/lib/Stc680p.upp
255
%%DATADIR%%/lib/Stc680pl.upp
256
%%DATADIR%%/lib/Stc740p.upp
257
%%DATADIR%%/lib/Stc740pl.upp
258
%%DATADIR%%/lib/Stc760p.upp
259
%%DATADIR%%/lib/Stc760pl.upp
260
%%DATADIR%%/lib/Stc777p.upp
261
%%DATADIR%%/lib/Stc777pl.upp
262
%%DATADIR%%/lib/Stp720p.upp
263
%%DATADIR%%/lib/Stp720pl.upp
264
%%DATADIR%%/lib/Stp870p.upp
265
%%DATADIR%%/lib/Stp870pl.upp
266
%%DATADIR%%/lib/acctest.ps
267
%%DATADIR%%/lib/align.ps
268
%%DATADIR%%/lib/bj8.rpd
269
%%DATADIR%%/lib/bj8gc12f.upp
270
%%DATADIR%%/lib/bj8hg12f.upp
271
%%DATADIR%%/lib/bj8oh06n.upp
272
%%DATADIR%%/lib/bj8pa06n.upp
273
%%DATADIR%%/lib/bj8pp12f.upp
274
%%DATADIR%%/lib/bj8ts06n.upp
275
%%DATADIR%%/lib/bjc6000a1.upp
276
%%DATADIR%%/lib/bjc6000b1.upp
277
%%DATADIR%%/lib/bjc610a0.upp
278
%%DATADIR%%/lib/bjc610a1.upp
279
%%DATADIR%%/lib/bjc610a2.upp
280
%%DATADIR%%/lib/bjc610a3.upp
281
%%DATADIR%%/lib/bjc610a4.upp
282
%%DATADIR%%/lib/bjc610a5.upp
283
%%DATADIR%%/lib/bjc610a6.upp
284
%%DATADIR%%/lib/bjc610a7.upp
285
%%DATADIR%%/lib/bjc610a8.upp
286
%%DATADIR%%/lib/bjc610b1.upp
287
%%DATADIR%%/lib/bjc610b2.upp
288
%%DATADIR%%/lib/bjc610b3.upp
289
%%DATADIR%%/lib/bjc610b4.upp
290
%%DATADIR%%/lib/bjc610b6.upp
291
%%DATADIR%%/lib/bjc610b7.upp
292
%%DATADIR%%/lib/bjc610b8.upp
293
%%DATADIR%%/lib/caption.ps
294
%%DATADIR%%/lib/cbjc600.ppd
295
%%DATADIR%%/lib/cbjc800.ppd
296
%%DATADIR%%/lib/cdj550.upp
297
%%DATADIR%%/lib/cdj690.upp
298
%%DATADIR%%/lib/cdj690ec.upp
299
%%DATADIR%%/lib/cid2code.ps
300
%%DATADIR%%/lib/dnj750c.upp
301
%%DATADIR%%/lib/dnj750m.upp
302
%%DATADIR%%/lib/docie.ps
303
%%DATADIR%%/lib/font2pcl.ps
304
%%DATADIR%%/lib/ghostpdf.ppd
305
%%DATADIR%%/lib/gs_ce_e.ps
306
%%DATADIR%%/lib/gs_css_e.ps
307
%%DATADIR%%/lib/gs_il2_e.ps
308
%%DATADIR%%/lib/gs_kanji.ps
309
%%DATADIR%%/lib/gs_ksb_e.ps
310
%%DATADIR%%/lib/gs_l.xbm
311
%%DATADIR%%/lib/gs_l.xpm
312
%%DATADIR%%/lib/gs_l_m.xbm
313
%%DATADIR%%/lib/gs_lgo_e.ps
314
%%DATADIR%%/lib/gs_lgx_e.ps
315
%%DATADIR%%/lib/gs_m.xbm
316
%%DATADIR%%/lib/gs_m.xpm
317
%%DATADIR%%/lib/gs_m_m.xbm
318
%%DATADIR%%/lib/gs_s.xbm
319
%%DATADIR%%/lib/gs_s.xpm
320
%%DATADIR%%/lib/gs_s_m.xbm
321
%%DATADIR%%/lib/gs_t.xbm
322
%%DATADIR%%/lib/gs_t.xpm
323
%%DATADIR%%/lib/gs_t_m.xbm
324
%%DATADIR%%/lib/gs_wl1_e.ps
325
%%DATADIR%%/lib/gs_wl2_e.ps
326
%%DATADIR%%/lib/gs_wl5_e.ps
327
%%DATADIR%%/lib/gslp.ps
328
%%DATADIR%%/lib/gsnup.ps
329
%%DATADIR%%/lib/ht_ccsto.ps
330
%%DATADIR%%/lib/image-qa.ps
331
%%DATADIR%%/lib/jispaper.ps
332
%%DATADIR%%/lib/landscap.ps
333
%%DATADIR%%/lib/lines.ps
334
%%DATADIR%%/lib/mkcidfm.ps
335
%%DATADIR%%/lib/necp2x.upp
336
%%DATADIR%%/lib/necp2x6.upp
337
%%DATADIR%%/lib/pdf_info.ps
338
%%DATADIR%%/lib/pdf2dsc.ps
339
%%DATADIR%%/lib/pf2afm.ps
340
%%DATADIR%%/lib/pfbtopfa.ps
341
%%DATADIR%%/lib/ppath.ps
342
%%DATADIR%%/lib/pphs.ps
343
%%DATADIR%%/lib/prfont.ps
344
%%DATADIR%%/lib/printafm.ps
345
%%DATADIR%%/lib/ps2ai.ps
346
%%DATADIR%%/lib/ps2epsi.ps
347
%%DATADIR%%/lib/ras1.upp
348
%%DATADIR%%/lib/ras24.upp
349
%%DATADIR%%/lib/ras3.upp
350
%%DATADIR%%/lib/ras32.upp
351
%%DATADIR%%/lib/ras4.upp
352
%%DATADIR%%/lib/ras8m.upp
353
%%DATADIR%%/lib/rollconv.ps
354
%%DATADIR%%/lib/s400a1.upp
355
%%DATADIR%%/lib/s400b1.upp
356
%%DATADIR%%/lib/sharp.upp
357
%%DATADIR%%/lib/sipixa6.upp
358
%%DATADIR%%/lib/st640ih.upp
359
%%DATADIR%%/lib/st640ihg.upp
360
%%DATADIR%%/lib/st640p.upp
361
%%DATADIR%%/lib/st640pg.upp
362
%%DATADIR%%/lib/st640pl.upp
363
%%DATADIR%%/lib/st640plg.upp
364
%%DATADIR%%/lib/stc.upp
365
%%DATADIR%%/lib/stc1520h.upp
366
%%DATADIR%%/lib/stc2.upp
367
%%DATADIR%%/lib/stc200_h.upp
368
%%DATADIR%%/lib/stc2_h.upp
369
%%DATADIR%%/lib/stc2s_h.upp
370
%%DATADIR%%/lib/stc300.upp
371
%%DATADIR%%/lib/stc300bl.upp
372
%%DATADIR%%/lib/stc300bm.upp
373
%%DATADIR%%/lib/stc500p.upp
374
%%DATADIR%%/lib/stc500ph.upp
375
%%DATADIR%%/lib/stc600ih.upp
376
%%DATADIR%%/lib/stc600p.upp
377
%%DATADIR%%/lib/stc600pl.upp
378
%%DATADIR%%/lib/stc640p.upp
379
%%DATADIR%%/lib/stc740ih.upp
380
%%DATADIR%%/lib/stc800ih.upp
381
%%DATADIR%%/lib/stc800p.upp
382
%%DATADIR%%/lib/stc800pl.upp
383
%%DATADIR%%/lib/stc_h.upp
384
%%DATADIR%%/lib/stc_l.upp
385
%%DATADIR%%/lib/stcany.upp
386
%%DATADIR%%/lib/stcany_h.upp
387
%%DATADIR%%/lib/stcinfo.ps
388
%%DATADIR%%/lib/stcolor.ps
389
%%DATADIR%%/lib/stocht.ps
390
%%DATADIR%%/lib/traceimg.ps
391
%%DATADIR%%/lib/traceop.ps
392
%%DATADIR%%/lib/uninfo.ps
393
%%DATADIR%%/lib/viewcmyk.ps
394
%%DATADIR%%/lib/viewgif.ps
395
%%DATADIR%%/lib/viewjpeg.ps
396
%%DATADIR%%/lib/viewmiff.ps
397
%%DATADIR%%/lib/viewpbm.ps
398
%%DATADIR%%/lib/viewpcx.ps
399
%%DATADIR%%/lib/viewps2a.ps
400
%%DATADIR%%/lib/winmaps.ps
401
%%DATADIR%%/lib/zeroline.ps
402
@dir lib/ghostscript/%%PORTVERSION%%
(-)a/print/ghostscript9-agpl-x11/Makefile (-75 lines)
Removed Link Here
1
PORTNAME=	ghostscript
2
PORTVERSION=	9.56.1
3
CATEGORIES=	print
4
MASTER_SITES=	https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${PORTVERSION:S/.//g}/
5
PKGNAMESUFFIX=	9-agpl-x11
6
7
MAINTAINER=	hrs@FreeBSD.org
8
COMMENT=	PostScript and PDF interpreter, X11 support
9
WWW=		https://ghostscript.com/
10
11
LICENSE=	AGPLv3
12
LICENSE_FILE=	${WRKSRC}/LICENSE
13
14
DEPRECATED=	Obsolete and unsupported upstream, consider using print/ghostscipt10
15
EXPIRATION_DATE=	2023-12-31
16
17
BUILD_DEPENDS=	jbig2dec>=0.17:graphics/jbig2dec
18
LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
19
		libfreetype.so:print/freetype2 \
20
		libidn.so:dns/libidn \
21
		libjbig2dec.so:graphics/jbig2dec \
22
		libopenjp2.so:graphics/openjpeg \
23
		libpaper.so:print/libpaper \
24
		libpng.so:graphics/png \
25
		libtiff.so:graphics/tiff
26
RUN_DEPENDS=	ghostscript9-agpl-base>=${PORTVERSION}:print/ghostscript9-agpl-base
27
28
USES=		cpe gmake iconv localbase pkgconfig tar:xz xorg
29
USE_LDCONFIG=	yes
30
USE_XORG=	ice sm x11 xext xt
31
32
CONFLICTS_INSTALL= \
33
		ghostscript[789] \
34
		ghostscript[789]-nox11 \
35
		ghostscript9-agpl \
36
		ghostscript9-agpl-nox11
37
DISTINFO_FILE=	${.CURDIR:H}/ghostscript9-agpl-base/distinfo
38
PATCHDIR=	${.CURDIR:H}/ghostscript9-agpl-base/files
39
CPE_VENDOR=	artifex
40
EXTRACT_AFTER_ARGS= \
41
	--exclude freetype \
42
	--exclude ijs \
43
	--exclude jbig2dec \
44
	--exclude jpeg \
45
	--exclude libpng \
46
	--exclude openjpeg \
47
	--exclude zlib
48
GNU_CONFIGURE=	yes
49
CONFIGURE_ARGS=	--disable-compile-inits \
50
		--disable-cups \
51
		--disable-dbus \
52
		--disable-gtk \
53
		--disable-openjpeg \
54
		--enable-contrib \
55
		--enable-dynamic \
56
		--enable-fontconfig \
57
		--enable-freetype \
58
		--enable-openjpeg \
59
		--with-drivers=ALL \
60
		--with-fontpath=${LOCALBASE}/share/fonts \
61
		--with-jbig2dec \
62
		--with-libiconv=maybe \
63
		--with-libidn \
64
		--with-libpaper \
65
		--with-system-libtiff \
66
		--with-x \
67
		--without-ijs
68
ALL_TARGET=	./obj/X11.so
69
INSTALL_TARGET=	install-shared
70
PLIST_FILES=	lib/${PORTNAME}/${PORTVERSION}/X11.so
71
72
post-install:
73
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/${PORTVERSION}/X11.so
74
75
.include <bsd.port.mk>
(-)a/print/ghostscript9-agpl-x11/pkg-descr (-6 lines)
Removed Link Here
1
Ghostscript is an interpreter for PostScript and Portable Document
2
Format (PDF) files.  It allows you to manipulate such files and to
3
convert them to various printer, image and other formats.
4
5
This package contains X11 devices for Ghostscript.
6
- 

Return to bug 272131