[packages/guile-sdl] - updated to 0.5.0 - updated system-sdlgfx patch

qboosh qboosh at pld-linux.org
Wed Jul 24 18:04:28 CEST 2013


commit a6c1c749720c402747404db1b19d69ed54679ded
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Jul 24 18:04:44 2013 +0200

    - updated to 0.5.0
    - updated system-sdlgfx patch

 guile-sdl-system-sdlgfx.patch | 28 ++++++++++++++++++----------
 guile-sdl.spec                |  7 +++++--
 2 files changed, 23 insertions(+), 12 deletions(-)
---
diff --git a/guile-sdl.spec b/guile-sdl.spec
index d17a44d..ac1ecf5 100644
--- a/guile-sdl.spec
+++ b/guile-sdl.spec
@@ -1,12 +1,12 @@
 Summary:	Guile-SDL - set of modules that provide Guile bindings for SDL
 Summary(pl.UTF-8):	Guile-SDL - zestaw modułów zapewniających wiązania Guile do SDL
 Name:		guile-sdl
-Version:	0.4.3
+Version:	0.5.0
 Release:	1
 License:	LGPL v3+
 Group:		Libraries
 Source0:	http://ftp.gnu.org/gnu/guile-sdl/%{name}-%{version}.tar.xz
-# Source0-md5:	f92e5f8bf9301a0331b07142d4c71161
+# Source0-md5:	6c50a140990ffbb0f1f49c12f9e60114
 Patch0:		%{name}-info.patch
 Patch1:		%{name}-system-sdlgfx.patch
 Patch2:		%{name}-somode.patch
@@ -105,3 +105,6 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/guile/site/sdl/simple.scm
 %{_datadir}/guile/site/sdl/ttf
 %{_infodir}/guile-sdl.info*
+# -devel (scripts to update for guile-sdl 0.5 API)
+%dir %{_datadir}/guile-sdl
+%{_datadir}/guile-sdl/0.5
diff --git a/guile-sdl-system-sdlgfx.patch b/guile-sdl-system-sdlgfx.patch
index 881a213..c5da175 100644
--- a/guile-sdl-system-sdlgfx.patch
+++ b/guile-sdl-system-sdlgfx.patch
@@ -45,33 +45,41 @@
  
  PRIMPROC
  (imfi_mmx_p, "imfi-mmx?", 0, 1, 0,
---- guile-sdl-0.4.3/src/Makefile.am.orig	2013-03-18 12:40:00.000000000 +0100
-+++ guile-sdl-0.4.3/src/Makefile.am	2013-04-24 16:56:34.328535800 +0200
-@@ -18,7 +18,6 @@
+--- guile-sdl-0.5.0/src/Makefile.am.orig	2013-07-10 12:17:16.000000000 +0200
++++ guile-sdl-0.5.0/src/Makefile.am	2013-07-24 17:26:51.596567438 +0200
+@@ -18,7 +18,7 @@
  ## Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
  ## Boston, MA  02110-1301  USA
  
--SUBDIRS = SDL_gfx
+-SUBDIRS = SDL_gfx k
++SUBDIRS = k
  
  AM_CPPFLAGS = $(SDL_CFLAGS)
  AM_CFLAGS = $(NORMAL_CFLAGS)
-@@ -76,8 +75,7 @@
+@@ -85,13 +85,13 @@
  
  gfx_la_SOURCES  = sdlgfx.c $(headers)
  gfx_la_LDFLAGS  = $(modflags)
 -gfx_la_LIBADD   = SDL_gfx/libSDL_gfx.la \
 -                  SDL_gfx/libimfi.la
 +gfx_la_LIBADD   = -lSDL_gfx
++gfx_la_CPPFLAGS = -I/usr/include/SDL
  
- SUFFIXES = .c .fs
+ SUFFIXES = .c
  
---- guile-sdl-0.4.3/configure.ac.orig	2013-04-13 16:12:50.000000000 +0200
-+++ guile-sdl-0.4.3/configure.ac	2013-04-24 17:01:24.608523633 +0200
-@@ -121,7 +121,6 @@
+ gx		= $(top_srcdir)/build-aux/guile-baux/gbaux-do
+-snarfcppopts	= $(DEFS) $(DEFAULT_INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS)
++snarfcppopts	= $(DEFS) $(DEFAULT_INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) -I/usr/include/SDL
+ 
+ .c.x:
+ 	$(gx) c2x -o $@ $< -- $(snarfcppopts)
+--- guile-sdl-0.5.0/configure.ac.orig	2013-07-24 17:25:26.483237676 +0200
++++ guile-sdl-0.5.0/configure.ac	2013-07-24 17:27:34.633232297 +0200
+@@ -128,7 +128,6 @@
  AC_CONFIG_FILES([
    Makefile
    src/Makefile
 -  src/SDL_gfx/Makefile
+   src/k/Makefile
    doc/Makefile
    test/Makefile
-   test/zow
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/guile-sdl.git/commitdiff/a6c1c749720c402747404db1b19d69ed54679ded



More information about the pld-cvs-commit mailing list