Accepting request 854905 from graphics

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/854905
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/SDL_bgi?expand=0&rev=19
This commit is contained in:
Dominique Leuenberger 2020-12-11 19:17:10 +00:00 committed by Git OBS Bridge
commit d4be38fd2b
6 changed files with 29 additions and 9 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:22729b99a093234308718b0e5ed176f0073ca3701ddf1cdfa2e5b78575a8421e
size 1501719

3
SDL_bgi-2.4.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1c7a0434b72055064078bd12fffacaffb67a38af8e25c4a2bd120bd638bbd1ef
size 2139628

View File

@ -1,2 +1,3 @@
# Go home rpmlint, you are drunk. libSDL_bgisuse3 is not the right name.
# Go home rpmlint 1.x, you are drunk. libSDL_bgisuse3 (for
# libSDL_bgi.so.suse3) is not the right name, it's libSDL_bgi-suse3.
addFilter("shlib-policy-name-error")

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Wed Nov 11 11:55:12 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2.4.2
* Implemented native vector fonts, compatible with Borland .CHR
fonts.
* Implemented long-forgotten graphics error checks.
* Added resetwinoptions(), getscreensize(), edelay(),
getmaxheight(), getmaxwidth(), resizepalette(), added
undocumented clearviewport() in setbkcolor().
* Changed setwinoptions() to reset options for newly created
windows.
* Fixed graphresult() to provide actual error codes
* Fixed compatibility in getpalette(), getpalettesize(),
setallpalette(), setusercharsize().
* Fixed setrgbpalette() to avoid out of range errors.
* Improved fill patterns.
-------------------------------------------------------------------
Tue Aug 11 11:58:03 UTC 2020 - Jan Engelhardt <jengelh@inai.de>

View File

@ -17,8 +17,9 @@
Name: SDL_bgi
%define lname libSDL_bgi-suse4
Version: 2.4.1
%define sover 5
%define lname libSDL_bgi-suse%sover
Version: 2.4.2
Release: 0
Summary: BGI-compatible 2D graphics C library with SDL backend
License: Zlib AND GPL-2.0-or-later
@ -66,7 +67,7 @@ together.
%build
%cmake
%make_build
%cmake_build
%install
%cmake_install
@ -81,7 +82,7 @@ rm -v "%buildroot/%_includedir/graphics.h"
%files -n %lname
%license LICENSE
%_libdir/libSDL_bgi.so.suse4
%_libdir/libSDL_bgi.so.suse%sover
%files -n libSDL_bgi-devel
%_defaultdocdir/%name/

View File

@ -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 suse4)
+set_target_properties(${PROJECT_NAME} PROPERTIES SOVERSION suse5)
# fix provided by Austin Hurst
-target_link_libraries (SDL_bgi ${SDL2_LIBRARIES})
+target_link_libraries (SDL_bgi -lm ${SDL2_LIBRARIES})