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/gs10020/
13 DISTFILE[1]= ghostscript-10.02.0.tar.xz:main
15 SPKGS[standard]= complete
21 OPTIONS_AVAILABLE= none
22 OPTIONS_STANDARD= none
24 BUILD_DEPENDS= xorg-sm:dev:standard
25 xorg-sm:primary:standard
27 xorg-xt:primary:standard
29 xorg-ice:primary:standard
31 xorg-x11:primary:standard
32 xorg-xext:dev:standard
33 xorg-xext:primary:standard
35 poppler-data:dev:standard
36 BUILDRUN_DEPENDS= jbig2dec:single:standard
37 openjpeg:single:standard
38 libpaper:primary:standard
40 libidn:primary:standard
41 RUN_DEPENDS= poppler-data:primary:standard
42 EXRUN[x11]= xorg-sm:primary:standard
43 xorg-xt:primary:standard
44 xorg-ice:primary:standard
45 xorg-x11:primary:standard
46 xorg-xext:primary:standard
48 USES= cpe gmake png jpeg tiff iconv fontconfig pkgconfig
51 DISTNAME= ghostscript-10.02.0
53 LICENSE= AGPLv3+:primary
54 LICENSE_TERMS= primary:{{WRKSRC}}/LICENSE
55 LICENSE_FILE= AGPLv3+:{{WRKSRC}}/doc/COPYING
58 CPE_PRODUCT= ghostscript
60 FPC_EQUIVALENT= print/ghostscript9-agpl-base
63 CONFIGURE_ARGS= --disable-compile-inits
73 --with-fontpath={{LOCALBASE}}/share/fonts
81 --disable-hidden-visibility
82 CONFIGURE_ENV= LIBS=-Wl,-rpath,{{PREFIX}}/lib
84 BUILD_TARGET= so ./obj/X11.so
86 INSTALL_TARGET= soinstall install-shared
87 INSTALL_REQ_TOOLCHAIN= yes
91 VAR_OPSYS[sunos]= CPPFLAGS=-D_XOPEN_SOURCE=600
92 CPPFLAGS=-D__EXTENSIONS__
95 ${RM} -r ${WRKSRC}/freetype \
102 ${FIND} ${WRKSRC}/Resource/Init -name "*.orig" -delete
105 ${MV} ${STAGEDIR}${PREFIX}/bin/gsc ${STAGEDIR}${PREFIX}/bin/gs
106 ${RM} ${STAGEDIR}${PREFIX}/bin/gsx
107 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/gs
108 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgs.so
109 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/ghostscript/10.02.0/X11.so
110 ${MKDIR} ${STAGEDIR}${PREFIX}/share/color/icc \
111 ${STAGEDIR}${PREFIX}/share/cmap
112 ${MV} ${STAGEDIR}${PREFIX}/share/ghostscript/10.02.0/iccprofiles \
113 ${STAGEDIR}${PREFIX}/share/color/icc/ghostscript
114 ${LN} -s ../../color/icc/ghostscript \
115 ${STAGEDIR}${PREFIX}/share/ghostscript/10.02.0/iccprofiles
116 ${MV} ${STAGEDIR}${PREFIX}/share/ghostscript/10.02.0/Resource/CMap/Identity* \
117 ${STAGEDIR}${PREFIX}/share/cmap
118 ${RM} -r ${STAGEDIR}${PREFIX}/share/ghostscript/10.02.0/Resource/CMap
119 ${LN} -s ../../../cmap \
120 ${STAGEDIR}${PREFIX}/share/ghostscript/10.02.0/Resource/CMap
121 ${RM} ${STAGEDIR}${STD_DOCDIR}/10.02.0/COPYING
123 [FILE:609:descriptions/desc.primary]
124 Ghostscript is a high-performance Postscript and PDF interpreter and
125 rendering engine with the most comprehensive set of page description
126 languages (PDL's) on the market today and technology conversion
127 capabilities covering PDF, PostScript, PCL and XPS languages.
129 Ghostscript has been under active development for over 20 years, and
130 offers an extremely versatile feature set and can be deployed across
131 a wide range of platforms, modules, end uses (embedding in hardware,
132 as an engine in document management systems, providing cloud solution
133 integration and as an engine in leading PDF generators and tools).
136 [FILE:62:descriptions/desc.x11]
137 This package contains the x11 support library of ghostscript.
141 fa08ce016b30d26293dc322c6353691aced94fd3667a68ede7ff5395d71fcd0b 67955320 ghostscript-10.02.0.tar.xz
144 [FILE:4754:manifests/plist.primary]
180 libgs.so.%%SOVERSION%%
185 share/color/icc/ghostscript/
200 share/ghostscript/%%GV%%/iccprofiles
201 share/ghostscript/%%GV%%/Resource/CMap
202 share/ghostscript/%%GV%%/Resource/CIDFSubst/DroidSansFallback.ttf
203 share/ghostscript/%%GV%%/Resource/CIDFont/ArtifexBullet
204 share/ghostscript/%%GV%%/Resource/ColorSpace/
211 share/ghostscript/%%GV%%/Resource/Decoding/
219 share/ghostscript/%%GV%%/Resource/Encoding/
225 share/ghostscript/%%GV%%/Resource/Font/
232 NimbusMonoPS-BoldItalic
236 NimbusRoman-BoldItalic
240 NimbusSans-BoldItalic
243 NimbusSansNarrow-Bold
244 NimbusSansNarrow-BoldOblique
245 NimbusSansNarrow-Oblique
246 NimbusSansNarrow-Regular
253 URWBookman-DemiItalic
255 URWBookman-LightItalic
257 URWGothic-BookOblique
259 URWGothic-DemiOblique
261 share/ghostscript/%%GV%%/Resource/IdiomSet/
264 share/ghostscript/%%GV%%/Resource/Init/
318 share/ghostscript/%%GV%%/Resource/SubstCID/
323 share/ghostscript/%%GV%%/lib/
480 @dir lib/ghostscript/%%GV%%
483 [FILE:30:manifests/plist.x11]
484 lib/ghostscript/%%GV%%/X11.so
487 [FILE:305:manifests/plist.man]
513 [FILE:84:manifests/plist.docs]
514 share/doc/ghostscript/%%GV%%/
515 GS9_Color_Management.pdf
520 [FILE:2634:patches/patch-Resource_Init_cidfmap]
521 --- Resource/Init/cidfmap.orig 2023-09-13 06:45:01 UTC
522 +++ Resource/Init/cidfmap
524 % /ShinGo-Bold /HeiseiKakuGo-W5 ;
525 % /Ryumin-Medium << /FileType /TrueType /Path (H:/AuxFiles/Fonts/BATANG.TTC) /SubfontID 3 /CSI [(Japan1) 2] >> ;
526 % /Ryumin-Medium << /FileType /TrueType /Path (c:/windows/Fonts/BATANG.TTC) /SubfontID 3 /CSI [(Japan1) 2] >> ;
527 +/Ryumin-Light << /FileType /TrueType /Path (Ryumin-Light) /SubfontID 0 /CSI [(Japan1) 6] >> ;
528 +/GothicBBB-Medium << /FileType /TrueType /Path (GothicBBB-Medium) /SubfontID 0 /CSI [(Japan1) 6] >> ;
530 +/Ryumin-Medium /Ryumin-Light ;
531 +/Ryumin-Regular /Ryumin-Light ;
532 +/RyuminPro-Light /Ryumin-Light ;
534 +/GothicBBBPro-Medium /GothicBBB-Medium ;
536 +/KozGoPro-Bold /GothicBBB-Medium ;
537 +/KozGoPro-Heavy /GothicBBB-Medium ;
538 +/KozGoPro-Medium /GothicBBB-Medium ;
539 +/KozGoPro-Regular /GothicBBB-Medium ;
541 +/KozMinPro-Bold /Ryumin-Light ;
542 +/KozMinPro-Light /Ryumin-Light ;
543 +/KozMinPro-Medium /Ryumin-Light ;
544 +/KozMinPro-Regular /Ryumin-Light ;
546 +/HiraKakuPro-W3 /GothicBBB-Medium ;
547 +/HiraKakuPro-W6 /GothicBBB-Medium ;
548 +/HiraKakuStd-W8 /GothicBBB-Medium ;
550 +/HiraMaruPro-W4 /GothicBBB-Medium ;
552 +/HiraMinPro-W3 /Ryumin-Light ;
554 +/HeiseiMin-W3 /Ryumin-Light ;
555 +/HeiseiKakuGo-W5 /GothicBBB-Medium ;
557 +/FutoMinA101-Bold /Ryumin-Light ;
558 +/FutoMinA101Pro-Bold /Ryumin-Light ;
559 +/FutoGoB101-Bold /GothicBBB-Medium ;
560 +/FutoGoB101Pro-Bold /GothicBBB-Medium ;
562 +/Jun101-Light /Ryumin-Light ;
563 +/Jun101Pro-Light /Ryumin-Light ;
565 +/MidashiGo-MB31 /GothicBBB-Medium ;
566 +/MidashiGoPro-MB31 /GothicBBB-Medium ;
568 +/MidashiMinPro-MA31 /Ryumin-Light ;
570 +/MS-Mincho /Ryumin-Light ;
571 +/MS-PMincho /Ryumin-Light ;
572 +/MS-Gothic /GothicBBB-Medium ;
573 +/MS-PGothic /GothicBBB-Medium ;
575 +%/Munhwa-Regular /Munhwa-Regular ;
576 +%/MunhwaGothic-Regular /MunhwaGothic-Regular ;
577 +%/Munhwa-Bold /Munhwa-Bold ;
578 +%/MunhwaGothic-Bold /MunhwaGothic-Bold ;
580 +/HYGoThic-Medium /MunhwaGothic-Regular ;
581 +/HYSMyeongJo-Medium /Munhwa-Regular ;
582 +/HYRGoThic-Medium /MunhwaGothic-Bold ;
584 +/STHeiti-Regular << /FileType /TrueType /Path (STHeiti-Regular) /SubfontID 0 /CSI [(CNS1) 5] >> ;
585 +/STSong-Light << /FileType /TrueType /Path (STSong-Light) /SubfontID 0 /CSI [(GB1) 5] >> ;
586 +/MSung-Light << /FileType /TrueType /Path (MSung-Light) /SubfontID 0 /CSI [(CNS1) 5] >> ;
587 +/MHei-Medium << /FileType /TrueType /Path (MHei-Medium) /SubfontID 0 /CSI [(GB1) 5] >> ;
589 % NOTE: (as of 9.56.0) The use of Postscript operators in the cidfmap file is now deprecated, for compatibility
590 % with (and security of) the PDF interpreter implemented in C (rather than Postscript). Thus operations such
593 [FILE:387:patches/patch-base_fapi__ft.c]
594 --- base/fapi_ft.c.orig 2023-09-13 06:45:01 UTC
597 #include FT_MULTIPLE_MASTERS_H
598 #include FT_TYPE1_TABLES_H
600 +#ifndef FT_CALLBACK_DEF
601 +#define FT_CALLBACK_DEF( x ) static x
604 /* Note: structure definitions here start with FF_, which stands for 'FAPI FreeType". */
606 #define ft_emprintf(m,s) { outflush(m); emprintf(m, s); outflush(m); }
609 [FILE:244:patches/patch-base_ttobjs.h]
610 Avoid GS conflict on older SunOS.
612 --- base/ttobjs.h.orig 2023-09-13 06:45:01 UTC
627 [FILE:1603:patches/patch-configure]
628 --- configure.orig 2023-09-13 06:45:01 UTC
630 @@ -5565,7 +5565,7 @@ case $host in
631 CC_VISIBILITY_FLAGS_TO_TRY="-fvisibility=hidden"
636 if test x"$GCC" = x"yes"; then
637 CC_OPT_FLAGS_TO_TRY="-O2 -DNDEBUG"
638 CC_DBG_FLAGS_TO_TRY="-gdwarf-2 -g3 -O0"
639 @@ -6925,7 +6925,6 @@ then :
640 printf %s "(cached) " >&6
642 ac_check_lib_save_LIBS=$LIBS
644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
645 /* end confdefs.h. */
647 @@ -6958,7 +6957,7 @@ then :
648 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
649 if test "x$ac_cv_header_dlfcn_h" = xyes
651 - GCFLAGS="$GCFLAGS -DHAVE_LIBDL=1";LIBS="-ldl $LIBS"
652 + GCFLAGS="$GCFLAGS -DHAVE_LIBDL=1"
656 @@ -13260,7 +13259,7 @@ case $host in
657 GPDL_SONAME_MAJOR="lib\$(GPDL${libname3}"
658 GPDL_SONAME_MAJOR_MINOR="cyg\$(GPDL${libname2}"
662 DYNAMIC_CFLAGS="-fPIC $DYNAMIC_CFLAGS"
663 GS_DYNAMIC_LDFLAGS="-shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(GS_SONAME_MAJOR)"
664 PCL_DYNAMIC_LDFLAGS="-shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(PCL_SONAME_MAJOR)"
665 @@ -13379,7 +13378,7 @@ then :
666 OPT_CFLAGS="$DYNAMIC_CFLAGS $OPT_CFLAGS"
667 DBG_CFLAGS="$DYNAMIC_CFLAGS $DBG_CFLAGS"
671 DYNAMIC_DEVS="\$(GLOBJDIR)/X11.so"
672 DYNAMIC_FLAGS="-DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\\\"\$(gssharedir)\\\""
676 [FILE:505:patches/patch-leptonica_src_environ.h]
677 --- leptonica/src/environ.h.orig 2023-09-13 06:45:02 UTC
678 +++ leptonica/src/environ.h
679 @@ -172,7 +172,7 @@ typedef uintptr_t l_uintptr_t;
680 * To use them on MacOS, which does not support these functions, set it to 0.
681 *-------------------------------------------------------------------------*/
682 #if !defined(HAVE_CONFIG_H) && !defined(ANDROID_BUILD) && !defined(OS_IOS) && \
684 + !defined(_WIN32) && !defined(__sun)
685 #define HAVE_FMEMOPEN 1
686 #endif /* ! HAVE_CONFIG_H etc. */
690 [FILE:396:patches/patch-leptonica_src_sarray1.c]
691 --- leptonica/src/sarray1.c.orig 2023-09-13 06:45:02 UTC
692 +++ leptonica/src/sarray1.c
694 #endif /* ! _WIN32 */
695 #include "allheaders.h"
700 + return (dirp->d_fd);
704 static const l_uint32 MaxPtrArraySize = 25000000; /* 25 million */
705 static const l_int32 InitialPtrArraySize = 50; /*!< n'importe quoi */