FreeBSD Bugzilla – Attachment 241706 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 point 2
0002-print-ghostscript10-flavorize-port.patch (text/plain), 2.12 KB, created by
Michael Osipov
on 2023-04-24 18:56:36 UTC
(
hide
)
Description:
Patch for point 2
Filename:
MIME Type:
Creator:
Michael Osipov
Created:
2023-04-24 18:56:36 UTC
Size:
2.12 KB
patch
obsolete
>From 556f0094f7ccf7ce5056d18dd090d6d809ff618f Mon Sep 17 00:00:00 2001 >From: Chad Jacob Milios <milios@ccsys.com> >Date: Mon, 24 Apr 2023 19:04:59 +0200 >Subject: [PATCH 2/2] print/ghostscript10: flavorize port > >This change introduces two flavors: default and x11. Compared to GS 9 port >the X11 device driver is now integrated into GS instead of being dynamic which >is not in conformance with GS 10 approcch. > >Co-authored-by: Michael Osipov <michael.osipov@siemens.com> >--- > print/ghostscript10/Makefile | 21 ++++++++++++++++++--- > 1 file changed, 18 insertions(+), 3 deletions(-) > >diff --git a/print/ghostscript10/Makefile b/print/ghostscript10/Makefile >index 2ea06f00521b..96d10d808fbb 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= 10 > > MAINTAINER= michael.osipov@siemens.com > COMMENT= PostScript and PDF interpreter >@@ -23,6 +24,12 @@ 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= ghostscript10-x11 >+x11_PKGNAMESUFFIX= 10-x11 >+x11_CONFLICTS_INSTALL= ghostscript10 >+ > USES= cpe gmake iconv jpeg localbase pkgconfig tar:xz > USE_LDCONFIG= yes > CPE_VENDOR= artifex >@@ -59,8 +66,7 @@ CONFIGURE_ARGS= --disable-compile-inits \ > --with-libiconv=maybe \ > --with-libidn \ > --with-libpaper \ >- --with-system-libtiff \ >- --without-x >+ --with-system-libtiff > > GS_MINOR_VERSION= ${DISTVERSION:R:E} > PLIST_SUB= GS_MINOR_VERSION=${GS_MINOR_VERSION} >@@ -68,6 +74,15 @@ PLIST_SUB= GS_MINOR_VERSION=${GS_MINOR_VERSION} > 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 >+ > OPTIONS_DEFINE= CUPS IJS TESSERACT > OPTIONS_DEFAULT=CUPS > >-- >2.40.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 270989
:
241643
|
241701
|
241702
|
241703
|
241705
|
241706
|
241707
|
241733
|
241823
|
241824
|
242786
|
242787
|
242788
|
242846
|
242848
|
242939
|
242946
|
243151
|
243258
|
243259
|
243260
|
243261