fix for ftgl package
Hello Jose V Beneyto,
This seems to be the the required fix. I got it from
https://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/ftgl
diff Pkgfile.orig Pkgfile
21a22,24
>
> # FS#23283: install missing headers for OpenCascade
> install -m644 src/FT{Face,Library,Size}.h "$PKG/usr/include/FTGL/"
And, ofcourse, the .footprint file will include the additional 3 files.
Thanks
Joe
On Sun, May 13, 2012 at 8:04 AM, joe M <joe9mail@gmail.com> wrote:
> Hello,
>
> This is a related bug noticed on Arch: https://bugs.archlinux.org/task/23283
>
> This is the error when building opencascade, which depends on the ftgl library.
>
> make[2]: Entering directory
> `/home/j/dev/kernel/src/opencascade/ros/adm/make/TKOpenGl'
> /bin/sh ../../../libtool *--tag=CXX * --mode=compile g++
> -DHAVE_CONFIG_H -I. -I../../.. * -I/usr//include
> -I/usr//include/freetype2 -I/usr//include/FTGL -I/usr//include
> -DHAVE_GL2PS * -I../../../inc -I../../../drv/OpenGl
> -I../../../src/OpenGl *-DNDEBUG *-DNo_Exception *-DCSFDB
> -DOCC_CONVERT_SIGNALS -DLIN -DLININTEL -D_GNU_SOURCE=1 -O2 -MT
> OpenGl_FontMgr.lo -MD -MP -MF .deps/OpenGl_FontMgr.Tpo -c -o
> OpenGl_FontMgr.lo `test -f '../../../src/OpenGl/OpenGl_FontMgr.cxx' ||
> echo './'`../../../src/OpenGl/OpenGl_FontMgr.cxx
> libtool: compile: *g++ -DHAVE_CONFIG_H -I. -I../../.. -I/usr//include
> -I/usr//include/freetype2 -I/usr//include/FTGL -I/usr//include
> -DHAVE_GL2PS -I../../../inc -I../../../drv/OpenGl
> -I../../../src/OpenGl -DNDEBUG -DNo_Exception -DCSFDB
> -DOCC_CONVERT_SIGNALS -DLIN -DLININTEL -D_GNU_SOURCE=1 -O2 -MT
> OpenGl_FontMgr.lo -MD -MP -MF .deps/OpenGl_FontMgr.Tpo -c
> ../../../src/OpenGl/OpenGl_FontMgr.cxx *-fPIC -DPIC -o
> .libs/OpenGl_FontMgr.o
> In file included from ../../../inc/OpenGl_FontMgr.hxx:26:0,
> * * * * * * * * from ../../../src/OpenGl/OpenGl_FontMgr.cxx:18:
> /usr//include/FTGL/FTFont.h:29:5: warning: #warning This header is
> deprecated. Please use <FTGL/ftgl.h> from now.
> ../../../src/OpenGl/OpenGl_FontMgr.cxx:21:23: fatal error:
> FTLibrary.h: No such file or directory
> compilation terminated.
> make[2]: *** [OpenGl_FontMgr.lo] Error 1
> make[2]: Leaving directory
> `/home/j/dev/kernel/src/opencascade/ros/adm/make/TKOpenGl'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/home/j/dev/kernel/src/opencascade/ros/adm/make'
> make: *** [install-recursive] Error 1
>
> ftgl port details:
>
> cat /usr/ports/contrib/ftgl/Pkgfile
> # 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: freetype, freeglut
>
> name=ftgl
> version=2.1.3-rc5
> release=1
> source=(http://download.sourceforge.net/$name/$name-$version.tar.bz2)
>
> build() {
> *cd $name-2.1.3~rc5
> *./configure --prefix=/usr
> * * * * * * *--with-x
> * * * * * * *--disable-nls
> * * * * * * *--disable-docs
> * * * * * * *--disable-static
> * * * * * * *--disable-freetypetest
> *make
> *make DESTDIR=$PKG install
> *rm -rf $PKG/usr/share
> }
>
> corresponding package on ubuntu:
> http://packages.ubuntu.com/hardy/i386/ftgl-dev/filelist
_______________________________________________
CRUX mailing list
CRUX@lists.crux.nu
http://lists.crux.nu/mailman/listinfo/crux
|