summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extra/python-notify/.md5sum.x86_641
-rw-r--r--extra/python-notify/Pkgfile12
-rw-r--r--extra/python-notify/libnotify07.patch36
3 files changed, 44 insertions, 5 deletions
diff --git a/extra/python-notify/.md5sum.x86_64 b/extra/python-notify/.md5sum.x86_64
index 695965cbe..aa14b73d8 100644
--- a/extra/python-notify/.md5sum.x86_64
+++ b/extra/python-notify/.md5sum.x86_64
@@ -1 +1,2 @@
+b40c4542575d5aef559908fe60a21634 libnotify07.patch
8f0ef0939cc8edd2efd896ce5ba80cf4 notify-python-0.1.1.tar.gz
diff --git a/extra/python-notify/Pkgfile b/extra/python-notify/Pkgfile
index 94a2fc663..71cb5acef 100644
--- a/extra/python-notify/Pkgfile
+++ b/extra/python-notify/Pkgfile
@@ -2,18 +2,20 @@
# URL: http://www.galago-project.org/
# Maintainer: NuTyX packager team
# Packager: thierryn1 at hispeed at ch
-# Depends on: libnotify,pygtk,dbus-glib
-# Run on: libnotify,pygtk,dbus-glib
+# Depends on: libnotify,pygtk,dbus-glib,wxgtk
+# Run on: libnotify,pygtk,dbus-glib,wxgtk
name=python-notify
version=0.1.1
-release=1
+release=2
-source=(http://www.galago-project.org/files/releases/source/notify-python/notify-python-$version.tar.gz)
+source=(http://www.galago-project.org/files/releases/source/notify-python/notify-python-$version.tar.gz
+ libnotify07.patch)
build() {
cd notify-python-$version
- PYTHON=python2 ./configure --prefix=/usr
+ patch -p1 < $SRC/libnotify07.patch
+ PYTHON=/usr/bin/python2 ./configure --prefix=/usr
make
make DESTDIR=$PKG install
}
diff --git a/extra/python-notify/libnotify07.patch b/extra/python-notify/libnotify07.patch
new file mode 100644
index 000000000..289573d50
--- /dev/null
+++ b/extra/python-notify/libnotify07.patch
@@ -0,0 +1,36 @@
+diff -up notify-python-0.1.1/src/pynotify.defs.notify070 notify-python-0.1.1/src/pynotify.defs
+--- notify-python-0.1.1/src/pynotify.defs.notify070 2010-11-02 17:11:14.928179237 -0400
++++ notify-python-0.1.1/src/pynotify.defs 2010-11-02 17:11:51.153180231 -0400
+@@ -38,7 +38,6 @@
+ '("const-gchar*" "summary")
+ '("const-gchar*" "message" (null-ok) (default "NULL"))
+ '("const-gchar*" "icon" (null-ok) (default "NULL"))
+- '("GtkWidget*" "attach" (null-ok) (default "NULL"))
+ )
+ )
+
+@@ -53,24 +52,6 @@
+ )
+ )
+
+-(define-method attach_to_widget
+- (of-object "NotifyNotification")
+- (c-name "notify_notification_attach_to_widget")
+- (return-type "none")
+- (parameters
+- '("GtkWidget*" "attach")
+- )
+-)
+-
+-(define-method attach_to_status_icon
+- (of-object "NotifyNotification")
+- (c-name "notify_notification_attach_to_status_icon")
+- (return-type "none")
+- (parameters
+- '("GtkStatusIcon*" "attach")
+- )
+-)
+-
+ (define-method show
+ (of-object "NotifyNotification")
+ (c-name "notify_notification_show")