FreeBSD Bugzilla – Attachment 130817 Details for
Bug 174823
[MAINTAINER] print/fontforge: update freetype2 version, update to OptionsNG
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
fontforge.patch
fontforge.patch (text/plain; charset=us-ascii), 6.64 KB, created by
Naram Qashat
on 2013-03-22 22:59:16 UTC
(
hide
)
Description:
fontforge.patch
Filename:
MIME Type:
Creator:
Naram Qashat
Created:
2013-03-22 22:59:16 UTC
Size:
6.64 KB
patch
obsolete
>diff -ruN /usr/ports/print/fontforge/Makefile /kirby/shared/ports/fontforge/Makefile >--- /usr/ports/print/fontforge/Makefile 2013-02-10 13:22:09.000000000 -0500 >+++ /kirby/shared/ports/fontforge/Makefile 2013-03-22 18:38:45.000000000 -0400 >@@ -5,9 +5,14 @@ > DISTVERSION= 20120731-b > PORTREVISION= 1 > CATEGORIES= print >-MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-source >-DISTFILES= ${EXTRACT_ONLY} >-EXTRACT_ONLY= ${PORTNAME}_full-${DISTVERSION}.tar.bz2 >+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-source \ >+ SF/freetype/${PORTNAME}/${PORTVERSION}:freetype \ >+ http://sunsite.cnlab-switch.ch/ftp/mirror/freetype/freetype2/:freetype \ >+ http://www.funet.fi/pub/mirrors/ftp.freetype.org/freetype2/:freetype \ >+ http://ftp.sunet.se/pub/text-processing/freetype/freetype2/:freetype \ >+ ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,graphics/freetype/&,}:freetype \ >+ ftp://ftp.freetype.org/freetype/freetype2/:freetype >+DISTFILES= ${PORTNAME}_full-${DISTVERSION}.tar.bz2 > > MAINTAINER= cyberbotx@cyberbotx.com > COMMENT= Type 1/TrueType/OpenType/bitmap font editor >@@ -17,22 +22,9 @@ > jpeg:${PORTSDIR}/graphics/jpeg \ > png15:${PORTSDIR}/graphics/png \ > gif:${PORTSDIR}/graphics/giflib \ >- freetype:${PORTSDIR}/print/freetype2 \ > xml2:${PORTSDIR}/textproc/libxml2 \ > spiro:${PORTSDIR}/graphics/libspiro > >-.if defined(FONTFORGE_WITH_TTF_DEBUGGER) >-FREETYPE_VERSION= 2.4.9 >-EXTRACT_ONLY+= freetype-${FREETYPE_VERSION}.tar.bz2 >-.endif >- >-.if !defined(NOPORTDOCS) >-DOC_VERSION= ${DISTVERSION} >-MASTER_SITES+= SF/${PORTNAME}/${PORTNAME}-docs:docs >-DOCFILES= ${PORTNAME}_htdocs-${DOC_VERSION}.tar.bz2 >-DISTFILES+= ${DOCFILES:C/$/:docs/} >-.endif >- > USE_BZIP2= yes > USE_GETTEXT= yes > USE_XORG= x11 xi ice xkbui >@@ -40,13 +32,29 @@ > USE_ICONV= yes > PATCH_STRIP= -l > >-.if !defined(FONTFORGE_NO_MULTILAYER) >-WITH_MULTILAYER= --enable-type3 >+OPTIONS_DEFINE= DOCS MULTILAYER FREETYPE PLUGINS PYTHON CAIRO PYTHON >+OPTIONS_DEFAULT= DOCS MULTILAYER PLUGINS >+MULTILAYER_DESC= type3/SVG multilayer font support >+ >+.include <bsd.port.options.mk> >+ >+.if ${PORT_OPTIONS:MDOCS} >+DOC_VERSION= ${DISTVERSION} >+MASTER_SITES+= SF/${PORTNAME}/${PORTNAME}-docs:docs >+DOCFILES= ${PORTNAME}_htdocs-${DOC_VERSION}.tar.bz2 >+DISTFILES+= ${DOCFILES:C/$/:docs/} >+.endif >+ >+.if ${PORT_OPTIONS:MMULTILAYER} >+WITH_TYPE3_MULTILAYER= --enable-type3 > .else >-WITH_MULTILAYER= --disable-type3 >+WITH_TYPE3_MULTILAYER= --disable-type3 > .endif > >-.if !defined(WITHOUT_TTF_BYTECODE_ENABLED) && defined(FONTFORGE_WITH_TTF_DEBUGGER) >+.if ${PORT_OPTIONS:MFREETYPE} >+FREETYPE_VERSION= 2.4.11 >+FREETYPE_SRC= freetype-${FREETYPE_VERSION}.tar.bz2 >+DISTFILES+= ${FREETYPE_SRC:C/$/:freetype/} > WITH_FREETYPE_SRC= --enable-freetype --with-freetype-bytecode \ > --with-freetype-src=${WRKDIR}/freetype-${FREETYPE_VERSION} > .else >@@ -54,7 +62,7 @@ > --without-freetype-src > .endif > >-CONFIGURE_ARGS= ${WITH_MULTILAYER} --enable-devicetables ${WITH_FREETYPE_SRC} \ >+CONFIGURE_ARGS= ${WITH_TYPE3_MULTILAYER} --enable-devicetables ${WITH_FREETYPE_SRC} \ > --enable-pasteafter --enable-tilepath > CPPFLAGS+= -I${LOCALBASE}/include > LDFLAGS+= -L${LOCALBASE}/lib >@@ -65,13 +73,13 @@ > > MAN1= fontforge.1 fontimage.1 fontlint.1 sfddiff.1 > >-.if defined(FONTFORGE_NO_PLUGINS) >-PLIST_SUB+= NO_PLUGINS="@comment " >-.else >+.if ${PORT_OPTIONS:MPLUGINS} > PLIST_SUB+= NO_PLUGINS="" >+.else >+PLIST_SUB+= NO_PLUGINS="@comment " > .endif > >-.if defined(WITH_PYTHON) >+.if ${PORT_OPTIONS:MPYTHON} > USE_PYTHON= yes > ONLY_FOR_ARCHS= i386 > ONLY_FOR_ARCHS_REASON= Python on non-i386 systems doesn't link with Fontforge (issues with use of Python's .a file) >@@ -81,14 +89,14 @@ > CONFIGURE_ARGS+= --without-python > .endif > >-.if defined(WITH_CAIRO) >+.if ${PORT_OPTIONS:MCAIRO} > LIB_DEPENDS+= cairo:${PORTSDIR}/graphics/cairo > CONFIGURE_ARGS+= --with-cairo > .else > CONFIGURE_ARGS+= --without-cairo > .endif > >-.if defined(WITH_PANGO) >+.if ${PORT_OPTIONS:MPANGO} > USE_GNOME+= pango > CONFIGURE_ARGS+= --with-pango > .else >@@ -96,23 +104,14 @@ > .endif > > pre-everything:: >-.if !defined(WITHOUT_TTF_BYTECODE_ENABLED) && !defined(FONTFORGE_WITH_TTF_DEBUGGER) >- @${ECHO_MSG} "If you have built freetype2 port with bytecode interpreter enabled," >- @${ECHO_MSG} "You can use TTF instruction debugger by compiling fontforge port" >- @${ECHO_MSG} "with FONTFORGE_WITH_TTF_DEBUGGER defined." >- @${ECHO_MSG} "Note that you must put the source archive of FreeType in ${DISTDIR}." >- @${ECHO_MSG} "If you have installed freetype2 from a package, chdir to ${PORTSDIR}/print/freetype2" >- @${ECHO_MSG} "and execute 'make fetch' before building this port". >- @${ECHO_MSG} "" >-.endif >-.if !defined(FONTFORGE_NO_MULTILAYER) >+.if !${PORT_OPTIONS:MMULTILAYER} > @${ECHO_MSG} "If your machine has small memory and you have to edit fonts with a lot" >- @${ECHO_MSG} "of glyphs, you can save memory by defining FONTFORGE_NO_MULTILAYER." >+ @${ECHO_MSG} "of glyphs, you can save memory by enabling the MULTILAYER option." > @${ECHO_MSG} "Enabling multilayer editing increases memory consumption per glyph." > @${ECHO_MSG} "" > .endif > >-.if !defined(NOPORTDOCS) >+.if ${PORT_OPTIONS:MDOCS} > post-extract: > ${MKDIR} ${WRKDIR}/html ${WRKSRC}/cidmap > for doc in ${DOCFILES} ; \ >@@ -127,7 +126,7 @@ > post-patch: > @${CHMOD} +x ${WRKSRC}/configure > >-.if !defined(FONTFORGE_NO_PLUGINS) >+.if ${PORT_OPTIONS:MPLUGINS} > post-build: > cd ${WRKSRC}/plugins; ${GMAKE} > .endif >@@ -135,11 +134,11 @@ > post-install: > ${MKDIR} ${DOCSDIR} > ${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCSDIR} >-.if !defined(FONTFORGE_NO_PLUGINS) >+.if ${PORT_OPTIONS:MPLUGINS} > ${MKDIR} ${PREFIX}/share/fontforge/plugins >- (cd ${WRKSRC}/plugins; ${INSTALL_DATA} .libs/* ${PREFIX}/share/fontforge/plugins ) >+ (cd ${WRKSRC}/plugins; ${INSTALL_DATA} .libs/* ${PREFIX}/share/fontforge/plugins) > .endif >-.if !defined(NOPORTDOCS) >+.if ${PORT_OPTIONS:MDOCS} > # Ditto the above note in post-extract for these comments > # ${MKDIR} ${DOCSDIR}/flags > ${INSTALL_DATA} ${WRKDIR}/html/*.* ${DOCSDIR} >diff -ruN /usr/ports/print/fontforge/distinfo /kirby/shared/ports/fontforge/distinfo >--- /usr/ports/print/fontforge/distinfo 2012-10-07 17:07:08.000000000 -0400 >+++ /kirby/shared/ports/fontforge/distinfo 2013-03-22 18:24:47.000000000 -0400 >@@ -1,6 +1,6 @@ > SHA256 (fontforge_full-20120731-b.tar.bz2) = 1b6184caff211e315783a029256f56cf05f1d4fd3cbcb41820d21c7745040fb6 > SIZE (fontforge_full-20120731-b.tar.bz2) = 5541994 >-SHA256 (freetype-2.4.9.tar.bz2) = c4204ac1d48e99d4375a2f32bf4f3f92780a9d9f015e64e57e852f6c004859b9 >-SIZE (freetype-2.4.9.tar.bz2) = 1504819 > SHA256 (fontforge_htdocs-20120731-b.tar.bz2) = 6c3f178484d21814762c52859ffead25564a93e88cd5fe7cc9877e4b7e85105d > SIZE (fontforge_htdocs-20120731-b.tar.bz2) = 3506833 >+SHA256 (freetype-2.4.11.tar.bz2) = ef9d0bcb64647d9e5125dc7534d7ca371c98310fec87677c410f397f71ffbe3f >+SIZE (freetype-2.4.11.tar.bz2) = 1546087
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 174823
:
130816
| 130817 |
130818