From 7cb0732b41c368076bb01dd7f21ef34cf394323c Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 2 Nov 2010 11:57:48 -0400 Subject: [PATCH] Prepare for libnotify 0.7.0 --- ...-ability-to-perform-actions-after-a-period-of-idl.patch | 4 ++-- gnome-session.spec | 7 +++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/0001-Add-ability-to-perform-actions-after-a-period-of-idl.patch b/0001-Add-ability-to-perform-actions-after-a-period-of-idl.patch index ef2dbba..79e66a2 100644 --- a/0001-Add-ability-to-perform-actions-after-a-period-of-idl.patch +++ b/0001-Add-ability-to-perform-actions-after-a-period-of-idl.patch @@ -5,7 +5,7 @@ diff -up gnome-session-2.31.6/configure.ac.max-idle gnome-session-2.31.6/configu GLIB_REQUIRED=2.16.0 DBUS_GLIB_REQUIRED=0.76 UPOWER_REQUIRED=0.9.0 -+LIBNOTIFY_REQUIRED=0.4.3 ++LIBNOTIFY_REQUIRED=0.7.0 case "$with_gtk" in 2.0) GTK_API_VERSION=2.0 @@ -336,7 +336,7 @@ diff -up gnome-session-2.31.6/gnome-session/gsm-manager.c.max-idle gnome-session + NULL); + } else { + manager->priv->max_idle_notification -+ = notify_notification_new (summary, body, NULL, NULL); ++ = notify_notification_new (summary, body, NULL); + notify_notification_set_timeout (manager->priv->max_idle_notification, + NOTIFY_EXPIRES_NEVER); + diff --git a/gnome-session.spec b/gnome-session.spec index 3fabbb0..22b953d 100644 --- a/gnome-session.spec +++ b/gnome-session.spec @@ -5,7 +5,7 @@ Summary: GNOME session manager Name: gnome-session Version: 2.91.0 -Release: 4%{?dist} +Release: 5%{?dist} URL: http://www.gnome.org #VCS: git:git://git.gnome.org/gnome-session Source0: http://download.gnome.org/sources/gnome-session/2.91/%{name}-%{version}.tar.bz2 @@ -55,7 +55,7 @@ BuildRequires: upower-devel BuildRequires: gnome-common # for patch3 -BuildRequires: libnotify-devel +BuildRequires: libnotify-devel >= 0.7.0 Requires(pre): GConf2 Requires(post): GConf2 @@ -172,6 +172,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %changelog +* Tue Nov 2 2010 Matthias Clasen - 2.91.0-5 +- Prepare for libnotify 0.7.0 + * Mon Nov 1 2010 Matthias Clasen - 2.91.0-4 - Rebuild against newer gtk3