summaryrefslogtreecommitdiffstats
path: root/deskutils/gdesklets/files
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-01 09:26:44 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-01 09:26:44 +0800
commita17b256610fca8dc5df91a17ca62db17f320db74 (patch)
treec3c487bc8fbd26b70afc2b0836aa281831b0ab02 /deskutils/gdesklets/files
parentf099ece38f137a2e33f89d33e17b515a5ecf26db (diff)
downloadmarcuscom-ports-a17b256610fca8dc5df91a17ca62db17f320db74.tar
marcuscom-ports-a17b256610fca8dc5df91a17ca62db17f320db74.tar.gz
marcuscom-ports-a17b256610fca8dc5df91a17ca62db17f320db74.tar.bz2
marcuscom-ports-a17b256610fca8dc5df91a17ca62db17f320db74.tar.lz
marcuscom-ports-a17b256610fca8dc5df91a17ca62db17f320db74.tar.xz
marcuscom-ports-a17b256610fca8dc5df91a17ca62db17f320db74.tar.zst
marcuscom-ports-a17b256610fca8dc5df91a17ca62db17f320db74.zip
- INSTALLS_ICONS
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7442 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'deskutils/gdesklets/files')
-rw-r--r--deskutils/gdesklets/files/patch-Controls::ArrayBuffer::__init__.py13
-rw-r--r--deskutils/gdesklets/files/patch-data::Makefile.in11
-rw-r--r--deskutils/gdesklets/files/patch-libdesklets-system-gtop.c21
-rw-r--r--deskutils/gdesklets/files/patch-main::__init__.py11
-rw-r--r--deskutils/gdesklets/files/patch-utils::utils.c19
5 files changed, 75 insertions, 0 deletions
diff --git a/deskutils/gdesklets/files/patch-Controls::ArrayBuffer::__init__.py b/deskutils/gdesklets/files/patch-Controls::ArrayBuffer::__init__.py
new file mode 100644
index 000000000..1e41c906f
--- /dev/null
+++ b/deskutils/gdesklets/files/patch-Controls::ArrayBuffer::__init__.py
@@ -0,0 +1,13 @@
+--- Controls/ArrayBuffer/__init__.py.orig Mon Feb 28 14:07:04 2005
++++ Controls/ArrayBuffer/__init__.py Mon Feb 28 14:07:25 2005
+@@ -3,6 +3,10 @@
+ # ArrayBuffer Class
+ #
+ #
++
++from libdesklets.controls import Control
++from IArrayBuffer import *
++
+ class ArrayBuffer(Control, IArrayBuffer):
+
+ #
diff --git a/deskutils/gdesklets/files/patch-data::Makefile.in b/deskutils/gdesklets/files/patch-data::Makefile.in
new file mode 100644
index 000000000..a7af22eb6
--- /dev/null
+++ b/deskutils/gdesklets/files/patch-data::Makefile.in
@@ -0,0 +1,11 @@
+--- data/Makefile.in.orig Mon Dec 20 17:28:59 2004
++++ data/Makefile.in Mon Dec 20 17:29:43 2004
+@@ -170,7 +170,7 @@
+ sharedmimepackage_in_files = gdesklets.xml.in
+ sharedmimepackage_DATA = $(sharedmimepackage_in_files:.xml.in=.xml)
+
+-mimeicondir = $(datadir)/icons/gnome/48x48/mimetypes
++mimeicondir = $(prefix)/share/icons/gnome/48x48/mimetypes
+ mimeicon_DATA = gnome-mime-application-x-gdesklets-display.png
+
+ pixmapdir = $(PIXMAPDIR)
diff --git a/deskutils/gdesklets/files/patch-libdesklets-system-gtop.c b/deskutils/gdesklets/files/patch-libdesklets-system-gtop.c
new file mode 100644
index 000000000..4ae58eb87
--- /dev/null
+++ b/deskutils/gdesklets/files/patch-libdesklets-system-gtop.c
@@ -0,0 +1,21 @@
+--- libdesklets/system/gtop.c.orig Sat Jan 1 20:33:47 2005
++++ libdesklets/system/gtop.c Thu Feb 17 21:53:53 2005
+@@ -48,6 +48,8 @@
+ #include <sys/socket.h>
+ #include <arpa/inet.h>
+
++/* for INET_ADDRSTRLEN and INET6_ADDRSTRLEN on FreeBSD 4 */
++#include <netinet/in.h>
+
+ typedef struct
+ {
+@@ -1275,8 +1277,8 @@
+ tuple = PyTuple_New(len);
+
+ 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));
diff --git a/deskutils/gdesklets/files/patch-main::__init__.py b/deskutils/gdesklets/files/patch-main::__init__.py
new file mode 100644
index 000000000..2265c0c64
--- /dev/null
+++ b/deskutils/gdesklets/files/patch-main::__init__.py
@@ -0,0 +1,11 @@
+--- main/__init__.py.orig Mon Feb 28 12:11:37 2005
++++ main/__init__.py Mon Feb 28 12:12:18 2005
+@@ -20,7 +20,7 @@
+ USERHOME = os.path.join(os.environ["APPDATA"], "gDesklets")
+ else:
+ USERHOME = os.path.join(os.path.expanduser("~"), ".gdesklets")
+-OLDHOME = os.path.join(HOME, os.pardir, os.pardir, "share", "gdesklets")
++OLDHOME = os.path.join(HOME, os.pardir, os.pardir, "share", "gnome", "gdesklets")
+
+
+ # we need the DISPLAY variable
diff --git a/deskutils/gdesklets/files/patch-utils::utils.c b/deskutils/gdesklets/files/patch-utils::utils.c
new file mode 100644
index 000000000..f5c34a322
--- /dev/null
+++ b/deskutils/gdesklets/files/patch-utils::utils.c
@@ -0,0 +1,19 @@
+--- utils/utils.c.orig Sun Feb 6 22:11:42 2005
++++ utils/utils.c Mon Feb 28 12:15:54 2005
+@@ -12,14 +12,14 @@
+
+ if(G_UNLIKELY(PyGObject_Type == NULL))
+ {
+- PyObject *module;
++ PyObject *module, *moddict;
+
+ module = PyImport_ImportModule("gobject");
+
+ if(!module)
+ goto err_gobject;
+
+- PyObject *moddict = PyModule_GetDict(module);
++ moddict = PyModule_GetDict(module);
+
+ PyGObject_Type = (PyTypeObject *) PyDict_GetItemString(moddict, "GObject");
+