summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2004-05-15 11:00:39 +0000
committerMamoru Komachi <usata@gentoo.org>2004-05-15 11:00:39 +0000
commit78c839efd7d0a26a9fbf67d96ec0195d567ea80c (patch)
tree7148ff1dbfb5b15fb5be7a02d11c5be32e807d04 /media-fonts/sharefonts
parentChanged font path to /usr/share/fonts. Bug #44842 (diff)
downloadhistorical-78c839efd7d0a26a9fbf67d96ec0195d567ea80c.tar.gz
historical-78c839efd7d0a26a9fbf67d96ec0195d567ea80c.tar.bz2
historical-78c839efd7d0a26a9fbf67d96ec0195d567ea80c.zip
Updated to reflect changes in freefonts-0.10-r2.
Diffstat (limited to 'media-fonts/sharefonts')
-rw-r--r--media-fonts/sharefonts/ChangeLog3
-rw-r--r--media-fonts/sharefonts/Manifest4
-rw-r--r--media-fonts/sharefonts/sharefonts-0.10-r2.ebuild17
3 files changed, 19 insertions, 5 deletions
diff --git a/media-fonts/sharefonts/ChangeLog b/media-fonts/sharefonts/ChangeLog
index 106e6fc88443..e0a29e2cedd9 100644
--- a/media-fonts/sharefonts/ChangeLog
+++ b/media-fonts/sharefonts/ChangeLog
@@ -1,11 +1,12 @@
# ChangeLog for media-fonts/sharefonts
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-fonts/sharefonts/ChangeLog,v 1.5 2004/05/15 10:44:27 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/sharefonts/ChangeLog,v 1.6 2004/05/15 11:00:39 usata Exp $
*sharefonts-0.10-r2 (15 May 2004)
15 May 2004; Mamoru KOMACHI <usata@gentoo.org> sharefonts-0.10-r2.ebuild:
Changed font path to /usr/share/fonts. Bug #44842
+ Updated to reflect changes in freefonts-0.10-r2.
09 Feb 2004; Dylan Carlson <absinthe@gentoo.org> sharefonts-0.10-r1.ebuild:
amd64 marked stable.
diff --git a/media-fonts/sharefonts/Manifest b/media-fonts/sharefonts/Manifest
index c9f6fd41dbad..61098d967a36 100644
--- a/media-fonts/sharefonts/Manifest
+++ b/media-fonts/sharefonts/Manifest
@@ -1,6 +1,6 @@
MD5 1af657c599a3c829b7402bb0539f3dc9 sharefonts-0.10-r1.ebuild 637
-MD5 d8c1608ee8c7021dbe62ecead69ad16c ChangeLog 1769
+MD5 50d6c89ab8518c845c29636b126e0856 ChangeLog 1820
MD5 f975ed3aaa0dc4ae36de1fad71a89e8e metadata.xml 177
-MD5 189843c5dab29de730e82d63e9954fe2 sharefonts-0.10-r2.ebuild 586
+MD5 3506dd934de80c72d67b3b7494e4eb07 sharefonts-0.10-r2.ebuild 964
MD5 844974be1ef6607c9a78acf3ca0b0593 files/digest-sharefonts-0.10-r1 67
MD5 844974be1ef6607c9a78acf3ca0b0593 files/digest-sharefonts-0.10-r2 67
diff --git a/media-fonts/sharefonts/sharefonts-0.10-r2.ebuild b/media-fonts/sharefonts/sharefonts-0.10-r2.ebuild
index e6452f2cafc4..ed9512c8afe7 100644
--- a/media-fonts/sharefonts/sharefonts-0.10-r2.ebuild
+++ b/media-fonts/sharefonts/sharefonts-0.10-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-fonts/sharefonts/sharefonts-0.10-r2.ebuild,v 1.1 2004/05/15 10:44:27 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/sharefonts/sharefonts-0.10-r2.ebuild,v 1.2 2004/05/15 11:00:39 usata Exp $
S=${WORKDIR}/sharefont
DESCRIPTION="A Collection of True Type Fonts"
@@ -9,14 +9,27 @@ HOMEPAGE="http://www.gimp.org/"
KEYWORDS="~x86 ~sparc ~ppc ~amd64"
SLOT="0"
LICENSE="public-domain"
+IUSE="X"
-FONTPATH="/usr/share/fonts/${PN}"
+FONTPATH="/usr/share/fonts/sharefont"
src_install () {
insinto ${FONTPATH}
doins * || die
+ if use X ; then
+ mkfontscale ${D}${FONTPATH}
+ mkfontdir ${D}${FONTPATH}
+ if [ -x /usr/bin/fc-cache ] ; then
+ HOME="/root" /usr/bin/fc-cache -f ${D}${FONTPATH}
+ fi
+ fi
rm ${D}${FONTPATH}/README
dodoc README
}
+
+pkg_postinst () {
+ einfo "The sharefonts dir has been moved from /usr/X11R6/lib/X11/fonts/sharefont to ${FONTPATH}."
+ einfo "Setting new fontpaths for X might be necessary in some cases."
+}