r4661 - in trunk/src/host/pye17: . evas

marek at docs.openmoko.org marek at docs.openmoko.org
Mon Sep 22 08:54:39 CEST 2008


Author: marek
Date: 2008-09-22 08:54:38 +0200 (Mon, 22 Sep 2008)
New Revision: 4661

Modified:
   trunk/src/host/pye17/Makefile
   trunk/src/host/pye17/evas/Makefile
   trunk/src/host/pye17/evas/evas.override
Log:
disabled edje binding - can't work without other libs being built first
added linker information
2 functions that are not implemented yet overridden

known issues:
evas crashes on "import evas" 


Modified: trunk/src/host/pye17/Makefile
===================================================================
--- trunk/src/host/pye17/Makefile	2008-09-22 04:13:41 UTC (rev 4660)
+++ trunk/src/host/pye17/Makefile	2008-09-22 06:54:38 UTC (rev 4661)
@@ -19,8 +19,14 @@
 PYTHON = $(shell which python)
 
 
-e_bindings = evas edje
+e_bindings = evas
 
+### ToDo ###
+# ecore
+# eet ? embryo ?
+# edje
+
+
 e_bindings_mk = $(e_bindings:=.mk)
 
 .PHONY: all clean

Modified: trunk/src/host/pye17/evas/Makefile
===================================================================
--- trunk/src/host/pye17/evas/Makefile	2008-09-22 04:13:41 UTC (rev 4660)
+++ trunk/src/host/pye17/evas/Makefile	2008-09-22 06:54:38 UTC (rev 4661)
@@ -1,7 +1,8 @@
 
 EVAS_PATH=$(E_PATH)/evas/src/lib
 
-CFLAGS = -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include/ -I/usr/include/python2.5 -I/usr/include/pygtk-2.0/ -I$(EVAS_PATH) -I.
+CFLAGS = -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include/ -I/usr/include/python2.5 -I/usr/include/pygtk-2.0/ -I$(EVAS_PATH) -I. -g
+LDFLAGS = -levas -L$(EVAS_PATH)/.libs/libevas.so -lglib-2.0
 
 .PHONY: all clean evas.so
 

Modified: trunk/src/host/pye17/evas/evas.override
===================================================================
--- trunk/src/host/pye17/evas/evas.override	2008-09-22 04:13:41 UTC (rev 4660)
+++ trunk/src/host/pye17/evas/evas.override	2008-09-22 06:54:38 UTC (rev 4661)
@@ -4,10 +4,23 @@
 #include <Evas_Data.h>
 #include <Evas.h>
 %%
-modulename evas                     
+modulename evas
 %%
-import gtk.Plug as PyGtkPlug_Type       
+import gtk.Plug as PyGtkPlug_Type
 %%
 ignore-glob
-  *_get_type                            
+  *_get_type
 %%
+override evas_stringshare_init kwargs
+static PyObject *
+_wrap_evas_stringshare_init(PyObject *self)
+{
+	/* Evas_Data.h - not implemented yet */
+}
+%%
+override evas_stringshare_shutdown kwargs
+static PyObject *
+_wrap_evas_stringshare_shutdown(PyObject *self)
+{
+	/* Evas_Data.h - not implemented yet */
+}




More information about the commitlog mailing list