new version
authorMartin Schlemmer <azarah@gentoo.org>
Sun, 20 Oct 2002 07:33:03 +0000 (07:33 +0000)
committerMartin Schlemmer <azarah@gentoo.org>
Sun, 20 Oct 2002 07:33:03 +0000 (07:33 +0000)
x11-misc/ttmkfdir/ChangeLog
x11-misc/ttmkfdir/files/digest-ttmkfdir-1.0 [new file with mode: 0644]
x11-misc/ttmkfdir/files/ttmkfdir-1.0-gentoo.patch [new file with mode: 0644]
x11-misc/ttmkfdir/ttmkfdir-1.0.ebuild [new file with mode: 0644]

index 2ada01ed1b05dfcf2509513ab45b53e0c7b61262..62ec687faadf541306baeb919fefd8093077e175 100644 (file)
@@ -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 (file)
index 0000000..0ba4ef3
--- /dev/null
@@ -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 (file)
index 0000000..181365d
--- /dev/null
@@ -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 (file)
index 0000000..bd9565c
--- /dev/null
@@ -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
+}
+