Hello community,

here is the log from the commit of package python-notify for openSUSE:Factory
checked in at Fri May 6 16:10:41 CEST 2011.



--------
--- python-notify/python-notify.changes 2011-03-16 08:03:25.000000000 +0100
+++ /mounts/work_src_done/STABLE/python-notify/python-notify.changes    
2011-04-07 16:54:16.000000000 +0200
@@ -1,0 +2,6 @@
+Thu Apr  7 14:51:30 UTC 2011 - [email protected]
+
+- add libnotify0.7.patch: fix build with libnotify >= 0.7 (from
+  Fedora).
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  libnotify07.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-notify.spec ++++++
--- /var/tmp/diff_new_pack.MLYeAx/_old  2011-05-06 16:09:26.000000000 +0200
+++ /var/tmp/diff_new_pack.MLYeAx/_new  2011-05-06 16:09:26.000000000 +0200
@@ -21,13 +21,15 @@
 
 Name:           python-notify
 Version:        0.1.1
-Release:        16
+Release:        18
 Summary:        Python bindings for libnotify
 Group:          Development/Languages/Python
 License:        LGPLv2.1+
 Url:            http://www.galago-project.org/specs/notification
 Source:         
http://www.galago-project.org/files/releases/source/notify-python/notify-python-%{version}.tar.bz2
 Patch0:         notify-python-0.1.1-fix-GTK-symbols.patch
+# PATCH-FIX-UPSTREAM libnotify-0.7.patch [email protected] -- fix build with 
libnotify >= 0.7 (from Fedora)
+Patch1:         libnotify07.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  fdupes
 %if 0%{?suse_version} <= 1130
@@ -53,6 +55,7 @@
 %prep
 %setup -q -n "notify-python-%{version}"
 %patch0 -p1 -b .fix-GTK-symbols
+%patch1 -p1 -b .notify07
 
 %build
 %if 0%{?suse_version} <= 1130

++++++ libnotify07.patch ++++++
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")

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to