FreeBSD Bugzilla – Attachment 244520 Details for
Bug 272541
print/ghostscript10: DEFAULT_VERSION=ghostscript=10 cannot be used
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Turn flavors into options (Git-formatted patch)
0001-print-ghostscript10-add-default-port-option-for-X11.patch (text/plain), 2.71 KB, created by
Michael Osipov
on 2023-08-31 13:21:13 UTC
(
hide
)
Description:
Turn flavors into options (Git-formatted patch)
Filename:
MIME Type:
Creator:
Michael Osipov
Created:
2023-08-31 13:21:13 UTC
Size:
2.71 KB
patch
obsolete
>From b67e8c6d44b7a7646ba61f7b2da03ab9e14c9afb Mon Sep 17 00:00:00 2001 >From: Michael Osipov <michael.osipov@siemens.com> >Date: Thu, 31 Aug 2023 15:15:09 +0200 >Subject: [PATCH 1/2] print/ghostscript10: add default port option for X11 > >This change replaces flavors with a new default port option for X11. >Compared to GS 9 port the X11 device driver is now integrated into GS instead >of being dynamically loaded which is not in conformance with new GS 10 approach. >The flavors approach creates conflicting dependencies with other ports which >cannot be solved this time with the ports framework. > >See PRs 270989 and 272541 for details. >--- > print/ghostscript10/Makefile | 25 +++++++------------------ > 1 file changed, 7 insertions(+), 18 deletions(-) > >diff --git a/print/ghostscript10/Makefile b/print/ghostscript10/Makefile >index 2150ac1d4db9..5d3004c36122 100644 >--- a/print/ghostscript10/Makefile >+++ b/print/ghostscript10/Makefile >@@ -1,6 +1,6 @@ > PORTNAME= ghostscript > DISTVERSION= 10.01.2 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= print > MASTER_SITES= https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${DISTVERSION:S/.//g}/ > PKGNAMESUFFIX= ${GS_MAJOR_VERSION} >@@ -24,12 +24,6 @@ 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}${GS_MAJOR_VERSION}-${FLAVORS:[2]} >-x11_PKGNAMESUFFIX= ${GS_MAJOR_VERSION}-${FLAVOR} >-x11_CONFLICTS_INSTALL= ${PORTNAME}${GS_MAJOR_VERSION} >- > USES= cpe gmake iconv jpeg localbase pkgconfig tar:xz > USE_LDCONFIG= yes > CPE_VENDOR= artifex >@@ -55,15 +49,6 @@ GNU_CONFIGURE= yes > 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_MAJOR_VERSION= ${DISTVERSION:R:R} >@@ -86,8 +71,8 @@ CONFIGURE_ARGS+= --disable-compile-inits \ > --with-libpaper \ > --with-system-libtiff > >-OPTIONS_DEFINE= CUPS IJS TESSERACT >-OPTIONS_DEFAULT= CUPS >+OPTIONS_DEFINE= CUPS IJS TESSERACT X11 >+OPTIONS_DEFAULT= CUPS X11 > > IJS_DESC= Support libijs based Ghostscript devices > TESSERACT_DESC= Enable bundled Tesseract OCR engine >@@ -103,6 +88,10 @@ TESSERACT_CONFIGURE_WITH= tesseract > # No TESSERACT_LIB_DEPENDS= libtesseract.so:graphics/tesseract > # See https://bugs.ghostscript.com/show_bug.cgi?id=706490 > >+X11_CONFIGURE_WITH= x >+X11_USES= xorg >+X11_USE= xorg=ice,sm,x11,xext,xt >+ > post-patch: > @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ > ${PATCH_WRKSRC}/man/gs.1 >-- >2.41.0 >
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 272541
:
244520
|
244521
|
244821
|
244822