diff options
| author | Andreas Müller <schnitzeltony@googlemail.com> | 2015-08-30 12:33:59 +0200 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-09-08 16:18:35 +0200 |
| commit | 13bc1b4b0fcf3a755df2041e2e8ce09ef6ca3fe1 (patch) | |
| tree | 4ac79ff8a8bf6d0d2102598dec12732350c25b35 | |
| parent | a0b93d8c18ccc9ac30e55431bbdc8e860bb428b4 (diff) | |
| download | meta-openembedded-13bc1b4b0fcf3a755df2041e2e8ce09ef6ca3fe1.tar.gz | |
gnome-disk-utility: fix build for libnotify 0.7.x
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
| -rw-r--r-- | meta-gnome/recipes-gnome/gnome-disk-utility/gnome-disk-utility/0002-Require-libnotify-0.6.1.patch | 49 | ||||
| -rw-r--r-- | meta-gnome/recipes-gnome/gnome-disk-utility/gnome-disk-utility_2.32.0.bb | 1 |
2 files changed, 50 insertions, 0 deletions
diff --git a/meta-gnome/recipes-gnome/gnome-disk-utility/gnome-disk-utility/0002-Require-libnotify-0.6.1.patch b/meta-gnome/recipes-gnome/gnome-disk-utility/gnome-disk-utility/0002-Require-libnotify-0.6.1.patch new file mode 100644 index 0000000000..0bc9707c26 --- /dev/null +++ b/meta-gnome/recipes-gnome/gnome-disk-utility/gnome-disk-utility/0002-Require-libnotify-0.6.1.patch | |||
| @@ -0,0 +1,49 @@ | |||
| 1 | From f8dea8dd411cba10a54ec083c3d5c9d641ec36c0 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: William Jon McCann <jmccann@redhat.com> | ||
| 3 | Date: Tue, 12 Oct 2010 00:12:49 -0400 | ||
| 4 | Subject: [PATCH] Require libnotify 0.6.1 | ||
| 5 | |||
| 6 | https://bugzilla.gnome.org/show_bug.cgi?id=631940 | ||
| 7 | |||
| 8 | Upstream-Status: Backport [1] | ||
| 9 | |||
| 10 | [1] https://git.gnome.org/browse/gnome-disk-utility/commit/?id=f8dea8dd411cba10a54ec083c3d5c9d641ec36c0 | ||
| 11 | |||
| 12 | Signed-off-by: David Zeuthen <davidz@redhat.com> | ||
| 13 | --- | ||
| 14 | configure.ac | 2 +- | ||
| 15 | src/notification/notification-main.c | 5 +---- | ||
| 16 | 2 files changed, 2 insertions(+), 5 deletions(-) | ||
| 17 | |||
| 18 | diff --git a/configure.ac b/configure.ac | ||
| 19 | index c61212e..3790fcf 100644 | ||
| 20 | --- a/configure.ac | ||
| 21 | +++ b/configure.ac | ||
| 22 | @@ -128,7 +128,7 @@ DBUS_GLIB_REQUIRED=0.74 | ||
| 23 | GNOME_KEYRING_REQUIRED=2.22 | ||
| 24 | GTK2_REQUIRED=2.20.0 | ||
| 25 | UNIQUE_REQUIRED=1.0 | ||
| 26 | -LIBNOTIFY_REQUIRED=0.3.0 | ||
| 27 | +LIBNOTIFY_REQUIRED=0.6.1 | ||
| 28 | NAUTILUS_REQUIRED=2.24.0 | ||
| 29 | AVAHI_UI_REQUIRED=0.6.25 | ||
| 30 | |||
| 31 | diff --git a/src/notification/notification-main.c b/src/notification/notification-main.c | ||
| 32 | index 18e9672..b6a713f 100644 | ||
| 33 | --- a/src/notification/notification-main.c | ||
| 34 | +++ b/src/notification/notification-main.c | ||
| 35 | @@ -535,10 +535,7 @@ update_status_icon (NotificationData *data) | ||
| 36 | _("A hard disk may be failing"), | ||
| 37 | /* Translators: This is used as the text of the notification*/ | ||
| 38 | _("One or more hard disks report health problems. Click the icon to get more information."), | ||
| 39 | - "gtk-dialog-warning", | ||
| 40 | - NULL); | ||
| 41 | - notify_notification_attach_to_status_icon (data->ata_smart_notification, | ||
| 42 | - data->status_icon); | ||
| 43 | + "gtk-dialog-warning"); | ||
| 44 | notify_notification_set_urgency (data->ata_smart_notification, NOTIFY_URGENCY_CRITICAL); | ||
| 45 | notify_notification_set_timeout (data->ata_smart_notification, NOTIFY_EXPIRES_NEVER); | ||
| 46 | show_notification (data); | ||
| 47 | -- | ||
| 48 | 2.1.0 | ||
| 49 | |||
diff --git a/meta-gnome/recipes-gnome/gnome-disk-utility/gnome-disk-utility_2.32.0.bb b/meta-gnome/recipes-gnome/gnome-disk-utility/gnome-disk-utility_2.32.0.bb index 4f95066ec5..2f427e7ef1 100644 --- a/meta-gnome/recipes-gnome/gnome-disk-utility/gnome-disk-utility_2.32.0.bb +++ b/meta-gnome/recipes-gnome/gnome-disk-utility/gnome-disk-utility_2.32.0.bb | |||
| @@ -17,6 +17,7 @@ SRC_URI += "\ | |||
| 17 | file://fix-dbus-interfaces.patch \ | 17 | file://fix-dbus-interfaces.patch \ |
| 18 | file://sysrooted-pkg-config.patch \ | 18 | file://sysrooted-pkg-config.patch \ |
| 19 | file://0001-Add-support-for-DeviceAutomountHint.patch \ | 19 | file://0001-Add-support-for-DeviceAutomountHint.patch \ |
| 20 | file://0002-Require-libnotify-0.6.1.patch \ | ||
| 20 | " | 21 | " |
| 21 | 22 | ||
| 22 | EXTRA_OECONF += "--disable-scrollkeeper" | 23 | EXTRA_OECONF += "--disable-scrollkeeper" |
