diff --git a/SDL_bgi-2.4.4.tar.gz b/SDL_bgi-2.4.4.tar.gz deleted file mode 100644 index 2c1029f..0000000 --- a/SDL_bgi-2.4.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9c93b5f35bb9945ae46be3d6ef0a1b0fa9c7955f8014fcb448a76ce1a8f2e806 -size 1970759 diff --git a/SDL_bgi-2.5.0.tar.gz b/SDL_bgi-2.5.0.tar.gz new file mode 100644 index 0000000..d1e721a --- /dev/null +++ b/SDL_bgi-2.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4c936461a52b18db8300489f1ab4c6ac5f06e190f6c30d82f7df111a28efde84 +size 1841140 diff --git a/SDL_bgi.changes b/SDL_bgi.changes index d5070ec..f8543f0 100644 --- a/SDL_bgi.changes +++ b/SDL_bgi.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Sun Feb 13 22:26:21 UTC 2022 - Jan Engelhardt + +- Update to release 2.5.0 + * Modified functions putpixel(), setbkcolor(), setcolor(), + setfillpattern(), setfillstyle(), setpalette(), and + setalpha() to handle colours given as out of range numbers. + * Simplified floodfill() function (implemented recursive version) + * Improved setpalette() to change currently drawn pixels. + * Added getrgbpalette(), setallrgbpalette(), and RGBPALETTE(). + * Implemented getwindowwidth() and getwindowheight() as macros + for WinBGIm compatibility. + ------------------------------------------------------------------- Tue May 4 13:32:58 UTC 2021 - Jan Engelhardt diff --git a/SDL_bgi.spec b/SDL_bgi.spec index 94dc45a..cd9cfb1 100644 --- a/SDL_bgi.spec +++ b/SDL_bgi.spec @@ -1,7 +1,7 @@ # # spec file for package SDL_bgi # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,9 +17,9 @@ Name: SDL_bgi -%define sover 6 +%define sover 7 %define lname libSDL_bgi-suse%sover -Version: 2.4.4 +Version: 2.5.0 Release: 0 Summary: BGI-compatible 2D graphics C library with SDL backend License: GPL-2.0-or-later AND Zlib diff --git a/sdlbgi-cmake.diff b/sdlbgi-cmake.diff index 57eeb33..8276305 100644 --- a/sdlbgi-cmake.diff +++ b/sdlbgi-cmake.diff @@ -23,7 +23,7 @@ Index: SDL_bgi-2.4.1/CMakeLists.txt # Create shared library add_library (${PROJECT_NAME} SHARED ${SOURCES}) -+set_target_properties(${PROJECT_NAME} PROPERTIES SOVERSION suse6) ++set_target_properties(${PROJECT_NAME} PROPERTIES SOVERSION suse7) # fix provided by Austin Hurst -target_link_libraries (SDL_bgi ${SDL2_LIBRARIES}) +target_link_libraries (SDL_bgi -lm ${SDL2_LIBRARIES})