summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/py-gnome-desktop/files
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/py-gnome-desktop/files')
-rw-r--r--x11-toolkits/py-gnome-desktop/files/patch-Makefile.in11
-rw-r--r--x11-toolkits/py-gnome-desktop/files/patch-configure10
-rw-r--r--x11-toolkits/py-gnome-desktop/files/patch-gda_gda.override102
-rw-r--r--x11-toolkits/py-gnome-desktop/files/patch-gtop_gtop.c20
4 files changed, 143 insertions, 0 deletions
diff --git a/x11-toolkits/py-gnome-desktop/files/patch-Makefile.in b/x11-toolkits/py-gnome-desktop/files/patch-Makefile.in
new file mode 100644
index 000000000..89faafbdc
--- /dev/null
+++ b/x11-toolkits/py-gnome-desktop/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in.orig Fri Jan 28 14:22:51 2005
++++ Makefile.in Fri Jan 28 14:23:04 2005
+@@ -43,7 +43,7 @@
+ @BUILD_WNCK_TRUE@am__append_5 = wnck
+ @BUILD_GTKMOZEMBED_TRUE@am__append_6 = gtkmozembed
+ @BUILD_GTKSPELL_TRUE@am__append_7 = gtkspell
+-@BUILD_GDL_TRUE@am__append_8 = gdl
++@BUILD_GDL_TRUE@am__append_8 =
+ @BUILD_TOTEM_PLPARSER_TRUE@am__append_9 = totem
+ @BUILD_GTOP_TRUE@am__append_10 = gtop
+ @BUILD_NAUTILUSBURN_TRUE@am__append_11 = nautilusburn
diff --git a/x11-toolkits/py-gnome-desktop/files/patch-configure b/x11-toolkits/py-gnome-desktop/files/patch-configure
new file mode 100644
index 000000000..2151fdea2
--- /dev/null
+++ b/x11-toolkits/py-gnome-desktop/files/patch-configure
@@ -0,0 +1,10 @@
+--- configure.orig Fri Nov 11 21:36:37 2005
++++ configure Fri Nov 11 21:36:55 2005
+@@ -21713,6 +21713,7 @@
+ case $mozpackage in
+ firefox) mozpackage_required_version=1.0 ;;
+ mozilla) mozpackage_required_version=1.2b ;;
++ seamonkey) mozpackage_required_version=1.2b ;;
+ *) { { echo "$as_me:$LINENO: error: --with-gtkmozembed argument must be either 'mozilla' or 'firefox'" >&5
+ echo "$as_me: error: --with-gtkmozembed argument must be either 'mozilla' or 'firefox'" >&2;}
+ { (exit 1); exit 1; }; }
diff --git a/x11-toolkits/py-gnome-desktop/files/patch-gda_gda.override b/x11-toolkits/py-gnome-desktop/files/patch-gda_gda.override
new file mode 100644
index 000000000..1fa283a57
--- /dev/null
+++ b/x11-toolkits/py-gnome-desktop/files/patch-gda_gda.override
@@ -0,0 +1,102 @@
+--- gda/gda.override.orig Wed Apr 20 16:10:31 2005
++++ gda/gda.override Wed Apr 20 16:12:56 2005
+@@ -59,13 +59,14 @@ override gda_config_get_data_source_list
+ static PyObject*
+ _wrap_gda_config_get_data_source_list (PyObject* self) {
+ PyObject* plist = PyList_New (0);
++ GList *tmp, *list;
+
+ if (!plist) {
+ Py_INCREF (Py_None);
+ return Py_None;
+ }
+
+- GList *tmp, *list = gda_config_get_data_source_list();
++ list = gda_config_get_data_source_list();
+
+ for (tmp = list; tmp != NULL; tmp = tmp->next) {
+ PyObject* obj = pyg_boxed_new (GDA_TYPE_DATA_SOURCE_INFO, tmp->data, FALSE, FALSE);
+@@ -81,13 +82,14 @@ override gda_config_get_provider_list kw
+ static PyObject*
+ _wrap_gda_config_get_provider_list (PyObject* self) {
+ PyObject* plist = PyList_New (0);
++ GList *tmp, *list;
+
+ if (!plist) {
+ Py_INCREF (Py_None);
+ return Py_None;
+ }
+
+- GList *tmp, *list = gda_config_get_provider_list();
++ list = gda_config_get_provider_list();
+
+ for (tmp = list; tmp != NULL; tmp = tmp->next) {
+ PyObject* obj = pyg_boxed_new (GDA_TYPE_PROVIDER_INFO, tmp->data, FALSE, FALSE);
+@@ -174,20 +176,22 @@ static PyObject*
+ _wrap_gda_config_list_keys (PyObject* self, PyObject* fargs, PyObject* kwargs) {
+ static char* kwlist[] = { "path", NULL };
+ gchar* path = "/";
++ PyObject *plist;
++ GList *tmp, *list;
+
+ if (!PyArg_ParseTupleAndKeywords (fargs, kwargs, "|s:config_list_keys", kwlist, &path)) {
+ Py_INCREF (Py_None);
+ return Py_None;
+ }
+
+- PyObject* plist = PyList_New (0);
++ plist = PyList_New (0);
+
+ if (!plist) {
+ Py_INCREF (Py_None);
+ return Py_None;
+ }
+
+- GList *tmp, *list = gda_config_list_keys (path);
++ list = gda_config_list_keys (path);
+
+ for (tmp = list; tmp != NULL; tmp = tmp->next) {
+ PyList_Append (plist, PyString_FromString (tmp->data));
+@@ -201,7 +205,8 @@ override gda_connection_execute_command
+ static PyObject*
+ _wrap_gda_connection_execute_command (PyGObject* self, PyObject* fargs, PyObject* kwargs) {
+ static char* kwlist[] = { "cmd", "params", NULL };
+- PyGObject *cmd, *params;
++ PyGObject *cmd, *params, *plist;
++ GList *tmp, *list;
+
+ /* TODO:
+ if (!PyArg_ParseTupleAndKeywords (fargs, kwargs, "O!O!:GdaConnection.execute_command",
+@@ -211,14 +216,14 @@ _wrap_gda_connection_execute_command (Py
+ }
+ */
+
+- PyObject* plist = PyList_New (0);
++ plist = PyList_New (0);
+
+ if (!plist) {
+ Py_INCREF (Py_None);
+ return Py_None;
+ }
+
+- GList *tmp, *list = gda_connection_execute_command (GDA_CONNECTION (self->obj),
++ list = gda_connection_execute_command (GDA_CONNECTION (self->obj),
+ GDA_COMMAND (cmd->obj), GDA_PARAMETER_LIST (params->obj));
+
+ for (tmp = list; tmp != NULL; tmp = tmp->next) {
+@@ -235,13 +240,14 @@ override gda_connection_get_errors kwarg
+ static PyObject*
+ _wrap_gda_connection_get_errors (PyGObject* self) {
+ PyObject* plist = PyList_New (0);
++ GList *tmp, *list;
+
+ if (!plist) {
+ Py_INCREF (Py_None);
+ return Py_None;
+ }
+
+- GList *tmp, *list = (GList*) gda_connection_get_errors (GDA_CONNECTION (self->obj));
++ list = (GList*) gda_connection_get_errors (GDA_CONNECTION (self->obj));
+
+ for (tmp = list; tmp != NULL; tmp = tmp->next) {
+ PyObject* obj = pygobject_new (G_OBJECT (tmp->data));
diff --git a/x11-toolkits/py-gnome-desktop/files/patch-gtop_gtop.c b/x11-toolkits/py-gnome-desktop/files/patch-gtop_gtop.c
new file mode 100644
index 000000000..05db58a4c
--- /dev/null
+++ b/x11-toolkits/py-gnome-desktop/files/patch-gtop_gtop.c
@@ -0,0 +1,20 @@
+--- gtop/gtop.c.orig Wed May 18 00:54:59 2005
++++ gtop/gtop.c Wed May 18 00:54:12 2005
+@@ -44,6 +44,7 @@
+
+ #include <sys/types.h>
+ #include <sys/socket.h>
++#include <netinet/in.h>
+ #include <arpa/inet.h>
+
+
+@@ -1316,8 +1317,8 @@ build_siglist(void)
+
+ for(i = 0; i < len; ++i)
+ {
+- p = &glibtop_sys_siglist[i];
+ PyObject* d;
++ p = &glibtop_sys_siglist[i];
+
+ d = PyDict_New();
+ my_dict_add_and_decref(d, "number", PyI_L(p->number));