diff options
author | Mamoru Komachi <usata@gentoo.org> | 2003-07-30 20:29:51 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2003-07-30 20:29:51 +0000 |
commit | 7b3f596dc045cd4f3c112838c9e55b56f76239c2 (patch) | |
tree | 3a0e4d734bf682ff00007633f0dd8db030dc88ac /media-fonts/baekmuk-fonts | |
parent | changed fontpath and font format, closing #22401 (diff) | |
download | gentoo-2-7b3f596dc045cd4f3c112838c9e55b56f76239c2.tar.gz gentoo-2-7b3f596dc045cd4f3c112838c9e55b56f76239c2.tar.bz2 gentoo-2-7b3f596dc045cd4f3c112838c9e55b56f76239c2.zip |
changed fontpath and font format, closing #22401
Diffstat (limited to 'media-fonts/baekmuk-fonts')
-rw-r--r-- | media-fonts/baekmuk-fonts/ChangeLog | 9 | ||||
-rw-r--r-- | media-fonts/baekmuk-fonts/Manifest | 4 | ||||
-rw-r--r-- | media-fonts/baekmuk-fonts/baekmuk-fonts-2.1-r1.ebuild | 64 | ||||
-rw-r--r-- | media-fonts/baekmuk-fonts/files/digest-baekmuk-fonts-2.1-r1 | 1 |
4 files changed, 75 insertions, 3 deletions
diff --git a/media-fonts/baekmuk-fonts/ChangeLog b/media-fonts/baekmuk-fonts/ChangeLog index 6c88649a428c..5a476b90be6f 100644 --- a/media-fonts/baekmuk-fonts/ChangeLog +++ b/media-fonts/baekmuk-fonts/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-fonts/baekmuk-fonts # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-fonts/baekmuk-fonts/ChangeLog,v 1.2 2003/07/03 19:40:38 gmsoft Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-fonts/baekmuk-fonts/ChangeLog,v 1.3 2003/07/30 20:29:44 usata Exp $ + +*baekmuk-fonts-2.1-r1 (31 Jul 2003) + + 31 Jul 2003; Mamoru KOMACHI <usata@gentoo.org> baekmuk-fonts-2.1-r1.ebuild: + Changed default font path and font format from bdf to pcf. + Added HOMEPAGE (in Korean). Added ~alpha keywords and two USE flags, + X and truetype. This closes bug #22401. *baekmuk-fonts-2.1 (02 Jun 2003) diff --git a/media-fonts/baekmuk-fonts/Manifest b/media-fonts/baekmuk-fonts/Manifest index 4eaa01ac0dea..fc1d68df781a 100644 --- a/media-fonts/baekmuk-fonts/Manifest +++ b/media-fonts/baekmuk-fonts/Manifest @@ -1,8 +1,8 @@ -MD5 0ab61a5d2176489fab363799b0b2a39d ChangeLog 1041 +MD5 15bc69becc51f6fccfb7acbe9aaff274 ChangeLog 1331 MD5 8dd019ddb8d5e6c87ed706f4870e1f01 baekmuk-fonts-2.0-r1.ebuild 1063 MD5 19b53ccdfcbb42c63b05dec0aa75e5c7 baekmuk-fonts-2.1.ebuild 1253 MD5 e92a48548554c80cf90e18df17ff6a82 metadata.xml 156 -MD5 3bf3f6a09f821cc37de17833163e48e3 baekmuk-fonts-2.1-r1.ebuild 1567 +MD5 af1a80290e17cf7fd56f69f3b5839d4f baekmuk-fonts-2.1-r1.ebuild 1570 MD5 7b544b5e0a0e6f82837f0e94c29deab2 files/digest-baekmuk-fonts-2.0-r1 71 MD5 02b55c492446f336c5bb2f2ddbfc1cc7 files/digest-baekmuk-fonts-2.1 71 MD5 02b55c492446f336c5bb2f2ddbfc1cc7 files/digest-baekmuk-fonts-2.1-r1 71 diff --git a/media-fonts/baekmuk-fonts/baekmuk-fonts-2.1-r1.ebuild b/media-fonts/baekmuk-fonts/baekmuk-fonts-2.1-r1.ebuild new file mode 100644 index 000000000000..b6afb791d1b2 --- /dev/null +++ b/media-fonts/baekmuk-fonts/baekmuk-fonts-2.1-r1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-fonts/baekmuk-fonts/baekmuk-fonts-2.1-r1.ebuild,v 1.1 2003/07/30 20:29:44 usata Exp $ + +IUSE="X truetype" + +DESCRIPTION="Korean Baekmuk Font" +SRC_URI="http://gentoo.or.kr/distfiles/baekmuk-fonts/${P}.tar.gz" +HOMEPAGE="http://www.mizi.co.kr/ko/prod/etc/mos-pro2.htm" + +SLOT="0" +LICENSE="BAEKMUK" +KEYWORDS="~x86 ~alpha ~ppc ~sparc hppa amd64" + +DEPEND="virtual/x11 + truetype? ( virtual/xft )" +RDEPEND="X? ( virtual/x11 + truetype? ( virtual/xft ) )" + +S=${WORKDIR}/${P} +FONTDIR="/usr/share/fonts/baekmuk" +TTFONTDIR="/usr/share/fonts/ttf/korean/baekmuk" + +src_compile() { + mkdir pcf + for i in bdf/*.bdf ; do + echo "Converting ${i##*/} into pcf format ..." + bdftopcf $i | gzip -c -9 > ${i//bdf/pcf}.gz || die + done +} + +src_install () { + + insinto ${FONTDIR} + doins pcf/* || die + + if [ -n "`use X`" ] ; then + mkfontdir ${D}${FONTDIR} + if [ -n "`use truetype`" ] ; then + insinto ${TTFONTDIR} + doins ttf/* || die + mkfontscale ${D}${TTFONTDIR} + fc-cache ${D}${TTFONTDIR} + fi + fi + + # these files seem to be 0 byte?? + #dodoc README COPYRIGHT COPYRIGHT.ks hconfig.ps +} + +pkg_postinst() { + if [ -n "`use X`" ] ; then + einfo + einfo "You MUST add the path of Baekmuk fonts in /etc/X11/XF86Config" + einfo "" + einfo "Section \"Files\"" + einfo "\tFontPath \"${FONTDIR}\"" + use truetype >/dev/null 2>&1 && \ + einfo "\tFontPath \"${TTFONTDIR}\"" + einfo "" + einfo "And you must restart your X server." + einfo "" + fi +} diff --git a/media-fonts/baekmuk-fonts/files/digest-baekmuk-fonts-2.1-r1 b/media-fonts/baekmuk-fonts/files/digest-baekmuk-fonts-2.1-r1 new file mode 100644 index 000000000000..5789a27c0bc2 --- /dev/null +++ b/media-fonts/baekmuk-fonts/files/digest-baekmuk-fonts-2.1-r1 @@ -0,0 +1 @@ +MD5 a74ba901ab53949896232cdf82648088 baekmuk-fonts-2.1.tar.gz 21197067 |