From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jan 17 02:50:06 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F3B2106568E for ; Tue, 17 Jan 2012 02:50:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 681F48FC1C for ; Tue, 17 Jan 2012 02:50:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q0H2o6oQ028758 for ; Tue, 17 Jan 2012 02:50:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q0H2o6q0028757; Tue, 17 Jan 2012 02:50:06 GMT (envelope-from gnats) Resent-Date: Tue, 17 Jan 2012 02:50:06 GMT Resent-Message-Id: <201201170250.q0H2o6q0028757@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Pedro Giffuni Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 64A57106564A for ; Tue, 17 Jan 2012 02:42:16 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 4F8CE8FC13 for ; Tue, 17 Jan 2012 02:42:16 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q0H2gGLw058404 for ; Tue, 17 Jan 2012 02:42:16 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q0H2gGIe058403; Tue, 17 Jan 2012 02:42:16 GMT (envelope-from nobody) Message-Id: <201201170242.q0H2gGIe058403@red.freebsd.org> Date: Tue, 17 Jan 2012 02:42:16 GMT From: Pedro Giffuni To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/164229: New port: x11-fonts/croscorefonts X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jan 2012 02:50:06 -0000 >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 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: