From 4132cc2d3b7dfa2bbdbbfabfcf2fee4f3019bf5d26584bfa1ee015cd8ae5964d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Mon, 30 Sep 2024 16:45:56 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main SDL_gfx revision 139b0f116e20591d64f8777b290ce763 --- SDL_gfx-2.0.26.tar.gz | 3 --- SDL_gfx-2.0.27.tar.gz | 3 +++ SDL_gfx.changes | 6 ++++++ SDL_gfx.spec | 34 +++++++++++++++++----------------- baselibs.conf | 4 ++-- 5 files changed, 28 insertions(+), 22 deletions(-) delete mode 100644 SDL_gfx-2.0.26.tar.gz create mode 100644 SDL_gfx-2.0.27.tar.gz diff --git a/SDL_gfx-2.0.26.tar.gz b/SDL_gfx-2.0.26.tar.gz deleted file mode 100644 index 3961c7a..0000000 --- a/SDL_gfx-2.0.26.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7ceb4ffb6fc63ffba5f1290572db43d74386cd0781c123bc912da50d34945446 -size 1771164 diff --git a/SDL_gfx-2.0.27.tar.gz b/SDL_gfx-2.0.27.tar.gz new file mode 100644 index 0000000..d7052ba --- /dev/null +++ b/SDL_gfx-2.0.27.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dfb15ac5f8ce7a4952dc12d2aed9747518c5e6b335c0e31636d23f93c630f419 +size 1693451 diff --git a/SDL_gfx.changes b/SDL_gfx.changes index 3b211b2..c574495 100644 --- a/SDL_gfx.changes +++ b/SDL_gfx.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Apr 12 10:49:39 UTC 2024 - Jan Engelhardt + +- Update to release 2.0.27 + * fixed rotozoom locking bug and colorkey bug + ------------------------------------------------------------------- Fri Aug 17 21:09:08 UTC 2018 - bjorn.lie@gmail.com diff --git a/SDL_gfx.spec b/SDL_gfx.spec index 6f8caa0..c406d84 100644 --- a/SDL_gfx.spec +++ b/SDL_gfx.spec @@ -1,7 +1,7 @@ # # spec file for package SDL_gfx # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,13 +12,13 @@ # 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/ # -%define lname libSDL_gfx15 +%define lname libSDL_gfx16 Name: SDL_gfx -Version: 2.0.26 +Version: 2.0.27 Release: 0 Summary: SDL Graphics Routines for Primitives and Other Support Functions License: Zlib @@ -26,8 +26,11 @@ Group: Development/Libraries/X11 URL: http://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/ Source: http://www.ferzkopp.net/Software/SDL_gfx-2.0/%name-%version.tar.gz Source2: baselibs.conf +#https://sourceforge.net/p/sdlgfx/code/HEAD/tree/ChangeLog +BuildRequires: automake BuildRequires: dos2unix -BuildRequires: pkgconfig +BuildRequires: libtool +BuildRequires: pkg-config BuildRequires: pkgconfig(sdl) %description @@ -61,25 +64,23 @@ provided basic drawing routines such as lines, circles or polygons and SDL_rotozoom which implemented a interpolating rotozoomer for SDL surfaces. The current components of the SDL_gfx library are: -- Graphic Primitives (SDL_gfxPrimitves.h) - -- Rotozoomer (SDL_rotozoom.h) - -- Framerate control (SDL_framerate.h) - -- MMX image filters (SDL_imageFilter.h) +* Graphic Primitives (SDL_gfxPrimitves.h) +* Rotozoomer (SDL_rotozoom.h) +* Framerate control (SDL_framerate.h) +* MMX image filters (SDL_imageFilter.h) The library is backwards compatible to the above mentioned code. It is written in plain C and can be used in C++ code. %prep -%setup -q +%autosetup -p1 %build +autoreconf -fi # MMX code has a problem with uninitialized variables; we would only turn it # on for x86_64 anyway - but that one can use SSE instead. %configure --disable-static --disable-mmx -make %{?_smp_mflags} +%make_build dos2unix README chmod 644 LICENSE AUTHORS ChangeLog NEWS README @@ -87,13 +88,12 @@ chmod 644 LICENSE AUTHORS ChangeLog NEWS README %make_install find %buildroot -type f -name "*.la" -delete -print -%post -n %lname -p /sbin/ldconfig -%postun -n %lname -p /sbin/ldconfig +%ldconfig_scriptlets -n %lname %files -n %lname %license LICENSE %doc AUTHORS ChangeLog NEWS README -%_libdir/libSDL_gfx.so.15* +%_libdir/libSDL_gfx.so.[0-9]* %files -n libSDL_gfx-devel %_includedir/SDL/ diff --git a/baselibs.conf b/baselibs.conf index 767202b..14662e1 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1,6 +1,6 @@ -libSDL_gfx15 +libSDL_gfx16 provides "SDL_gfx- = " obsoletes "SDL_gfx- <= " libSDL_gfx-devel requires -libSDL_gfx- - requires "libSDL_gfx15- = " + requires "libSDL_gfx16- = "