commit e7938fbecaba3c449ed6e348b8d56b648676f9e57e260ad1b7920cf323ee3562 Author: OBS User unknown Date: Mon Jan 15 22:50:27 2007 +0000 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/SDL_ttf?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/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/SDL_ttf-2.0.8-noftinternals.patch b/SDL_ttf-2.0.8-noftinternals.patch new file mode 100644 index 0000000..550f0ba --- /dev/null +++ b/SDL_ttf-2.0.8-noftinternals.patch @@ -0,0 +1,28 @@ +--- SDL_ttf.c ++++ SDL_ttf.c +@@ -43,16 +43,6 @@ + #include FT_FREETYPE_H + #include FT_OUTLINE_H + #include FT_TRUETYPE_IDS_H +-/* +-#include +-#include +-#include +-*/ +-#include +- +-#ifndef FT_OPEN_STREAM +-#define FT_OPEN_STREAM ft_open_stream +-#endif + + #include "SDL.h" + #include "SDL_endian.h" +@@ -278,7 +268,7 @@ + } + memset(stream, 0, sizeof(*stream)); + +- stream->memory = library->memory; ++ stream->memory = NULL; /* set by FT_Open_Face */ + stream->read = RWread; + stream->descriptor.pointer = src; + stream->pos = (unsigned long)position; diff --git a/SDL_ttf-2.0.8.dif b/SDL_ttf-2.0.8.dif new file mode 100644 index 0000000..e50bf4c --- /dev/null +++ b/SDL_ttf-2.0.8.dif @@ -0,0 +1,9 @@ +--- Makefile.am ++++ Makefile.am 2002/12/16 16:49:33 +@@ -1,5 +1,5 @@ + # Makefile.am for the SDL truetype font loading library and viewer +- ++AUTOMAKE_OPTIONS = foreign + lib_LTLIBRARIES = libSDL_ttf.la + + libSDL_ttfincludedir = $(includedir)/SDL diff --git a/SDL_ttf-2.0.8.tar.bz2 b/SDL_ttf-2.0.8.tar.bz2 new file mode 100644 index 0000000..1dbfb1d --- /dev/null +++ b/SDL_ttf-2.0.8.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ce284ed33c418c73216b23363420f07ddcb7e4e2fe2a1d38dc7b1e74c475b35f +size 2410310 diff --git a/SDL_ttf.changes b/SDL_ttf.changes new file mode 100644 index 0000000..447df96 --- /dev/null +++ b/SDL_ttf.changes @@ -0,0 +1,63 @@ +------------------------------------------------------------------- +Fri Jun 23 12:27:00 CEST 2006 - nadvornik@suse.cz + +- do not use freetype2 internals + +------------------------------------------------------------------- +Fri Jan 27 10:35:12 CET 2006 - nadvornik@suse.cz + +- fixed BuildRequires + +------------------------------------------------------------------- +Wed Jan 25 14:32:33 CET 2006 - nadvornik@suse.cz + +- fixed crash on nonexistant font file [#145040] + +------------------------------------------------------------------- +Sat Jan 10 18:48:28 CET 2004 - adrian@suse.de + +- add %defattr and %run_ldconfig + +------------------------------------------------------------------- +Tue Jan 06 12:57:04 CET 2004 - nadvornik@suse.cz + +- fixed to compile with new freetype + +------------------------------------------------------------------- +Fri Jul 25 12:42:19 CEST 2003 - nadvornik@suse.cz + +- updated to 2.0.6 +- added buildroot + +------------------------------------------------------------------- +Mon Dec 16 17:49:53 CET 2002 - ro@suse.de + +- fix build with automake, use "AUTOMAKE_OPTIONS = foreign" + +------------------------------------------------------------------- +Mon Sep 2 14:43:55 CEST 2002 - uli@suse.de + +- use %_libdir (bug #18726) + +------------------------------------------------------------------- +Thu Jun 13 14:31:45 CEST 2002 - uli@suse.de + +- update -> 2.0.5 (bugfixes, support for selecting individual font + faces, support for foreground/background color in showfont) + +------------------------------------------------------------------- +Wed Jun 12 00:29:34 CEST 2002 - ro@suse.de + +- run autoreconf (fixes build on ppc64) + +------------------------------------------------------------------- +Tue Jan 22 18:23:53 CET 2002 - ro@suse.de + +- changed neededforbuild to + +------------------------------------------------------------------- +Tue Aug 7 17:45:44 CEST 2001 - uli@suse.de + +- initial package + + diff --git a/SDL_ttf.spec b/SDL_ttf.spec new file mode 100644 index 0000000..9b38883 --- /dev/null +++ b/SDL_ttf.spec @@ -0,0 +1,93 @@ +# +# spec file for package SDL_ttf (Version 2.0.8) +# +# 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: SDL_ttf +BuildRequires: SDL-devel freetype2-devel gcc-c++ xorg-x11 xorg-x11-Mesa-devel +URL: http://www.libsdl.org/projects/SDL_ttf/ +License: LGPL +Group: Development/Libraries/X11 +#Requires: xforms +Autoreqprov: on +Version: 2.0.8 +Release: 1 +Summary: Simple DirectMedia Layer--Truetype Library +Source: %{name}-%{version}.tar.bz2 +Patch: %{name}-%{version}.dif +Patch1: %{name}-%{version}-noftinternals.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +This is a sample library that allows you to use TrueType fonts in your +SDL applications. + + + +Authors: +-------- + Sam Lantinga + +%prep +%setup +%patch +%patch1 + +%build +rm *.m4 +autoreconf --force --install +CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --libdir=%_libdir +make + +%install +make DESTDIR=$RPM_BUILD_ROOT install + +%post +%run_ldconfig + +%postun +%run_ldconfig + +%files +%defattr(-,root,root) +%doc CHANGES COPYING README +/usr/include/SDL/SDL_ttf.h +%_libdir/libSDL_ttf-2.0.so.* +%_libdir/libSDL_ttf.a +%_libdir/libSDL_ttf.la +%_libdir/libSDL_ttf.so + +%changelog -n SDL_ttf +* Fri Jun 23 2006 - nadvornik@suse.cz +- do not use freetype2 internals +* Fri Jan 27 2006 - nadvornik@suse.cz +- fixed BuildRequires +* Wed Jan 25 2006 - nadvornik@suse.cz +- fixed crash on nonexistant font file [#145040] +* Sat Jan 10 2004 - adrian@suse.de +- add %%defattr and %%run_ldconfig +* Tue Jan 06 2004 - nadvornik@suse.cz +- fixed to compile with new freetype +* Fri Jul 25 2003 - nadvornik@suse.cz +- updated to 2.0.6 +- added buildroot +* Mon Dec 16 2002 - ro@suse.de +- fix build with automake, use "AUTOMAKE_OPTIONS = foreign" +* Mon Sep 02 2002 - uli@suse.de +- use %%_libdir (bug #18726) +* Thu Jun 13 2002 - uli@suse.de +- update -> 2.0.5 (bugfixes, support for selecting individual font + faces, support for foreground/background color in showfont) +* Wed Jun 12 2002 - ro@suse.de +- run autoreconf (fixes build on ppc64) +* Tue Jan 22 2002 - ro@suse.de +- changed neededforbuild to +* Tue Aug 07 2001 - uli@suse.de +- initial package diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4