aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-power-manager/gnome-power-manager-2.32.0-libnotify-0.7.patch
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2019-06-08 14:59:46 +0200
committerLeo <thinkabit.ukim@gmail.com>2019-06-08 13:06:07 -0300
commit3263beaa01b0b1b76ef413606c95d3fe034127c4 (patch)
treef95362181cc44653f3f8e54a3ad97c008cc8a890 /community/gnome-power-manager/gnome-power-manager-2.32.0-libnotify-0.7.patch
parent747794a5a321f899e181cb398ab320f86a139c45 (diff)
downloadaports-3263beaa01b0b1b76ef413606c95d3fe034127c4.tar.bz2
aports-3263beaa01b0b1b76ef413606c95d3fe034127c4.tar.xz
community/gnome-power-manager: upgrade to 3.32.0
* Modernize * Adopt maintainership * Remove stale patches * Fix URL&License * Remove unneccesary install scritps
Diffstat (limited to 'community/gnome-power-manager/gnome-power-manager-2.32.0-libnotify-0.7.patch')
-rw-r--r--community/gnome-power-manager/gnome-power-manager-2.32.0-libnotify-0.7.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/community/gnome-power-manager/gnome-power-manager-2.32.0-libnotify-0.7.patch b/community/gnome-power-manager/gnome-power-manager-2.32.0-libnotify-0.7.patch
deleted file mode 100644
index 022d2c5fe5..0000000000
--- a/community/gnome-power-manager/gnome-power-manager-2.32.0-libnotify-0.7.patch
+++ /dev/null
@@ -1,30 +0,0 @@
---- ./src/gpm-manager.c
-+++ ./src/gpm-manager.c
-@@ -43,6 +43,10 @@
- #include <libupower-glib/upower.h>
- #include <libnotify/notify.h>
-
-+#ifndef NOTIFY_CHECK_VERSION
-+#define NOTIFY_CHECK_VERSION(x,y,z) 0
-+#endif
-+
- #include "egg-debug.h"
- #include "egg-console-kit.h"
-
-@@ -480,12 +484,16 @@
- /* close any existing notification of this class */
- gpm_manager_notify_close (manager, *notification_class);
-
-+#if NOTIFY_CHECK_VERSION (0, 7, 0)
-+ notification = notify_notification_new (title, message, icon);
-+#else
- /* if the status icon is hidden, don't point at it */
- if (manager->priv->status_icon != NULL &&
- gtk_status_icon_is_embedded (manager->priv->status_icon))
- notification = notify_notification_new_with_status_icon (title, message, icon, manager->priv->status_icon);
- else
- notification = notify_notification_new (title, message, icon, NULL);
-+#endif
- notify_notification_set_timeout (notification, timeout);
- notify_notification_set_urgency (notification, urgency);
- g_signal_connect (notification, "closed", G_CALLBACK (gpm_manager_notification_closed_cb), notification_class);