Hello community, here is the log from the commit of package SDL_Pango for openSUSE:Factory checked in at 2019-06-12 13:10:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/SDL_Pango (Old) and /work/SRC/openSUSE:Factory/.SDL_Pango.new.4811 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "SDL_Pango" Wed Jun 12 13:10:52 2019 rev:25 rq:702517 version:0.1.2 Changes: -------- --- /work/SRC/openSUSE:Factory/SDL_Pango/SDL_Pango.changes 2015-01-08 23:03:19.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.SDL_Pango.new.4811/SDL_Pango.changes 2019-06-12 13:10:54.653029857 +0200 @@ -1,0 +2,11 @@ +Sat May 11 12:23:35 UTC 2019 - Jan Engelhardt <[email protected]> + +- Remove --with-pic (ineffective with --disable-static) + +------------------------------------------------------------------- +Sat May 11 07:35:31 UTC 2019 - Luigi Baldoni <[email protected]> + +- Add cairo as dependency for pango (fixes Factory build) +- Spec cleanup + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ SDL_Pango.spec ++++++ --- /var/tmp/diff_new_pack.Th41oa/_old 2019-06-12 13:10:55.165029320 +0200 +++ /var/tmp/diff_new_pack.Th41oa/_new 2019-06-12 13:10:55.177029307 +0200 @@ -1,7 +1,7 @@ # # spec file for package SDL_Pango # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,29 +12,28 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # -Name: SDL_Pango %define lname libSDL_Pango1 +Name: SDL_Pango Version: 0.1.2 Release: 0 Summary: Programming Pango via SDL -License: LGPL-2.1+ +License: LGPL-2.1-or-later Group: Development/Libraries/X11 -Url: http://sdlpango.sourceforge.net/ - +URL: http://sdlpango.sourceforge.net/ #CVS-Clone: -d:pserver:[email protected]:/cvsroot/sdlpango co -P SDL_Pango -Source: %{name}-%{version}.tar.bz2 +Source: %name-%version.tar.bz2 Source2: baselibs.conf -# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines -Patch0: %{name}-%{version}-API-adds.patch +Patch1: %name-%version-API-adds.patch +BuildRequires: dos2unix BuildRequires: libtool BuildRequires: pkg-config +BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(pango) BuildRequires: pkgconfig(sdl) -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Pango is the text rendering engine of GNOME 2.x. SDL_Pango connects the @@ -43,8 +42,8 @@ %package -n %lname Summary: Programming Pango via SDL Group: System/Libraries -Provides: SDL_Pango = %{version} -Obsoletes: SDL_Pango <= %{version} +Provides: SDL_Pango = %version +Obsoletes: SDL_Pango <= %version %description -n %lname Pango is the text rendering engine of GNOME 2.x. SDL_Pango connects the @@ -56,38 +55,37 @@ Requires: %lname = %version Requires: libSDL-devel Requires: pkgconfig -Provides: SDL_Pango-devel = %{version} -Obsoletes: SDL_Pango-devel <= %{version} +Provides: SDL_Pango-devel = %version +Obsoletes: SDL_Pango-devel <= %version %description -n libSDL_Pango-devel This package contains all necessary include files and libraries needed to develop applications that require these. %prep -%setup -q -%patch0 +%autosetup -p1 +dos2unix AUTHORS README %build autoreconf -fiv -%configure --disable-static --with-pic +%configure --disable-static make %{?_smp_mflags} %install -make install DESTDIR="%buildroot" -rm -f %{buildroot}%{_libdir}/*.la +%make_install +find %buildroot -type f -name "*.la" -delete -print %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig %files -n %lname -%defattr(-,root,root) -%doc AUTHORS COPYING README -%{_libdir}/libSDL_Pango.so.* +%license COPYING +%doc AUTHORS README +%_libdir/libSDL_Pango.so.* %files -n libSDL_Pango-devel -%defattr(-,root,root) -%{_includedir}/SDL_Pango.h -%{_libdir}/pkgconfig/SDL_Pango.pc -%{_libdir}/libSDL_Pango.so +%_includedir/SDL_Pango.h +%_libdir/pkgconfig/SDL_Pango.pc +%_libdir/libSDL_Pango.so %changelog ++++++ SDL_Pango-0.1.2-API-adds.patch ++++++ --- /var/tmp/diff_new_pack.Th41oa/_old 2019-06-12 13:10:55.209029274 +0200 +++ /var/tmp/diff_new_pack.Th41oa/_new 2019-06-12 13:10:55.209029274 +0200 @@ -1,6 +1,13 @@ ---- src/SDL_Pango.c 2004-12-10 10:06:33.000000000 +0100 -+++ src/SDL_Pango.c 2006-09-24 22:46:24.000000000 +0200 -@@ -723,13 +723,8 @@ +--- + src/SDL_Pango.c | 41 ++++++++++++++++++++++++++++------------- + src/SDL_Pango.h | 16 +++++++++++++++- + 2 files changed, 43 insertions(+), 14 deletions(-) + +Index: SDL_Pango-0.1.2/src/SDL_Pango.c +=================================================================== +--- SDL_Pango-0.1.2.orig/src/SDL_Pango.c ++++ SDL_Pango-0.1.2/src/SDL_Pango.c +@@ -723,13 +723,8 @@ SDLPango_CopyFTBitmapToSurface( SDL_UnlockSurface(surface); } @@ -15,7 +22,7 @@ { SDLPango_Context *context = g_malloc(sizeof(SDLPango_Context)); G_CONST_RETURN char *charset; -@@ -743,8 +738,7 @@ +@@ -743,8 +738,7 @@ SDLPango_CreateContext() pango_context_set_language (context->context, pango_language_from_string (charset)); pango_context_set_base_dir (context->context, PANGO_DIRECTION_LTR); @@ -25,7 +32,7 @@ context->layout = pango_layout_new (context->context); -@@ -762,6 +756,17 @@ +@@ -762,6 +756,17 @@ SDLPango_CreateContext() } /*! @@ -43,7 +50,7 @@ Free a context. @param *context [i/o] Context to be free -@@ -1053,6 +1058,20 @@ +@@ -1053,6 +1058,20 @@ SDLPango_SetMarkup( pango_layout_set_font_description (context->layout, context->font_desc); } @@ -64,7 +71,7 @@ /*! Set plain text to context. Text must be utf-8. -@@ -1067,11 +1086,7 @@ +@@ -1067,11 +1086,7 @@ SDLPango_SetText( const char *text, int length) { @@ -77,9 +84,11 @@ } /*! ---- src/SDL_Pango.h 2004-12-10 10:06:33.000000000 +0100 -+++ src/SDL_Pango.h 2006-09-24 22:46:01.000000000 +0200 -@@ -109,12 +109,20 @@ +Index: SDL_Pango-0.1.2/src/SDL_Pango.h +=================================================================== +--- SDL_Pango-0.1.2.orig/src/SDL_Pango.h ++++ SDL_Pango-0.1.2/src/SDL_Pango.h +@@ -109,12 +109,20 @@ typedef enum { SDLPANGO_DIRECTION_NEUTRAL /*! Neutral */ } SDLPango_Direction; @@ -101,7 +110,7 @@ extern DECLSPEC SDLPango_Context* SDLCALL SDLPango_CreateContext(); extern DECLSPEC void SDLCALL SDLPango_FreeContext( -@@ -157,6 +165,12 @@ +@@ -157,6 +165,12 @@ extern DECLSPEC void SDLCALL SDLPango_Se const char *markup, int length);
