Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jun 2012 19:21:36 GMT
From:      Dmitry <dmitry2004@yandex.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/169460: x11-fonts/stix-fonts update to ver. 1.1.0 [patch]
Message-ID:  <201206261921.q5QJLakN081915@red.freebsd.org>
Resent-Message-ID: <201206261930.q5QJUBug003499@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         169460
>Category:       ports
>Synopsis:       x11-fonts/stix-fonts update to ver. 1.1.0 [patch]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 26 19:30:11 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry
>Release:        9.0-STABLE
>Organization:
>Environment:
FreeBSD *** 9.0-STABLE FreeBSD 9.0-STABLE #0: *** root@***:/usr/obj/usr/src/sys/GENERIC_ amd64
>Description:
STIX Fonts Version 1.1.0 Released
The mission of the Scientific and Technical Information Exchange (STIX) font project is the creation of a comprehensive set of fonts that serve the scientific and engineering communities.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- Makefile.orig	2012-06-27 00:12:00.000000000 +0600
+++ Makefile	2012-06-27 01:15:57.000000000 +0600
@@ -6,10 +6,9 @@
 #
 
 PORTNAME=	stixfonts
-PORTVERSION=	1.0.0
+PORTVERSION=	1.1.0
 CATEGORIES=	x11-fonts
-MASTER_SITES=	SF/${PORTNAME}/CurrentRelease/
-# http://freefr.dl.sourceforge.net/project/stixfonts/CurrentRelease/STIXv1.0.0.zip
+MASTER_SITES=	SF/${PORTNAME}/
 DISTNAME=	STIXv${PORTVERSION}
 
 MAINTAINER=	thierry@FreeBSD.org
@@ -19,6 +18,8 @@
 		mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir
 RUN_DEPENDS=	fc-cache:${PORTSDIR}/x11-fonts/fontconfig
 
+NO_WRKSUBDIR=	yes
+
 USE_ZIP=	yes
 USE_XORG=	x11
 
@@ -34,7 +35,7 @@
 PKGMESSAGE=	${WRKDIR}/pkg-message
 SUB_LIST=	FONTDIR=${FONTDIR}
 
-FONTNAME=	stix
+FONTNAME=	stix2
 FONTDIR=	${PREFIX}/lib/X11/fonts/${FONTNAME}
 
 MKFONTSCL_CMD=	${LOCALBASE}/bin/mkfontscale
@@ -42,13 +43,13 @@
 FCCACHE=	${LOCALBASE}/bin/fc-cache -f -v
 
 do-build:
-	cd ${WRKSRC}/Fonts && ${MKFONTSCL_CMD}
-	${REINPLACE_CMD} -e 's|-misc-|-stix-|' ${WRKSRC}/Fonts/fonts.scale
-	cd ${WRKSRC}/Fonts && ${MKFONTDIR_CMD}
 
 do-install:
 	${MKDIR} ${FONTDIR}
