From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Feb 20 19:10:00 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9EC459F8 for ; Thu, 20 Feb 2014 19:10:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 78C4613C1 for ; Thu, 20 Feb 2014 19:10:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s1KJA07q054252 for ; Thu, 20 Feb 2014 19:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s1KJA0hq054251; Thu, 20 Feb 2014 19:10:00 GMT (envelope-from gnats) Resent-Date: Thu, 20 Feb 2014 19:10:00 GMT Resent-Message-Id: <201402201910.s1KJA0hq054251@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, Winston Weinert Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 02A4C58E for ; Thu, 20 Feb 2014 19:00:28 +0000 (UTC) Received: from newred.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E1B1C12DA for ; Thu, 20 Feb 2014 19:00:27 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by newred.freebsd.org (8.14.7/8.14.7) with ESMTP id s1KJ0P4G029616 for ; Thu, 20 Feb 2014 19:00:25 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.7/8.14.7/Submit) id s1KJ0PxO029611; Thu, 20 Feb 2014 19:00:25 GMT (envelope-from nobody) Message-Id: <201402201900.s1KJ0PxO029611@cgiserv.freebsd.org> Date: Thu, 20 Feb 2014 19:00:25 GMT From: Winston Weinert To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/186926: Update port: x11-fonts/roboto-fonts-ttf 1.2 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Feb 2014 19:10:00 -0000 >Number: 186926 >Category: ports >Synopsis: Update port: x11-fonts/roboto-fonts-ttf 1.2 >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: Thu Feb 20 19:10:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Winston Weinert >Release: 10.0-RELEASE >Organization: >Environment: FreeBSD freebsd 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Bumped from 20111129 to 1.2, added STAGEDIR support, and added rules to pkg-plist to rebuild the font cache. I am the original maintainer (winstonw@lavabit.com). Unfortunately lavabit.com has since closed down -- my new email is winston@ml1.net >How-To-Repeat: >Fix: Patch attached with submission follows: diff -ruN roboto-fonts-ttf.orig/Makefile roboto-fonts-ttf/Makefile --- roboto-fonts-ttf.orig/Makefile 2014-02-20 11:03:37.000000000 -0600 +++ roboto-fonts-ttf/Makefile 2014-02-20 11:19:12.000000000 -0600 @@ -2,20 +2,24 @@ # $FreeBSD: head/x11-fonts/roboto-fonts-ttf/Makefile 340722 2014-01-22 17:00:46Z mat $ PORTNAME= roboto-fonts-ttf -PORTVERSION= 20111129 +PORTVERSION= 1.2 +PORTEPOCH= 1 CATEGORIES= x11-fonts -MASTER_SITES= http://developer.android.com/design/static/download/ -DISTNAME= Roboto_Hinted_${PORTVERSION} +MASTER_SITES= http://developer.android.com/downloads/design/ +DISTNAME= roboto-${PORTVERSION} -MAINTAINER= winstonw@lavabit.com +MAINTAINER= winston@ml1.net COMMENT= The Roboto typeface family LICENSE= APACHE20 BUILD_DEPENDS= mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \ - mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale + mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale \ + fc-cache:${PORTSDIR}/x11-fonts/fontconfig +RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig USE_ZIP= yes +WRKSRC= ${WRKDIR}/Roboto_v${PORTVERSION} FONTDIR= lib/X11/fonts/Roboto PKGMESSAGE= ${WRKDIR}/pkg-message @@ -23,17 +27,15 @@ SUB_FILES= pkg-message SUB_LIST= FONTDIR=${FONTDIR} -NO_STAGE= yes do-build: - @cd ${WRKSRC}/ && \ + @${MV} ${WRKSRC}/Roboto/*.ttf ${WRKSRC}/RobotoCondensed/*.ttf ${WRKSRC} + @cd ${WRKSRC} && \ ${LOCALBASE}/bin/mkfontscale && \ ${LOCALBASE}/bin/mkfontdir do-install: - ${MKDIR} ${PREFIX}/${FONTDIR}/ - cd ${WRKSRC}/ && ${INSTALL_DATA} *.ttf fonts.* ${PREFIX}/${FONTDIR}/ - -post-install: - @${CAT} ${PKGMESSAGE} + ${MKDIR} ${STAGEDIR}${PREFIX}/${FONTDIR} + cd ${WRKSRC}/ && ${INSTALL_DATA} *.ttf fonts.dir fonts.scale \ + ${STAGEDIR}${PREFIX}/${FONTDIR} .include diff -ruN roboto-fonts-ttf.orig/distinfo roboto-fonts-ttf/distinfo --- roboto-fonts-ttf.orig/distinfo 2014-02-20 11:03:37.000000000 -0600 +++ roboto-fonts-ttf/distinfo 2014-02-17 17:15:56.000000000 -0600 @@ -1,2 +1,2 @@ -SHA256 (Roboto_Hinted_20111129.zip) = 99e865226391af3ac922f476c20d3e82fb471e7cece512486f92438b6d37dfcf -SIZE (Roboto_Hinted_20111129.zip) = 1505533 +SHA256 (roboto-1.2.zip) = 5101b5bdb3b7b14cc922a771ba068bfcae8634467c1f446bc89bc2b4f8b4f1b5 +SIZE (roboto-1.2.zip) = 2641284 diff -ruN roboto-fonts-ttf.orig/pkg-descr roboto-fonts-ttf/pkg-descr --- roboto-fonts-ttf.orig/pkg-descr 2014-02-20 11:03:37.000000000 -0600 +++ roboto-fonts-ttf/pkg-descr 2014-02-17 17:18:17.000000000 -0600 @@ -3,4 +3,4 @@ Cream Sandwich". This typeface is designed for high resolution mobile devices so it includes several typefaces for text in different sizes. -WWW: http://developer.android.com/design/style/typography.html +WWW: http://developer.android.com/design/style/typography.html diff -ruN roboto-fonts-ttf.orig/pkg-plist roboto-fonts-ttf/pkg-plist --- roboto-fonts-ttf.orig/pkg-plist 2014-02-20 11:03:37.000000000 -0600 +++ roboto-fonts-ttf/pkg-plist 2014-02-20 11:19:58.000000000 -0600 @@ -1,11 +1,7 @@ %%FONTDIR%%/Roboto-Black.ttf %%FONTDIR%%/Roboto-BlackItalic.ttf %%FONTDIR%%/Roboto-Bold.ttf -%%FONTDIR%%/Roboto-BoldCondensed.ttf -%%FONTDIR%%/Roboto-BoldCondensedItalic.ttf %%FONTDIR%%/Roboto-BoldItalic.ttf -%%FONTDIR%%/Roboto-Condensed.ttf -%%FONTDIR%%/Roboto-CondensedItalic.ttf %%FONTDIR%%/Roboto-Italic.ttf %%FONTDIR%%/Roboto-Light.ttf %%FONTDIR%%/Roboto-LightItalic.ttf @@ -14,7 +10,14 @@ %%FONTDIR%%/Roboto-Regular.ttf %%FONTDIR%%/Roboto-Thin.ttf %%FONTDIR%%/Roboto-ThinItalic.ttf +%%FONTDIR%%/RobotoCondensed-Bold.ttf +%%FONTDIR%%/RobotoCondensed-BoldItalic.ttf +%%FONTDIR%%/RobotoCondensed-Italic.ttf +%%FONTDIR%%/RobotoCondensed-Light.ttf +%%FONTDIR%%/RobotoCondensed-LightItalic.ttf +%%FONTDIR%%/RobotoCondensed-Regular.ttf %%FONTDIR%%/fonts.dir %%FONTDIR%%/fonts.scale -@unexec rm %D/%%FONTDIR%%/fonts.cache-1 2>/dev/null || true +@unexec /bin/rm %D/%%FONTDIR%%/fonts.cache-1 2>/dev/null || /usr/bin/true @dirrm %%FONTDIR%% +@exec %%LOCALBASE%%/bin/fc-cache -f -v %D/%%FONTDIR%% || /usr/bin/true >Release-Note: >Audit-Trail: >Unformatted: