From 8cb67eb30e43d00b001a919943bbbeec02fc6bddcb25fb6176a4593e2c62f374 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 11 Nov 2020 11:59:06 +0000 Subject: [PATCH 1/3] - Update to release 2.4.2 OBS-URL: https://build.opensuse.org/package/show/graphics/SDL_bgi?expand=0&rev=49 --- SDL_bgi-2.4.1.tar.gz | 3 --- SDL_bgi-2.4.2.tar.gz | 3 +++ SDL_bgi.changes | 18 ++++++++++++++++++ SDL_bgi.spec | 6 +++--- 4 files changed, 24 insertions(+), 6 deletions(-) delete mode 100644 SDL_bgi-2.4.1.tar.gz create mode 100644 SDL_bgi-2.4.2.tar.gz diff --git a/SDL_bgi-2.4.1.tar.gz b/SDL_bgi-2.4.1.tar.gz deleted file mode 100644 index 55b1000..0000000 --- a/SDL_bgi-2.4.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:22729b99a093234308718b0e5ed176f0073ca3701ddf1cdfa2e5b78575a8421e -size 1501719 diff --git a/SDL_bgi-2.4.2.tar.gz b/SDL_bgi-2.4.2.tar.gz new file mode 100644 index 0000000..ba091fb --- /dev/null +++ b/SDL_bgi-2.4.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1c7a0434b72055064078bd12fffacaffb67a38af8e25c4a2bd120bd638bbd1ef +size 2139628 diff --git a/SDL_bgi.changes b/SDL_bgi.changes index ceef118..aa968e1 100644 --- a/SDL_bgi.changes +++ b/SDL_bgi.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Wed Nov 11 11:55:12 UTC 2020 - Jan Engelhardt + +- 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 diff --git a/SDL_bgi.spec b/SDL_bgi.spec index 25452ff..2b576f7 100644 --- a/SDL_bgi.spec +++ b/SDL_bgi.spec @@ -17,8 +17,8 @@ Name: SDL_bgi -%define lname libSDL_bgi-suse4 -Version: 2.4.1 +%define lname libSDL_bgi-suse5 +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 +66,7 @@ together. %build %cmake -%make_build +%cmake_build %install %cmake_install From 61d97a425bd8c8144d2f183c442fd0e3a95f6f62d533d35fc9718172d9835f83 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 4 Dec 2020 11:21:14 +0000 Subject: [PATCH 2/3] OBS-URL: https://build.opensuse.org/package/show/graphics/SDL_bgi?expand=0&rev=50 --- SDL_bgi-rpmlintrc | 3 ++- SDL_bgi.spec | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/SDL_bgi-rpmlintrc b/SDL_bgi-rpmlintrc index 49f1cb0..5491609 100644 --- a/SDL_bgi-rpmlintrc +++ b/SDL_bgi-rpmlintrc @@ -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") diff --git a/SDL_bgi.spec b/SDL_bgi.spec index 2b576f7..1cf744a 100644 --- a/SDL_bgi.spec +++ b/SDL_bgi.spec @@ -17,7 +17,8 @@ Name: SDL_bgi -%define lname libSDL_bgi-suse5 +%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 @@ -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/ From c2914f7f734e42923c43aa98f68152d046a812a8e9c7038156ada1f87d793313 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 4 Dec 2020 13:36:10 +0000 Subject: [PATCH 3/3] OBS-URL: https://build.opensuse.org/package/show/graphics/SDL_bgi?expand=0&rev=51 --- sdlbgi-cmake.diff | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdlbgi-cmake.diff b/sdlbgi-cmake.diff index 0637dcb..a689057 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 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})