-	cd ${WRKSRC}/Fonts && ${INSTALL_DATA} fonts.dir fonts.scale *.otf ${FONTDIR}
+	cd ${WRKSRC}/Fonts && ${INSTALL_DATA} STIX-General/*.otf STIX-Word/*.otf ${FONTDIR}
+	cd ${FONTDIR} && ${MKFONTSCL_CMD}
+	${REINPLACE_CMD} -e 's|-misc-|-stix-|' ${FONTDIR}/fonts.scale && ${RM} ${FONTDIR}/fonts.scale.bak
+	cd ${FONTDIR} && ${MKFONTDIR_CMD}
 
 post-install:
 	@${ECHO_MSG} "===> Running fc-cache"
--- distinfo.orig	2012-06-27 00:12:00.000000000 +0600
+++ distinfo	2012-06-27 00:12:25.000000000 +0600
@@ -1,2 +1,2 @@
-SHA256 (STIXv1.0.0.zip) = 2f10ee4deaf93e31d2fad6b4df2091e4c56b8c144499da4c0178fc0e4a873cfe
-SIZE (STIXv1.0.0.zip) = 2761626
+SHA256 (STIXv1.1.0.zip) = f63d3523fb492dd09a3f30d40eb3a89bc3159f86c8b720014805b27f368270be
+SIZE (STIXv1.1.0.zip) = 2722656
--- pkg-plist.orig	2012-06-27 01:17:23.000000000 +0600
+++ pkg-plist	2012-06-27 01:01:22.000000000 +0600
@@ -1,35 +1,40 @@
 @comment $FreeBSD: ports/x11-fonts/stix-fonts/pkg-plist,v 1.2 2010/08/24 20:08:34 thierry Exp $
-%%FONTDIR%%/STIXGeneral.otf
-%%FONTDIR%%/STIXGeneralBol.otf
-%%FONTDIR%%/STIXGeneralBolIta.otf
-%%FONTDIR%%/STIXGeneralItalic.otf
-%%FONTDIR%%/STIXIntDBol.otf
-%%FONTDIR%%/STIXIntDReg.otf
-%%FONTDIR%%/STIXIntSmBol.otf
-%%FONTDIR%%/STIXIntSmReg.otf
-%%FONTDIR%%/STIXIntUpBol.otf
-%%FONTDIR%%/STIXIntUpDBol.otf
-%%FONTDIR%%/STIXIntUpDReg.otf
-%%FONTDIR%%/STIXIntUpReg.otf
-%%FONTDIR%%/STIXIntUpSmBol.otf
-%%FONTDIR%%/STIXIntUpSmReg.otf
-%%FONTDIR%%/STIXNonUni.otf
-%%FONTDIR%%/STIXNonUniBol.otf
-%%FONTDIR%%/STIXNonUniBolIta.otf
-%%FONTDIR%%/STIXNonUniIta.otf
-%%FONTDIR%%/STIXSizFiveSymReg.otf
-%%FONTDIR%%/STIXSizFourSymBol.otf
-%%FONTDIR%%/STIXSizFourSymReg.otf
-%%FONTDIR%%/STIXSizOneSymBol.otf
-%%FONTDIR%%/STIXSizOneSymReg.otf
-%%FONTDIR%%/STIXSizThreeSymBol.otf
-%%FONTDIR%%/STIXSizThreeSymReg.otf
-%%FONTDIR%%/STIXSizTwoSymBol.otf
-%%FONTDIR%%/STIXSizTwoSymReg.otf
-%%FONTDIR%%/STIXVar.otf
-%%FONTDIR%%/STIXVarBol.otf
+%%FONTDIR%%/STIX-Bold.otf
+%%FONTDIR%%/STIX-BoldItalic.otf
+%%FONTDIR%%/STIX-Italic.otf
+%%FONTDIR%%/STIX-Regular.otf
+%%FONTDIR%%/STIXGeneral-Bold.otf
+%%FONTDIR%%/STIXGeneral-BoldItalic.otf
+%%FONTDIR%%/STIXGeneral-Italic.otf
+%%FONTDIR%%/STIXGeneral-Regular.otf
+%%FONTDIR%%/STIXIntegralsD-Bold.otf
+%%FONTDIR%%/STIXIntegralsD-Regular.otf
+%%FONTDIR%%/STIXIntegralsSm-Bold.otf
+%%FONTDIR%%/STIXIntegralsSm-Regular.otf
+%%FONTDIR%%/STIXIntegralsUp-Bold.otf
+%%FONTDIR%%/STIXIntegralsUp-Regular.otf
+%%FONTDIR%%/STIXIntegralsUpD-Bold.otf
+%%FONTDIR%%/STIXIntegralsUpD-Regular.otf
+%%FONTDIR%%/STIXIntegralsUpSm-Bold.otf
+%%FONTDIR%%/STIXIntegralsUpSm-Regular.otf
+%%FONTDIR%%/STIXMath-Regular.otf
+%%FONTDIR%%/STIXNonUnicode-Bold.otf
+%%FONTDIR%%/STIXNonUnicode-BoldItalic.otf
+%%FONTDIR%%/STIXNonUnicode-Italic.otf
+%%FONTDIR%%/STIXNonUnicode-Regular.otf
+%%FONTDIR%%/STIXSizeFiveSym-Regular.otf
+%%FONTDIR%%/STIXSizeFourSym-Bold.otf
+%%FONTDIR%%/STIXSizeFourSym-Regular.otf
+%%FONTDIR%%/STIXSizeOneSym-Bold.otf
+%%FONTDIR%%/STIXSizeOneSym-Regular.otf
+%%FONTDIR%%/STIXSizeThreeSym-Bold.otf
+%%FONTDIR%%/STIXSizeThreeSym-Regular.otf
+%%FONTDIR%%/STIXSizeTwoSym-Bold.otf
+%%FONTDIR%%/STIXSizeTwoSym-Regular.otf
+%%FONTDIR%%/STIXVariants-Bold.otf
+%%FONTDIR%%/STIXVariants-Regular.otf
 %%FONTDIR%%/fonts.dir
 %%FONTDIR%%/fonts.scale
 @exec %%FCCACHE%% %D/%%FONTDIR%% 2>/dev/null || true
-@unexec rm %D/%%FONTDIR%%/fonts.cache-1 2>/dev/null || /usr/bin/true
+@unexec rm %D/%%FONTDIR%%/fonts.cache-1 2>/dev/null || true
 @dirrm %%FONTDIR%%


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201206261921.q5QJLakN081915>