diff --git a/SDL_bgi-2.0.3.tar.gz b/SDL_bgi-2.0.3.tar.gz deleted file mode 100644 index 6e495f8..0000000 --- a/SDL_bgi-2.0.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:28992513bd547bf9c17ae7fc55ca84281bd96e2c5bca4d7f83511a2d5379e7e5 -size 496457 diff --git a/SDL_bgi-2.0.5.tar.gz b/SDL_bgi-2.0.5.tar.gz new file mode 100644 index 0000000..41ee4ca --- /dev/null +++ b/SDL_bgi-2.0.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8678b22cc63ca695a11c341bc9e246adce01cdea9d4a2cccbb18800ba1318111 +size 500083 diff --git a/SDL_bgi.changes b/SDL_bgi.changes index b4c7e6e..bc7edab 100644 --- a/SDL_bgi.changes +++ b/SDL_bgi.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed Dec 23 11:34:14 UTC 2015 - jengelh@inai.de + +- Update to new upstream release 2.0.5 +* fillpoly() correctly implemented +* rewritten to use SDL_Surfaces only instead of + bitmaps in main RAM +* ellipse() and fillellipse() improved +* xkbhit() added + ------------------------------------------------------------------- Mon Oct 12 16:52:07 UTC 2015 - jengelh@inai.de diff --git a/SDL_bgi.spec b/SDL_bgi.spec index fbecd60..5de1e82 100644 --- a/SDL_bgi.spec +++ b/SDL_bgi.spec @@ -17,8 +17,8 @@ Name: SDL_bgi -%define lname libSDL_bgi0 -Version: 2.0.3 +%define lname libSDL_bgi1 +Version: 2.0.5 Release: 0 Summary: BGI-compatible 2D graphics C library with SDL backend License: Zlib and GPL-2.0+ @@ -77,7 +77,7 @@ b="%buildroot" rm -f "$b/%_libdir"/*.la mkdir -p "$b/%_includedir/SDL_bgi" "$b/%_libdir/pkgconfig" ln -s "../SDL2/SDL_bgi.h" "$b/%_includedir/SDL_bgi/graphics.h" -install -pm0644 src/test/dos.h src/test/conio.h "$b/%_includedir/SDL_bgi/" +install -pm0644 test/dos.h test/conio.h "$b/%_includedir/SDL_bgi/" cat >"$b/%_libdir/pkgconfig/SDL_bgi.pc" <<-EOF Name: SDL_bgi Description: BGI-compatible API with SDL backend @@ -92,11 +92,11 @@ EOF %files -n %lname %defattr(-,root,root) %doc LICENSE -%_libdir/libSDL_bgi.so.0* +%_libdir/libSDL_bgi.so.* %files -n libSDL_bgi-devel %defattr(-,root,root) -%doc 00_README doc/* +%doc README doc/* %_includedir/SDL2/ %_includedir/SDL_bgi/ %_libdir/libSDL_bgi.so diff --git a/sdlbgi-automake.diff b/sdlbgi-automake.diff index a142eae..e28d19f 100644 --- a/sdlbgi-automake.diff +++ b/sdlbgi-automake.diff @@ -1,6 +1,6 @@ From: Jan Engelhardt Date: 2014-12-18 11:43:21.385084191 +0100 -Refresh: Thu May 7 13:22:40 CEST 2015 +Refresh: Wed Dec 2 14:19:14 CET 2015 Author could not decide between "sdlbgifast" and "bgifast" (same for bgislow), so add extra symbols to enable both names. @@ -39,13 +39,14 @@ Index: SDL_bgi-2.0.0/src/Makefile.am =================================================================== --- /dev/null +++ SDL_bgi-2.0.0/src/Makefile.am -@@ -0,0 +1,8 @@ +@@ -0,0 +1,9 @@ +SUBDIRS = . test +AM_CPPFLAGS = ${sdl2_CFLAGS} +AM_CFLAGS = -Wall +lib_LTLIBRARIES = libSDL_bgi.la +libSDL_bgi_la_SOURCES = SDL_bgi.c +libSDL_bgi_la_LIBADD = -lm ${sdl2_LIBS} ++libSDL_bgi_la_LDFLAGS = -no-undefined -version-info 1:0:0 +pkgincludedir = ${includedir}/SDL2 +pkginclude_HEADERS = SDL_bgi.h Index: SDL_bgi-2.0.0/src/test/Makefile.am