public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: mate-extra/mate-power-manager/files/
@ 2016-12-22 15:56 Michael Palimaka
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Palimaka @ 2016-12-22 15:56 UTC (permalink / raw
  To: gentoo-commits

commit:     204abe187d141e4f093b17c2482ed725726464c1
Author:     Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Sun Dec 18 18:53:39 2016 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Thu Dec 22 15:56:09 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=204abe18

mate-extra/mate-power-manager: remove unused patch

 .../files/mate-power-manager-1.6-libsecret.patch   | 144 ---------------------
 1 file changed, 144 deletions(-)

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
deleted file mode 100644
index b36ce4e..00000000
--- a/mate-extra/mate-power-manager/files/mate-power-manager-1.6-libsecret.patch
+++ /dev/null
@@ -1,144 +0,0 @@
-diff --git a/README b/README
-index 77e1213..3f6a122 100644
---- a/README
-+++ b/README
-@@ -15,7 +15,7 @@ To build, MATE Power Manager requires
- 
- 	- Glib (2.13.0 or later)
- 	- Gtk2+ (2.11.0 or later)
--	- MATE Keyring (1.1.0 or later)
-+	- GNOME Keyring (3.0.0 or later)
- 	- DBus (0.70 or later)
- 	- libnotify (0.7.0 or later)
- 	- Cairo (1.0.0 or later)
-diff --git a/configure.ac b/configure.ac
-index 89309ff..912c362 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -102,7 +102,7 @@ GLIB_REQUIRED=2.13.0
- GIO_REQUIRED=2.25.0
- GTK_REQUIRED=2.17.7
- GDK_REQUIRED=2.11.0
--MATE_KEYRING_REQUIRED=1.1.0
-+GNOME_KEYRING_REQUIRED=3.0.0
- DBUS_REQUIRED=1.0
- DBUS_GLIB_REQUIRED=0.70
- LIBNOTIFY_REQUIRED=0.7.0
-@@ -249,18 +249,18 @@ fi
- AM_CONDITIONAL([HAVE_TESTS], [test $have_tests = yes])
- 
- dnl ---------------------------------------------------------------------------
--dnl - Build mate-keyring support
-+dnl - Build gnome-keyring support
- dnl ---------------------------------------------------------------------------
- AC_ARG_WITH(keyring,
-         [AS_HELP_STRING([--without-keyring],
--                        [Disable the use of mate-keyring])],
-+                        [Disable the use of gnome-keyring])],
-         [],
-         [with_keyring=yes])
- 
- AM_CONDITIONAL([WITH_KEYRING],[test "$with_keyring" = "yes"])
- 
- if test "$with_keyring" = "yes"; then
--        PKG_CHECK_MODULES(KEYRING, mate-keyring-1 >= $MATE_KEYRING_REQUIRED)
-+        PKG_CHECK_MODULES(KEYRING, gnome-keyring-1 >= $GNOME_KEYRING_REQUIRED)
-         AC_DEFINE([WITH_KEYRING],[1],[Define if KEYRING support is enabled])
- fi
- 
-@@ -393,7 +393,7 @@ echo "
-         datadir:                   ${datadir}
-         compiler:                  ${CC}
-         cflags:                    ${CFLAGS}
--        mate-keyring support:      ${with_keyring}
-+        gnome-keyring support:     ${with_keyring}
-         Building extra applets:    ${enable_applets}
-         Self test support:         ${have_tests}
-         Use libunique:             ${enable_libunique}
-diff --git a/data/org.mate.power-manager.gschema.xml.in b/data/org.mate.power-manager.gschema.xml.in
-index dcd2cd4..adecce0 100644
---- a/data/org.mate.power-manager.gschema.xml.in
-+++ b/data/org.mate.power-manager.gschema.xml.in
-@@ -183,13 +183,13 @@
-     </key>
-     <key name="lock-keyring-suspend" type="b">
-       <default>false</default>
--      <_summary>Lock MATE keyring on sleep</_summary>
--      <_description>Whether the MATE keyring is locked before the computer enters suspend. This means the keyring will have to be unlocked on resume.</_description>
-+      <_summary>Lock GNOME keyring on sleep</_summary>
-+      <_description>Whether the GNOME keyring is locked before the computer enters suspend. This means the keyring will have to be unlocked on resume.</_description>
-     </key>
-     <key name="lock-keyring-hibernate" type="b">
-       <default>true</default>
--      <_summary>Lock MATE keyring on sleep</_summary>
--      <_description>Whether the MATE keyring is locked before the computer enters hibernate. This means the keyring will have to be unlocked on resume.</_description>
-+      <_summary>Lock GNOME keyring on sleep</_summary>
-+      <_description>Whether the GNOME keyring is locked before the computer enters hibernate. This means the keyring will have to be unlocked on resume.</_description>
-     </key>
-     <key name="spindown-enable-ac" type="b">
-       <default>false</default>
-diff --git a/src/gpm-control.c b/src/gpm-control.c
-index cb84814..8253336 100644
---- a/src/gpm-control.c
-+++ b/src/gpm-control.c
-@@ -42,7 +42,7 @@
- #include <libupower-glib/upower.h>
- 
- #ifdef WITH_KEYRING
--#include <mate-keyring.h>
-+#include <gnome-keyring.h>
- #endif /* WITH_KEYRING */
- 
- #include "egg-debug.h"
-@@ -212,8 +212,8 @@ enum {
- 	GpmScreensaver *screensaver;
- 	guint32 throttle_cookie = 0;
- #ifdef WITH_KEYRING
--	gboolean lock_mate_keyring;
--	MateKeyringResult keyres;
-+	gboolean lock_gnome_keyring;
-+	GnomeKeyringResult keyres;
- #endif /* WITH_KEYRING */
- 
- 	GError *dbus_error = NULL;
-@@ -234,10 +234,10 @@ enum {
- 
- #ifdef WITH_KEYRING
- 	/* we should perhaps lock keyrings when sleeping #375681 */
--	lock_mate_keyring = g_settings_get_boolean (control->priv->settings, GPM_SETTINGS_LOCK_KEYRING_SUSPEND);
--	if (lock_mate_keyring) {
--		keyres = mate_keyring_lock_all_sync ();
--		if (keyres != MATE_KEYRING_RESULT_OK)
-+	lock_gnome_keyring = g_settings_get_boolean (control->priv->settings, GPM_SETTINGS_LOCK_KEYRING_SUSPEND);
-+	if (lock_gnome_keyring) {
-+		keyres = gnome_keyring_lock_all_sync ();
-+		if (keyres != GNOME_KEYRING_RESULT_OK)
- 			egg_warning ("could not lock keyring");
- 	}
- #endif /* WITH_KEYRING */
-@@ -323,8 +323,8 @@ enum {
- 	GpmScreensaver *screensaver;
- 	guint32 throttle_cookie = 0;
- #ifdef WITH_KEYRING
--	gboolean lock_mate_keyring;
--	MateKeyringResult keyres;
-+	gboolean lock_gnome_keyring;
-+	GnomeKeyringResult keyres;
- #endif /* WITH_KEYRING */
- 
- 	GError *dbus_error = NULL;
-@@ -345,10 +345,10 @@ enum {
- 
- #ifdef WITH_KEYRING
- 	/* we should perhaps lock keyrings when sleeping #375681 */
--	lock_mate_keyring = g_settings_get_boolean (control->priv->settings, GPM_SETTINGS_LOCK_KEYRING_HIBERNATE);
--	if (lock_mate_keyring) {
--		keyres = mate_keyring_lock_all_sync ();
--		if (keyres != MATE_KEYRING_RESULT_OK) {
-+	lock_gnome_keyring = g_settings_get_boolean (control->priv->settings, GPM_SETTINGS_LOCK_KEYRING_HIBERNATE);
-+	if (lock_gnome_keyring) {
-+		keyres = gnome_keyring_lock_all_sync ();
-+		if (keyres != GNOME_KEYRING_RESULT_OK) {
- 			egg_warning ("could not lock keyring");
- 		}
- 	}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: mate-extra/mate-power-manager/files/
@ 2022-12-26 13:44 Conrad Kostecki
  0 siblings, 0 replies; 2+ messages in thread
From: Conrad Kostecki @ 2022-12-26 13:44 UTC (permalink / raw
  To: gentoo-commits

commit:     118fa3ee1f626ec44e5578793761cd67306f3e80
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Mon Dec 26 08:29:43 2022 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Mon Dec 26 13:41:41 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=118fa3ee

mate-extra/mate-power-manager: remove unused patch(es)

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 .../mate-power-manager-1.24.1-libsecret.patch      | 287 ---------------------
 ...e-power-manager-1.24.3-removing-backtrace.patch |  89 -------
 ...te-power-manager-1.24.3-removing-execinfo.patch |  38 ---
 3 files changed, 414 deletions(-)

diff --git a/mate-extra/mate-power-manager/files/mate-power-manager-1.24.1-libsecret.patch b/mate-extra/mate-power-manager/files/mate-power-manager-1.24.1-libsecret.patch
deleted file mode 100644
index 11a9f94b1008..000000000000
--- a/mate-extra/mate-power-manager/files/mate-power-manager-1.24.1-libsecret.patch
+++ /dev/null
@@ -1,287 +0,0 @@
-From b2d876a16de9214270f248d7c445542120ae7800 Mon Sep 17 00:00:00 2001
-From: NP-Hardass <np.hardass@gmail.com>
-Date: Mon, 3 Aug 2020 01:46:00 -0400
-Subject: [PATCH 1/5] Add autotools support for libsecret
-
----
- README          |  1 +
- configure.ac    | 22 ++++++++++++++++++++++
- src/Makefile.am |  3 +++
- 3 files changed, 26 insertions(+)
-
-diff --git a/README b/README
-index 118da697..32a8a5cc 100644
---- a/README
-+++ b/README
-@@ -15,6 +15,7 @@ To build, MATE Power Manager requires
- 
- 	- Glib (2.36.0 or later)
- 	- GTK+3 (3.14.0 or later)
-+	- libsecret (0.11 or later)
- 	- GNOME Keyring (3.0.0 or later)
- 	- DBus (0.70 or later)
- 	- libnotify (0.7.0 or later)
-diff --git a/configure.ac b/configure.ac
-index 1db39321..b4758dca 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -68,6 +68,7 @@ GLIB_REQUIRED=2.50.0
- GIO_REQUIRED=2.50.0
- GDK_REQUIRED=3.22.0
- GTK_REQUIRED=3.22.0
-+LIBSECRET_REQUIRED=0.11
- GNOME_KEYRING_REQUIRED=3.0.0
- DBUS_REQUIRED=1.0
- DBUS_GLIB_REQUIRED=0.70
-@@ -134,6 +135,22 @@ else
- fi
- AM_CONDITIONAL([HAVE_TESTS], [test $have_tests = yes])
- 
-+dnl ---------------------------------------------------------------------------
-+dnl - Build libsecret support
-+dnl ---------------------------------------------------------------------------
-+AC_ARG_WITH(libsecret,
-+        [AS_HELP_STRING([--with-libsecret],
-+                        [Enable the use of libsecret])],
-+        [],
-+        [with_libsecret=no])
-+
-+AM_CONDITIONAL([WITH_LIBSECRET],[test "$with_libsecret" = "yes"])
-+
-+if test "$with_libsecret" = "yes"; then
-+        PKG_CHECK_MODULES(LIBSECRET, libsecret-1 >= $LIBSECRET_REQUIRED)
-+        AC_DEFINE([WITH_LIBSECRET],[1],[Define if LIBSECRET support is enabled])
-+fi
-+
- dnl ---------------------------------------------------------------------------
- dnl - Build gnome-keyring support
- dnl ---------------------------------------------------------------------------
-@@ -150,6 +167,10 @@ if test "$with_keyring" = "yes"; then
-         AC_DEFINE([WITH_KEYRING],[1],[Define if KEYRING support is enabled])
- fi
- 
-+if test "$with_libsecret" = "yes" -a "$with_keyring" = "yes"; then
-+	AC_MSG_ERROR([Please select only 1, keyring or libsecret])
-+fi
-+
- dnl ---------------------------------------------------------------------------
- dnl - Build applets
- dnl ---------------------------------------------------------------------------
-@@ -222,6 +243,7 @@ echo "
-         compiler:                  ${CC}
-         cflags:                    ${CFLAGS}
-         cwarnings:                 ${WARN_CFLAGS}
-+        libsecret support:         ${with_libsecret}
-         gnome-keyring support:     ${with_keyring}
-         Building extra applets:    ${enable_applets}
-         Self test support:         ${have_tests}
-diff --git a/src/Makefile.am b/src/Makefile.am
-index 1a966e8f..47815c5f 100644
---- a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -14,6 +14,7 @@ AM_CPPFLAGS =						\
- 	$(GLIB_CFLAGS)					\
- 	$(DBUS_CFLAGS)					\
- 	$(CAIRO_CFLAGS)					\
-+	$(LIBSECRET_CFLAGS)				\
- 	$(KEYRING_CFLAGS)				\
- 	$(X11_CFLAGS)					\
- 	$(LIBNOTIFY_CFLAGS)				\
-@@ -197,6 +198,7 @@ mate_power_manager_LDADD =				\
- 	$(X11_LIBS)					\
- 	$(GSTREAMER_LIBS)				\
- 	$(CAIRO_LIBS)					\
-+	$(LIBSECRET_LIBS)					\
- 	$(KEYRING_LIBS)					\
- 	$(DBUS_LIBS)					\
- 	$(X11_LIBS)					\
-@@ -259,6 +261,7 @@ mate_power_self_test_LDADD =				\
- 	$(GLIB_LIBS)					\
- 	$(X11_LIBS)					\
- 	$(CAIRO_LIBS)					\
-+	$(LIBSECRET_LIBS)					\
- 	$(KEYRING_LIBS)					\
- 	$(GSTREAMER_LIBS)				\
- 	$(UPOWER_LIBS)					\
-
-From 7dbbf59fc5dc64cf512932993616a06903d5f22b Mon Sep 17 00:00:00 2001
-From: NP-Hardass <np.hardass@gmail.com>
-Date: Mon, 3 Aug 2020 01:49:47 -0400
-Subject: [PATCH 2/5] gpm-control.c: Add libsecret implementation to
- gpm_control_suspend()
-
----
- src/gpm-control.c | 39 +++++++++++++++++++++++++++++++++++++++
- 1 file changed, 39 insertions(+)
-
-diff --git a/src/gpm-control.c b/src/gpm-control.c
-index 4834a050..e64bfb12 100644
---- a/src/gpm-control.c
-+++ b/src/gpm-control.c
-@@ -39,6 +39,9 @@
- #include <gio/gio.h>
- #include <glib/gi18n.h>
- 
-+#ifdef WITH_LIBSECRET
-+#include <libsecret/secret.h>
-+#endif /* WITH_LIBSECRET */
- #ifdef WITH_KEYRING
- #include <gnome-keyring.h>
- #endif /* WITH_KEYRING */
-@@ -210,6 +213,13 @@ gpm_control_suspend (GpmControl *control, GError **error)
- 	EggConsoleKit *console;
- 	GpmScreensaver *screensaver;
- 	guint32 throttle_cookie = 0;
-+#ifdef WITH_LIBSECRET
-+	gboolean lock_libsecret;
-+  GCancellable *libsecret_cancellable = NULL;
-+  SecretService *secretservice_proxy = NULL;
-+	gint num_secrets_locked;
-+  GList *libsecret_collections = NULL;
-+#endif /* WITH_LIBSECRET */
- #ifdef WITH_KEYRING
- 	gboolean lock_gnome_keyring;
- 	GnomeKeyringResult keyres;
-@@ -233,6 +243,35 @@ gpm_control_suspend (GpmControl *control, GError **error)
- 		}
- 	}
- 
-+#ifdef WITH_LIBSECRET
-+	/* we should perhaps lock keyrings when sleeping #375681 */
-+	lock_libsecret = g_settings_get_boolean (control->priv->settings, GPM_SETTINGS_LOCK_KEYRING_SUSPEND);
-+	if (lock_libsecret) {
-+    libsecret_cancellable = g_cancellable_new();
-+    secretservice_proxy = secret_service_get_sync(SECRET_SERVICE_LOAD_COLLECTIONS,
-+                    libsecret_cancellable,
-+                    error);
-+    if (secretservice_proxy == NULL) {
-+      g_warning ("failed to connect to secret service");
-+    } else {
-+      libsecret_collections = secret_service_get_collections(secretservice_proxy);
-+      if ( libsecret_collections == NULL) {
-+        g_warning ("failed to get secret collections");
-+      } else {
-+        num_secrets_locked = secret_service_lock_sync(secretservice_proxy,
-+                          libsecret_collections,
-+                          libsecret_cancellable,
-+                          NULL,
-+                          error);
-+        if (num_secrets_locked <= 0)
-+          g_warning ("could not lock keyring");
-+        g_list_free(libsecret_collections);
-+      }
-+      g_object_unref(secretservice_proxy);
-+    }
-+    g_object_unref(libsecret_cancellable);
-+  }
-+#endif /* WITH_LIBSECRET */
- #ifdef WITH_KEYRING
- 	/* we should perhaps lock keyrings when sleeping #375681 */
- 	lock_gnome_keyring = g_settings_get_boolean (control->priv->settings, GPM_SETTINGS_LOCK_KEYRING_SUSPEND);
-
-From 74acfabab04f10e95dc91fdc633a893a4564a820 Mon Sep 17 00:00:00 2001
-From: NP-Hardass <np.hardass@gmail.com>
-Date: Mon, 3 Aug 2020 01:55:43 -0400
-Subject: [PATCH 3/5] gpm-control.c: Add libsecret implementation to
- gpm_control_hibernate()
-
----
- src/gpm-control.c | 36 ++++++++++++++++++++++++++++++++++++
- 1 file changed, 36 insertions(+)
-
-diff --git a/src/gpm-control.c b/src/gpm-control.c
-index e64bfb12..98bb6f4e 100644
---- a/src/gpm-control.c
-+++ b/src/gpm-control.c
-@@ -367,6 +367,13 @@ gpm_control_hibernate (GpmControl *control, GError **error)
- 	EggConsoleKit *console;
- 	GpmScreensaver *screensaver;
- 	guint32 throttle_cookie = 0;
-+#ifdef WITH_LIBSECRET
-+	gboolean lock_libsecret;
-+  GCancellable *libsecret_cancellable = NULL;
-+  SecretService *secretservice_proxy = NULL;
-+	gint num_secrets_locked;
-+  GList *libsecret_collections = NULL;
-+#endif /* WITH_LIBSECRET */
- #ifdef WITH_KEYRING
- 	gboolean lock_gnome_keyring;
- 	GnomeKeyringResult keyres;
-@@ -390,6 +397,35 @@ gpm_control_hibernate (GpmControl *control, GError **error)
- 		}
- 	}
- 
-+#ifdef WITH_LIBSECRET
-+	/* we should perhaps lock keyrings when sleeping #375681 */
-+	lock_libsecret = g_settings_get_boolean (control->priv->settings, GPM_SETTINGS_LOCK_KEYRING_SUSPEND);
-+	if (lock_libsecret) {
-+    libsecret_cancellable = g_cancellable_new();
-+    secretservice_proxy = secret_service_get_sync(SECRET_SERVICE_LOAD_COLLECTIONS,
-+                    libsecret_cancellable,
-+                    error);
-+    if (secretservice_proxy == NULL) {
-+      g_warning ("failed to connect to secret service");
-+    } else {
-+      libsecret_collections = secret_service_get_collections(secretservice_proxy);
-+      if ( libsecret_collections == NULL) {
-+        g_warning ("failed to get secret collections");
-+      } else {
-+        num_secrets_locked = secret_service_lock_sync(secretservice_proxy,
-+                          libsecret_collections,
-+                          libsecret_cancellable,
-+                          NULL,
-+                          error);
-+        if (num_secrets_locked <= 0)
-+          g_warning ("could not lock keyring");
-+        g_list_free(libsecret_collections);
-+      }
-+      g_object_unref(secretservice_proxy);
-+    }
-+    g_object_unref(libsecret_cancellable);
-+  }
-+#endif /* WITH_LIBSECRET */
- #ifdef WITH_KEYRING
- 	/* we should perhaps lock keyrings when sleeping #375681 */
- 	lock_gnome_keyring = g_settings_get_boolean (control->priv->settings, GPM_SETTINGS_LOCK_KEYRING_HIBERNATE);
-
-From a5b4e5b14510ea3aeb8824294876c152635503ae Mon Sep 17 00:00:00 2001
-From: NP-Hardass <np.hardass@gmail.com>
-Date: Mon, 3 Aug 2020 02:01:10 -0400
-Subject: [PATCH 5/5] Switch default from libgnome-keyring to libsecret
-
----
- configure.ac | 12 ++++++------
- 1 file changed, 6 insertions(+), 6 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index b4758dca..7fbc8206 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -139,10 +139,10 @@ dnl ---------------------------------------------------------------------------
- dnl - Build libsecret support
- dnl ---------------------------------------------------------------------------
- AC_ARG_WITH(libsecret,
--        [AS_HELP_STRING([--with-libsecret],
--                        [Enable the use of libsecret])],
-+        [AS_HELP_STRING([--without-libsecret],
-+                        [Disable the use of libsecret])],
-         [],
--        [with_libsecret=no])
-+        [with_libsecret=yes])
- 
- AM_CONDITIONAL([WITH_LIBSECRET],[test "$with_libsecret" = "yes"])
- 
-@@ -155,10 +155,10 @@ dnl ---------------------------------------------------------------------------
- dnl - Build gnome-keyring support
- dnl ---------------------------------------------------------------------------
- AC_ARG_WITH(keyring,
--        [AS_HELP_STRING([--without-keyring],
--                        [Disable the use of gnome-keyring])],
-+        [AS_HELP_STRING([--with-keyring],
-+                        [Enable the use of gnome-keyring])],
-         [],
--        [with_keyring=yes])
-+        [with_keyring=no])
- 
- AM_CONDITIONAL([WITH_KEYRING],[test "$with_keyring" = "yes"])
- 

diff --git a/mate-extra/mate-power-manager/files/mate-power-manager-1.24.3-removing-backtrace.patch b/mate-extra/mate-power-manager/files/mate-power-manager-1.24.3-removing-backtrace.patch
deleted file mode 100644
index 62157058ba6f..000000000000
--- a/mate-extra/mate-power-manager/files/mate-power-manager-1.24.3-removing-backtrace.patch
+++ /dev/null
@@ -1,89 +0,0 @@
-# Instead of deleting the code blocks, just putting them inside a ifndef
-# condition is safer
---- a/applets/brightness/egg-debug.c
-+++ b/applets/brightness/egg-debug.c
-@@ -74,6 +74,7 @@ pk_set_console_mode (guint console_code)
- 	printf ("%s", command);
- }
-
-+#if (defined(__UCLIBC__) || defined(__GLIBC__))
- /**
-  * egg_debug_backtrace:
-  **/
-@@ -98,6 +99,7 @@ egg_debug_backtrace (void)
- 		free (symbols);
- 	}
- }
-+#endif
-
- /**
-  * pk_log_line:
-@@ -229,8 +231,10 @@ egg_error_real (const gchar *func, const gchar *file, const int line, const gcha
- 	pk_print_line (func, file, line, buffer, CONSOLE_RED);
- 	g_free(buffer);
-
-+#if (defined(__UCLIBC__) || defined(__GLIBC__))
- 	/* we want to fix this! */
- 	egg_debug_backtrace ();
-+#endif
-
- 	exit (1);
- }
---- a/applets/inhibit/egg-debug.c
-+++ b/applets/inhibit/egg-debug.c
-@@ -74,6 +74,7 @@ pk_set_console_mode (guint console_code)
- 	printf ("%s", command);
- }
-
-+#if (defined(__UCLIBC__) || defined(__GLIBC__))
- /**
-  * egg_debug_backtrace:
-  **/
-@@ -98,6 +99,7 @@ egg_debug_backtrace (void)
- 		free (symbols);
- 	}
- }
-+#endif
-
- /**
-  * pk_log_line:
-@@ -229,8 +231,10 @@ egg_error_real (const gchar *func, const gchar *file, const int line, const gcha
- 	pk_print_line (func, file, line, buffer, CONSOLE_RED);
- 	g_free(buffer);
-
-+#if (defined(__UCLIBC__) || defined(__GLIBC__))
- 	/* we want to fix this! */
- 	egg_debug_backtrace ();
-+#endif
-
- 	exit (1);
- }
---- a/src/egg-debug.c
-+++ b/src/egg-debug.c
-@@ -74,6 +74,7 @@ pk_set_console_mode (guint console_code)
- 	printf ("%s", command);
- }
-
-+#if (defined(__UCLIBC__) || defined(__GLIBC__))
- /**
-  * egg_debug_backtrace:
-  **/
-@@ -98,6 +99,7 @@ egg_debug_backtrace (void)
- 		free (symbols);
- 	}
- }
-+#endif
-
- /**
-  * pk_log_line:
-@@ -229,8 +231,10 @@ egg_error_real (const gchar *func, const gchar *file, const int line, const gcha
- 	pk_print_line (func, file, line, buffer, CONSOLE_RED);
- 	g_free(buffer);
-
-+#if (defined(__UCLIBC__) || defined(__GLIBC__))
- 	/* we want to fix this! */
- 	egg_debug_backtrace ();
-+#endif
-
- 	exit (1);
- }

