Hello community, here is the log from the commit of package SDL2_ttf for openSUSE:Factory checked in at 2016-10-23 12:53:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/SDL2_ttf (Old) and /work/SRC/openSUSE:Factory/.SDL2_ttf.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "SDL2_ttf" Changes: -------- --- /work/SRC/openSUSE:Factory/SDL2_ttf/SDL2_ttf.changes 2016-01-22 01:07:30.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.SDL2_ttf.new/SDL2_ttf.changes 2016-10-23 12:53:13.000000000 +0200 @@ -1,0 +2,8 @@ +Sat Oct 22 15:29:43 UTC 2016 - aloi...@gmx.com + +- Update to version 2.0.14 + * Deprecated TTF_GetFontKerningSize() which takes font glyph + indices and added TTF_GetFontKerningSizeGlyphs() which + takes characters + +------------------------------------------------------------------- Old: ---- SDL2_ttf-2.0.13.tar.gz New: ---- SDL2_ttf-2.0.14.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ SDL2_ttf.spec ++++++ --- /var/tmp/diff_new_pack.DOmlSa/_old 2016-10-23 12:53:14.000000000 +0200 +++ /var/tmp/diff_new_pack.DOmlSa/_new 2016-10-23 12:53:14.000000000 +0200 @@ -18,7 +18,7 @@ Name: SDL2_ttf %define lname libSDL2_ttf-2_0-0 -Version: 2.0.13 +Version: 2.0.14 Release: 0 Summary: SDL2 TrueType library License: Zlib ++++++ SDL2_ttf-2.0.13.tar.gz -> SDL2_ttf-2.0.14.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SDL2_ttf-2.0.13/CHANGES.txt new/SDL2_ttf-2.0.14/CHANGES.txt --- old/SDL2_ttf-2.0.13/CHANGES.txt 2016-01-03 09:18:42.000000000 +0100 +++ new/SDL2_ttf-2.0.14/CHANGES.txt 2016-02-01 22:41:46.000000000 +0100 @@ -1,3 +1,7 @@ +2.0.14: +Ryan Gordon - Fri Jan 29 12:53:29 PST 2016 + * Deprecated TTF_GetFontKerningSize() which takes font glyph indices and added TTF_GetFontKerningSizeGlyphs() which takes characters + 2.0.13: Sylvain - Sat Jun 28 11:42:42 2014 * Fixed bug rendering text starting with a glyph with negative starting offset diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SDL2_ttf-2.0.13/SDL2_ttf.spec new/SDL2_ttf-2.0.14/SDL2_ttf.spec --- old/SDL2_ttf-2.0.13/SDL2_ttf.spec 2016-01-03 09:18:47.000000000 +0100 +++ new/SDL2_ttf-2.0.14/SDL2_ttf.spec 2016-02-01 22:41:53.000000000 +0100 @@ -1,5 +1,5 @@ %define name SDL2_ttf -%define version 2.0.13 +%define version 2.0.14 %define release 1 Summary: Simple DirectMedia Layer - Sample TrueType Font Library diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SDL2_ttf-2.0.13/SDL_ttf.c new/SDL2_ttf-2.0.14/SDL_ttf.c --- old/SDL2_ttf-2.0.13/SDL_ttf.c 2016-01-03 09:18:42.000000000 +0100 +++ new/SDL2_ttf-2.0.14/SDL_ttf.c 2016-02-01 22:41:46.000000000 +0100 @@ -2196,7 +2196,15 @@ return TTF_initialized; } -int TTF_GetFontKerningSize(TTF_Font *font, Uint16 previous_ch, Uint16 ch) +/* don't use this function. It's just here for binary compatibility. */ +int TTF_GetFontKerningSize(TTF_Font* font, int prev_index, int index) +{ + FT_Vector delta; + FT_Get_Kerning( font->face, prev_index, index, ft_kerning_default, &delta ); + return (delta.x >> 6); +} + +int TTF_GetFontKerningSizeGlyphs(TTF_Font *font, Uint16 previous_ch, Uint16 ch) { int error; int glyph_index, prev_index; @@ -2231,3 +2239,4 @@ } return (delta.x >> 6); } + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SDL2_ttf-2.0.13/SDL_ttf.h new/SDL2_ttf-2.0.14/SDL_ttf.h --- old/SDL2_ttf-2.0.13/SDL_ttf.h 2016-01-03 09:18:42.000000000 +0100 +++ new/SDL2_ttf-2.0.14/SDL_ttf.h 2016-02-01 22:41:46.000000000 +0100 @@ -24,6 +24,10 @@ http://www.freetype.org/ */ +/* Note: In many places, SDL_ttf will say "glyph" when it means "code point." + Unicode is hard, we learn as we go, and we apologize for adding to the + confusion. */ + #ifndef _SDL_TTF_H #define _SDL_TTF_H @@ -39,7 +43,7 @@ */ #define SDL_TTF_MAJOR_VERSION 2 #define SDL_TTF_MINOR_VERSION 0 -#define SDL_TTF_PATCHLEVEL 13 +#define SDL_TTF_PATCHLEVEL 14 /* This macro can be used to fill a version structure with the compile-time * version of the SDL_ttf library. @@ -57,6 +61,11 @@ #define TTF_PATCHLEVEL SDL_TTF_PATCHLEVEL #define TTF_VERSION(X) SDL_TTF_VERSION(X) +/* Make sure this is defined (only available in newer SDL versions) */ +#ifndef SDL_DEPRECATED +#define SDL_DEPRECATED +#endif + /* This function gets the version of the dynamically linked SDL_ttf library. it should NOT be used to fill a version structure, instead you should use the SDL_TTF_VERSION() macro. @@ -247,8 +256,16 @@ /* Check if the TTF engine is initialized */ extern DECLSPEC int SDLCALL TTF_WasInit(void); +/* Get the kerning size of two glyphs indices */ +/* DEPRECATED: this function requires FreeType font indexes, not glyphs, + by accident, which we don't expose through this API, so it could give + wildly incorrect results, especially with non-ASCII values. + Going forward, please use TTF_GetFontKerningSizeGlyphs() instead, which + does what you probably expected this function to do. */ +extern DECLSPEC int TTF_GetFontKerningSize(TTF_Font *font, int prev_index, int index) SDL_DEPRECATED; + /* Get the kerning size of two glyphs */ -extern DECLSPEC int TTF_GetFontKerningSize(TTF_Font *font, Uint16 previous_ch, Uint16 ch); +extern DECLSPEC int TTF_GetFontKerningSizeGlyphs(TTF_Font *font, Uint16 previous_ch, Uint16 ch); /* We'll use SDL for reporting errors */ #define TTF_SetError SDL_SetError diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SDL2_ttf-2.0.13/VisualC/Version.rc new/SDL2_ttf-2.0.14/VisualC/Version.rc --- old/SDL2_ttf-2.0.13/VisualC/Version.rc 2016-01-03 09:18:42.000000000 +0100 +++ new/SDL2_ttf-2.0.14/VisualC/Version.rc 2016-02-01 22:41:46.000000000 +0100 @@ -28,8 +28,8 @@ // VS_VERSION_INFO VERSIONINFO - FILEVERSION 2,0,13,0 - PRODUCTVERSION 2,0,13,0 + FILEVERSION 2,0,14,0 + PRODUCTVERSION 2,0,14,0 FILEFLAGSMASK 0x3fL #ifdef _DEBUG FILEFLAGS 0x1L @@ -46,12 +46,12 @@ BEGIN VALUE "CompanyName", "\0" VALUE "FileDescription", "SDL_ttf\0" - VALUE "FileVersion", "2, 0, 13, 0\0" + VALUE "FileVersion", "2, 0, 14, 0\0" VALUE "InternalName", "SDL_ttf\0" VALUE "LegalCopyright", "Copyright � 2016 Sam Lantinga\0" VALUE "OriginalFilename", "SDL_ttf.dll\0" VALUE "ProductName", "Simple DirectMedia Layer\0" - VALUE "ProductVersion", "2, 0, 13, 0\0" + VALUE "ProductVersion", "2, 0, 14, 0\0" END END BLOCK "VarFileInfo" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SDL2_ttf-2.0.13/Xcode/Info-Framework.plist new/SDL2_ttf-2.0.14/Xcode/Info-Framework.plist --- old/SDL2_ttf-2.0.13/Xcode/Info-Framework.plist 2016-01-03 09:18:42.000000000 +0100 +++ new/SDL2_ttf-2.0.14/Xcode/Info-Framework.plist 2016-02-01 22:41:46.000000000 +0100 @@ -15,8 +15,8 @@ <key>CFBundlePackageType</key> <string>FMWK</string> <key>CFBundleShortVersionString</key> - <string>2.0.13</string> + <string>2.0.14</string> <key>CFBundleVersion</key> - <string>2.0.13</string> + <string>2.0.14</string> </dict> </plist> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SDL2_ttf-2.0.13/Xcode/SDL_ttf.xcodeproj/project.pbxproj new/SDL2_ttf-2.0.14/Xcode/SDL_ttf.xcodeproj/project.pbxproj --- old/SDL2_ttf-2.0.13/Xcode/SDL_ttf.xcodeproj/project.pbxproj 2016-01-03 09:18:42.000000000 +0100 +++ new/SDL2_ttf-2.0.14/Xcode/SDL_ttf.xcodeproj/project.pbxproj 2016-02-01 22:41:46.000000000 +0100 @@ -362,8 +362,8 @@ isa = XCBuildConfiguration; buildSettings = { COMBINE_HIDPI_IMAGES = YES; - DYLIB_COMPATIBILITY_VERSION = 11; - DYLIB_CURRENT_VERSION = 11.3.0; + DYLIB_COMPATIBILITY_VERSION = 15; + DYLIB_CURRENT_VERSION = 15.0.0; FRAMEWORK_VERSION = A; INFOPLIST_FILE = "Info-Framework.plist"; INSTALL_PATH = "@rpath"; @@ -377,8 +377,8 @@ isa = XCBuildConfiguration; buildSettings = { COMBINE_HIDPI_IMAGES = YES; - DYLIB_COMPATIBILITY_VERSION = 11; - DYLIB_CURRENT_VERSION = 11.3.0; + DYLIB_COMPATIBILITY_VERSION = 15; + DYLIB_CURRENT_VERSION = 15.0.0; FRAMEWORK_VERSION = A; INFOPLIST_FILE = "Info-Framework.plist"; INSTALL_PATH = "@rpath"; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SDL2_ttf-2.0.13/configure new/SDL2_ttf-2.0.14/configure --- old/SDL2_ttf-2.0.13/configure 2016-01-03 09:18:42.000000000 +0100 +++ new/SDL2_ttf-2.0.14/configure 2016-02-01 22:41:46.000000000 +0100 @@ -2360,9 +2360,9 @@ MAJOR_VERSION=2 MINOR_VERSION=0 -MICRO_VERSION=13 -INTERFACE_AGE=3 -BINARY_AGE=13 +MICRO_VERSION=14 +INTERFACE_AGE=0 +BINARY_AGE=14 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SDL2_ttf-2.0.13/configure.in new/SDL2_ttf-2.0.14/configure.in --- old/SDL2_ttf-2.0.13/configure.in 2016-01-03 09:18:42.000000000 +0100 +++ new/SDL2_ttf-2.0.14/configure.in 2016-02-01 22:41:46.000000000 +0100 @@ -13,9 +13,9 @@ MAJOR_VERSION=2 MINOR_VERSION=0 -MICRO_VERSION=13 -INTERFACE_AGE=3 -BINARY_AGE=13 +MICRO_VERSION=14 +INTERFACE_AGE=0 +BINARY_AGE=14 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION AC_SUBST(MAJOR_VERSION) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SDL2_ttf-2.0.13/debian/changelog new/SDL2_ttf-2.0.14/debian/changelog --- old/SDL2_ttf-2.0.13/debian/changelog 2016-01-03 09:18:42.000000000 +0100 +++ new/SDL2_ttf-2.0.14/debian/changelog 2016-02-01 22:41:46.000000000 +0100 @@ -1,3 +1,15 @@ +libsdl2-ttf (2.0.14) UNRELEASED; urgency=medium + + * Updated to version 2.0.14 + + -- Sam Lantinga <slou...@libsdl.org> Fri, 29 Jan 2016 12:55:12 -0800 + +libsdl2-ttf (2.0.13) UNRELEASED; urgency=medium + + * Updated to version 2.0.13 + + -- Sam Lantinga <slou...@libsdl.org> Thu, 07 Jan 2016 12:34:06 -0800 + libsdl2-ttf (2.0.12) unstable; urgency=low * sdl-ttf for SDL2. Initial release. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SDL2_ttf-2.0.13/version.rc new/SDL2_ttf-2.0.14/version.rc --- old/SDL2_ttf-2.0.13/version.rc 2016-01-03 09:18:42.000000000 +0100 +++ new/SDL2_ttf-2.0.14/version.rc 2016-02-01 22:41:46.000000000 +0100 @@ -9,8 +9,8 @@ // VS_VERSION_INFO VERSIONINFO - FILEVERSION 2,0,13,0 - PRODUCTVERSION 2,0,13,0 + FILEVERSION 2,0,14,0 + PRODUCTVERSION 2,0,14,0 FILEFLAGSMASK 0x3fL FILEFLAGS 0x0L FILEOS 0x40004L @@ -23,12 +23,12 @@ BEGIN VALUE "CompanyName", "\0" VALUE "FileDescription", "SDL_ttf\0" - VALUE "FileVersion", "2, 0, 13, 0\0" + VALUE "FileVersion", "2, 0, 14, 0\0" VALUE "InternalName", "SDL_ttf\0" VALUE "LegalCopyright", "Copyright � 2016 Sam Lantinga\0" VALUE "OriginalFilename", "SDL_ttf.dll\0" VALUE "ProductName", "Simple DirectMedia Layer\0" - VALUE "ProductVersion", "2, 0, 13, 0\0" + VALUE "ProductVersion", "2, 0, 14, 0\0" END END BLOCK "VarFileInfo"