Prepare for libnotify 0.7.0
This commit is contained in:
parent
02e13081c4
commit
7cb0732b41
@ -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
|
GLIB_REQUIRED=2.16.0
|
||||||
DBUS_GLIB_REQUIRED=0.76
|
DBUS_GLIB_REQUIRED=0.76
|
||||||
UPOWER_REQUIRED=0.9.0
|
UPOWER_REQUIRED=0.9.0
|
||||||
+LIBNOTIFY_REQUIRED=0.4.3
|
+LIBNOTIFY_REQUIRED=0.7.0
|
||||||
|
|
||||||
case "$with_gtk" in
|
case "$with_gtk" in
|
||||||
2.0) GTK_API_VERSION=2.0
|
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);
|
+ NULL);
|
||||||
+ } else {
|
+ } else {
|
||||||
+ manager->priv->max_idle_notification
|
+ 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_notification_set_timeout (manager->priv->max_idle_notification,
|
||||||
+ NOTIFY_EXPIRES_NEVER);
|
+ NOTIFY_EXPIRES_NEVER);
|
||||||
+
|
+
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
Summary: GNOME session manager
|
Summary: GNOME session manager
|
||||||
Name: gnome-session
|
Name: gnome-session
|
||||||
Version: 2.91.0
|
Version: 2.91.0
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
URL: http://www.gnome.org
|
URL: http://www.gnome.org
|
||||||
#VCS: git:git://git.gnome.org/gnome-session
|
#VCS: git:git://git.gnome.org/gnome-session
|
||||||
Source0: http://download.gnome.org/sources/gnome-session/2.91/%{name}-%{version}.tar.bz2
|
Source0: http://download.gnome.org/sources/gnome-session/2.91/%{name}-%{version}.tar.bz2
|
||||||
@ -55,7 +55,7 @@ BuildRequires: upower-devel
|
|||||||
BuildRequires: gnome-common
|
BuildRequires: gnome-common
|
||||||
|
|
||||||
# for patch3
|
# for patch3
|
||||||
BuildRequires: libnotify-devel
|
BuildRequires: libnotify-devel >= 0.7.0
|
||||||
|
|
||||||
Requires(pre): GConf2
|
Requires(pre): GConf2
|
||||||
Requires(post): GConf2
|
Requires(post): GConf2
|
||||||
@ -172,6 +172,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Nov 2 2010 Matthias Clasen <mclasen@redhat.com> - 2.91.0-5
|
||||||
|
- Prepare for libnotify 0.7.0
|
||||||
|
|
||||||
* Mon Nov 1 2010 Matthias Clasen <mclasen@redhat.com> - 2.91.0-4
|
* Mon Nov 1 2010 Matthias Clasen <mclasen@redhat.com> - 2.91.0-4
|
||||||
- Rebuild against newer gtk3
|
- Rebuild against newer gtk3
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user