FreeBSD Bugzilla – Attachment 38902 Details for
Bug 61456
New port: graphics/ftgl An OpenGL FreeType fonts rendering library
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
ftgl.shar
ftgl.shar (text/plain), 5.72 KB, created by
Igor Pokrovsky
on 2004-01-17 03:30:17 UTC
(
hide
)
Description:
ftgl.shar
Filename:
MIME Type:
Creator:
Igor Pokrovsky
Created:
2004-01-17 03:30:17 UTC
Size:
5.72 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># ftgl ># ftgl/pkg-plist ># ftgl/pkg-descr ># ftgl/distinfo ># ftgl/Makefile ># ftgl/files ># ftgl/files/patch-FTFace.cpp ># ftgl/files/makefile.ex ># >echo c - ftgl >mkdir -p ftgl > /dev/null 2>&1 >echo x - ftgl/pkg-plist >sed 's/^X//' >ftgl/pkg-plist << 'END-of-ftgl/pkg-plist' >Xinclude/ftgl/FTBBox.h >Xinclude/ftgl/FTBitmapGlyph.h >Xinclude/ftgl/FTCharToGlyphIndexMap.h >Xinclude/ftgl/FTCharmap.h >Xinclude/ftgl/FTContour.h >Xinclude/ftgl/FTExtrdGlyph.h >Xinclude/ftgl/FTFace.h >Xinclude/ftgl/FTFont.h >Xinclude/ftgl/FTGL.h >Xinclude/ftgl/FTGLBitmapFont.h >Xinclude/ftgl/FTGLExtrdFont.h >Xinclude/ftgl/FTGLOutlineFont.h >Xinclude/ftgl/FTGLPixmapFont.h >Xinclude/ftgl/FTGLPolygonFont.h >Xinclude/ftgl/FTGLTextureFont.h >Xinclude/ftgl/FTGlyph.h >Xinclude/ftgl/FTGlyphContainer.h >Xinclude/ftgl/FTLibrary.h >Xinclude/ftgl/FTList.h >Xinclude/ftgl/FTOutlineGlyph.h >Xinclude/ftgl/FTPixmapGlyph.h >Xinclude/ftgl/FTPoint.h >Xinclude/ftgl/FTPolyGlyph.h >Xinclude/ftgl/FTSize.h >Xinclude/ftgl/FTTextureGlyph.h >Xinclude/ftgl/FTVector.h >Xinclude/ftgl/FTVectoriser.h >X@dirrm include/ftgl >Xlib/libftgl.a >X%%EXAMPLESDIR%%/makefile >X%%EXAMPLESDIR%%/tb.c >X%%EXAMPLESDIR%%/trackball.c >X%%EXAMPLESDIR%%/FTGLDemo.cpp >X%%EXAMPLESDIR%%/tb.h >X%%EXAMPLESDIR%%/trackball.h >X%%EXAMPLESDIR%%/README.txt >X@dirrm %%EXAMPLESDIR%% >X%%PORTDOCS%%%%DOCSDIR%%/images/ftgldemo.jpg >X%%PORTDOCS%%%%DOCSDIR%%/images/metrics.png >X%%PORTDOCS%%@dirrm %%DOCSDIR%%/images >X%%PORTDOCS%%%%DOCSDIR%%/FTGL_1_3.gif >X%%PORTDOCS%%%%DOCSDIR%%/FTGL.html >X%%PORTDOCS%%%%DOCSDIR%%/README.txt >X%%PORTDOCS%%@dirrm %%DOCSDIR%% >END-of-ftgl/pkg-plist >echo x - ftgl/pkg-descr >sed 's/^X//' >ftgl/pkg-descr << 'END-of-ftgl/pkg-descr' >XFTGL is a free open source library to enable developers to use arbitrary >Xfonts in their OpenGL applications. Unlike other OpenGL font libraries >XFTGL uses standard font file formats so doesn't need a preprocessing step >Xto convert the high quality font data into a lesser quality, proprietary >Xformat. FTGL uses the Freetype (www.freetype.org) font library to open and >X'decode' the fonts. It then takes that output and stores it in a format >Xmost efficient for OpenGL rendering. >X >XWWW: http://homepages.paradise.net.nz/henryj/ >X >X- Igor Pokrovsky >Xtiamat@comset.net >END-of-ftgl/pkg-descr >echo x - ftgl/distinfo >sed 's/^X//' >ftgl/distinfo << 'END-of-ftgl/distinfo' >XMD5 (FTGL.tar.gz) = 62d363867d4906a428640e661c97f74f >END-of-ftgl/distinfo >echo x - ftgl/Makefile >sed 's/^X//' >ftgl/Makefile << 'END-of-ftgl/Makefile' >X# New ports collection makefile for: ftgl >X# Date created: 16 Jan 2004 >X# Whom: Igor Pokrovsky <tiamat@comset.net> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= ftgl >XPORTVERSION= 2.04 >XCATEGORIES= graphics >XMASTER_SITES= >XDISTNAME= ${PORTNAME:U} >X >XMAINTAINER= tiamat@comset.net >XCOMMENT= An OpenGL FreeType fonts rendering library >X >XLIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 >X >XUSE_GMAKE= yes >XUSE_GL= yes >XUSE_X_PREFIX= yes >XGNU_CONFIGURE= yes >XCONFIGURE_WRKSRC= ${WRKDIR}/${DISTNAME}/unix >XCONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} >XCONFIGURE_ARGS= --with-gl-inc=${X11BASE}/include --with-gl-lib=${X11BASE}/lib >XBUILD_WRKSRC= ${CONFIGURE_WRKSRC} >XINSTALL_WRKSRC= ${CONFIGURE_WRKSRC} >XINSTALLS_SHLIB= yes >X >Xdo-install: >X ${INSTALL_DATA} ${INSTALL_WRKSRC}/src/.libs/lib${PORTNAME}.a ${PREFIX}/lib >X @${MKDIR} ${PREFIX}/include/${PORTNAME} >X ${INSTALL_DATA} ${WRKSRC}/include/*.h ${PREFIX}/include/${PORTNAME} >X >X @${MKDIR} ${EXAMPLESDIR} >X ${INSTALL_DATA} ${WRKSRC}/demo/* ${EXAMPLESDIR} >X ${PERL} -pi -e 's|%%CC%%|${CC}|g; \ >X s|%%CXX%%|${CXX}|g; \ >X s|%%RM%%|${RM}|g; \ >X s|%%CFLAGS%%|${CFLAGS}|g; \ >X s|%%CXXFLAGS%%|${CXXFLAGS}|g; \ >X s|%%PREFIX%%|${PREFIX}|g; \ >X s|%%X11BASE%%|${X11BASE}|g; \ >X s|%%LOCALBASE%%|${LOCALBASE}|g' \ >X <${FILESDIR}/makefile.ex >${EXAMPLESDIR}/makefile >X >X.ifndef (NOPORTDOCS) >X @${MKDIR} ${DOCSDIR} >X ${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR} >X ${INSTALL_DATA} ${WRKSRC}/docs/FTGL.html ${DOCSDIR} >X ${INSTALL_DATA} ${WRKSRC}/docs/FTGL_1_3.gif ${DOCSDIR} >X @${MKDIR} ${DOCSDIR}/images >X ${INSTALL_DATA} ${WRKSRC}/docs/images/* ${DOCSDIR}/images >X.endif >X >X.include <bsd.port.mk> >END-of-ftgl/Makefile >echo c - ftgl/files >mkdir -p ftgl/files > /dev/null 2>&1 >echo x - ftgl/files/patch-FTFace.cpp >sed 's/^X//' >ftgl/files/patch-FTFace.cpp << 'END-of-ftgl/files/patch-FTFace.cpp' >X--- src/FTFace.cpp.orig Fri Jan 16 13:23:11 2004 >X+++ src/FTFace.cpp Fri Jan 16 13:23:23 2004 >X@@ -62,7 +62,7 @@ >X { >X FT_Open_Args open; >X >X- open.flags = (FT_Open_Flags)1; // FT_OPEN_MEMORY; >X+ open.flags = /*(FT_Open_Flags)*/1; // FT_OPEN_MEMORY; >X open.memory_base = (FT_Byte *)pBufferBytes; >X open.memory_size = bufferSizeInBytes; >X >END-of-ftgl/files/patch-FTFace.cpp >echo x - ftgl/files/makefile.ex >sed 's/^X//' >ftgl/files/makefile.ex << 'END-of-ftgl/files/makefile.ex' >X# Make sure, that you have graphics/libglut installed >X# in order to build example program >X >XCC= %%CC%% >XCXX= %%CXX%% >XRM= %%RM%% >XCFLAGS= %%CFLAGS%% -I. -I%%X11BASE%%/include -I%%PREFIX%%/include/ftgl >XCXXFLAGS= %%CXXFLAGS%% -I. -I%%X11BASE%%/include -I%%PREFIX%%/include/ftgl >XLDFLAGS= -L%%X11BASE%%/lib -L%%PREFIX%%/lib -lglut -lftgl >X >XFREETYPE_CFLAGS!=%%LOCALBASE%%/bin/freetype-config --cflags >XFREETYPE_LFLAGS!=%%LOCALBASE%%/bin/freetype-config --libs >X >XCFLAGS+= ${FREETYPE_CFLAGS} >XCXXFLAGS+= ${FREETYPE_CFLAGS} >XLDFLAGS+= ${FREETYPE_LFLAGS} >X >XFTGLDemo: tb.o trackball.o FTGLDemo.o >X ${CXX} $> -o $@ ${LDFLAGS} >X >X.cpp.o: >X ${CXX} -c ${CXXFLAGS} $*.cpp >X >X.c.o: >X ${CC} -c ${CFLAGS} $*.c >X >Xclean: >X ${RM} -f FTGLDemo *.o >END-of-ftgl/files/makefile.ex >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 61456
: 38902 |
38903