pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/graphics



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun Sep  8 20:41:10 UTC 2019

Modified Files:
        pkgsrc/graphics: Makefile
Added Files:
        pkgsrc/graphics/ftgl: DESCR Makefile PLIST buildlink3.mk distinfo
        pkgsrc/graphics/ftgl/patches: patch-src_FTFont_FTBufferFont.cpp

Log Message:
Add graphics/ftgl. Based on work in pkgsrc-wip.

FTGL is a free cross-platform Open Source C++ library that uses
Freetype2 to simplify rendering fonts in OpenGL applications. FTGL
supports bitmaps, pixmaps, texture maps, outlines, polygon mesh,
and extruded polygon rendering modes.


To generate a diff of this commit:
cvs rdiff -u -r1.845 -r1.846 pkgsrc/graphics/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/ftgl/DESCR \
    pkgsrc/graphics/ftgl/Makefile pkgsrc/graphics/ftgl/PLIST \
    pkgsrc/graphics/ftgl/buildlink3.mk pkgsrc/graphics/ftgl/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/graphics/ftgl/patches/patch-src_FTFont_FTBufferFont.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/Makefile
diff -u pkgsrc/graphics/Makefile:1.845 pkgsrc/graphics/Makefile:1.846
--- pkgsrc/graphics/Makefile:1.845      Fri Aug 30 19:06:34 2019
+++ pkgsrc/graphics/Makefile    Sun Sep  8 20:41:10 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.845 2019/08/30 19:06:34 nia Exp $
+# $NetBSD: Makefile,v 1.846 2019/09/08 20:41:10 nia Exp $
 #
 
 COMMENT=       Graphics tools and libraries
@@ -135,6 +135,7 @@ SUBDIR+=    freetype
 SUBDIR+=       freetype-lib
 SUBDIR+=       freetype-utils
 SUBDIR+=       freetype2
+SUBDIR+=       ftgl
 SUBDIR+=       fujiplay
 SUBDIR+=       g2
 SUBDIR+=       gd

Added files:

