[Midnightbsd-cvs] mports [16185] trunk/devel/py-notify: add patch for newer libnotify
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sat Apr 12 14:27:31 EDT 2014
Revision: 16185
http://svnweb.midnightbsd.org/mports/?rev=16185
Author: laffer1
Date: 2014-04-12 14:27:30 -0400 (Sat, 12 Apr 2014)
Log Message:
-----------
add patch for newer libnotify
Modified Paths:
--------------
trunk/devel/py-notify/Makefile
trunk/devel/py-notify/distinfo
Added Paths:
-----------
trunk/devel/py-notify/files/
trunk/devel/py-notify/files/patch-src_pynotify.defs
Modified: trunk/devel/py-notify/Makefile
===================================================================
--- trunk/devel/py-notify/Makefile 2014-04-12 18:26:19 UTC (rev 16184)
+++ trunk/devel/py-notify/Makefile 2014-04-12 18:27:30 UTC (rev 16185)
@@ -3,8 +3,8 @@
PORTNAME= notify
PORTVERSION= 0.1.1
-PORTREVISION= 1
DISTVERSIONPREFIX=python-
+PORTREVISION= 2
CATEGORIES= devel python
MASTER_SITES= http://www.galago-project.org/files/releases/source/notify-python/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,16 +13,17 @@
COMMENT= A python bindings for libnotify
LICENSE= lgpl
-LIB_DEPENDS= notify.1:${PORTSDIR}/devel/libnotify
+LIB_DEPENDS= notify:${PORTSDIR}/devel/libnotify
USE_BZIP2= yes
-USE_GMAKE= yes
+USES= gmake pkgconfig
USE_GNOME= gnomehack pygtk2
-USE_PYTHON= yes
+USE_PYTHON= 2
GNU_CONFIGURE= yes
DOCS= AUTHORS COPYING ChangeLog NEWS
+NO_STAGE= yes
post-extract:
@${RM} ${WRKSRC}/src/pynotify.c
Modified: trunk/devel/py-notify/distinfo
===================================================================
--- trunk/devel/py-notify/distinfo 2014-04-12 18:26:19 UTC (rev 16184)
+++ trunk/devel/py-notify/distinfo 2014-04-12 18:27:30 UTC (rev 16185)
@@ -1,3 +1,2 @@
SHA256 (notify-python-0.1.1.tar.bz2) = 7d3bbb7c3d8f56c922cc31d02ef9057a4f06998cc2fd4f3119a576fcf8d504ce
-RMD160 (notify-python-0.1.1.tar.bz2) = 52f5b5cc7c01be32525db7a2edc0f3dee41911ef
SIZE (notify-python-0.1.1.tar.bz2) = 214514
Added: trunk/devel/py-notify/files/patch-src_pynotify.defs
===================================================================
--- trunk/devel/py-notify/files/patch-src_pynotify.defs (rev 0)
+++ trunk/devel/py-notify/files/patch-src_pynotify.defs 2014-04-12 18:27:30 UTC (rev 16185)
@@ -0,0 +1,35 @@
+--- src/pynotify.defs.orig 2011-07-30 20:46:04.000000000 +0200
++++ src/pynotify.defs 2011-07-30 20:46:45.000000000 +0200
+@@ -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")
More information about the Midnightbsd-cvs
mailing list