From 00cb74cdd014c639720483414627cabcda095f0faff401cd8771643045862e9d Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 15 Dec 2022 21:18:24 +0000 Subject: [PATCH] - Update to release 3.0.0 OBS-URL: https://build.opensuse.org/package/show/graphics/SDL_bgi?expand=0&rev=62 --- SDL_bgi-2.6.0.tar.gz | 3 --- SDL_bgi-3.0.0.tar.gz | 3 +++ SDL_bgi.changes | 9 +++++++++ SDL_bgi.spec | 8 ++++---- sdlbgi-cmake.diff | 2 +- 5 files changed, 17 insertions(+), 8 deletions(-) delete mode 100644 SDL_bgi-2.6.0.tar.gz create mode 100644 SDL_bgi-3.0.0.tar.gz diff --git a/SDL_bgi-2.6.0.tar.gz b/SDL_bgi-2.6.0.tar.gz deleted file mode 100644 index 09fe912..0000000 --- a/SDL_bgi-2.6.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a54e67713c2fae0463f63119d9554dc38e5cc10eb3a830b1232ff614f9bcbce8 -size 2904011 diff --git a/SDL_bgi-3.0.0.tar.gz b/SDL_bgi-3.0.0.tar.gz new file mode 100644 index 0000000..02f7105 --- /dev/null +++ b/SDL_bgi-3.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e82398e66ea64874bde011f57768f012c0fb4f2a1bb68a6cb80426f2470b008b +size 3693124 diff --git a/SDL_bgi.changes b/SDL_bgi.changes index a089235..dba4e06 100644 --- a/SDL_bgi.changes +++ b/SDL_bgi.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Thu Dec 15 18:02:14 UTC 2022 - Jan Engelhardt + +- Update to release 3.0.0 + * fixed compatibility bugs in detectgraph(), gettextsettings(), + getfillsettings(), drawpoly(), fillpoly(), setcolor(), lastkey(), + * changed definition of `struct palettetype` (compatibility) + * added colorname(), kdelay() + ------------------------------------------------------------------- Wed Jun 1 10:32:40 UTC 2022 - Jan Engelhardt diff --git a/SDL_bgi.spec b/SDL_bgi.spec index b6557ce..c23664f 100644 --- a/SDL_bgi.spec +++ b/SDL_bgi.spec @@ -17,9 +17,9 @@ Name: SDL_bgi -%define sover 8 -%define lname libSDL_bgi-suse%sover -Version: 2.6.0 +%define sover suse9 +%define lname libSDL_bgi-%sover +Version: 3.0.0 Release: 0 Summary: BGI-compatible 2D graphics C library with SDL backend License: GPL-2.0-or-later AND Zlib @@ -82,7 +82,7 @@ rm -v "%buildroot/%_includedir/graphics.h" %files -n %lname %license LICENSE -%_libdir/libSDL_bgi.so.suse%sover +%_libdir/libSDL_bgi.so.* %files -n libSDL_bgi-devel %_defaultdocdir/%name/ diff --git a/sdlbgi-cmake.diff b/sdlbgi-cmake.diff index c42f1aa..d183af8 100644 --- a/sdlbgi-cmake.diff +++ b/sdlbgi-cmake.diff @@ -13,7 +13,7 @@ Index: SDL_bgi-2.6.0/CMakeLists.txt # Create shared library add_library (${PROJECT_NAME} SHARED ${SOURCES}) -+set_target_properties(${PROJECT_NAME} PROPERTIES SOVERSION suse8) ++set_target_properties(${PROJECT_NAME} PROPERTIES SOVERSION suse9) # fix provided by Austin Hurst -target_link_libraries (SDL_bgi ${SDL2_LIBRARIES}) +target_link_libraries (SDL_bgi -lm ${SDL2_LIBRARIES})