[Mud-builder-commits] r216 - in trunk/packages: . patch

keesj at garage.maemo.org keesj at garage.maemo.org
Wed Dec 12 21:39:56 EET 2007


Author: keesj
Date: 2007-12-12 21:39:55 +0200 (Wed, 12 Dec 2007)
New Revision: 216

Modified:
   trunk/packages/libsdl-gfx.xml
   trunk/packages/lua.xml
   trunk/packages/patch/lua.patch
   trunk/packages/xmoto.xml
Log:
keesj:added --host=linux-arm to make sdl-gfx compile
updated lua to no use realine ( I Can't get it to compile)


Modified: trunk/packages/libsdl-gfx.xml
===================================================================
--- trunk/packages/libsdl-gfx.xml	2007-12-11 21:24:38 UTC (rev 215)
+++ trunk/packages/libsdl-gfx.xml	2007-12-12 19:39:55 UTC (rev 216)
@@ -2,9 +2,10 @@
 <package>
   <fetch type="tarball">
     <url>http://www.ferzkopp.net/Software/SDL_gfx-2.0/SDL_gfx-2.0.16.tar.gz</url>
+    <depends>libsdl1.2-dev</depends>
   </fetch>
   <build>
-    <configure-append>--disable-mmx</configure-append>
+    <configure-append>--disable-mmx  --host=arm-linux</configure-append>
   </build>
   <deb>
     <icon>http://www.ferzkopp.net/joomla/images/favicon.ico</icon>

Modified: trunk/packages/lua.xml
===================================================================
--- trunk/packages/lua.xml	2007-12-11 21:24:38 UTC (rev 215)
+++ trunk/packages/lua.xml	2007-12-12 19:39:55 UTC (rev 216)
@@ -2,7 +2,6 @@
 <package>
   <fetch type="tarball">
     <url>http://www.lua.org/ftp/lua-5.1.1.tar.gz</url>
-    <depends>libreadline4, libreadline4-dev</depends>
   </fetch>
   <deb>
     <icon>http://www.lua.org/favicon.ico</icon>

Modified: trunk/packages/patch/lua.patch
===================================================================
--- trunk/packages/patch/lua.patch	2007-12-11 21:24:38 UTC (rev 215)
+++ trunk/packages/patch/lua.patch	2007-12-12 19:39:55 UTC (rev 216)
@@ -1,3 +1,30 @@
+Index: src/Makefile
+===================================================================
+--- src/Makefile	(revision 1)
++++ src/Makefile	(working copy)
+@@ -92,7 +92,7 @@
+ 	$(MAKE) all MYCFLAGS=
+ 
+ linux:
+-	$(MAKE) all MYCFLAGS=-DLUA_USE_LINUX MYLIBS="-Wl,-E -ldl -lreadline -lhistory -lncurses"
++	$(MAKE) all MYCFLAGS=-DLUA_USE_LINUX MYLIBS="-Wl,-E -ldl"
+ 
+ macosx:
+ 	$(MAKE) all MYCFLAGS=-DLUA_USE_MACOSX
+Index: src/luaconf.h
+===================================================================
+--- src/luaconf.h	(revision 1)
++++ src/luaconf.h	(working copy)
+@@ -36,7 +36,8 @@
+ #if defined(LUA_USE_LINUX)
+ #define LUA_USE_POSIX
+ #define LUA_USE_DLOPEN		/* needs an extra library: -ldl */
+-#define LUA_USE_READLINE	/* needs some extra libraries */
++/*kejo:removed readline because I can not get it to compile under the maemo 4.0 sdk..*/
++//#define LUA_USE_READLINE	/* needs some extra libraries */
+ #endif
+ 
+ #if defined(LUA_USE_MACOSX)
 Index: Makefile
 ===================================================================
 --- Makefile	(revision 1)

Modified: trunk/packages/xmoto.xml
===================================================================
--- trunk/packages/xmoto.xml	2007-12-11 21:24:38 UTC (rev 215)
+++ trunk/packages/xmoto.xml	2007-12-12 19:39:55 UTC (rev 216)
@@ -21,7 +21,7 @@
    <url>http://belnet.dl.sourceforge.net/sourceforge/xmoto/xmoto-0.2.6-src.tar.gz</url>
   </fetch>
   <build>
-    <configure-append>--with-renderer-openGl=0 --with-renderer-sdlGfx=1 --disable-nls</configure-append>
+    <configure-append>--with-renderer-openGl=0 --with-renderer-sdlGfx=1 --disable-nls --host=arm-linux</configure-append>
   </build>
   <deb>
     <!-- keesj:it workds on my machine but that is becasue I have copied and



More information about the Mud-builder-commits mailing list