From f58b1bbf8920b84f235526f2d8d574dd4cce5c58ab6144f2652bdb08f4694856 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Tue, 13 Aug 2013 11:33:57 +0000 Subject: [PATCH 1/2] - updated to 2.0.11 * SDL_ttf is now under the zlib license * Improved font glyph caching for non-latin languages * Added API to get kerning info: TTF_GetFontKerningSize() * Added Android.mk to build on the Android platform - updated to 2.0.10 * Find the Unicode or symbol character map if it's available in the font * Set the appropriate font styles for bold and italic fonts * Added font style TTF_STYLE_STRIKETHROUGH * Fixed size calculations taking outline and underline into account * Added API for font outlining: TTF_GetFontOutline()/TTF_SetFontOutline() * Added API to disable kerning: TTF_GetFontKerning()/TTF_SetFontKerning() * Fixed height calculation for fonts that extend below the font height * Added access to font hinting: TTF_GetFontHinting()/TTF_SetFontHinting() * Added TTF_GlyphIsProvided() to check whether a glyph is in a given font - Do not buildRequire metapackage xorg-x11-devel it is not needed and adds significant bloat OBS-URL: https://build.opensuse.org/package/show/games/SDL_ttf?expand=0&rev=17 --- SDL_ttf-2.0.11-repack.tar.bz2 | 3 +++ SDL_ttf-2.0.9-repack.tar.bz2 | 3 --- SDL_ttf.changes | 23 +++++++++++++++++++++-- SDL_ttf.spec | 7 ++++--- 4 files changed, 28 insertions(+), 8 deletions(-) create mode 100644 SDL_ttf-2.0.11-repack.tar.bz2 delete mode 100644 SDL_ttf-2.0.9-repack.tar.bz2 diff --git a/SDL_ttf-2.0.11-repack.tar.bz2 b/SDL_ttf-2.0.11-repack.tar.bz2 new file mode 100644 index 0000000..ef3ad94 --- /dev/null +++ b/SDL_ttf-2.0.11-repack.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:61a43fa79f1432e7efabd473a8e0d14c092a77847328a312efbb0c611ed2fd74 +size 2241008 diff --git a/SDL_ttf-2.0.9-repack.tar.bz2 b/SDL_ttf-2.0.9-repack.tar.bz2 deleted file mode 100644 index 96d607f..0000000 --- a/SDL_ttf-2.0.9-repack.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6d4593a67d97b5751559dd997dac3c84718a31cf7bd37d5512eab2ba0b12ca40 -size 255591 diff --git a/SDL_ttf.changes b/SDL_ttf.changes index 104d7cf..41e19d8 100644 --- a/SDL_ttf.changes +++ b/SDL_ttf.changes @@ -1,8 +1,27 @@ +------------------------------------------------------------------- +Tue Aug 13 11:31:29 UTC 2013 - prusnak@opensuse.org + +- updated to 2.0.11 + * SDL_ttf is now under the zlib license + * Improved font glyph caching for non-latin languages + * Added API to get kerning info: TTF_GetFontKerningSize() + * Added Android.mk to build on the Android platform +- updated to 2.0.10 + * Find the Unicode or symbol character map if it's available in the font + * Set the appropriate font styles for bold and italic fonts + * Added font style TTF_STYLE_STRIKETHROUGH + * Fixed size calculations taking outline and underline into account + * Added API for font outlining: TTF_GetFontOutline()/TTF_SetFontOutline() + * Added API to disable kerning: TTF_GetFontKerning()/TTF_SetFontKerning() + * Fixed height calculation for fonts that extend below the font height + * Added access to font hinting: TTF_GetFontHinting()/TTF_SetFontHinting() + * Added TTF_GlyphIsProvided() to check whether a glyph is in a given font + ------------------------------------------------------------------- Thu Jan 3 02:06:00 UTC 2013 - crrodriguez@opensuse.org -- Do not buildRequire metapackage xorg-x11-devel it is not - needed and adds significant bloat +- Do not buildRequire metapackage xorg-x11-devel it is not + needed and adds significant bloat ------------------------------------------------------------------- Tue May 8 14:08:05 UTC 2012 - cfarrell@suse.com diff --git a/SDL_ttf.spec b/SDL_ttf.spec index 89f2604..a47be61 100644 --- a/SDL_ttf.spec +++ b/SDL_ttf.spec @@ -20,12 +20,12 @@ Name: SDL_ttf BuildRequires: freetype2-devel BuildRequires: libSDL-devel Url: http://www.libsdl.org/projects/SDL_ttf/ -Version: 2.0.9 +Version: 2.0.11 Release: 0 Summary: Simple DirectMedia Layer - Truetype Library -License: LGPL-2.1+ +License: Zlib Group: System/Libraries -# removed VisualC.zip, Watcom-OS2.zip, Xcode.tar.gz from upstream tarball [bnc#508180] +# removed VisualC dir, Watcom-Win32.zip, Xcode and Xcode-iOS dirs from upstream tarball [bnc#508180] Source: %{name}-%{version}-repack.tar.bz2 Source2: baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -84,5 +84,6 @@ rm -f %{buildroot}%{_libdir}/*.la %defattr(-,root,root) %{_includedir}/SDL/SDL_ttf.h %{_libdir}/lib*.so +%{_libdir}/pkgconfig/SDL_ttf.pc %changelog From 520c365573a6476baee634a2203717944ba50b67ccf93e61e0276145a05933eb Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Thu, 15 Aug 2013 13:54:17 +0000 Subject: [PATCH 2/2] Accepting request 195360 from home:jengelh:branches:games - Some metadata spruce-up: add current URLs, softer wildcarding in the files list, more robust make install call OBS-URL: https://build.opensuse.org/request/show/195360 OBS-URL: https://build.opensuse.org/package/show/games/SDL_ttf?expand=0&rev=18 --- SDL_ttf.changes | 6 ++++++ SDL_ttf.spec | 34 ++++++++++++++++++---------------- 2 files changed, 24 insertions(+), 16 deletions(-) diff --git a/SDL_ttf.changes b/SDL_ttf.changes index 41e19d8..85f4efc 100644 --- a/SDL_ttf.changes +++ b/SDL_ttf.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Aug 13 12:04:26 UTC 2013 - jengelh@inai.de + +- Some metadata spruce-up: add current URLs, softer wildcarding + in the files list, more robust make install call + ------------------------------------------------------------------- Tue Aug 13 11:31:29 UTC 2013 - prusnak@opensuse.org diff --git a/SDL_ttf.spec b/SDL_ttf.spec index a47be61..1dbd022 100644 --- a/SDL_ttf.spec +++ b/SDL_ttf.spec @@ -17,40 +17,42 @@ Name: SDL_ttf -BuildRequires: freetype2-devel -BuildRequires: libSDL-devel -Url: http://www.libsdl.org/projects/SDL_ttf/ +%define lname libSDL_ttf-2_0-0 +#Note: thankfully no overlap with SDL2, which is libSDL2_ttf-2_0-0. Version: 2.0.11 Release: 0 Summary: Simple DirectMedia Layer - Truetype Library License: Zlib -Group: System/Libraries +Group: Development/Libraries/X11 +Url: http://libsdl.org/projects/SDL_ttf/release-1.2.html + # removed VisualC dir, Watcom-Win32.zip, Xcode and Xcode-iOS dirs from upstream tarball [bnc#508180] Source: %{name}-%{version}-repack.tar.bz2 Source2: baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: freetype2-devel +BuildRequires: libSDL-devel +BuildRequires: pkgconfig %description This is a sample library that allows you to use TrueType fonts in your SDL applications. -%package -n libSDL_ttf-2_0-0 +%package -n %lname Summary: Simple DirectMedia Layer - Truetype Library Group: System/Libraries Provides: SDL_ttf = %{version} Obsoletes: SDL_ttf <= %{version} -%description -n libSDL_ttf-2_0-0 +%description -n %lname This is a sample library that allows you to use TrueType fonts in your SDL applications. %package -n libSDL_ttf-devel -Requires: %{name} = %{version} -Requires: SDL-devel Summary: Simple DirectMedia Layer - Truetype Library -Group: Development/Libraries/C and C++ +Group: Development/Libraries/X11 +Requires: %lname = %{version} Requires: libSDL-devel -Requires: libSDL_ttf-2_0-0 = %{version} Provides: SDL_ttf-devel = %{version} Obsoletes: SDL_ttf-devel <= %{version} @@ -71,19 +73,19 @@ make %{?_smp_mflags} make DESTDIR=$RPM_BUILD_ROOT install rm -f %{buildroot}%{_libdir}/*.la -%post -n libSDL_ttf-2_0-0 -p /sbin/ldconfig +%post -n %lname -p /sbin/ldconfig -%postun -n libSDL_ttf-2_0-0 -p /sbin/ldconfig +%postun -n %lname -p /sbin/ldconfig -%files -n libSDL_ttf-2_0-0 +%files -n %lname %defattr(-,root,root) %doc CHANGES COPYING README -%{_libdir}/lib*.so.* +%{_libdir}/libSDL_ttf-2*.so.* %files -n libSDL_ttf-devel %defattr(-,root,root) -%{_includedir}/SDL/SDL_ttf.h -%{_libdir}/lib*.so +%{_includedir}/SDL/ +%{_libdir}/libSDL_ttf.so %{_libdir}/pkgconfig/SDL_ttf.pc %changelog