This commit is contained in:
commit
ade06b0855
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
11
ftgl-2.1.2-qualification.patch
Normal file
11
ftgl-2.1.2-qualification.patch
Normal file
@ -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:
|
||||||
|
/**
|
3
ftgl-2.1.2.tar.bz2
Normal file
3
ftgl-2.1.2.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f7b02b756202ca851c86e6cc15aac65ec6f5fd3c2bc90c616f2785fac4e005c6
|
||||||
|
size 483534
|
10
ftgl-shared.patch
Normal file
10
ftgl-shared.patch
Normal file
@ -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.
|
35
ftgl.changes
Normal file
35
ftgl.changes
Normal file
@ -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.
|
||||||
|
|
162
ftgl.spec
Normal file
162
ftgl.spec
Normal file
@ -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 <ftgl@opengl.geek.nz>
|
||||||
|
|
||||||
|
%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 <ftgl@opengl.geek.nz>
|
||||||
|
|
||||||
|
%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.
|
Loading…
Reference in New Issue
Block a user