1 |
commit: 204abe187d141e4f093b17c2482ed725726464c1 |
2 |
Author: Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Dec 18 18:53:39 2016 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 22 15:56:09 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=204abe18 |
7 |
|
8 |
mate-extra/mate-power-manager: remove unused patch |
9 |
|
10 |
.../files/mate-power-manager-1.6-libsecret.patch | 144 --------------------- |
11 |
1 file changed, 144 deletions(-) |
12 |
|
13 |
diff --git a/mate-extra/mate-power-manager/files/mate-power-manager-1.6-libsecret.patch b/mate-extra/mate-power-manager/files/mate-power-manager-1.6-libsecret.patch |
14 |
deleted file mode 100644 |
15 |
index b36ce4e..00000000 |
16 |
--- a/mate-extra/mate-power-manager/files/mate-power-manager-1.6-libsecret.patch |
17 |
+++ /dev/null |
18 |
@@ -1,144 +0,0 @@ |
19 |
-diff --git a/README b/README |
20 |
-index 77e1213..3f6a122 100644 |
21 |
---- a/README |
22 |
-+++ b/README |
23 |
-@@ -15,7 +15,7 @@ To build, MATE Power Manager requires |
24 |
- |
25 |
- - Glib (2.13.0 or later) |
26 |
- - Gtk2+ (2.11.0 or later) |
27 |
-- - MATE Keyring (1.1.0 or later) |
28 |
-+ - GNOME Keyring (3.0.0 or later) |
29 |
- - DBus (0.70 or later) |
30 |
- - libnotify (0.7.0 or later) |
31 |
- - Cairo (1.0.0 or later) |
32 |
-diff --git a/configure.ac b/configure.ac |
33 |
-index 89309ff..912c362 100644 |
34 |
---- a/configure.ac |
35 |
-+++ b/configure.ac |
36 |
-@@ -102,7 +102,7 @@ GLIB_REQUIRED=2.13.0 |
37 |
- GIO_REQUIRED=2.25.0 |
38 |
- GTK_REQUIRED=2.17.7 |
39 |
- GDK_REQUIRED=2.11.0 |
40 |
--MATE_KEYRING_REQUIRED=1.1.0 |
41 |
-+GNOME_KEYRING_REQUIRED=3.0.0 |
42 |
- DBUS_REQUIRED=1.0 |
43 |
- DBUS_GLIB_REQUIRED=0.70 |
44 |
- LIBNOTIFY_REQUIRED=0.7.0 |
45 |
-@@ -249,18 +249,18 @@ fi |
46 |
- AM_CONDITIONAL([HAVE_TESTS], [test $have_tests = yes]) |
47 |
- |
48 |
- dnl --------------------------------------------------------------------------- |
49 |
--dnl - Build mate-keyring support |
50 |
-+dnl - Build gnome-keyring support |
51 |
- dnl --------------------------------------------------------------------------- |
52 |
- AC_ARG_WITH(keyring, |
53 |
- [AS_HELP_STRING([--without-keyring], |
54 |
-- [Disable the use of mate-keyring])], |
55 |
-+ [Disable the use of gnome-keyring])], |
56 |
- [], |
57 |
- [with_keyring=yes]) |
58 |
- |
59 |
- AM_CONDITIONAL([WITH_KEYRING],[test "$with_keyring" = "yes"]) |
60 |
- |
61 |
- if test "$with_keyring" = "yes"; then |
62 |
-- PKG_CHECK_MODULES(KEYRING, mate-keyring-1 >= $MATE_KEYRING_REQUIRED) |
63 |
-+ PKG_CHECK_MODULES(KEYRING, gnome-keyring-1 >= $GNOME_KEYRING_REQUIRED) |
64 |
- AC_DEFINE([WITH_KEYRING],[1],[Define if KEYRING support is enabled]) |
65 |
- fi |
66 |
- |
67 |
-@@ -393,7 +393,7 @@ echo " |
68 |
- datadir: ${datadir} |
69 |
- compiler: ${CC} |
70 |
- cflags: ${CFLAGS} |
71 |
-- mate-keyring support: ${with_keyring} |
72 |
-+ gnome-keyring support: ${with_keyring} |
73 |
- Building extra applets: ${enable_applets} |
74 |
- Self test support: ${have_tests} |
75 |
- Use libunique: ${enable_libunique} |
76 |
-diff --git a/data/org.mate.power-manager.gschema.xml.in b/data/org.mate.power-manager.gschema.xml.in |
77 |
-index dcd2cd4..adecce0 100644 |
78 |
---- a/data/org.mate.power-manager.gschema.xml.in |
79 |
-+++ b/data/org.mate.power-manager.gschema.xml.in |
80 |
-@@ -183,13 +183,13 @@ |
81 |
- </key> |
82 |
- <key name="lock-keyring-suspend" type="b"> |
83 |
- <default>false</default> |
84 |
-- <_summary>Lock MATE keyring on sleep</_summary> |
85 |
-- <_description>Whether the MATE keyring is locked before the computer enters suspend. This means the keyring will have to be unlocked on resume.</_description> |
86 |
-+ <_summary>Lock GNOME keyring on sleep</_summary> |
87 |
-+ <_description>Whether the GNOME keyring is locked before the computer enters suspend. This means the keyring will have to be unlocked on resume.</_description> |
88 |
- </key> |
89 |
- <key name="lock-keyring-hibernate" type="b"> |
90 |
- <default>true</default> |
91 |
-- <_summary>Lock MATE keyring on sleep</_summary> |
92 |
-- <_description>Whether the MATE keyring is locked before the computer enters hibernate. This means the keyring will have to be unlocked on resume.</_description> |
93 |
-+ <_summary>Lock GNOME keyring on sleep</_summary> |
94 |
-+ <_description>Whether the GNOME keyring is locked before the computer enters hibernate. This means the keyring will have to be unlocked on resume.</_description> |
95 |
- </key> |
96 |
- <key name="spindown-enable-ac" type="b"> |
97 |
- <default>false</default> |
98 |
-diff --git a/src/gpm-control.c b/src/gpm-control.c |
99 |
-index cb84814..8253336 100644 |
100 |
---- a/src/gpm-control.c |
101 |
-+++ b/src/gpm-control.c |
102 |
-@@ -42,7 +42,7 @@ |
103 |
- #include <libupower-glib/upower.h> |
104 |
- |
105 |
- #ifdef WITH_KEYRING |
106 |
--#include <mate-keyring.h> |
107 |
-+#include <gnome-keyring.h> |
108 |
- #endif /* WITH_KEYRING */ |
109 |
- |
110 |
- #include "egg-debug.h" |
111 |
-@@ -212,8 +212,8 @@ enum { |
112 |
- GpmScreensaver *screensaver; |
113 |
- guint32 throttle_cookie = 0; |
114 |
- #ifdef WITH_KEYRING |
115 |
-- gboolean lock_mate_keyring; |
116 |
-- MateKeyringResult keyres; |
117 |
-+ gboolean lock_gnome_keyring; |
118 |
-+ GnomeKeyringResult keyres; |
119 |
- #endif /* WITH_KEYRING */ |
120 |
- |
121 |
- GError *dbus_error = NULL; |
122 |
-@@ -234,10 +234,10 @@ enum { |
123 |
- |
124 |
- #ifdef WITH_KEYRING |
125 |
- /* we should perhaps lock keyrings when sleeping #375681 */ |
126 |
-- lock_mate_keyring = g_settings_get_boolean (control->priv->settings, GPM_SETTINGS_LOCK_KEYRING_SUSPEND); |
127 |
-- if (lock_mate_keyring) { |
128 |
-- keyres = mate_keyring_lock_all_sync (); |
129 |
-- if (keyres != MATE_KEYRING_RESULT_OK) |
130 |
-+ lock_gnome_keyring = g_settings_get_boolean (control->priv->settings, GPM_SETTINGS_LOCK_KEYRING_SUSPEND); |
131 |
-+ if (lock_gnome_keyring) { |
132 |
-+ keyres = gnome_keyring_lock_all_sync (); |
133 |
-+ if (keyres != GNOME_KEYRING_RESULT_OK) |
134 |
- egg_warning ("could not lock keyring"); |
135 |
- } |
136 |
- #endif /* WITH_KEYRING */ |
137 |
-@@ -323,8 +323,8 @@ enum { |
138 |
- GpmScreensaver *screensaver; |
139 |
- guint32 throttle_cookie = 0; |
140 |
- #ifdef WITH_KEYRING |
141 |
-- gboolean lock_mate_keyring; |
142 |
-- MateKeyringResult keyres; |
143 |
-+ gboolean lock_gnome_keyring; |
144 |
-+ GnomeKeyringResult keyres; |
145 |
- #endif /* WITH_KEYRING */ |
146 |
- |
147 |
- GError *dbus_error = NULL; |
148 |
-@@ -345,10 +345,10 @@ enum { |
149 |
- |
150 |
- #ifdef WITH_KEYRING |
151 |
- /* we should perhaps lock keyrings when sleeping #375681 */ |
152 |
-- lock_mate_keyring = g_settings_get_boolean (control->priv->settings, GPM_SETTINGS_LOCK_KEYRING_HIBERNATE); |
153 |
-- if (lock_mate_keyring) { |
154 |
-- keyres = mate_keyring_lock_all_sync (); |
155 |
-- if (keyres != MATE_KEYRING_RESULT_OK) { |
156 |
-+ lock_gnome_keyring = g_settings_get_boolean (control->priv->settings, GPM_SETTINGS_LOCK_KEYRING_HIBERNATE); |
157 |
-+ if (lock_gnome_keyring) { |
158 |
-+ keyres = gnome_keyring_lock_all_sync (); |
159 |
-+ if (keyres != GNOME_KEYRING_RESULT_OK) { |
160 |
- egg_warning ("could not lock keyring"); |
161 |
- } |
162 |
- } |