diff options
-rw-r--r-- | media-fonts/arphicfonts/ChangeLog | 31 | ||||
-rw-r--r-- | media-fonts/arphicfonts/Manifest | 10 | ||||
-rw-r--r-- | media-fonts/arphicfonts/arphicfonts-0.1-r1.ebuild | 78 | ||||
-rw-r--r-- | media-fonts/arphicfonts/arphicfonts-0.1.ebuild | 48 | ||||
-rw-r--r-- | media-fonts/arphicfonts/files/CN-fonts.scale | 5 | ||||
-rw-r--r-- | media-fonts/arphicfonts/files/TW-fonts.scale | 11 | ||||
-rw-r--r-- | media-fonts/arphicfonts/files/digest-arphicfonts-0.1 | 4 | ||||
-rw-r--r-- | media-fonts/arphicfonts/files/digest-arphicfonts-0.1-r1 | 4 | ||||
-rw-r--r-- | media-fonts/artwiz-fonts/ChangeLog | 16 | ||||
-rw-r--r-- | media-fonts/artwiz-fonts/Manifest | 4 | ||||
-rw-r--r-- | media-fonts/artwiz-fonts/artwiz-fonts-2.4.ebuild | 51 | ||||
-rw-r--r-- | media-fonts/artwiz-fonts/files/digest-artwiz-fonts-2.4 | 1 |
12 files changed, 256 insertions, 7 deletions
diff --git a/media-fonts/arphicfonts/ChangeLog b/media-fonts/arphicfonts/ChangeLog new file mode 100644 index 000000000000..b2af213c4dfa --- /dev/null +++ b/media-fonts/arphicfonts/ChangeLog @@ -0,0 +1,31 @@ +# ChangeLog for media-fonts/arphicfonts +# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-fonts/arphicfonts/ChangeLog,v 1.1 2003/06/02 13:45:18 seemant Exp $ + +*arphicfonts-0.1 (02 Jun 2003) + + 02 Jun 2003; Seemant Kulleen <seemant@gentoo.org> arphicfonts-0.1-r1.ebuild, + arphicfonts-0.1.ebuild, files/CN-fonts.scale, files/TW-fonts.scale: + relocated to media-fonts + + 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords + +*arphicfonts-0.1 (27 June 2002) + + 16 Mar 2003; Mark Guertin <gerk@gentoo.org> arphicfonts-0.1-r1.ebuild, + arphicfonts-0.1.ebuild: + set ppc in keywords + + 07 Nov 2002; Stuart Bouyer <stubear@gentoo.org> arphicfonts-0.1-r1.ebuild: + Added check for existing fonts.scale instead of blindly overwriting. + + + 22 Aug 2002; Stuart Bouyer <stubear@gentoo.org> arphicfonts-0.1-r1.ebuild, + files/CN-fonts.scale, files/TW-fonts.scale: + + Marko Daniel <mdaniel@soton.ac.uk> has updated the ebuild to install the + fonts in their own directory and fixed a bug where the font encoding info + wasn't being correctly produced for big5 and gb encodings. Closes bug 6281. + + 27 June 2002; Stuart Bouyer <stubear@gentoo.org> arphicfonts-0.1.ebuild: + First ebuild added diff --git a/media-fonts/arphicfonts/Manifest b/media-fonts/arphicfonts/Manifest index 721c5e939132..9d92e2624060 100644 --- a/media-fonts/arphicfonts/Manifest +++ b/media-fonts/arphicfonts/Manifest @@ -1,7 +1,7 @@ -MD5 e8854a583090816f27fc71d059281a68 ChangeLog 1058 -MD5 76a5d08ca768b2f1d7b3e900e33ffa9d arphicfonts-0.1-r1.ebuild 3249 -MD5 f04431f2ca71635932a4151f7d27a262 arphicfonts-0.1.ebuild 1545 -MD5 8092f72476c54669d231fa1e36c4272d files/CN-fonts.scale 316 -MD5 3bd7bba2b62aba255babce12594cbdd8 files/TW-fonts.scale 945 +MD5 5a140d8f419e0f6f60ca2a99d5bc8d58 arphicfonts-0.1.ebuild 1534 +MD5 3bcab866a3874ba460971d9a0dd76b65 arphicfonts-0.1-r1.ebuild 3220 +MD5 37ead0d1241b93fd028842698b3260c8 ChangeLog 1276 MD5 2fe8346e604f4ae761d1a8cbb551f6c7 files/digest-arphicfonts-0.1 244 +MD5 3bd7bba2b62aba255babce12594cbdd8 files/TW-fonts.scale 945 +MD5 8092f72476c54669d231fa1e36c4272d files/CN-fonts.scale 316 MD5 2fe8346e604f4ae761d1a8cbb551f6c7 files/digest-arphicfonts-0.1-r1 244 diff --git a/media-fonts/arphicfonts/arphicfonts-0.1-r1.ebuild b/media-fonts/arphicfonts/arphicfonts-0.1-r1.ebuild new file mode 100644 index 000000000000..e2f5298c41ac --- /dev/null +++ b/media-fonts/arphicfonts/arphicfonts-0.1-r1.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-fonts/arphicfonts/arphicfonts-0.1-r1.ebuild,v 1.1 2003/06/02 13:45:18 seemant Exp $ + +S=${WORKDIR} +DESCRIPTION="Arphic Fonts" +HOMEPAGE="http://www.arphic.com.tw/" +SRC_URI="ftp://ftp.gnu.org/non-gnu/chinese-fonts-truetype/gkai00mp.ttf.gz + ftp://ftp.gnu.org/non-gnu/chinese-fonts-truetype/bkai00mp.ttf.gz + ftp://ftp.gnu.org/non-gnu/chinese-fonts-truetype/bsmi00lp.ttf.gz + ftp://ftp.gnu.org/non-gnu/chinese-fonts-truetype/gbsn00lp.ttf.gz" + +SLOT="0" +LICENSE="Arphic" +KEYWORDS="x86 ppc" + +DEPEND="virtual/x11 + x11-misc/ttmkfdir" + +src_install() { + insopts -m0644 + insinto /usr/share/fonts/ttf/zh_TW + doins b*.ttf + if test -r /usr/share/fonts/ttf/zh_TW/fonts.scale; then + tail +2 /usr/share/fonts/ttf/zh_TW/fonts.scale > tmp + tail +2 ${FILESDIR}/TW-fonts.scale >> tmp + echo $(sort -u tmp | wc -l) > newfont.scale + sort -u tmp >> newfont.scale + newins newfont.scale fonts.scale + else + newins ${FILESDIR}/TW-fonts.scale fonts.scale + fi + insinto /usr/share/fonts/ttf/zh_CN + doins g*.ttf + if test -r /usr/share/fonts/ttf/zh_CN/fonts.scale; then + tail +2 /usr/share/fonts/ttf/zh_CN/fonts.scale > tmp + tail +2 ${FILESDIR}/CN-fonts.scale >> tmp + echo $(sort -u tmp | wc -l) > newfont.scale + sort -u tmp >> newfont.scale + newins newfont.scale fonts.scale + else + newins ${FILESDIR}/CN-fonts.scale fonts.scale + fi + +# These don't get downloaded because there is no simple way to +# fetch them.. ie if I included the README in SRC_URI above, it would +# get saved as ${DISTDIR}/README which doesn't seem like +# a really good idea. +# dodoc LICENSE README +} + +pkg_postinst() { + echo ">>> Making big5 font dirs..." + cd /usr/share/fonts/ttf/zh_TW + echo ">>> Creating fonts.dir info" + mkfontdir -e /usr/share/fonts/encodings/large \ + -e /usr/share/fonts/encodings + echo ">>> Making gb2312 font dirs..." + cd /usr/share/fonts/ttf/zh_CN + echo ">>> Creating fonts.dir info" + mkfontdir -e /usr/share/fonts/encodings/large \ + -e /usr/share/fonts/encodings + echo ">>> Make sure X knows about these font directories!" + if ( `grep -e "^.*FontPath.*\"/usr/share/fonts/ttf/zh_TW\"" /etc/X11/XF86Config -q` ); then + echo "Font path for big5 fonts is listed in /etc/X11/XF86Config." + else + echo ">>> You must add /usr/share/fonts/ttf/zh_TW to your font path" + echo ">>> to be able to use your new Big5 fonts." + fi + if ( `grep -e "^.*[fF]ont[Pp]ath.*\"/usr/share/fonts/ttf/zh_CN\"" /etc/X11/XF86Config -q` ); then + echo "Font path for gb2312 fonts is listed in /etc/X11/XF86Config." + else + echo ">>> You must add /usr/share/fonts/ttf/zh_CN to your font path" + echo ">>> to be able to use your new gb2312 fonts." + fi + + echo ">>> Restart font server for changes to take effect." +} diff --git a/media-fonts/arphicfonts/arphicfonts-0.1.ebuild b/media-fonts/arphicfonts/arphicfonts-0.1.ebuild new file mode 100644 index 000000000000..0c7703462639 --- /dev/null +++ b/media-fonts/arphicfonts/arphicfonts-0.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-fonts/arphicfonts/arphicfonts-0.1.ebuild,v 1.1 2003/06/02 13:45:18 seemant Exp $ + +DESCRIPTION="Arphic Fonts" +SRC_URI="ftp://ftp.gnu.org/non-gnu/chinese-fonts-truetype/gkai00mp.ttf.gz + ftp://ftp.gnu.org/non-gnu/chinese-fonts-truetype/bkai00mp.ttf.gz + ftp://ftp.gnu.org/non-gnu/chinese-fonts-truetype/bsmi00lp.ttf.gz + ftp://ftp.gnu.org/non-gnu/chinese-fonts-truetype/gbsn00lp.ttf.gz" +HOMEPAGE="http://www.arphic.com.tw/" +LICENSE="Arphic" +SLOT="0" +KEYWORDS="x86 sparc ppc" + +DEPEND="virtual/x11 + x11-misc/ttmkfdir" + +src_unpack() { + mkdir ${WORKDIR}/${P} + gunzip -c ${DISTDIR}/gkai00mp.ttf.gz > ${WORKDIR}/${P}/gkai00mp.ttf + gunzip -c ${DISTDIR}/bkai00mp.ttf.gz > ${WORKDIR}/${P}/bkai00mp.ttf + gunzip -c ${DISTDIR}/bsmi00lp.ttf.gz > ${WORKDIR}/${P}/bsmi00lp.ttf + gunzip -c ${DISTDIR}/gbsn00lp.ttf.gz > ${WORKDIR}/${P}/gbsn00lp.ttf +} + +src_compile() { + echo "Truetype fonts don't need to be compiled! ;)" +} + +src_install() { + cd ${WORKDIR}/${P} + insopts -m0644 + insinto /usr/share/fonts/truetype + doins *.ttf + +# These don't get downloaded because there is no simple way to +# fetch them.. ie if I included the README in SRC_URI above, it would +# get saved as ${DISTDIR}/README which doesn't seem like +# a really good idea. +# dodoc LICENSE README +} + +pkg_postinst() { + echo ">>> Making font dirs..." + cd /usr/share/fonts/truetype/ + /usr/X11R6/bin/ttmkfdir > fonts.scale + mkfontdir +} diff --git a/media-fonts/arphicfonts/files/CN-fonts.scale b/media-fonts/arphicfonts/files/CN-fonts.scale new file mode 100644 index 000000000000..f6dc9059b90b --- /dev/null +++ b/media-fonts/arphicfonts/files/CN-fonts.scale @@ -0,0 +1,5 @@ +4 +gkai00mp.ttf -arphic-ar pl kaitim gb-medium-r-normal--0-0-0-0-p-0-iso8859-1 +gkai00mp.ttf -arphic-ar pl kaitim gb-medium-r-normal--0-0-0-0-p-0-gb2312.1980-0 +gbsn00lp.ttf -arphic-ar pl sungtil gb-medium-r-normal--0-0-0-0-p-0-iso8859-1 +gbsn00lp.ttf -arphic-ar pl sungtil gb-medium-r-normal--0-0-0-0-p-0-gb2312.1980-0 diff --git a/media-fonts/arphicfonts/files/TW-fonts.scale b/media-fonts/arphicfonts/files/TW-fonts.scale new file mode 100644 index 000000000000..5131770d2957 --- /dev/null +++ b/media-fonts/arphicfonts/files/TW-fonts.scale @@ -0,0 +1,11 @@ +10 +bkai00mp.ttf -Arphic Technology Co.-AR PL KaitiM Big5-medium-r-normal--0-0-0-0-c-0-ascii-0 +bkai00mp.ttf -Arphic Technology Co.-AR PL KaitiM Big5-medium-r-normal--0-0-0-0-c-0-big5-0 +bkai00mp.ttf -Arphic Technology Co.-AR PL KaitiM Big5-medium-r-normal--0-0-0-0-c-0-big5.cp950-0 +bkai00mp.ttf -Arphic Technology Co.-AR PL KaitiM Big5-medium-r-normal--0-0-0-0-c-0-big5.eten-0 +bkai00mp.ttf -Arphic Technology Co.-AR PL KaitiM Big5-medium-r-normal--0-0-0-0-c-0-iso10646-1 +bsmi00lp.ttf -Arphic Technology Co.-AR PL Mingti2L Big5-medium-r-normal--0-0-0-0-c-0-ascii-0 +bsmi00lp.ttf -Arphic Technology Co.-AR PL Mingti2L Big5-medium-r-normal--0-0-0-0-c-0-big5-0 +bsmi00lp.ttf -Arphic Technology Co.-AR PL Mingti2L Big5-medium-r-normal--0-0-0-0-c-0-big5.cp950-0 +bsmi00lp.ttf -Arphic Technology Co.-AR PL Mingti2L Big5-medium-r-normal--0-0-0-0-c-0-big5.eten-0 +bsmi00lp.ttf -Arphic Technology Co.-AR PL Mingti2L Big5-medium-r-normal--0-0-0-0-c-0-iso10646-1 diff --git a/media-fonts/arphicfonts/files/digest-arphicfonts-0.1 b/media-fonts/arphicfonts/files/digest-arphicfonts-0.1 new file mode 100644 index 000000000000..8cb6db87971d --- /dev/null +++ b/media-fonts/arphicfonts/files/digest-arphicfonts-0.1 @@ -0,0 +1,4 @@ +MD5 5ee11417a8b42d08a33421dd6c64bed2 gkai00mp.ttf.gz 2698942 +MD5 9abc1efeaf08df5554629b10eb79b1b2 bkai00mp.ttf.gz 6013768 +MD5 42b13b73c5572d886824ee249d1ad500 bsmi00lp.ttf.gz 5653466 +MD5 757ca4959ed2325d49a64730766140ee gbsn00lp.ttf.gz 2345803 diff --git a/media-fonts/arphicfonts/files/digest-arphicfonts-0.1-r1 b/media-fonts/arphicfonts/files/digest-arphicfonts-0.1-r1 new file mode 100644 index 000000000000..8cb6db87971d --- /dev/null +++ b/media-fonts/arphicfonts/files/digest-arphicfonts-0.1-r1 @@ -0,0 +1,4 @@ +MD5 5ee11417a8b42d08a33421dd6c64bed2 gkai00mp.ttf.gz 2698942 +MD5 9abc1efeaf08df5554629b10eb79b1b2 bkai00mp.ttf.gz 6013768 +MD5 42b13b73c5572d886824ee249d1ad500 bsmi00lp.ttf.gz 5653466 +MD5 757ca4959ed2325d49a64730766140ee gbsn00lp.ttf.gz 2345803 diff --git a/media-fonts/artwiz-fonts/ChangeLog b/media-fonts/artwiz-fonts/ChangeLog new file mode 100644 index 000000000000..74513025f26d --- /dev/null +++ b/media-fonts/artwiz-fonts/ChangeLog @@ -0,0 +1,16 @@ +# ChangeLog for media-fonts/artwiz-fonts +# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-fonts/artwiz-fonts/ChangeLog,v 1.1 2003/06/02 13:45:30 seemant Exp $ + +*artwiz-fonts-2.4 (02 Jun 2003) + + 02 Jun 2003; Seemant Kulleen <seemant@gentoo.org> artwiz-fonts-2.4.ebuild: + moved to media-fonts + +*artwiz-fonts-2.4 (29 Oct 2002) + + 29 Oct 2002; Seemant Kulleen <seemant@gentoo.org> ChangeLog + artwiz-fonts-2.4.ebuild files/digest-artwiz-fonts-2.4 : + + New Artwiz Fonts package, submitted by: st_lim@stlim.net (Lim Swee Tat) in + bug #6495 diff --git a/media-fonts/artwiz-fonts/Manifest b/media-fonts/artwiz-fonts/Manifest index f2ef15c3002b..c4b20bdd8d80 100644 --- a/media-fonts/artwiz-fonts/Manifest +++ b/media-fonts/artwiz-fonts/Manifest @@ -1,3 +1,3 @@ -MD5 221d736c482010f35f5d738f4f98e7c4 ChangeLog 467 -MD5 8a9190a2101acf6f21db2826896d57f4 artwiz-fonts-2.4.ebuild 1346 +MD5 e79e4be08f5de5188465367bb74e0834 artwiz-fonts-2.4.ebuild 1334 +MD5 45d1a9f076c730fd85ac3e7be6f20eaa ChangeLog 608 MD5 a7f07fa24970169b9a931592e6840eee files/digest-artwiz-fonts-2.4 68 diff --git a/media-fonts/artwiz-fonts/artwiz-fonts-2.4.ebuild b/media-fonts/artwiz-fonts/artwiz-fonts-2.4.ebuild new file mode 100644 index 000000000000..c632004968c1 --- /dev/null +++ b/media-fonts/artwiz-fonts/artwiz-fonts-2.4.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/media-fonts/artwiz-fonts/artwiz-fonts-2.4.ebuild,v 1.1 2003/06/02 13:45:30 seemant Exp $ + +S=${WORKDIR}/xfonts-artwiz-2.3/upstream +DESCRIPTION="Artwiz Fonts" +SRC_URI="http://ftp.debian.org/debian/pool/main/x/xfonts-artwiz/xfonts-artwiz_${PV}.tar.gz" +HOMEPAGE="http://fluxbox.sourceforge.net/docs/artwiz-fonts.php" + +SLOT=0 +LICENSE="GPL-2" +KEYWORDS="~x86" + +DEPEND="virtual/x11 + x11-misc/ttmkfdir" + +src_compile() { + cd ${S} + for font in *.bdf; do + /usr/X11R6/bin/bdftopcf ${font} > `basename $font .bdf`.pcf + done + gzip *.pcf +} + +src_install() { + cd ${S} + insopts -m0644 + insinto /usr/share/fonts/artwiz/ + doins *.pcf.gz + +# These don't get downloaded because there is no simple way to +# fetch them.. ie if I included the README in SRC_URI above, it would +# get saved as /usr/portage/distfiles/README which doesn't seem like +# a really good idea. + dodoc ../COPYING + + if [ -z "$(grep artwiz /etc/X11/fs/config)" ] + then + sed 's#^catalog.*$#&\n\t/usr/X11R6/lib/X11/fonts/artwiz:unscaled,#g' \ + /etc/X11/fs/config > ${S}/config + insinto /etc/X11/fs + doins config + fi + +} + +pkg_postinst() { + einfo ">>> Making font dirs..." + cd /usr/share/fonts/artwiz + mkfontdir +} diff --git a/media-fonts/artwiz-fonts/files/digest-artwiz-fonts-2.4 b/media-fonts/artwiz-fonts/files/digest-artwiz-fonts-2.4 new file mode 100644 index 000000000000..d8bcb89e46a4 --- /dev/null +++ b/media-fonts/artwiz-fonts/files/digest-artwiz-fonts-2.4 @@ -0,0 +1 @@ +MD5 1113078c54818ac82025934ca5cb61d0 xfonts-artwiz_2.4.tar.gz 36521 |