Skip site navigation (1)Skip section navigation (2)
Date:      Sun,  1 Aug 2004 12:07:45 +0800
From:      Dryice Liu <dryice@hotpop.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Dryice Liu <dryice@liu.com.cn>
Subject:   ports/69862: [update]chinese/xpdf: upgrade to 20040727 and take maintainership
Message-ID:  <20040801034412.30476103ABE4@smtp-3.hotpop.com>
Resent-Message-ID: <200408010410.i714AOop029738@freefall.freebsd.org>

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

>Number:         69862
>Category:       ports
>Synopsis:       [update]chinese/xpdf: upgrade to 20040727 and take maintainership
>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:   Sun Aug 01 04:10:23 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Dryice Liu
>Release:        FreeBSD 5.2.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD dryice.3322.org 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #1: Mon Mar 1 16:17:42 CST 2004


>Description:
	Changes:
		- Upgrade to 20040727
		- Change PORTVERSION convention. The xpdf language
		  packages don't share version numbers with the main
		  xpdf package. I didn't bump PORTEPOCH science
		  20040727 is bigger than 3.00
		- add chinese/arphicttf depends for PDF files without
		  embedded fonts
		- tabify Makefile
		- fix pkg-plist for multi language users
		- take maintainership. Thanks the previous maintainers!

>How-To-Repeat:
	N/A
>Fix:


--- xpdf.diff begins here ---
diff -ruN xpdf.old/Makefile xpdf/Makefile
--- xpdf.old/Makefile	Thu Jul  8 23:04:10 2004
+++ xpdf/Makefile	Sun Aug  1 11:44:05 2004
@@ -6,20 +6,20 @@
 #
 
 PORTNAME=	xpdf
-PORTVERSION=	3.00
-PORTREVISION=	0
+PORTVERSION=	20040727
 CATEGORIES=	chinese graphics print
 MASTER_SITES=	ftp://ftp.foolabs.com/pub/xpdf/ \
-                ${MASTER_SITE_TEX_CTAN}
+		${MASTER_SITE_TEX_CTAN}
 MASTER_SITE_SUBDIR=	support/xpdf
-DISTFILES=	xpdf-chinese-simplified-2004-jan-16.tar.gz \
-		xpdf-chinese-traditional-2004-jan-16.tar.gz
+DISTFILES=	xpdf-chinese-simplified-2004-jul-27.tar.gz \
+		xpdf-chinese-traditional-2004-jul-27.tar.gz
 
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Chinese-traditional xpdf font support
+MAINTAINER=	dryice@liu.com.cn
+COMMENT=	Chinese xpdf font support
 
 RUN_DEPENDS=	xpdf:${PORTSDIR}/graphics/xpdf\
-		${LOCALBASE}/share/ghostscript/Resource/CMap/Adobe-CNS1-0:${PORTSDIR}/print/adobe-cmaps
+		${LOCALBASE}/share/ghostscript/Resource/CMap/Adobe-CNS1-0:${PORTSDIR}/print/adobe-cmaps\
+		${LOCALBASE}/share/fonts/TrueType/arphic/logo.gif:${PORTSDIR}/chinese/arphicttf
 
 NO_BUILD=	yes
 USE_X_PREFIX=	yes
