SHA256
1
0
forked from pool/SDL_bgi

- Update to new upstream release 2.0.6

OBS-URL: https://build.opensuse.org/package/show/graphics/SDL_bgi?expand=0&rev=18
This commit is contained in:
Jan Engelhardt 2016-03-04 19:34:18 +00:00 committed by Git OBS Bridge
parent a046263210
commit bcedcad6d1
5 changed files with 34 additions and 28 deletions

View File

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

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

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

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri Mar 4 17:04:06 UTC 2016 - jengelh@inai.de
- Update to new upstream release 2.0.6
* fixed bug in writeimagefile()
* implemented clipping in readimagefile()
* turtle graphics improvements
-------------------------------------------------------------------
Wed Dec 23 11:34:14 UTC 2015 - jengelh@inai.de

View File

@ -1,7 +1,7 @@
#
# spec file for package SDL_bgi
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,7 +18,7 @@
Name: SDL_bgi
%define lname libSDL_bgi1
Version: 2.0.5
Version: 2.0.6
Release: 0
Summary: BGI-compatible 2D graphics C library with SDL backend
License: Zlib and GPL-2.0+

View File

@ -6,41 +6,38 @@ Author could not decide between "sdlbgifast" and "bgifast"
(same for bgislow), so add extra symbols to enable both names.
---
Makefile.am | 2 ++
configure.ac | 9 +++++++++
src/Makefile.am | 8 ++++++++
src/SDL_bgi.c | 8 ++++++++
src/SDL_bgi.h | 2 ++
src/test/Makefile.am | 10 ++++++++++
6 files changed, 39 insertions(+)
Makefile.am | 2 ++
configure.ac | 9 +++++++++
src/Makefile.am | 8 ++++++++
test/Makefile.am | 11 +++++++++++
4 files changed, 30 insertions(+)
Index: SDL_bgi-2.0.0/Makefile.am
Index: SDL_bgi-2.0.6/Makefile.am
===================================================================
--- /dev/null
+++ SDL_bgi-2.0.0/Makefile.am
+++ SDL_bgi-2.0.6/Makefile.am
@@ -0,0 +1,2 @@
+ACLOCAL_AMFLAGS = -I m4
+SUBDIRS = src
Index: SDL_bgi-2.0.0/configure.ac
+SUBDIRS = src test
Index: SDL_bgi-2.0.6/configure.ac
===================================================================
--- /dev/null
+++ SDL_bgi-2.0.0/configure.ac
+++ SDL_bgi-2.0.6/configure.ac
@@ -0,0 +1,9 @@
+AC_INIT([SDL_bgi], [1.0.1])
+AC_INIT([SDL_bgi], [2.0.6])
+AC_CONFIG_AUX_DIR([build-aux])
+AC_CONFIG_MACRO_DIR([m4])
+AC_PROG_CC
+AM_INIT_AUTOMAKE([foreign subdir-objects tar-pax dist-xz no-dist-gzip])
+LT_INIT
+PKG_CHECK_MODULES([sdl2], [sdl2])
+AC_CONFIG_FILES([Makefile src/Makefile src/test/Makefile])
+AC_CONFIG_FILES([Makefile src/Makefile test/Makefile])
+AC_OUTPUT
Index: SDL_bgi-2.0.0/src/Makefile.am
Index: SDL_bgi-2.0.6/src/Makefile.am
===================================================================
--- /dev/null
+++ SDL_bgi-2.0.0/src/Makefile.am
@@ -0,0 +1,9 @@
+SUBDIRS = . test
+++ SDL_bgi-2.0.6/src/Makefile.am
@@ -0,0 +1,8 @@
+AM_CPPFLAGS = ${sdl2_CFLAGS}
+AM_CFLAGS = -Wall
+lib_LTLIBRARIES = libSDL_bgi.la
@ -49,18 +46,19 @@ Index: SDL_bgi-2.0.0/src/Makefile.am
+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
Index: SDL_bgi-2.0.6/test/Makefile.am
===================================================================
--- /dev/null
+++ SDL_bgi-2.0.0/src/test/Makefile.am
@@ -0,0 +1,10 @@
+++ SDL_bgi-2.0.6/test/Makefile.am
@@ -0,0 +1,11 @@
+AM_CPPFLAGS = -I${top_srcdir}/src
+AM_CFLAGS = -Wall
+EXTRA_PROGRAMS = \
+ cellular dla fern floodfilltest hopalong life \
+ mandelbrot mousetest moveit sdlbgidemo simple turtledemo
+LDADD = ../libSDL_bgi.la
+ mandelbrot mousetest moveit plasma sdlbgidemo simple turtledemo
+LDADD = ../src/libSDL_bgi.la
+hopalong_LDADD = ${LDADD} -lm
+plasma_LDADD = ${LDADD} -lm
+sdlbgidemo_LDADD = ${LDADD} -lm
+turtledemo_SOURCES = turtle.c turtledemo.c
+turtledemo_LDADD = ${LDADD} -lm