commit notify-sharp for openSUSE:Factory
Hello community,
here is the log from the commit of package notify-sharp for openSUSE:Factory checked in at 2012-01-20 20:24:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/notify-sharp (Old)
and /work/SRC/openSUSE:Factory/.notify-sharp.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "notify-sharp", Maintainer is "gnome-maintainers@suse.de"
Changes:
--------
--- /work/SRC/openSUSE:Factory/notify-sharp/notify-sharp.changes 2011-09-23 02:14:45.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.notify-sharp.new/notify-sharp.changes 2012-01-20 20:25:23.000000000 +0100
@@ -1,0 +2,27 @@
+Wed Jan 18 10:09:18 UTC 2012 - vuntz@opensuse.org
+
+- Update the tarball to revision 3032, which seems to be what all
+ other distributions are using; this is needed by some apps like
+ smuxi. Note that it's still version 0.4.0 somehow, since there
+ was no official release.
+- Add notify-sharp-fix-app-name-derivation.patch: fixes an issue
+ with notification naming with banshee. Taken from Debian.
+- Replace notify-sharp-use-dbus-sharp.patch with patch from
+ https://github.com/hyperair/notify-sharp.
+- Add autoconf and automake BuildRequires, needed for the
+ autoreconf call.
+
+-------------------------------------------------------------------
+Thu Jul 7 05:26:12 UTC 2011 - nmarques@opensuse.org
+
+- Add notify-sharp-use-dbus-sharp.patch - uses dbus-sharp instead
+ of deprecated ndesk-dbus.
+- Spec changes:
+ + Add devel sub-package.
+ + Add pkgconfig() calls for >= 1130.
+ + Package is noarch, installs on %{_libexecdir} and .pc file
+ goes to %{_datadir} (compliant with other mono packages).
+ + Removed %clean section (not required) anymore.
+ + Minor cleanups.
+
+-------------------------------------------------------------------
Old:
----
notify-sharp-0.4.0.tar.gz
New:
----
notify-sharp-0.4.0.r3032.tar.gz
notify-sharp-fix-app-name-derivation.patch
notify-sharp-use-dbus-sharp.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ notify-sharp.spec ++++++
--- /var/tmp/diff_new_pack.9soZFz/_old 2012-01-20 20:25:32.000000000 +0100
+++ /var/tmp/diff_new_pack.9soZFz/_new 2012-01-20 20:25:32.000000000 +0100
@@ -15,19 +15,44 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
-# norootforbuild
-
+# This package installs in /usr/lib and .pc file goes to /usr/share/pkgconfig
+# Define _libexecdir for <= 1110
+%if 0%{?suse_version} <= 1110
+%define _libexecdir %{_prefix}/lib
+%endif
Name: notify-sharp
Url: http://trac.galago-project.org/wiki/DesktopNotifications
-Version: 0.4.0
-Release: 209
-License: X11/MIT
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildRequires: gtk-sharp2 gtk2-devel mono-devel monodoc ndesk-dbus ndesk-dbus-glib ndesk-dbus-glib-devel
-Source: %{name}-%{version}.tar.gz
+Version: 0.4.0.r3032
+%define _version 0.4.0
+Release: 0
+License: MIT
Group: Development/Libraries/Other
-Summary: notify-sharp is a C# client implementation for Desktop Notifications
+Summary: A C# client implementation for Desktop Notifications
+Source: %{name}-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM notify-sharp-use-dbus-sharp nmarques@opensuse.org -- replaces the usage of deprecated NDesk.DBus by dbus-sharp, see https://github.com/hyperair/notify-sharp
+Patch0: %{name}-use-dbus-sharp.patch
+# PATCH-FIX-UPSTREAM notify-sharp-fix-app-name-derivation.patch vuntz@opensuse.org -- Fix finding the app name, taken from Debian
+Patch1: notify-sharp-fix-app-name-derivation.patch
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildArch: noarch
+BuildRequires: autoconf
+BuildRequires: automake
+%if 0%{?suse_version} >= 1130
+BuildRequires: pkgconfig(dbus-sharp-1.0)
+BuildRequires: pkgconfig(dbus-sharp-glib-1.0)
+BuildRequires: pkgconfig(gtk+-2.0)
+BuildRequires: pkgconfig(gtk-sharp-2.0)
+BuildRequires: pkgconfig(mono)
+BuildRequires: pkgconfig(monodoc)
+%else
+BuildRequires: dbus-sharp-devel
+BuildRequires: dbus-sharp-glib-devel
+BuildRequires: gtk2-devel
+BuildRequires: gtk-sharp2
+BuildRequires: mono-devel
+BuildRequires: monodoc
+%endif
Recommends: notification-daemon
%description
@@ -40,36 +65,50 @@
that they must close. Passive popups can automatically disappear after
a short period of time.
+%package devel
+Summary: A C# client implementation for Desktop Notifications
+Group: Development/Libraries/Other
+Requires: %{name} = %{version}
+%description devel
+notify-sharp is a C# client implementation for Desktop Notifications,
+i.e. notification-daemon. It is inspired by the libnotify API.
-Authors:
---------
- Sebastian Dr�ge
From 6f2d4c1188d6068735c95836fdd4cdad43b96642 Mon Sep 17 00:00:00 2001 From: Rico Tzschichholz
Date: Mon, 14 Nov 2011 07:32:50 +0800 Subject: [PATCH] Port to DBus# bindings
--- configure.ac | 10 +++++----- src/Global.cs | 2 +- src/Makefile.am | 2 +- src/Notification.cs | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/configure.ac b/configure.ac index bd4dce5..e259168 100644 --- a/configure.ac +++ b/configure.ac @@ -66,11 +66,11 @@ GTK_SHARP_REQ_VERSION=2.10.1 PKG_CHECK_MODULES(GTK_SHARP, gtk-sharp-2.0 >= $GTK_SHARP_REQ_VERSION) AC_SUBST(GTK_SHARP_LIBS) -NDESK_DBUS_REQ_VERSION=0.4 -NDESK_DBUS_GLIB_REQ_VERSION=0.3 -PKG_CHECK_MODULES(NDESK_DBUS, ndesk-dbus-1.0 >= $NDESK_DBUS_REQ_VERSION \ - ndesk-dbus-glib-1.0 >= $NDESK_DBUS_GLIB_REQ_VERSION) -AC_SUBST(NDESK_DBUS_LIBS) +DBUS_SHARP_REQ_VERSION=0.7 +DBUS_SHARP_GLIB_REQ_VERSION=0.5 +PKG_CHECK_MODULES(DBUS_SHARP, dbus-sharp-1.0 >= $DBUS_SHARP_REQ_VERSION \ + dbus-sharp-glib-1.0 >= $DBUS_SHARP_GLIB_REQ_VERSION) +AC_SUBST(DBUS_SHARP_LIBS) required_assemblies="Mono.Posix" diff --git a/src/Global.cs b/src/Global.cs index eedefbf..a0f80ed 100644 --- a/src/Global.cs +++ b/src/Global.cs @@ -24,7 +24,7 @@ using System.Reflection; using System.Collections.Generic; -using NDesk.DBus; +using DBus; using org.freedesktop; using org.freedesktop.DBus; diff --git a/src/Makefile.am b/src/Makefile.am index 3b39c23..50bbb39 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -7,7 +7,7 @@ CSFLAGS = \ LIBFLAGS = \ -r:Mono.Posix \ $(GTK_SHARP_LIBS) \ - $(NDESK_DBUS_LIBS) + $(DBUS_SHARP_LIBS) CSFILES = \ $(srcdir)/Global.cs \ diff --git a/src/Notification.cs b/src/Notification.cs index f532bf8..8e9392f 100644 --- a/src/Notification.cs +++ b/src/Notification.cs @@ -28,7 +28,7 @@ using Gdk; using Gtk; -using NDesk.DBus; +using DBus; using org.freedesktop; using org.freedesktop.DBus; -- 1.7.5.4 -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de