diff options
author | Mamoru Komachi <usata@gentoo.org> | 2004-07-08 06:54:24 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2004-07-08 06:54:24 +0000 |
commit | 3bd17684321470cfbca301ecce528d79a2bd414f (patch) | |
tree | c22531db4f92920646953551cea83149fc9a5268 /media-fonts/cronyx-fonts | |
parent | IUSE (Manifest recommit) (diff) | |
download | gentoo-2-3bd17684321470cfbca301ecce528d79a2bd414f.tar.gz gentoo-2-3bd17684321470cfbca301ecce528d79a2bd414f.tar.bz2 gentoo-2-3bd17684321470cfbca301ecce528d79a2bd414f.zip |
Changed font path other than X.Org default and added instructions to update configuration.
Diffstat (limited to 'media-fonts/cronyx-fonts')
-rw-r--r-- | media-fonts/cronyx-fonts/ChangeLog | 9 | ||||
-rw-r--r-- | media-fonts/cronyx-fonts/Manifest | 4 | ||||
-rw-r--r-- | media-fonts/cronyx-fonts/cronyx-fonts-2.3.1-r1.ebuild | 63 | ||||
-rw-r--r-- | media-fonts/cronyx-fonts/files/digest-cronyx-fonts-2.3.1-r1 | 1 |
4 files changed, 75 insertions, 2 deletions
diff --git a/media-fonts/cronyx-fonts/ChangeLog b/media-fonts/cronyx-fonts/ChangeLog index 435bc83b0227..d35f2ff85ffb 100644 --- a/media-fonts/cronyx-fonts/ChangeLog +++ b/media-fonts/cronyx-fonts/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-fonts/cronyx-fonts # Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-fonts/cronyx-fonts/ChangeLog,v 1.2 2004/07/06 11:01:40 dholm Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-fonts/cronyx-fonts/ChangeLog,v 1.3 2004/07/08 06:54:24 usata Exp $ + +*cronyx-fonts-2.3.1-r1 (08 Jul 2004) + + 08 Jul 2004; Mamoru KOMACHI <usata@gentoo.org> + +cronyx-fonts-2.3.1-r1.ebuild: + Changed font path other than X.Org default and added instructions to + update configuration. 06 Jul 2004; David Holm <dholm@gentoo.org> cronyx-fonts-2.3.1.ebuild: Added to ~ppc. diff --git a/media-fonts/cronyx-fonts/Manifest b/media-fonts/cronyx-fonts/Manifest index dba0846946b2..be5cb1ccee61 100644 --- a/media-fonts/cronyx-fonts/Manifest +++ b/media-fonts/cronyx-fonts/Manifest @@ -1,4 +1,6 @@ -MD5 1db88ef34edd0d8c615d8e2e585b3534 ChangeLog 536 +MD5 627fabca0de3a8eca4e75e29e89bd97c cronyx-fonts-2.3.1-r1.ebuild 1778 MD5 d4e23085de7e24041e1667d7151e53d3 cronyx-fonts-2.3.1.ebuild 1150 +MD5 1db88ef34edd0d8c615d8e2e585b3534 ChangeLog 536 MD5 295674d4bed87f5a7c2796e032ed561e metadata.xml 158 MD5 b4e9ecfe13c53dedb9a770132b8bc035 files/digest-cronyx-fonts-2.3.1 64 +MD5 b4e9ecfe13c53dedb9a770132b8bc035 files/digest-cronyx-fonts-2.3.1-r1 64 diff --git a/media-fonts/cronyx-fonts/cronyx-fonts-2.3.1-r1.ebuild b/media-fonts/cronyx-fonts/cronyx-fonts-2.3.1-r1.ebuild new file mode 100644 index 000000000000..5618e47c8b5e --- /dev/null +++ b/media-fonts/cronyx-fonts/cronyx-fonts-2.3.1-r1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-fonts/cronyx-fonts/cronyx-fonts-2.3.1-r1.ebuild,v 1.1 2004/07/08 06:54:24 usata Exp $ + +DESCRIPTION="Cronyx Cyrillic bitmap fonts for X" +HOMEPAGE="http://koi8.pp.ru/frame.html?xwin.html#xwin_fonts" +S=${WORKDIR}/cyrillic +SRC_URI="http://koi8.pp.ru/dist/x6rus-${PV}-bin.tgz" +KEYWORDS="~x86 ~ppc" +SLOT="0" +LICENSE="freedist" +DEPEND="X? ( virtual/x11 )" +IUSE="X" + +FONT_ROOT=/usr/share/fonts/cronyx +FONT_TARGETS="75dpi 100dpi misc" + +src_install() { + for dir in $FONT_TARGETS; do + insinto ${FONT_ROOT}/$dir + doins ${dir}/*.pcf.gz + done + # our install dir is still ${FONT_ROOT}/misc, so + doins misc/fonts.alias + dodoc xrus.info +} + + +rebuild_fontfiles() { + einfo "Refreshing fonts.scale and fonts.dir..." + cd ${FONT_ROOT} + mkfontdir -- ${FONT_TARGETS} + if [ "${ROOT}" = "/" ] && [ -x /usr/bin/fc-cache ] + then + einfo "Updating font cache..." + HOME="/root" /usr/bin/fc-cache -f ${FONT_TARGETS} + fi +} + +pkg_postinst() { + if use X > /dev/null ; then + rebuild_fontfiles + einfo "In order to make X see the fonts, you need to add the" + einfo "following lines to the files section of your " + einfo "/etc/X11/XF86Config (or the XOrg equivalent):" + einfo " FontPath \"${FONT_ROOT}/100dpi/:unscaled\"" + einfo " FontPath \"${FONT_ROOT}/misc/:unscaled\"" + einfo " FontPath \"${FONT_ROOT}/75dpi/:unscaled\"" + einfo "" + einfo "In order to make them accessible to your current X" + einfo "session, run:" + einfo " xset fp+ ${FONT_ROOT}/100dpi/:unscaled,\\" + einfo "${FONT_ROOT}/misc/:unscaled,\\" + einfo "${FONT_ROOT}/75dpi/:unscaled" + einfo " xset fp rehash" + fi +} + +pkg_postrm() { + if use X > /dev/null ; then + rebuild_fontfiles + fi +} diff --git a/media-fonts/cronyx-fonts/files/digest-cronyx-fonts-2.3.1-r1 b/media-fonts/cronyx-fonts/files/digest-cronyx-fonts-2.3.1-r1 new file mode 100644 index 000000000000..0defe51dc8b7 --- /dev/null +++ b/media-fonts/cronyx-fonts/files/digest-cronyx-fonts-2.3.1-r1 @@ -0,0 +1 @@ +MD5 736fc53c897ec5d69d3c783a282ce611 x6rus-2.3.1-bin.tgz 602902 |