diff --git a/mate-extra/mate-power-manager/files/mate-power-manager-1.24.3-removing-execinfo.patch b/mate-extra/mate-power-manager/files/mate-power-manager-1.24.3-removing-execinfo.patch
deleted file mode 100644
index 9a0febfad6c1..000000000000
--- a/mate-extra/mate-power-manager/files/mate-power-manager-1.24.3-removing-execinfo.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-# Musl doesn't supply execinfo.h as a result build fails.
-# Closes: https://bugs.gentoo.org/762484
---- a/applets/brightness/egg-debug.c
-+++ b/applets/brightness/egg-debug.c
-@@ -39,7 +39,9 @@
- #include <sys/stat.h>
- #include <fcntl.h>
- #include <time.h>
-+#if (defined(__GLIBC__))
- #include <execinfo.h>
-+#endif
-
- #include "egg-debug.h"
-
---- a/applets/inhibit/egg-debug.c
-+++ b/applets/inhibit/egg-debug.c
-@@ -39,7 +39,9 @@
- #include <sys/stat.h>
- #include <fcntl.h>
- #include <time.h>
-+#if (defined(__GLIBC__))
- #include <execinfo.h>
-+#endif
-
- #include "egg-debug.h"
-
---- a/src/egg-debug.c
-+++ b/src/egg-debug.c
-@@ -39,7 +39,9 @@
- #include <sys/stat.h>
- #include <fcntl.h>
- #include <time.h>
-+#if (defined(__GLIBC__))
- #include <execinfo.h>
-+#endif
-
- #include "egg-debug.h"
-


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-12-26 13:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-22 15:56 [gentoo-commits] repo/gentoo:master commit in: mate-extra/mate-power-manager/files/ Michael Palimaka
  -- strict thread matches above, loose matches on Subject: below --
2022-12-26 13:44 Conrad Kostecki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox