summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2002-10-20 07:33:03 +0000
committerMartin Schlemmer <azarah@gentoo.org>2002-10-20 07:33:03 +0000
commita85651062708f5f4f81d4dcb7bfa6285adb7ca95 (patch)
treefa25ad8f914ef893cb2bbc6a11a8a96a643ea330 /x11-misc/ttmkfdir
parentdescription and manpage (diff)
downloadhistorical-a85651062708f5f4f81d4dcb7bfa6285adb7ca95.tar.gz
historical-a85651062708f5f4f81d4dcb7bfa6285adb7ca95.tar.bz2
historical-a85651062708f5f4f81d4dcb7bfa6285adb7ca95.zip
new version
Diffstat (limited to 'x11-misc/ttmkfdir')
-rw-r--r--x11-misc/ttmkfdir/ChangeLog8
-rw-r--r--x11-misc/ttmkfdir/files/digest-ttmkfdir-1.01
-rw-r--r--x11-misc/ttmkfdir/files/ttmkfdir-1.0-gentoo.patch24
-rw-r--r--x11-misc/ttmkfdir/ttmkfdir-1.0.ebuild36
4 files changed, 68 insertions, 1 deletions
diff --git a/x11-misc/ttmkfdir/ChangeLog b/x11-misc/ttmkfdir/ChangeLog
index 2ada01ed1b05..62ec687faadf 100644
--- a/x11-misc/ttmkfdir/ChangeLog
+++ b/x11-misc/ttmkfdir/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-misc/ttmkfdir
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/ttmkfdir/ChangeLog,v 1.2 2002/10/19 22:49:07 cselkirk Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/ttmkfdir/ChangeLog,v 1.3 2002/10/20 07:33:03 azarah Exp $
+
+*ttmkfdir-1.0 (20 Oct 2002)
+
+ 20 Oct 2002; Martin Schlemmer <azarah@gentoo.org> ttmkfdir-1.0.ebuild :
+
+ Add version of ttmkfdir that works with freetype2. Should close bug #9354.
*ttmkfdir-0.0-r1 (1 Feb 2002)
diff --git a/x11-misc/ttmkfdir/files/digest-ttmkfdir-1.0 b/x11-misc/ttmkfdir/files/digest-ttmkfdir-1.0
new file mode 100644
index 000000000000..0ba4ef3c4b91
--- /dev/null
+++ b/x11-misc/ttmkfdir/files/digest-ttmkfdir-1.0
@@ -0,0 +1 @@
+MD5 61efb004b19befdb5335ef058323002c ttmkfdir2-1.0.tar.bz2 16650
diff --git a/x11-misc/ttmkfdir/files/ttmkfdir-1.0-gentoo.patch b/x11-misc/ttmkfdir/files/ttmkfdir-1.0-gentoo.patch
new file mode 100644
index 000000000000..181365d28dbf
--- /dev/null
+++ b/x11-misc/ttmkfdir/files/ttmkfdir-1.0-gentoo.patch
@@ -0,0 +1,24 @@
+diff -urN ttmkfdir2/Makefile ttmkfdir2.azarah/Makefile
+--- ttmkfdir2/Makefile.orig 2002-03-14 16:03:49.000000000 +0200
++++ ttmkfdir2/Makefile 2002-10-13 03:55:17.000000000 +0200
+@@ -2,7 +2,7 @@
+ FREETYPE_INCL=-I$(FREETYPE_BASE)/.
+ FREETYPE_LIB=/usr/lib/libfreetype.so
+
+-DEBUG=-ggdb
++DEBUG=
+ CXX=g++
+ CXXFLAGS=-Wall -pedantic $(FREETYPE_INCL) $(DEBUG)
+
+diff -urN ttmkfdir2/ttf.h ttmkfdir2.azarah/ttf.h
+--- ttmkfdir2/ttf.h.orig 2002-03-13 20:16:38.000000000 +0200
++++ ttmkfdir2/ttf.h 2002-10-13 03:46:34.000000000 +0200
+@@ -43,7 +43,7 @@
+ FT_Face face;
+ TT_OS2 *os2;
+ TT_Postscript *post;
+- string FileName;
++ std::string FileName;
+ };
+ };
+
diff --git a/x11-misc/ttmkfdir/ttmkfdir-1.0.ebuild b/x11-misc/ttmkfdir/ttmkfdir-1.0.ebuild
new file mode 100644
index 000000000000..bd9565c94125
--- /dev/null
+++ b/x11-misc/ttmkfdir/ttmkfdir-1.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/ttmkfdir/ttmkfdir-1.0.ebuild,v 1.1 2002/10/20 07:33:03 azarah Exp $
+
+S="${WORKDIR}/${PN}2"
+DESCRIPTION="A utility to create a fonts.scale file from a set of TrueType fonts"
+SRC_URI="mirror://gentoo/ttmkfdir2-${PV}.tar.bz2"
+HOMEPAGE="http://www.joerg-pommnitz.de/TrueType/xfsft.html"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="x86 sparc sparc64 ppc"
+
+DEPEND=">=media-libs/freetype-2.0.8
+ >=sys-devel/flex-2.5.4a-r5
+ sys-devel/libtool"
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}; patch -p1 < ${FILESDIR}/${P}-gentoo.patch || die
+
+ cp ${S}/Makefile ${S}/Makefile.orig
+ sed -e "s:CXXFLAGS=-Wall:CXXFLAGS=${CFLAGS} -Wall:" \
+ ${S}/Makefile.orig > ${S}/Makefile
+}
+
+src_compile() {
+ make OPT="${CFLAGS}" || die
+}
+
+src_install() {
+ exeinto /usr/X11R6/bin
+ doexe ${S}/ttmkfdir
+}
+