Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jan 2012 02:42:16 GMT
From:      Pedro Giffuni <pfg@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/164229: New port: x11-fonts/croscorefonts
Message-ID:  <201201170242.q0H2gGIe058403@red.freebsd.org>
Resent-Message-ID: <201201170250.q0H2o6q0028757@freefall.freebsd.org>

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

>Number:         164229
>Category:       ports
>Synopsis:       New port: x11-fonts/croscorefonts
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 17 02:50:06 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Pedro Giffuni
>Release:        9.0-RELEASE
>Organization:
>Environment:
FreeBSD pcbsd-8714 9.0-RELEASE FreeBSD 9.0-RELEASE #3: Tue Dec 27 14:14:29 PST 2011     root@build9x64.pcbsd.org:/usr/obj/builds/amd64/pcbsd-build90/fbsd-source/9.0/sys/GENERIC  amd64

>Description:
Google has a new set of fonts developed for Chrome OS.

This are very similar but improved versions of the GPL'd
"liberation fonts" and are available under SIL's OpenFont License.

office@FreeBSD.org has been set as the port maintainer.
>How-To-Repeat:

>Fix:
Shar file attached.

Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	./croscorefonts-fonts-ttf
#	./croscorefonts-fonts-ttf/files
#	./croscorefonts-fonts-ttf/files/pkg-message.in
#	./croscorefonts-fonts-ttf/Makefile
#	./croscorefonts-fonts-ttf/distinfo
#	./croscorefonts-fonts-ttf/pkg-descr
#	./croscorefonts-fonts-ttf/pkg-plist
#
echo c - ./croscorefonts-fonts-ttf
mkdir -p ./croscorefonts-fonts-ttf > /dev/null 2>&1
echo c - ./croscorefonts-fonts-ttf/files
mkdir -p ./croscorefonts-fonts-ttf/files > /dev/null 2>&1
echo x - ./croscorefonts-fonts-ttf/files/pkg-message.in
sed 's/^X//' >./croscorefonts-fonts-ttf/files/pkg-message.in << '8a60acdf674e29ed5e89d965ca25b23d'
XYou can start using the fonts by following these instructions:
X
XAdd the following line to the "Files" section of your x.org configuration file:
X
X	FontPath "%%FONTDIR%%/"
8a60acdf674e29ed5e89d965ca25b23d
echo x - ./croscorefonts-fonts-ttf/Makefile
sed 's/^X//' >./croscorefonts-fonts-ttf/Makefile << '3a447993d5637c6d81c2b247cd8288b3'
X# New ports collection makefile for:	ChromeOS fonts
X# Date created:		17 May 2007
X# Whom:			Pedro Giffuni
X#
X# $FreeBSD$
X#
X
XPORTNAME=	croscorefonts
XPORTVERSION=	1.21.0
XCATEGORIES=	x11-fonts
XMASTER_SITES=	http://gsdview.appspot.com/chromeos-localmirror/distfiles/
X
XMAINTAINER=	office@FreeBSD.org
XCOMMENT=	Fonts created from by Google for ChromeOS to replace MS TTF
X
XBUILD_DEPENDS=	mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale	\
X		mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir
X
XLICENSE=	OFL
XLICENSE_FILE=	${WRKSRC}/LICENSE
XLICENSE_NAME=	SIL OPEN FONT LICENSE Version 1.1
XLICENSE_PERMS=	auto-accept
X
XFETCH_ARGS=	-Fpr
X
XUSE_XORG=	x11
X
XPLIST_SUB=	FONTDIR="${FONTDIR:S|${PREFIX}/||}"
X
X
XSUB_FILES=	pkg-message
XPKGMESSAGE=	${WRKDIR}/pkg-message
XSUB_LIST=	FONTDIR=${FONTDIR}
X
XFONTNAME=	ChromeOS
XFONTDIR=	${PREFIX}/lib/X11/fonts/${FONTNAME}
XINSTDAT=	LICENSE fonts.dir fonts.scale
X
XMKFONTSCL_CMD=	${LOCALBASE}/bin/mkfontscale
XMKFONTDIR_CMD=	${LOCALBASE}/bin/mkfontdir
X
Xdo-build:
X	cd ${WRKSRC} && ${MKFONTSCL_CMD}
X	${REINPLACE_CMD} -e 's|-misc-|-google-|' ${WRKSRC}/fonts.scale
X	cd ${WRKSRC} && ${MKFONTDIR_CMD}
X
Xdo-install:
X	${MKDIR} ${FONTDIR}
X	cd ${WRKSRC} &&	\
X	${INSTALL_DATA} ${INSTDAT} *.ttf ${FONTDIR}
X
Xpost-install:
X	@${ECHO_MSG}
X	@${CAT} ${PKGMESSAGE}
X	@${ECHO_MSG}
X
X.include <bsd.port.mk>
3a447993d5637c6d81c2b247cd8288b3
echo x - ./croscorefonts-fonts-ttf/distinfo
sed 's/^X//' >./croscorefonts-fonts-ttf/distinfo << '6c0954a8bdb4a325175724c79f16232f'
XSHA256 (croscorefonts-1.21.0.tar.gz) = 370e55428729174f2801e9cfb4bce0f20b6f5b26c08d6488ac8b5b765c322703
XSIZE (croscorefonts-1.21.0.tar.gz) = 2605014
6c0954a8bdb4a325175724c79f16232f
echo x - ./croscorefonts-fonts-ttf/pkg-descr
sed 's/^X//' >./croscorefonts-fonts-ttf/pkg-descr << 'd05cacc717420cfddefc545ef5763de5'
XGoogle has created a set of fonts for it's ChromeOS Operating system.
X
XThe three standard ones closely  mimic the most popular ones for
Xthe Windows platform and the linuxso-called Liberation fonts but
Xare available under an OpenFont license. 
X
XTinos, Arimo and Cousine, appear to be variations of the old
Xstandard  Times, Arial and Courier.
d05cacc717420cfddefc545ef5763de5
echo x - ./croscorefonts-fonts-ttf/pkg-plist
sed 's/^X//' >./croscorefonts-fonts-ttf/pkg-plist << '0cca1cb6fd9f55f8a1074cb704bb0d99'
X%%FONTDIR%%/Arimo-Bold.ttf
X%%FONTDIR%%/Arimo-BoldItalic.ttf
X%%FONTDIR%%/Arimo-Italic.ttf
X%%FONTDIR%%/Arimo-Regular.ttf
X%%FONTDIR%%/Cousine-Bold.ttf
X%%FONTDIR%%/Cousine-BoldItalic.ttf
X%%FONTDIR%%/Cousine-Italic.ttf
X%%FONTDIR%%/Cousine-Regular.ttf
X%%FONTDIR%%/LICENSE
X%%FONTDIR%%/SymbolNeu.ttf
X%%FONTDIR%%/Tinos-Bold.ttf
X%%FONTDIR%%/Tinos-BoldItalic.ttf
X%%FONTDIR%%/Tinos-Italic.ttf
X%%FONTDIR%%/Tinos-Regular.ttf
X%%FONTDIR%%/fonts.dir
X%%FONTDIR%%/fonts.scale
X@unexec rm %D/%%FONTDIR%%/fonts.cache-1 2>/dev/null || /usr/bin/true
X@dirrm %%FONTDIR%%
0cca1cb6fd9f55f8a1074cb704bb0d99
exit



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



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