1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= Postscript and PDF Rendering Engine
8 HOMEPAGE= https://www.ghostscript.com/
12 SITES[main]= https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs1000/
13 DISTFILE[1]= ghostscript-10.0.0.tar.xz:main
15 SPKGS[standard]= complete
20 OPTIONS_AVAILABLE= none
21 OPTIONS_STANDARD= none
23 BUILD_DEPENDS= xorg-sm:single:standard
24 xorg-xt:single:standard
25 xorg-ice:single:standard
26 xorg-x11:single:standard
27 xorg-xext:single:standard
29 BUILDRUN_DEPENDS= freetype:primary:standard
30 jbig2dec:single:standard
31 openjpeg:single:standard
32 libpaper:primary:standard
34 libidn:primary:standard
35 RUN_DEPENDS= poppler-data:single:standard
36 EXRUN[x11]= xorg-sm:single:standard
37 xorg-xt:single:standard
38 xorg-ice:single:standard
39 xorg-x11:single:standard
40 xorg-xext:single:standard
42 USES= cpe gmake png jpeg tiff iconv fontconfig pkgconfig
45 DISTNAME= ghostscript-10.0.0
47 LICENSE= AGPLv3+:primary
48 LICENSE_TERMS= primary:{{WRKSRC}}/LICENSE
49 LICENSE_FILE= AGPLv3+:{{WRKSRC}}/doc/COPYING
52 CPE_PRODUCT= ghostscript
54 FPC_EQUIVALENT= print/ghostscript9-agpl-base
57 CONFIGURE_ARGS= --disable-compile-inits
67 --with-fontpath={{LOCALBASE}}/share/fonts
76 CONFIGURE_ENV= LIBS=-Wl,-rpath,{{PREFIX}}/lib
78 BUILD_TARGET= so ./obj/X11.so
80 INSTALL_TARGET= soinstall install-shared
81 INSTALL_REQ_TOOLCHAIN= yes
85 VAR_OPSYS[sunos]= CPPFLAGS=-D_XOPEN_SOURCE=600
86 CPPFLAGS=-D__EXTENSIONS__
89 ${RM} -r ${WRKSRC}/freetype \
96 ${FIND} ${WRKSRC}/Resource/Init -name "*.orig" -delete
99 ${MV} ${STAGEDIR}${PREFIX}/bin/gsc ${STAGEDIR}${PREFIX}/bin/gs
100 ${RM} ${STAGEDIR}${PREFIX}/bin/gsx
101 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/gs
102 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgs.so
103 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/ghostscript/10.00.0/X11.so
104 ${MKDIR} ${STAGEDIR}${PREFIX}/share/color/icc \
105 ${STAGEDIR}${PREFIX}/share/cmap
106 ${MV} ${STAGEDIR}${PREFIX}/share/ghostscript/10.00.0/iccprofiles \
107 ${STAGEDIR}${PREFIX}/share/color/icc/ghostscript
108 ${LN} -s ../../color/icc/ghostscript \
109 ${STAGEDIR}${PREFIX}/share/ghostscript/10.00.0/iccprofiles
110 ${MV} ${STAGEDIR}${PREFIX}/share/ghostscript/10.00.0/Resource/CMap/Identity* \
111 ${STAGEDIR}${PREFIX}/share/cmap
112 ${RM} -r ${STAGEDIR}${PREFIX}/share/ghostscript/10.00.0/Resource/CMap
113 ${LN} -s ../../../cmap \
114 ${STAGEDIR}${PREFIX}/share/ghostscript/10.00.0/Resource/CMap
115 ${RM} ${STAGEDIR}${STD_DOCDIR}/10.00.0/COPYING
116 ${RMDIR} ${STAGEDIR}${STD_DOCDIR}/10.00.0/images
118 [FILE:609:descriptions/desc.primary]
119 Ghostscript is a high-performance Postscript and PDF interpreter and
120 rendering engine with the most comprehensive set of page description
121 languages (PDL's) on the market today and technology conversion
122 capabilities covering PDF, PostScript, PCL and XPS languages.
124 Ghostscript has been under active development for over 20 years, and
125 offers an extremely versatile feature set and can be deployed across
126 a wide range of platforms, modules, end uses (embedding in hardware,
127 as an engine in document management systems, providing cloud solution
128 integration and as an engine in leading PDF generators and tools).
131 [FILE:62:descriptions/desc.x11]
132 This package contains the x11 support library of ghostscript.
136 f1fa585f7c7d32adfa81ab389388100ac9df83444eb64db1fb92737141ef9f61 62749144 ghostscript-10.0.0.tar.xz
139 [FILE:5319:manifests/plist.primary]
175 libgs.so.%%SOVERSION%%
180 share/color/icc/ghostscript/
195 share/ghostscript/%%GV%%/iccprofiles
196 share/ghostscript/%%GV%%/Resource/CMap
197 share/ghostscript/%%GV%%/Resource/CIDFSubst/DroidSansFallback.ttf
198 share/ghostscript/%%GV%%/Resource/CIDFont/ArtifexBullet
199 share/ghostscript/%%GV%%/Resource/ColorSpace/
206 share/ghostscript/%%GV%%/Resource/Decoding/
214 share/ghostscript/%%GV%%/Resource/Encoding/
220 share/ghostscript/%%GV%%/Resource/Font/
227 NimbusMonoPS-BoldItalic
231 NimbusRoman-BoldItalic
235 NimbusSans-BoldItalic
238 NimbusSansNarrow-Bold
239 NimbusSansNarrow-BoldOblique
240 NimbusSansNarrow-Oblique
241 NimbusSansNarrow-Regular
248 URWBookman-DemiItalic
250 URWBookman-LightItalic
252 URWGothic-BookOblique
254 URWGothic-DemiOblique
256 share/ghostscript/%%GV%%/Resource/IdiomSet/
259 share/ghostscript/%%GV%%/Resource/Init/
319 share/ghostscript/%%GV%%/Resource/SubstCID/
324 share/ghostscript/%%GV%%/lib/
517 @dir lib/ghostscript/%%GV%%
520 [FILE:30:manifests/plist.x11]
521 lib/ghostscript/%%GV%%/X11.so
524 [FILE:66:manifests/plist.docs]
525 share/doc/ghostscript/%%GV%%/
526 GS9_Color_Management.pdf
530 [FILE:2634:patches/patch-Resource_Init_cidfmap]
531 --- Resource/Init/cidfmap.orig 2022-09-21 08:39:46 UTC
532 +++ Resource/Init/cidfmap
534 % /ShinGo-Bold /HeiseiKakuGo-W5 ;
535 % /Ryumin-Medium << /FileType /TrueType /Path (H:/AuxFiles/Fonts/BATANG.TTC) /SubfontID 3 /CSI [(Japan1) 2] >> ;
536 % /Ryumin-Medium << /FileType /TrueType /Path (c:/windows/Fonts/BATANG.TTC) /SubfontID 3 /CSI [(Japan1) 2] >> ;
537 +/Ryumin-Light << /FileType /TrueType /Path (Ryumin-Light) /SubfontID 0 /CSI [(Japan1) 6] >> ;
538 +/GothicBBB-Medium << /FileType /TrueType /Path (GothicBBB-Medium) /SubfontID 0 /CSI [(Japan1) 6] >> ;
540 +/Ryumin-Medium /Ryumin-Light ;
541 +/Ryumin-Regular /Ryumin-Light ;
542 +/RyuminPro-Light /Ryumin-Light ;
544 +/GothicBBBPro-Medium /GothicBBB-Medium ;
546 +/KozGoPro-Bold /GothicBBB-Medium ;
547 +/KozGoPro-Heavy /GothicBBB-Medium ;
548 +/KozGoPro-Medium /GothicBBB-Medium ;
549 +/KozGoPro-Regular /GothicBBB-Medium ;
551 +/KozMinPro-Bold /Ryumin-Light ;
552 +/KozMinPro-Light /Ryumin-Light ;
553 +/KozMinPro-Medium /Ryumin-Light ;
554 +/KozMinPro-Regular /Ryumin-Light ;
556 +/HiraKakuPro-W3 /GothicBBB-Medium ;
557 +/HiraKakuPro-W6 /GothicBBB-Medium ;
558 +/HiraKakuStd-W8 /GothicBBB-Medium ;
560 +/HiraMaruPro-W4 /GothicBBB-Medium ;
562 +/HiraMinPro-W3 /Ryumin-Light ;
564 +/HeiseiMin-W3 /Ryumin-Light ;
565 +/HeiseiKakuGo-W5 /GothicBBB-Medium ;
567 +/FutoMinA101-Bold /Ryumin-Light ;
568 +/FutoMinA101Pro-Bold /Ryumin-Light ;
569 +/FutoGoB101-Bold /GothicBBB-Medium ;
570 +/FutoGoB101Pro-Bold /GothicBBB-Medium ;
572 +/Jun101-Light /Ryumin-Light ;
573 +/Jun101Pro-Light /Ryumin-Light ;
575 +/MidashiGo-MB31 /GothicBBB-Medium ;
576 +/MidashiGoPro-MB31 /GothicBBB-Medium ;
578 +/MidashiMinPro-MA31 /Ryumin-Light ;
580 +/MS-Mincho /Ryumin-Light ;
581 +/MS-PMincho /Ryumin-Light ;
582 +/MS-Gothic /GothicBBB-Medium ;
583 +/MS-PGothic /GothicBBB-Medium ;
585 +%/Munhwa-Regular /Munhwa-Regular ;
586 +%/MunhwaGothic-Regular /MunhwaGothic-Regular ;
587 +%/Munhwa-Bold /Munhwa-Bold ;
588 +%/MunhwaGothic-Bold /MunhwaGothic-Bold ;
590 +/HYGoThic-Medium /MunhwaGothic-Regular ;
591 +/HYSMyeongJo-Medium /Munhwa-Regular ;
592 +/HYRGoThic-Medium /MunhwaGothic-Bold ;
594 +/STHeiti-Regular << /FileType /TrueType /Path (STHeiti-Regular) /SubfontID 0 /CSI [(CNS1) 5] >> ;
595 +/STSong-Light << /FileType /TrueType /Path (STSong-Light) /SubfontID 0 /CSI [(GB1) 5] >> ;
596 +/MSung-Light << /FileType /TrueType /Path (MSung-Light) /SubfontID 0 /CSI [(CNS1) 5] >> ;
597 +/MHei-Medium << /FileType /TrueType /Path (MHei-Medium) /SubfontID 0 /CSI [(GB1) 5] >> ;
599 % NOTE: (as of 9.56.0) The use of Postscript operators in the cidfmap file is now deprecated, for compatibility
600 % with (and security of) the PDF interpreter implemented in C (rather than Postscript). Thus operations such
603 [FILE:387:patches/patch-base_fapi__ft.c]
604 --- base/fapi_ft.c.orig 2022-09-21 08:39:46 UTC
607 #include FT_MULTIPLE_MASTERS_H
608 #include FT_TYPE1_TABLES_H
610 +#ifndef FT_CALLBACK_DEF
611 +#define FT_CALLBACK_DEF( x ) static x
614 /* Note: structure definitions here start with FF_, which stands for 'FAPI FreeType". */
616 #define ft_emprintf(m,s) { outflush(m); emprintf(m, s); outflush(m); }
619 [FILE:244:patches/patch-base_ttobjs.h]
620 Avoid GS conflict on older SunOS.
622 --- base/ttobjs.h.orig 2022-09-21 08:39:46 UTC
637 [FILE:1744:patches/patch-configure]
638 --- configure.orig 2022-09-21 08:39:46 UTC
640 @@ -4647,7 +4647,7 @@ case $host in
641 CC_VISIBILITY_FLAGS_TO_TRY="-fvisibility=hidden"
646 if test x"$GCC" = x"yes"; then
647 CC_OPT_FLAGS_TO_TRY="-O2 -DNDEBUG"
648 CC_DBG_FLAGS_TO_TRY="-gdwarf-2 -g3 -O0"
649 @@ -6104,7 +6104,6 @@ if ${ac_cv_lib_dl_dlopen+:} false; then
650 $as_echo_n "(cached) " >&6
652 ac_check_lib_save_LIBS=$LIBS
654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
655 /* end confdefs.h. */
657 @@ -6137,7 +6136,7 @@ $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
658 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
659 ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
660 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
661 - GCFLAGS="$GCFLAGS -DHAVE_LIBDL=1";LIBS="-ldl $LIBS"
662 + GCFLAGS="$GCFLAGS -DHAVE_LIBDL=1";
666 @@ -11580,7 +11579,7 @@ case $host in
667 GPDL_SONAME_MAJOR="lib\$(GPDL${libname3}"
668 GPDL_SONAME_MAJOR_MINOR="cyg\$(GPDL${libname2}"
672 DYNAMIC_CFLAGS="-fPIC $DYNAMIC_CFLAGS"
673 GS_DYNAMIC_LDFLAGS="-shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(GS_SONAME_MAJOR)"
674 PCL_DYNAMIC_LDFLAGS="-shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(PCL_SONAME_MAJOR)"
675 @@ -11694,7 +11693,7 @@ if test "${enable_dynamic+set}" = set; t
676 OPT_CFLAGS="$DYNAMIC_CFLAGS $OPT_CFLAGS"
677 DBG_CFLAGS="$DYNAMIC_CFLAGS $DBG_CFLAGS"
681 DYNAMIC_DEVS="\$(GLOBJDIR)/X11.so"
682 DYNAMIC_FLAGS="-DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\\\"\$(gssharedir)\\\""
686 [FILE:505:patches/patch-leptonica_src_environ.h]
687 --- leptonica/src/environ.h.orig 2022-09-21 08:39:46 UTC
688 +++ leptonica/src/environ.h
689 @@ -172,7 +172,7 @@ typedef uintptr_t l_uintptr_t;
690 * To use them on MacOS, which does not support these functions, set it to 0.
691 *-------------------------------------------------------------------------*/
692 #if !defined(HAVE_CONFIG_H) && !defined(ANDROID_BUILD) && !defined(OS_IOS) && \
694 + !defined(_WIN32) && !defined(__sun)
695 #define HAVE_FMEMOPEN 1
696 #endif /* ! HAVE_CONFIG_H etc. */
700 [FILE:396:patches/patch-leptonica_src_sarray1.c]
701 --- leptonica/src/sarray1.c.orig 2022-09-21 08:39:46 UTC
702 +++ leptonica/src/sarray1.c
704 #endif /* ! _WIN32 */
705 #include "allheaders.h"
710 + return (dirp->d_fd);
714 static const l_uint32 MaxPtrArraySize = 25000000; /* 25 million */
715 static const l_int32 InitialPtrArraySize = 50; /*!< n'importe quoi */