diff options
author | Aron Griffis <agriffis@gentoo.org> | 2003-01-14 16:30:03 +0000 |
---|---|---|
committer | Aron Griffis <agriffis@gentoo.org> | 2003-01-14 16:30:03 +0000 |
commit | 75d25fd89168da516cbd2dc54af3c4d1e712d000 (patch) | |
tree | a313f3c38a23c2a3a747a9e10d4c873d24236943 /x11-misc | |
parent | And another dep fix (diff) | |
download | gentoo-2-75d25fd89168da516cbd2dc54af3c4d1e712d000.tar.gz gentoo-2-75d25fd89168da516cbd2dc54af3c4d1e712d000.tar.bz2 gentoo-2-75d25fd89168da516cbd2dc54af3c4d1e712d000.zip |
Fix long-standing bug that disallowed lfpfonts to be used in
gnome-terminal. Enable on alpha.
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/lfpfonts-fix/ChangeLog | 6 | ||||
-rw-r--r-- | x11-misc/lfpfonts-fix/files/digest-lfpfonts-fix-0.82-r1 | 1 | ||||
-rw-r--r-- | x11-misc/lfpfonts-fix/lfpfonts-fix-0.82-r1.ebuild | 30 |
3 files changed, 36 insertions, 1 deletions
diff --git a/x11-misc/lfpfonts-fix/ChangeLog b/x11-misc/lfpfonts-fix/ChangeLog index 19526bf1973d..cb8263f4618f 100644 --- a/x11-misc/lfpfonts-fix/ChangeLog +++ b/x11-misc/lfpfonts-fix/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for x11-misc/lfpfonts-fix # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/x11-misc/lfpfonts-fix/ChangeLog,v 1.4 2002/12/13 11:00:54 blizzy Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/lfpfonts-fix/ChangeLog,v 1.5 2003/01/14 16:30:03 agriffis Exp $ + + 14 Jan 2003; Aron Griffis <agriffis@gentoo.org> lfpfonts-fix-0.82-r1.ebuild : + Build from bdf sources so we can add -C- (char-cell) to the FONT line. This + enables the fonts to be used in gnome-terminal. Also add alpha to KEYWORDS. 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords diff --git a/x11-misc/lfpfonts-fix/files/digest-lfpfonts-fix-0.82-r1 b/x11-misc/lfpfonts-fix/files/digest-lfpfonts-fix-0.82-r1 new file mode 100644 index 000000000000..fffea2a4382b --- /dev/null +++ b/x11-misc/lfpfonts-fix/files/digest-lfpfonts-fix-0.82-r1 @@ -0,0 +1 @@ +MD5 30d405492eec76aefb1fc63dd9408745 lfpfonts-fix-src-0.82.tar.bz2 13403 diff --git a/x11-misc/lfpfonts-fix/lfpfonts-fix-0.82-r1.ebuild b/x11-misc/lfpfonts-fix/lfpfonts-fix-0.82-r1.ebuild new file mode 100644 index 000000000000..b966c7acf7f9 --- /dev/null +++ b/x11-misc/lfpfonts-fix/lfpfonts-fix-0.82-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/lfpfonts-fix/lfpfonts-fix-0.82-r1.ebuild,v 1.1 2003/01/14 16:30:03 agriffis Exp $ + +S=${WORKDIR}/${PN}-src +DESCRIPTION="Linux Font Project fixed-width fonts" +SRC_URI="http://dreamer.nitro.dk/linux/lfp/${PN}-src-${PV}.tar.bz2" +HOMEPAGE="http://dreamer.nitro.dk/linux/lfp/" +LICENSE="Public Domain" +KEYWORDS="x86 sparc ppc alpha" +SLOT="0" + +# hopefully anything satisfying virtual/x11 will also provide bdftopcf +DEPEND="virtual/x11" + +src_compile() { + cd src + for a in *.bdf; do + cat < ${a} | ( rm ${a}; sed '/^FONT /s/\(.*-\)C*-/\1C-/' > ${a} ) + done + ./compile || die "compile failed" +} + +src_install() { + dodoc doc/* + cd lfp-fix + insinto /usr/X11R6/lib/X11/fonts/lfp-fix + insopts -m0644 + doins * +} |