EDS no longer depends on bonobo
authorYaakov Selkowitz <yselkowitz@users.sourceforge.net>
Fri, 9 Dec 2011 05:57:11 +0000 (23:57 -0600)
committerYaakov Selkowitz <yselkowitz@users.sourceforge.net>
Fri, 9 Dec 2011 05:57:11 +0000 (23:57 -0600)
2.32.0-eds-bonobo.patch [new file with mode: 0644]
gnome-python-desktop-2.32.0-3.cygport [moved from gnome-python-desktop-2.32.0-2.cygport with 95% similarity]
python-totem-plparser.hint

diff --git a/2.32.0-eds-bonobo.patch b/2.32.0-eds-bonobo.patch
new file mode 100644 (file)
index 0000000..8052ce1
--- /dev/null
@@ -0,0 +1,44 @@
+--- origsrc/gnome-python-desktop-2.32.0/evolution/ebookmodule.c        2011-12-08 23:20:46.212054400 -0600
++++ src/gnome-python-desktop-2.32.0/evolution/ebookmodule.c    2011-12-08 23:17:26.861431000 -0600
+@@ -21,6 +21,7 @@
+ #endif
+ #include <pygobject.h>
++#include <libedataserver/eds-version.h>
+ void pyebook_register_classes(PyObject *d);
+ void pyebook_add_constants(PyObject *m, const gchar *strip_prefix);
+@@ -35,9 +36,11 @@ initebook(void)
+     if (!pygobject_init(-1, -1, -1))
+         return;
++#if !EDS_CHECK_VERSION(2, 32, 0)
+     PyImport_ImportModule("bonobo");
+     if (PyErr_Occurred())
+         return;    
++#endif
+       
+     m = Py_InitModule("ebook", pyebook_functions);
+     d = PyModule_GetDict(m);
+--- origsrc/gnome-python-desktop-2.32.0/evolution/ecalmodule.c 2011-12-08 23:20:46.212054400 -0600
++++ src/gnome-python-desktop-2.32.0/evolution/ecalmodule.c     2011-12-08 23:17:30.471436000 -0600
+@@ -21,6 +21,7 @@
+ #endif
+ #include <pygobject.h>
++#include <libedataserver/eds-version.h>
+ void pyecal_register_classes(PyObject *d);
+ void pyecal_add_constants(PyObject *m, const gchar *strip_prefix);
+@@ -35,9 +36,11 @@ initecal(void)
+     /* perform any initialisation required by the library here */
+     if (!pygobject_init(-1, -1, -1))
+         return;
++#if !EDS_CHECK_VERSION(2, 32, 0)
+     PyImport_ImportModule("bonobo");
+     if (PyErr_Occurred())
+         return;    
++#endif
+       
+     m = Py_InitModule("ecal", pyecal_functions);
+     d = PyModule_GetDict(m);
similarity index 95%
rename from gnome-python-desktop-2.32.0-2.cygport
rename to gnome-python-desktop-2.32.0-3.cygport
index eea0885ae57ff17246d70060ffd185bdacb032e2..6b9a1cc4e7d441dc5b31eb3b7f44be8aa3ab067d 100644 (file)
@@ -1,5 +1,8 @@
 inherit pygtk
 
+
+PATCH_URI="2.32.0-eds-bonobo.patch"
+
 PKG_NAMES="${PN}"
 gnome_python_desktop_CONTENTS="usr/lib/pkgconfig/ usr/share/doc/"
 
index 70d64151eba47810f1d60820fd60b30ac21c92fc..0ca83d948209b24a3d13e319f1275648738c18fe 100644 (file)
@@ -1,5 +1,5 @@
 category: Python Gnome
-requires: libglib2.0_0 libtotem-plparser17 python python-gobject
+requires: libglib2.0_0 libtotem-plparser17 python python-gobject python-gnomevfs
 external-source: gnome-python-desktop
 sdesc: "Python Totem PLParser bindings"
 ldesc: "Python bindings for Totem's playlist parser library"
This page took 0.024737 seconds and 5 git commands to generate.