diff --git a/ftgl/.footprint b/ftgl/.footprint new file mode 100644 index 000000000..160969221 --- /dev/null +++ b/ftgl/.footprint @@ -0,0 +1,35 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/FTGL/ +-rw-r--r-- root/root usr/include/FTGL/FTBBox.h +-rw-r--r-- root/root usr/include/FTGL/FTBitmapGlyph.h +-rw-r--r-- root/root usr/include/FTGL/FTCharToGlyphIndexMap.h +-rw-r--r-- root/root usr/include/FTGL/FTCharmap.h +-rw-r--r-- root/root usr/include/FTGL/FTContour.h +-rw-r--r-- root/root usr/include/FTGL/FTExtrdGlyph.h +-rw-r--r-- root/root usr/include/FTGL/FTFace.h +-rw-r--r-- root/root usr/include/FTGL/FTFont.h +-rw-r--r-- root/root usr/include/FTGL/FTGL.h +-rw-r--r-- root/root usr/include/FTGL/FTGLBitmapFont.h +-rw-r--r-- root/root usr/include/FTGL/FTGLExtrdFont.h +-rw-r--r-- root/root usr/include/FTGL/FTGLOutlineFont.h +-rw-r--r-- root/root usr/include/FTGL/FTGLPixmapFont.h +-rw-r--r-- root/root usr/include/FTGL/FTGLPolygonFont.h +-rw-r--r-- root/root usr/include/FTGL/FTGLTextureFont.h +-rw-r--r-- root/root usr/include/FTGL/FTGlyph.h +-rw-r--r-- root/root usr/include/FTGL/FTGlyphContainer.h +-rw-r--r-- root/root usr/include/FTGL/FTLibrary.h +-rw-r--r-- root/root usr/include/FTGL/FTList.h +-rw-r--r-- root/root usr/include/FTGL/FTOutlineGlyph.h +-rw-r--r-- root/root usr/include/FTGL/FTPixmapGlyph.h +-rw-r--r-- root/root usr/include/FTGL/FTPoint.h +-rw-r--r-- root/root usr/include/FTGL/FTPolyGlyph.h +-rw-r--r-- root/root usr/include/FTGL/FTSize.h +-rw-r--r-- root/root usr/include/FTGL/FTTextureGlyph.h +-rw-r--r-- root/root usr/include/FTGL/FTVector.h +-rw-r--r-- root/root usr/include/FTGL/FTVectoriser.h +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/libftgl.a +-rw-r--r-- root/root usr/lib/libftgl.la +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/ftgl.pc diff --git a/ftgl/.md5sum b/ftgl/.md5sum new file mode 100644 index 000000000..7021d4409 --- /dev/null +++ b/ftgl/.md5sum @@ -0,0 +1,2 @@ +522cd2e1e818d657e3e56f2ad3ab67c9 ftgl-2.1.2-gcc41.patch +e0736841ce273eddbdb64617621b75f4 ftgl-2.1.2.tar.bz2 diff --git a/ftgl/Pkgfile b/ftgl/Pkgfile new file mode 100644 index 000000000..4a1f5a7a7 --- /dev/null +++ b/ftgl/Pkgfile @@ -0,0 +1,28 @@ +# Description: Font rendering library for OpenGL +# URL: http://homepages.paradise.net.nz/henryj/code/ +# Maintainer: Jose V Beneyto, sepen at users dot sourceforge dot net +# Packager: Jose V Beneyto, sepen at users dot sourceforge dot net +# Depends on: mesa3d,freetype,freeglut + +name=ftgl +version=2.1.2 +release=2 +source=(http://dl.sourceforge.net/sourceforge/${name}/${name}-${version}.tar.bz2 \ + ${name}-2.1.2-gcc41.patch) + +build() { + patch -p0 < ${SRC}/${name}-2.1.2-gcc41.patch + cd FTGL/unix + ./configure --prefix=/usr \ + --with-x \ + --disable-nls \ + --disable-docs \ + --disable-static \ + --disable-freetypetest + make + install -d ${PKG}/usr/include/FTGL + install -m 0644 ../include/*.h ${PKG}/usr/include/FTGL + install -D -m 0644 ${name}.pc ${PKG}/usr/lib/pkgconfig/${name}.pc + install -D -m 0644 src/lib${name}.la ${PKG}/usr/lib/lib${name}.la + install -D -m 0644 src/.libs/lib${name}.a ${PKG}/usr/lib/lib${name}.a +} diff --git a/ftgl/ftgl-2.1.2-gcc41.patch b/ftgl/ftgl-2.1.2-gcc41.patch new file mode 100644 index 000000000..c23aaacaf --- /dev/null +++ b/ftgl/ftgl-2.1.2-gcc41.patch @@ -0,0 +1,11 @@ +--- FTGL/include/FTTextureGlyph.h.old 2006-01-29 11:08:54.000000000 -0700 ++++ FTGL/include/FTTextureGlyph.h 2006-01-29 11:09:06.000000000 -0700 +@@ -52,7 +52,7 @@ + * Reset the currently active texture to zero to get into a known state before + * drawing a string. This is to get round possible threading issues. + */ +- static void FTTextureGlyph::ResetActiveTexture(){ activeTextureID = 0;} ++ static void ResetActiveTexture(){ activeTextureID = 0;} + + private: + /**