commit ade06b08559a227ae78e71ba44a07b731ac3d5a97a64892855154feb2a62a7d2 Author: OBS User unknown Date: Mon Jan 15 23:13:10 2007 +0000 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ftgl?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/ftgl-2.1.2-qualification.patch b/ftgl-2.1.2-qualification.patch new file mode 100644 index 0000000..d87d45f --- /dev/null +++ b/ftgl-2.1.2-qualification.patch @@ -0,0 +1,11 @@ +--- include/FTTextureGlyph.h ++++ include/FTTextureGlyph.h +@@ -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: + /** diff --git a/ftgl-2.1.2.tar.bz2 b/ftgl-2.1.2.tar.bz2 new file mode 100644 index 0000000..9598bce --- /dev/null +++ b/ftgl-2.1.2.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f7b02b756202ca851c86e6cc15aac65ec6f5fd3c2bc90c616f2785fac4e005c6 +size 483534 diff --git a/ftgl-shared.patch b/ftgl-shared.patch new file mode 100644 index 0000000..64e6da4 --- /dev/null +++ b/ftgl-shared.patch @@ -0,0 +1,10 @@ +--- unix/configure.ac ++++ unix/configure.ac +@@ -4,7 +4,6 @@ + + FTGL_PROG_CXX + +-AC_DISABLE_SHARED + AC_PROG_LIBTOOL + + # Checks for typedefs, structures, and compiler characteristics. diff --git a/ftgl.changes b/ftgl.changes new file mode 100644 index 0000000..32d5f4e --- /dev/null +++ b/ftgl.changes @@ -0,0 +1,35 @@ +------------------------------------------------------------------- +Wed Sep 13 16:00:09 CEST 2006 - sbrabec@suse.cz + +- Split devel subpackage. + +------------------------------------------------------------------- +Fri Sep 8 16:10:13 CEST 2006 - sbrabec@suse.cz + +- Build shared library (#197446). + +------------------------------------------------------------------- +Wed Jan 25 21:36:03 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Tue Nov 8 14:20:18 CET 2005 - dmueller@suse.de + +- don't build as root + +------------------------------------------------------------------- +Mon Nov 7 02:06:18 CET 2005 - ro@suse.de + +- remove extra qualification to fix build with gcc-4.1 + +------------------------------------------------------------------- +Thu Jan 06 15:09:13 CET 2005 - sbrabec@suse.cz + +- Updated to version 2.1.2. + +------------------------------------------------------------------- +Thu Sep 02 16:39:52 CEST 2004 - sbrabec@suse.cz + +- New SuSE package, version 2.0.11. + diff --git a/ftgl.spec b/ftgl.spec new file mode 100644 index 0000000..98717b1 --- /dev/null +++ b/ftgl.spec @@ -0,0 +1,162 @@ +# +# spec file for package ftgl (Version 2.1.2) +# +# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# This file and all modifications and additions to the pristine +# package are under the same license as the package itself. +# +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +# norootforbuild + +Name: ftgl +BuildRequires: doxygen freeglut-devel freetype2-devel gcc-c++ libdrm-devel +Version: 2.1.2 +Release: 22 +URL: http://homepages.paradise.net.nz/henryj/code/index.html#FTGL +Group: System/Libraries +License: LGPL +Summary: Library for Using Arbitrary Fonts in OpenGL Applications +Source: %{name}-%{version}.tar.bz2 +Patch: %{name}-%{version}-qualification.patch +Patch1: %{name}-shared.patch +Autoreqprov: on +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +FTGL is a free open source library that enables developers to use +arbitrary fonts in their OpenGL (www.opengl.org) applications. Unlike +other OpenGL font libraries, FTGL uses standard font file formats so +does not need a preprocessing step to convert the high quality font +data into a lesser quality, proprietary format. + +FTGL uses the Freetype (www.freetype.org) font library to open and +'decode' the fonts. It then takes that output and stores it in a format +that is most efficient for OpenGL rendering. + +Rendering modes supported are: - Bit maps + +- Antialiased Pix maps + +- Texture maps + +- Outlines + +- Polygon meshes + +- Extruded polygon meshes + +FTGL is designed to be used in commercial quality software. It has been +written with performance, robustness, and simplicity in mind. + + + +Authors: +-------- + Henry Maddocks + +%package devel +Group: System/Libraries +Summary: Library for Using Arbitrary Fonts in OpenGL Applications +Requires: %{name} = %{version} Mesa-devel freetype2-devel + +%description devel +FTGL is a free open source library that enables developers to use +arbitrary fonts in their OpenGL (www.opengl.org) applications. Unlike +other OpenGL font libraries, FTGL uses standard font file formats so +does not need a preprocessing step to convert the high quality font +data into a lesser quality, proprietary format. + +FTGL uses the Freetype (www.freetype.org) font library to open and +'decode' the fonts. It then takes that output and stores it in a format +that is most efficient for OpenGL rendering. + +Rendering modes supported are: - Bit maps + +- Antialiased Pix maps + +- Texture maps + +- Outlines + +- Polygon meshes + +- Extruded polygon meshes + +FTGL is designed to be used in commercial quality software. It has been +written with performance, robustness, and simplicity in mind. + + + +Authors: +-------- + Henry Maddocks + +%prep +%setup -n FTGL +%patch +%patch1 +chmod -x include/* +# Valid without doxygen: +#tar -z -x -f docs/html.tar.gz -C docs +#mv docs/* unix/docs/ +chmod -x README.txt + +%build +cd unix +autoconf +%configure +make %{?jobs:-j%jobs} + +%install +cd unix +%makeinstall\ + bindir=$RPM_BUILD_ROOT/usr/bin\ + libdir=$RPM_BUILD_ROOT/usr/%_lib\ + datadir=$RPM_BUILD_ROOT/usr/share\ + includedir=$RPM_BUILD_ROOT/usr/include\ + PACKAGE_NAME=packages/%{name} +cd .. +mkdir -p $RPM_BUILD_ROOT%{_defaultdocdir}/%{name} +cp -pr COPYING.txt HISTORY.txt README.txt license.txt $RPM_BUILD_ROOT%{_defaultdocdir}/%{name} + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +%run_ldconfig + +%postun +%run_ldconfig + +%files +%defattr (-, root, root) +%doc %dir %{_defaultdocdir}/%{name} +%doc %{_defaultdocdir}/%{name}/*.txt +/usr/%_lib/*.so.* + +%files devel +%defattr (-, root, root) +%doc %{_defaultdocdir}/%{name}/html +/usr/bin/FTGLDemo +/usr/include/FTGL +/usr/%_lib/*.so +/usr/%_lib/*.*a +/usr/%_lib/pkgconfig/*.pc + +%changelog -n ftgl +* Wed Sep 13 2006 - sbrabec@suse.cz +- Split devel subpackage. +* Fri Sep 08 2006 - sbrabec@suse.cz +- Build shared library (#197446). +* Wed Jan 25 2006 - mls@suse.de +- converted neededforbuild to BuildRequires +* Tue Nov 08 2005 - dmueller@suse.de +- don't build as root +* Mon Nov 07 2005 - ro@suse.de +- remove extra qualification to fix build with gcc-4.1 +* Thu Jan 06 2005 - sbrabec@suse.cz +- Updated to version 2.1.2. +* Thu Sep 02 2004 - sbrabec@suse.cz +- New SuSE package, version 2.0.11. diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4