Index: pkgsrc/graphics/ftgl/DESCR
diff -u /dev/null pkgsrc/graphics/ftgl/DESCR:1.1
--- /dev/null   Sun Sep  8 20:41:10 2019
+++ pkgsrc/graphics/ftgl/DESCR  Sun Sep  8 20:41:10 2019
@@ -0,0 +1,4 @@
+FTGL is a free cross-platform Open Source C++ library that uses
+Freetype2 to simplify rendering fonts in OpenGL applications. FTGL
+supports bitmaps, pixmaps, texture maps, outlines, polygon mesh,
+and extruded polygon rendering modes.
Index: pkgsrc/graphics/ftgl/Makefile
diff -u /dev/null pkgsrc/graphics/ftgl/Makefile:1.1
--- /dev/null   Sun Sep  8 20:41:10 2019
+++ pkgsrc/graphics/ftgl/Makefile       Sun Sep  8 20:41:10 2019
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2019/09/08 20:41:10 nia Exp $
+
+DISTNAME=      ftgl-2.1.3-rc5
+PKGNAME=       ${DISTNAME:S/-r/r/1}
+CATEGORIES=    graphics
+MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=ftgl/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://sourceforge.net/projects/ftgl/
+COMMENT=       C++ library of Freetype2 in OpenGL applications
+LICENSE=       2-clause-bsd
+
+WRKSRC=                ${WRKDIR}/ftgl-2.1.3~rc5
+GNU_CONFIGURE= yes
+USE_TOOLS+=    gmake gsed pkg-config
+USE_LANGUAGES= c c++
+USE_LIBTOOL=   yes
+
+CONFIGURE_ARGS+=       --without-glut-inc
+CONFIGURE_ARGS+=       --without-x
+
+PKGCONFIG_OVERRIDE+=   ftgl.pc.in
+
+.include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../graphics/glu/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/graphics/ftgl/PLIST
diff -u /dev/null pkgsrc/graphics/ftgl/PLIST:1.1
--- /dev/null   Sun Sep  8 20:41:10 2019
+++ pkgsrc/graphics/ftgl/PLIST  Sun Sep  8 20:41:10 2019
@@ -0,0 +1,26 @@
+@comment $NetBSD: PLIST,v 1.1 2019/09/08 20:41:10 nia Exp $
+include/FTGL/FTBBox.h
+include/FTGL/FTBitmapGlyph.h
+include/FTGL/FTBuffer.h
+include/FTGL/FTBufferFont.h
+include/FTGL/FTBufferGlyph.h
+include/FTGL/FTExtrdGlyph.h
+include/FTGL/FTFont.h
+include/FTGL/FTGLBitmapFont.h
+include/FTGL/FTGLExtrdFont.h
+include/FTGL/FTGLOutlineFont.h
+include/FTGL/FTGLPixmapFont.h
+include/FTGL/FTGLPolygonFont.h
+include/FTGL/FTGLTextureFont.h
+include/FTGL/FTGlyph.h
+include/FTGL/FTLayout.h
+include/FTGL/FTOutlineGlyph.h
+include/FTGL/FTPixmapGlyph.h
+include/FTGL/FTPoint.h
+include/FTGL/FTPolyGlyph.h
+include/FTGL/FTSimpleLayout.h
+include/FTGL/FTTextureGlyph.h
+include/FTGL/ftgl.h
+lib/libftgl.la
+lib/pkgconfig/ftgl.pc
+share/doc/ftgl/projects_using_ftgl.txt
Index: pkgsrc/graphics/ftgl/buildlink3.mk
diff -u /dev/null pkgsrc/graphics/ftgl/buildlink3.mk:1.1
--- /dev/null   Sun Sep  8 20:41:10 2019
+++ pkgsrc/graphics/ftgl/buildlink3.mk  Sun Sep  8 20:41:10 2019
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1 2019/09/08 20:41:10 nia Exp $
+
+BUILDLINK_TREE+=       ftgl
+
+.if !defined(FTGL_BUILDLINK3_MK)
+FTGL_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ftgl+=   ftgl>=2.1.3rc5
+BUILDLINK_PKGSRCDIR.ftgl?=     ../../graphics/ftgl
+
+.include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../graphics/glu/buildlink3.mk"
+.endif # FTGL_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -ftgl
Index: pkgsrc/graphics/ftgl/distinfo
diff -u /dev/null pkgsrc/graphics/ftgl/distinfo:1.1
--- /dev/null   Sun Sep  8 20:41:10 2019
+++ pkgsrc/graphics/ftgl/distinfo       Sun Sep  8 20:41:10 2019
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2019/09/08 20:41:10 nia Exp $
+
+SHA1 (ftgl-2.1.3-rc5.tar.gz) = b9c11d3a594896333f1bbe46e10d8617713b4fc6
+RMD160 (ftgl-2.1.3-rc5.tar.gz) = 22ead818fde748be1ffeedb31f8702b7924d212f
+SHA512 (ftgl-2.1.3-rc5.tar.gz) = 77518c4546b53662b45a5c9af2418697b1a4a6250316c1e11ee71ccffc58ce03d5f19c901021b0e1cd05fec8444c84197e4bef77c662513dd6da8c29800cc3cd
+Size (ftgl-2.1.3-rc5.tar.gz) = 841597 bytes
+SHA1 (patch-src_FTFont_FTBufferFont.cpp) = aa24fbd34b394cea3b107d6d55fc07c37d20aaa5

Index: pkgsrc/graphics/ftgl/patches/patch-src_FTFont_FTBufferFont.cpp
diff -u /dev/null pkgsrc/graphics/ftgl/patches/patch-src_FTFont_FTBufferFont.cpp:1.1
--- /dev/null   Sun Sep  8 20:41:10 2019
+++ pkgsrc/graphics/ftgl/patches/patch-src_FTFont_FTBufferFont.cpp      Sun Sep  8 20:41:10 2019
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_FTFont_FTBufferFont.cpp,v 1.1 2019/09/08 20:41:10 nia Exp $
+
+return wcsdup if OPSYS != DragonFly.
+
+--- src/FTFont/FTBufferFont.cpp.orig   2008-06-12 09:52:03.000000000 +0000
++++ src/FTFont/FTBufferFont.cpp
+@@ -206,7 +206,7 @@ inline wchar_t *StringCopy(wchar_t const
+ {
+     if(len < 0)
+     {
+-#if defined HAVE_WCSDUP
++#if defined HAVE_WCSDUP && !defined(__DragonFly__)
+         return wcsdup(s);
+ #else
+         len = (int)wcslen(s);



Home | Main Index | Thread Index | Old Index