commit python-notify for openSUSE:Factory
Hello community, here is the log from the commit of package python-notify for openSUSE:Factory checked in at 2019-07-11 13:18:12 Comparing /work/SRC/openSUSE:Factory/python-notify (Old) and /work/SRC/openSUSE:Factory/.python-notify.new.4615 (New) Package is "python-notify" Thu Jul 11 13:18:12 2019 rev:21 rq:714381 version:0.1.1 Changes: --- /work/SRC/openSUSE:Factory/python-notify/python-notify.changes 2018-03-07 10:36:03.979473041 +0100 +++ /work/SRC/openSUSE:Factory/.python-notify.new.4615/python-notify.changes 2019-07-11 13:18:37.570762992 +0200 @@ -1,0 +2,5 @@ +Tue Jul 9 22:42:39 UTC 2019 - Bjørn Lie + +- Disable LTO, python-notify fails to build with it. + +--- Other differences: -- ++ python-notify.spec ++ --- /var/tmp/diff_new_pack.oZkzir/_old 2019-07-11 13:18:38.090762828 +0200 +++ /var/tmp/diff_new_pack.oZkzir/_new 2019-07-11 13:18:38.094762828 +0200 @@ -53,6 +53,7 @@ %patch1 -p1 -b .notify07 %build +%define _lto_cflags %{nil} %if 0%{?suse_version} <= 1130 export CFLAGS="%{optflags} `pkg-config --cflags --libs gtk+-2.0`" %endif
commit python-notify for openSUSE:Factory
Hello community, here is the log from the commit of package python-notify for openSUSE:Factory checked in at 2018-03-07 10:36:00 Comparing /work/SRC/openSUSE:Factory/python-notify (Old) and /work/SRC/openSUSE:Factory/.python-notify.new (New) Package is "python-notify" Wed Mar 7 10:36:00 2018 rev:20 rq:583094 version:0.1.1 Changes: --- /work/SRC/openSUSE:Factory/python-notify/python-notify.changes 2013-03-15 10:47:49.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-notify.new/python-notify.changes 2018-03-07 10:36:03.979473041 +0100 @@ -1,0 +2,5 @@ +Wed Feb 28 16:39:11 UTC 2018 - dims...@opensuse.org + +- Modernize spec-file by calling spec-cleaner + +--- Other differences: -- ++ python-notify.spec ++ --- /var/tmp/diff_new_pack.ayvfUn/_old 2018-03-07 10:36:05.731409847 +0100 +++ /var/tmp/diff_new_pack.ayvfUn/_new 2018-03-07 10:36:05.735409702 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-notify # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,27 +17,24 @@ %define pypkgname pynotify - Name: python-notify Version:0.1.1 Release:0 Summary:Python bindings for libnotify -License:LGPL-2.1+ +License:LGPL-2.1-or-later Group: Development/Languages/Python -Url:http://www.galago-project.org/specs/notification +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 fcro...@novell.com -- fix build with libnotify >= 0.7 (from Fedora) Patch1: libnotify07.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: fdupes -%if 0%{?suse_version} <= 1130 -BuildRequires: gtk2-devel -%endif BuildRequires: libnotify-devel BuildRequires: python-devel BuildRequires: python-gtk-devel -%py_requires +%if 0%{?suse_version} <= 1130 +BuildRequires: gtk2-devel +%endif %description Python bindings for libnotify. @@ -64,22 +61,18 @@ # pynotify.c from the input definitions. This forces pynotify.c to be # regenerated. This is needed to have Notification.attach_to_status_icon touch src/pynotify.override -%__make %{?jobs:-j%{jobs}} +make %{?_smp_mflags} %install -%makeinstall -%fdupes $RPM_BUILD_ROOT/%{py_sitedir} - -%clean -%__rm -rf "%{buildroot}" +%make_install +%fdupes %{buildroot}/%{py_sitedir} %files -%defattr(-,root,root,-) -%doc AUTHORS COPYING NEWS +%license COPYING +%doc AUTHORS NEWS %{py_sitedir}/gtk-2.0/%{pypkgname}/ %files devel -%defattr(-,root,root,-) # we explicitly list the directories here to be sure we don't include something # that should live in the main package %dir %{_datadir}/pygtk
commit python-notify for openSUSE:Factory
Hello community, here is the log from the commit of package python-notify for openSUSE:Factory checked in at 2013-03-15 10:47:48 Comparing /work/SRC/openSUSE:Factory/python-notify (Old) and /work/SRC/openSUSE:Factory/.python-notify.new (New) Package is "python-notify", Maintainer is "gnome-maintain...@suse.de" Changes: --- /work/SRC/openSUSE:Factory/python-notify/python-notify.changes 2011-09-23 12:43:03.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-notify.new/python-notify.changes 2013-03-15 10:47:49.0 +0100 @@ -1,0 +2,5 @@ +Fri Mar 1 12:46:41 UTC 2013 - dims...@opensuse.org + +- Spec-cleanup using format_spec_file service. + +--- Other differences: -- ++ python-notify.spec ++ --- /var/tmp/diff_new_pack.tkztvj/_old 2013-03-15 10:47:51.0 +0100 +++ /var/tmp/diff_new_pack.tkztvj/_new 2013-03-15 10:47:51.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-notify # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,16 +15,15 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild %define pypkgname pynotify Name: python-notify Version:0.1.1 -Release:18 +Release:0 Summary:Python bindings for libnotify -Group: Development/Languages/Python License:LGPL-2.1+ +Group: Development/Languages/Python 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 @@ -44,9 +43,8 @@ Python bindings for libnotify. %package devel -License:LGPL-2.1+ -Group: Development/Libraries/Python Summary:Python bindings for libnotify +Group: Development/Libraries/Python Requires: %{name} = %{version} %description devel -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-notify for openSUSE:Factory
Hello community, here is the log from the commit of package python-notify for openSUSE:Factory checked in at 2011-12-06 18:56:37 Comparing /work/SRC/openSUSE:Factory/python-notify (Old) and /work/SRC/openSUSE:Factory/.python-notify.new (New) Package is "python-notify", Maintainer is "gnome-maintain...@suse.de" Changes: Other differences: -- ++ python-notify.spec ++ --- /var/tmp/diff_new_pack.nZWQPM/_old 2011-12-06 19:29:33.0 +0100 +++ /var/tmp/diff_new_pack.nZWQPM/_new 2011-12-06 19:29:33.0 +0100 @@ -24,7 +24,7 @@ Release:18 Summary:Python bindings for libnotify Group: Development/Languages/Python -License:LGPLv2.1+ +License:LGPL-2.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 @@ -44,7 +44,7 @@ Python bindings for libnotify. %package devel -License:LGPLv2.1+ +License:LGPL-2.1+ Group: Development/Libraries/Python Summary:Python bindings for libnotify Requires: %{name} = %{version} -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-notify for openSUSE:Factory
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.0 +0100 +++ /mounts/work_src_done/STABLE/python-notify/python-notify.changes 2011-04-07 16:54:16.0 +0200 @@ -1,0 +2,6 @@ +Thu Apr 7 14:51:30 UTC 2011 - fcro...@novell.com + +- 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.0 +0200 +++ /var/tmp/diff_new_pack.MLYeAx/_new 2011-05-06 16:09:26.0 +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 fcro...@novell.com -- 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: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-notify for openSUSE:Factory
Hello community, here is the log from the commit of package python-notify for openSUSE:Factory checked in at Fri Mar 25 14:24:31 CET 2011. --- python-notify/python-notify.changes 2010-08-09 00:03:10.0 +0200 +++ /mounts/work_src_done/STABLE/python-notify/python-notify.changes 2011-03-16 08:03:25.0 +0100 @@ -1,0 +2,7 @@ +Wed Mar 16 07:01:25 UTC 2011 - cyber...@opensuse.org + +- apply notify-python-0.1.1-fix-GTK-symbols.patch from fedora + fixes "Missing symbol 'gdk_screen_make_display_name'" + https://bugzilla.redhat.com/show_bug.cgi?id=626852 + +--- calling whatdependson for head-i586 New: notify-python-0.1.1-fix-GTK-symbols.patch Other differences: -- ++ python-notify.spec ++ --- /var/tmp/diff_new_pack.PyQdeq/_old 2011-03-25 14:23:06.0 +0100 +++ /var/tmp/diff_new_pack.PyQdeq/_new 2011-03-25 14:23:06.0 +0100 @@ -1,7 +1,7 @@ # -# spec file for package python-notify (Version 0.1.1) +# spec file for package python-notify # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,12 +21,13 @@ Name: python-notify Version:0.1.1 -Release:12 +Release:16 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 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: fdupes %if 0%{?suse_version} <= 1130 @@ -51,6 +52,7 @@ %prep %setup -q -n "notify-python-%{version}" +%patch0 -p1 -b .fix-GTK-symbols %build %if 0%{?suse_version} <= 1130 ++ notify-python-0.1.1-fix-GTK-symbols.patch ++ diff -up notify-python-0.1.1/src/__init__.py.BAD notify-python-0.1.1/src/__init__.py --- notify-python-0.1.1/src/__init__.py.BAD 2010-08-31 09:04:45.353844005 -0400 +++ notify-python-0.1.1/src/__init__.py 2010-08-31 09:04:49.281844300 -0400 @@ -1 +1,21 @@ +""" +Fedora's libnotify.so is not linked against GTK2 or GTK3. The idea +was to support being linked against different parallel-installable +GTK stacks. + +Unfortunately, python needs to jump through some special hoops in order +to share symbols with extension modules, specifically, pygtk, which does +link against GTK2. + +Without using sys.setdlopenflags(sys.getdlopenflags() | ctypes.RTLD_GLOBAL), +the result is: +libnotify-WARNING **: Missing symbol 'gdk_screen_make_display_name' + +Thanks to David Malcolm for figuring out the workaround. +""" +import ctypes +import sys +sys.setdlopenflags(sys.getdlopenflags() | ctypes.RTLD_GLOBAL) +import gtk + from _pynotify import * Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org