FreeBSD Bugzilla – Attachment 242848 Details for
Bug 270989
print/ghostscript10: adds libgs.so; connects to USES and DEFAULT_VERSIONS facilities; flavorized
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for ghostscript10 (1+2 combined) v2
ghostscript-fixup-v1.patch (text/plain), 4.60 KB, created by
Daniel Engberg
on 2023-06-17 21:28:29 UTC
(
hide
)
Description:
Patch for ghostscript10 (1+2 combined) v2
Filename:
MIME Type:
Creator:
Daniel Engberg
Created:
2023-06-17 21:28:29 UTC
Size:
4.60 KB
patch
obsolete
>diff --git a/print/ghostscript10/Makefile b/print/ghostscript10/Makefile >index 7bca1945c134..df051a36b0b6 100644 >--- a/print/ghostscript10/Makefile >+++ b/print/ghostscript10/Makefile >@@ -1,8 +1,9 @@ > PORTNAME= ghostscript > DISTVERSION= 10.01.1 >-PORTREVISION= 2 >+PORTREVISION= 3 > CATEGORIES= print > MASTER_SITES= https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${DISTVERSION:S/.//g}/ >+PKGNAMESUFFIX= ${DISTVERSION:R:R} > > MAINTAINER= michael.osipov@siemens.com > COMMENT= PostScript and PDF interpreter >@@ -23,57 +24,79 @@ LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ > RUN_DEPENDS= poppler-data>=0.4.9:graphics/poppler-data \ > urw-base35-fonts>=20200910:x11-fonts/urw-base35-fonts > >+FLAVORS= default x11 >+FLAVOR?= ${FLAVORS:[1]} >+default_CONFLICTS_INSTALL= ${PORTNAME}${DISTVERSION:R:R}-${FLAVORS:[2]} >+x11_PKGNAMESUFFIX= ${DISTVERSION:R:R}-${FLAVOR} >+x11_CONFLICTS_INSTALL= ${PORTNAME}${DISTVERSION:R:R} >+ > USES= cpe gmake iconv jpeg localbase pkgconfig tar:xz >+USE_LDCONFIG= yes > CPE_VENDOR= artifex > > CONFLICTS_INSTALL= ghostscript[789]-base \ >- ghostscript[789]-x11 \ >- ghostscript9-agpl-base \ >- ghostscript9-agpl-x11 >+ ghostscript[789]-x11 \ >+ ghostscript9-agpl-base \ >+ ghostscript9-agpl-x11 >+ > EXTRACT_AFTER_ARGS= --exclude cups/libs \ >- --exclude freetype \ >- --exclude ijs \ >- --exclude jbig2dec \ >- --exclude jpeg \ >- --exclude lcms2mt \ >- --exclude libpng \ >- --exclude openjpeg \ >- --exclude tiff \ >- --exclude zlib >- >-DATADIR= ${PREFIX}/share/${PORTNAME}/${DISTVERSION} >+ --exclude freetype \ >+ --exclude ijs \ >+ --exclude jbig2dec \ >+ --exclude jpeg \ >+ --exclude lcms2mt \ >+ --exclude libpng \ >+ --exclude openjpeg \ >+ --exclude tiff \ >+ --exclude zlib > > GNU_CONFIGURE= yes > >-CONFIGURE_ARGS= --disable-compile-inits \ >- --disable-dbus \ >- --disable-gtk \ >- --disable-dynamic \ >- --enable-contrib \ >- --enable-fontconfig \ >- --enable-freetype \ >- --enable-openjpeg \ >- --with-fontpath=${LOCALBASE}/share/fonts \ >- --with-jbig2dec \ >- --with-libiconv=maybe \ >- --with-libidn \ >- --with-libpaper \ >- --with-system-libtiff \ >- --without-x >- >-OPTIONS_DEFINE= CUPS IJS TESSERACT >-OPTIONS_DEFAULT=CUPS >- >-IJS_DESC= Support libijs based Ghostscript devices >-TESSERACT_DESC= Enable bundled Tesseract OCR engine >- >-CUPS_LIB_DEPENDS= libcups.so:print/cups >-CUPS_CONFIGURE_ENABLE= cups >- >-IJS_LIB_DEPENDS= libijs.so:print/libijs >-IJS_CONFIGURE_WITH= ijs >- >-TESSERACT_USES= compiler:c++17-lang >+ALL_TARGET= so >+INSTALL_TARGET= soinstall >+ >+.if ${FLAVOR} == default >+CONFIGURE_ARGS+= --without-x >+.endif >+.if ${FLAVOR} == x11 >+USES+= xorg >+USE_XORG= ice sm x11 xext xt >+CONFIGURE_ARGS+= --with-x >+.endif >+ >+DATADIR= ${PREFIX}/share/${PORTNAME}/${DISTVERSION} >+ >+GS_MINOR_VERSION= ${DISTVERSION:R:E} >+PLIST_SUB= GS_MINOR_VERSION=${GS_MINOR_VERSION} >+ >+CONFIGURE_ARGS+= --disable-compile-inits \ >+ --disable-dbus \ >+ --disable-gtk \ >+ --disable-dynamic \ >+ --enable-contrib \ >+ --enable-fontconfig \ >+ --enable-freetype \ >+ --enable-openjpeg \ >+ --with-fontpath=${LOCALBASE}/share/fonts \ >+ --with-jbig2dec \ >+ --with-libiconv=maybe \ >+ --with-libidn \ >+ --with-libpaper \ >+ --with-system-libtiff >+ >+OPTIONS_DEFINE= CUPS IJS TESSERACT >+OPTIONS_DEFAULT= CUPS >+ >+IJS_DESC= Support libijs based Ghostscript devices >+TESSERACT_DESC= Enable bundled Tesseract OCR engine >+ >+CUPS_LIB_DEPENDS= libcups.so:print/cups >+CUPS_CONFIGURE_ENABLE= cups >+ >+IJS_LIB_DEPENDS= libijs.so:print/libijs >+IJS_CONFIGURE_WITH= ijs >+ >+TESSERACT_USES= compiler:c++17-lang > TESSERACT_CONFIGURE_WITH= tesseract > # No TESSERACT_LIB_DEPENDS= libtesseract.so:graphics/tesseract > # See https://bugs.ghostscript.com/show_bug.cgi?id=706490 >@@ -83,7 +106,10 @@ post-patch: > ${PATCH_WRKSRC}/man/gs.1 > > post-install: >- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/gs >+ ${MV} ${STAGEDIR}${PREFIX}/bin/gsc ${STAGEDIR}${PREFIX}/bin/gs >+ ${RM} ${STAGEDIR}${PREFIX}/bin/gsx >+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/gs \ >+ ${STAGEDIR}${PREFIX}/lib/libgs.so.10.${GS_MINOR_VERSION} > ${RM} ${STAGEDIR}${PREFIX}/bin/lprsetup.sh > ${RM} ${STAGEDIR}${PREFIX}/bin/unix-lpr.sh > ${MKDIR} ${STAGEDIR}${PREFIX}/share/color/icc >diff --git a/print/ghostscript10/pkg-plist b/print/ghostscript10/pkg-plist >index 861f38d4d3e3..09b65abb5294 100644 >--- a/print/ghostscript10/pkg-plist >+++ b/print/ghostscript10/pkg-plist >@@ -22,6 +22,13 @@ bin/ps2pdf14 > bin/ps2pdfwr > bin/ps2ps > bin/ps2ps2 >+include/ghostscript/gdevdsp.h >+include/ghostscript/gserrors.h >+include/ghostscript/iapi.h >+include/ghostscript/ierrors.h >+lib/libgs.so >+lib/libgs.so.10 >+lib/libgs.so.10.%%GS_MINOR_VERSION%% > man/man1/dvipdf.1.gz > man/man1/eps2eps.1.gz > man/man1/gs.1.gz
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 270989
:
241643
|
241701
|
241702
|
241703
|
241705
|
241706
|
241707
|
241733
|
241823
|
241824
|
242786
|
242787
|
242788
|
242846
|
242848
|
242939
|
242946
|
243151
|
243258
|
243259
|
243260
|
243261