[113239] trunk/dports/python/py-notify-python

devans at macports.org devans at macports.org
Tue Nov 12 22:59:42 PST 2013


Revision: 113239
          https://trac.macports.org/changeset/113239
Author:   devans at macports.org
Date:     2013-11-12 22:59:42 -0800 (Tue, 12 Nov 2013)
Log Message:
-----------
py-notify-python: patch to build with libnotify 0.7.

Modified Paths:
--------------
    trunk/dports/python/py-notify-python/Portfile

Added Paths:
-----------
    trunk/dports/python/py-notify-python/files/libnotify07.patch

Modified: trunk/dports/python/py-notify-python/Portfile
===================================================================
--- trunk/dports/python/py-notify-python/Portfile	2013-11-13 06:59:31 UTC (rev 113238)
+++ trunk/dports/python/py-notify-python/Portfile	2013-11-13 06:59:42 UTC (rev 113239)
@@ -7,7 +7,7 @@
 name                py-notify-python
 set myname			notify-python
 version             0.1.1
-revision            4
+revision            5
 categories-append   python devel
 license             GPL-2
 maintainers         elelay
@@ -60,7 +60,8 @@
     destroot.args       {}
     destroot.destdir    DESTDIR=${destroot}
 
-    patchfiles                      patch-src-pynotifymodule-c.diff
+    patchfiles          patch-src-pynotifymodule-c.diff \
+                        libnotify07.patch
                    
     configure.python    ${python.bin}
     configure.pkg_config_path   ${python.prefix}/lib/pkgconfig

Added: trunk/dports/python/py-notify-python/files/libnotify07.patch
===================================================================
--- trunk/dports/python/py-notify-python/files/libnotify07.patch	                        (rev 0)
+++ trunk/dports/python/py-notify-python/files/libnotify07.patch	2013-11-13 06:59:42 UTC (rev 113239)
@@ -0,0 +1,35 @@
+--- src/pynotify.defs.orig	2010-11-02 17:11:14.928179237 -0400
++++ 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")
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131112/37de19a0/attachment.html>


More information about the macports-changes mailing list