From owner-svn-ports-all@FreeBSD.ORG Wed Jun 19 16:03:15 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 2E41477E; Wed, 19 Jun 2013 16:03:15 +0000 (UTC) (envelope-from rafan@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 1E70F1C39; Wed, 19 Jun 2013 16:03:15 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r5JG3Fb1076847; Wed, 19 Jun 2013 16:03:15 GMT (envelope-from rafan@svn.freebsd.org) Received: (from rafan@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r5JG3CVw076825; Wed, 19 Jun 2013 16:03:12 GMT (envelope-from rafan@svn.freebsd.org) Message-Id: <201306191603.r5JG3CVw076825@svn.freebsd.org> From: Rong-En Fan Date: Wed, 19 Jun 2013 16:03:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r321284 - in head: chinese/CJKUnifonts chinese/CNS11643-font chinese/arphicttf chinese/cwtexttf chinese/fireflyttf chinese/moettf chinese/opendesktop-fonts chinese/ttfm chinese/ttfm/fil... X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jun 2013 16:03:15 -0000 Author: rafan Date: Wed Jun 19 16:03:12 2013 New Revision: 321284 URL: http://svnweb.freebsd.org/changeset/ports/321284 Log: - Fix ttfm's xttfm module to really update fonts.{dir,scale} to reflect the fonts installed - Bump PORTREVISION for all ports using chinese/ttfm/Makefile.ttf PR: ports/179608 Reported by: Antoine Brodin (antoine@) Tested by: Antoine Brodin (antoine@) Modified: head/chinese/CJKUnifonts/Makefile head/chinese/CNS11643-font/Makefile head/chinese/arphicttf/Makefile head/chinese/cwtexttf/Makefile head/chinese/fireflyttf/Makefile head/chinese/moettf/Makefile head/chinese/opendesktop-fonts/Makefile head/chinese/ttfm/Makefile head/chinese/ttfm/files/patch-modules_xttfm.ttfm head/vietnamese/urwvn/Makefile head/vietnamese/vietunicode-hannom/Makefile head/vietnamese/vietunicode-trichlor/Makefile head/vietnamese/vietunicode-web1/Makefile Modified: head/chinese/CJKUnifonts/Makefile ============================================================================== --- head/chinese/CJKUnifonts/Makefile Wed Jun 19 15:43:56 2013 (r321283) +++ head/chinese/CJKUnifonts/Makefile Wed Jun 19 16:03:12 2013 (r321284) @@ -7,6 +7,7 @@ PORTNAME= CJKUnifonts PORTVERSION= 0.2.20080216.1 +PORTREVISION= 1 CATEGORIES= chinese x11-fonts MASTER_SITES= LOCAL/chinsan/fonts/:uming \ http://ftp.debian.org/debian/pool/main/t/ttf-arphic-uming/:uming \ Modified: head/chinese/CNS11643-font/Makefile ============================================================================== --- head/chinese/CNS11643-font/Makefile Wed Jun 19 15:43:56 2013 (r321283) +++ head/chinese/CNS11643-font/Makefile Wed Jun 19 16:03:12 2013 (r321284) @@ -3,7 +3,7 @@ PORTNAME= CNS11643-font PORTVERSION= 98.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= chinese x11-fonts MASTER_SITES= http://www.cns11643.gov.tw/AIDB/file.do?path=download/%E5%AD%97%E5%9E%8B%E4%B8%8B%E8%BC%89%601q%60%E5%85%A8%E5%AD%97%E5%BA%AB%E6%AD%A3%E6%A5%B7%E9%AB%94/name/:kai \ http://www.cns11643.gov.tw/AIDB/file.do?path=download/%E5%AD%97%E5%9E%8B%E4%B8%8B%E8%BC%89%601q%60%E5%85%A8%E5%AD%97%E5%BA%AB%E6%AD%A3%E5%AE%8B%E9%AB%94/name/:sung Modified: head/chinese/arphicttf/Makefile ============================================================================== --- head/chinese/arphicttf/Makefile Wed Jun 19 15:43:56 2013 (r321283) +++ head/chinese/arphicttf/Makefile Wed Jun 19 16:03:12 2013 (r321284) @@ -7,7 +7,7 @@ PORTNAME= arphicttf PORTVERSION= 2.11 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= chinese x11-fonts MASTER_SITES= LOCAL/rafan/chinese/ DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION} Modified: head/chinese/cwtexttf/Makefile ============================================================================== --- head/chinese/cwtexttf/Makefile Wed Jun 19 15:43:56 2013 (r321283) +++ head/chinese/cwtexttf/Makefile Wed Jun 19 16:03:12 2013 (r321284) @@ -7,7 +7,7 @@ PORTNAME= cwtexttf PORTVERSION= 1.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= chinese x11-fonts MASTER_SITES= http://ftp.wustl.edu/pub/FreeBSD/distfiles/ \ http://ftp.jaist.ac.jp/pub/FreeBSD/distfiles/ Modified: head/chinese/fireflyttf/Makefile ============================================================================== --- head/chinese/fireflyttf/Makefile Wed Jun 19 15:43:56 2013 (r321283) +++ head/chinese/fireflyttf/Makefile Wed Jun 19 16:03:12 2013 (r321284) @@ -3,7 +3,7 @@ PORTNAME= fireflyttf PORTVERSION= 1.3.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= chinese x11-fonts MASTER_SITES?= http://firefly.idv.tw/apt/firefly-font/ \ http://www.study-area.org/apt/firefly-font/ Modified: head/chinese/moettf/Makefile ============================================================================== --- head/chinese/moettf/Makefile Wed Jun 19 15:43:56 2013 (r321283) +++ head/chinese/moettf/Makefile Wed Jun 19 16:03:12 2013 (r321284) @@ -7,7 +7,7 @@ PORTNAME= moettf PORTVERSION= 2.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= chinese x11-fonts MASTER_SITES= http://ftp.riken.go.jp/pub/FreeBSD/distfiles/zh-moettf/ \ http://ftp.math.uni-bielefeld.de/pub/unix/FreeBSD/distfiles/zh-moettf/ Modified: head/chinese/opendesktop-fonts/Makefile ============================================================================== --- head/chinese/opendesktop-fonts/Makefile Wed Jun 19 15:43:56 2013 (r321283) +++ head/chinese/opendesktop-fonts/Makefile Wed Jun 19 16:03:12 2013 (r321284) @@ -7,7 +7,7 @@ PORTNAME= opendesktop-fonts PORTVERSION= 1.4.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= chinese x11-fonts MASTER_SITES?= ftp://ftp.opendesktop.org.tw/odp/ODOFonts/OpenFonts/ \ LOCAL/chinsan/fonts Modified: head/chinese/ttfm/Makefile ============================================================================== --- head/chinese/ttfm/Makefile Wed Jun 19 15:43:56 2013 (r321283) +++ head/chinese/ttfm/Makefile Wed Jun 19 16:03:12 2013 (r321284) @@ -7,7 +7,7 @@ PORTNAME= ttfm PORTVERSION= 0.9.5 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= chinese print MASTER_SITES= LOCAL/rafan/chinese Modified: head/chinese/ttfm/files/patch-modules_xttfm.ttfm ============================================================================== --- head/chinese/ttfm/files/patch-modules_xttfm.ttfm Wed Jun 19 15:43:56 2013 (r321283) +++ head/chinese/ttfm/files/patch-modules_xttfm.ttfm Wed Jun 19 16:03:12 2013 (r321284) @@ -1,5 +1,5 @@ ---- ./modules/xttfm.ttfm.orig Tue Nov 4 07:08:32 2003 -+++ ./modules/xttfm.ttfm Mon Nov 27 02:06:25 2006 +--- modules/xttfm.ttfm.orig 2003-11-04 07:08:32.000000000 +0800 ++++ modules/xttfm.ttfm 2013-06-18 01:32:45.000000000 +0800 @@ -25,8 +25,8 @@ # Global constants @@ -11,9 +11,16 @@ export PATH; PATH=/bin:/sbin:/usr/bin:/usr/sbin:$PREFIX/bin:$PREFIX/sbin:$X11BASE/bin export TEMPFILE; TEMPFILE="`mktemp /tmp/ttfm.tmpXXX`" export DefaultFontPath; DefaultFontPath=$PREFIX/share/fonts/TrueType -@@ -87,15 +87,11 @@ +@@ -86,16 +86,18 @@ + for f in "$@"; do targetname=`basename $f` ++ # Remove font files. ++ # We only remove those fonts in $DefaultFontPath which are symbolic. ++ filetype=`file "$DefaultFontPath/$targetname" |grep -e "^$DefaultFontPath/$targetname: symbolic link to"` ++ [ ! "X$filetype" = "X" ] && rm -f "$DefaultFontPath/$targetname" ++ rm -f "$XTTFFONTPATH/$targetname" ++ # Update fonts.scale - rm -f $TEMPFILE - if [ ! -r $XTTFFONTPATH/fonts.scale ]; then @@ -30,6 +37,19 @@ if [ -r $XTTFFONTPATH/../encodings/large/encodings.dir ]; then mkfontdir -e $XTTFFONTPATH/../encodings/large $XTTFFONTPATH else +@@ -107,12 +109,6 @@ + ALIASPATTERN=`eval echo $ALIASPATTERN` + sed -e "/$ALIASPATTERN/d" $XTTFFONTPATH/fonts.alias > $TEMPFILE + mv -f $TEMPFILE $XTTFFONTPATH/fonts.alias +- +- # Remove font files. +- # We only remove those fonts in $DefaultFontPath which are symbolic. +- filetype=`file "$DefaultFontPath/$targetname" |grep -e "^$DefaultFontPath/$targetname: symbolic link to"` +- [ ! "X$filetype" = "X" ] && rm -f "$DefaultFontPath/$targetname" +- rm -f "$XTTFFONTPATH/$targetname" + done + } + @@ -133,29 +129,11 @@ fontencoding=${10} Modified: head/vietnamese/urwvn/Makefile ============================================================================== --- head/vietnamese/urwvn/Makefile Wed Jun 19 15:43:56 2013 (r321283) +++ head/vietnamese/urwvn/Makefile Wed Jun 19 16:03:12 2013 (r321284) @@ -7,7 +7,7 @@ PORTNAME= urwvn PORTVERSION= 3.04 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= vietnamese x11-fonts MASTER_SITES= http://vntex.org/urwvn/download/ LOCAL/chinsan DISTNAME= urwvn-${PORTVERSION}-ttf Modified: head/vietnamese/vietunicode-hannom/Makefile ============================================================================== --- head/vietnamese/vietunicode-hannom/Makefile Wed Jun 19 15:43:56 2013 (r321283) +++ head/vietnamese/vietunicode-hannom/Makefile Wed Jun 19 16:03:12 2013 (r321284) @@ -7,7 +7,7 @@ PORTNAME= vietunicode-hannom PORTVERSION= 2005.02.06 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= vietnamese x11-fonts MASTER_SITES= SF/vietunicode/hannom/hannom%20v2005 DISTNAME= hannom Modified: head/vietnamese/vietunicode-trichlor/Makefile ============================================================================== --- head/vietnamese/vietunicode-trichlor/Makefile Wed Jun 19 15:43:56 2013 (r321283) +++ head/vietnamese/vietunicode-trichlor/Makefile Wed Jun 19 16:03:12 2013 (r321284) @@ -7,7 +7,7 @@ PORTNAME= vietunicode-trichlor PORTVERSION= 2004.04.30 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= vietnamese x11-fonts MASTER_SITES= SF/vietunicode/VietFonts-TriChlor/TrichlorSet%20v2004 DISTNAME= VietFonts_TriChlor_ttf Modified: head/vietnamese/vietunicode-web1/Makefile ============================================================================== --- head/vietnamese/vietunicode-web1/Makefile Wed Jun 19 15:43:56 2013 (r321283) +++ head/vietnamese/vietunicode-web1/Makefile Wed Jun 19 16:03:12 2013 (r321284) @@ -7,7 +7,7 @@ PORTNAME= vietunicode-web1 PORTVERSION= 2004.04.30 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= vietnamese x11-fonts MASTER_SITES= SF/vietunicode/VietFonts-Web1/Web1%20Package%20v2004 DISTNAME= VietFontsWeb1_ttf