diff -ruN xpdf.old/distinfo xpdf/distinfo
--- xpdf.old/distinfo	Thu Jul  8 23:04:10 2004
+++ xpdf/distinfo	Sun Aug  1 11:44:04 2004
@@ -1,4 +1,4 @@
-MD5 (xpdf-chinese-simplified-2004-jan-16.tar.gz) = 7a92500278d4aa8089024d5d7266f4ac
-SIZE (xpdf-chinese-simplified-2004-jan-16.tar.gz) = 835807
-MD5 (xpdf-chinese-traditional-2004-jan-16.tar.gz) = 1dd68bc924273e30534031d66f8a37c7
-SIZE (xpdf-chinese-traditional-2004-jan-16.tar.gz) = 794568
+MD5 (xpdf-chinese-simplified-2004-jul-27.tar.gz) = 6c3b04008000948e62530b8582e7f37c
+SIZE (xpdf-chinese-simplified-2004-jul-27.tar.gz) = 835960
+MD5 (xpdf-chinese-traditional-2004-jul-27.tar.gz) = b7fa7f1850f7cfa28498701507079abb
+SIZE (xpdf-chinese-traditional-2004-jul-27.tar.gz) = 794604
diff -ruN xpdf.old/files/dot.xpdfrc xpdf/files/dot.xpdfrc
--- xpdf.old/files/dot.xpdfrc	Sun Jul 27 02:38:55 2003
+++ xpdf/files/dot.xpdfrc	Sun Aug  1 11:44:03 2004
@@ -1,21 +1,17 @@
-#----- begin Chinese Traditional support package (2002-apr-14)
+#----- begin Chinese Traditional support package (2004-jul-27)
 cidToUnicode	Adobe-CNS1	/usr/X11R6/share/xpdf/chinese-traditional/Adobe-CNS1.cidToUnicode
 unicodeMap	Big5		/usr/X11R6/share/xpdf/chinese-traditional/Big5.unicodeMap
 unicodeMap	Big5ascii	/usr/X11R6/share/xpdf/chinese-traditional/Big5ascii.unicodeMap
 cMapDir		Adobe-CNS1	/usr/local/share/ghostscript/Resource/CMap
 toUnicodeDir			/usr/local/share/ghostscript/Resource/CMap
-displayCIDFontX	Adobe-CNS1	"-*-fixed-medium-r-normal-*-%s-*-*-*-*-*-big5-0" Big5
-# If you have the Arhpic fonts, you may want to use this instead:
-# displayCIDFontX Adobe-CNS1	"-arphic-ar pl kaitim big5-medium-r-normal--%s-*-*-*-c-*-iso10646-1" UCS-2
+displayCIDFontTT	Adobe-CNS1	/usr/local/share/fonts/TrueType/bkai00mp.ttf
 #----- end Chinese Traditional support package
-#----- begin Chinese Simplified support package (2002-apr-18)
+#----- begin Chinese Simplified support package (2004-jul-27)
 cidToUnicode	Adobe-GB1	/usr/X11R6/share/xpdf/chinese-simplified/Adobe-GB1.cidToUnicode
 unicodeMap	ISO-2022-CN	/usr/X11R6/share/xpdf/chinese-simplified/ISO-2022-CN.unicodeMap
 unicodeMap	EUC-CN		/usr/X11R6/share/xpdf/chinese-simplified/EUC-CN.unicodeMap
 unicodeMap	GBK		/usr/X11R6/share/xpdf/chinese-simplified/GBK.unicodeMap
 cMapDir		Adobe-GB1	/usr/local/share/ghostscript/Resource/CMap
 toUnicodeDir			/usr/local/share/ghostscript/Resource/CMap
-displayCIDFontX	Adobe-GB1	"-*-fangsong ti-medium-r-normal-*-%s-*-*-*-*-*-gb2312.1980-0" ISO-2022-CN
-# If you have the Arhpic fonts, you may want to use this instead:
-# displayCIDFontX Adobe-GB1	"-arphic-ar pl sungtil gb-medium-r-normal--%s-*-*-*-c-*-iso10646-1" UCS-2
+displayCIDFontTT	Adobe-GB1	/usr/local/share/fonts/TrueType/gkai00mp.ttf
 #----- end Chinese Simplified support package
diff -ruN xpdf.old/pkg-plist xpdf/pkg-plist
--- xpdf.old/pkg-plist	Mon Nov 25 19:59:05 2002
+++ xpdf/pkg-plist	Sun Aug  1 11:44:09 2004
@@ -13,4 +13,3 @@
 @unexec rm -f %D/etc/xpdfrc.chinese-traditional
 @dirrm share/xpdf/chinese-simplified
 @dirrm share/xpdf/chinese-traditional
-@dirrm share/xpdf
--- xpdf.diff ends here ---



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



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