summaryrefslogtreecommitdiff
path: root/mate-extra
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-09-21 12:11:53 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-09-21 12:11:53 +0100
commit1fd1215c62ee14dc2e94fa04d6e3622391c9ab57 (patch)
tree909630a900b1ac6b180d8af2e2345a171417d59f /mate-extra
parentd60aa36cd97fb2193f756b45820d7c073a49229d (diff)
gentoo auto-resync : 21:09:2024 - 12:11:53
Diffstat (limited to 'mate-extra')
-rw-r--r--mate-extra/Manifest.gzbin3068 -> 3074 bytes
-rw-r--r--mate-extra/mate-polkit/Manifest1
-rw-r--r--mate-extra/mate-polkit/files/mate-polkit-1.26.0-ayatana.patch176
3 files changed, 0 insertions, 177 deletions
diff --git a/mate-extra/Manifest.gz b/mate-extra/Manifest.gz
index ac37e3ed750a..7197154738a3 100644
--- a/mate-extra/Manifest.gz
+++ b/mate-extra/Manifest.gz
Binary files differ
diff --git a/mate-extra/mate-polkit/Manifest b/mate-extra/mate-polkit/Manifest
index e99727affe4b..cfdace50b360 100644
--- a/mate-extra/mate-polkit/Manifest
+++ b/mate-extra/mate-polkit/Manifest
@@ -1,4 +1,3 @@
-AUX mate-polkit-1.26.0-ayatana.patch 6764 BLAKE2B 351a5f347c685f610ba1fb0ef746be0c3ce1d59d6dc039421929f20f6ca658c0d2a236e0825b9ff9f148405c573f0aa186109c0485e0434d760f0bd5d8266e5e SHA512 0db50fabc09129db71a7c196e10017704a9fef8808c4d45ccd427384c4f3012e486a56cac587ea4c10df2ac3c2af6ba30bbbdf27234edb2c616e029b57fe48ec
AUX mate-polkit-1.27.1-configure.patch 2400 BLAKE2B e5d8caaae8fa1c1268eefa254135efbb4697c1b59be614e3caeea82180bba614de642022092f7b1dd64c5f4e6da8f2341fbec66addece8c933f0c3cbbb8a78be SHA512 974dcbfcfa3b938b3917a5b1f94e94d03aa01254c7b1b78f76d1a6d997ff8f7fa39e55ecfe16ce19bbd85cc0bf5cbb48e762fb10b4c13bd6ada220a3a3a052ba
DIST mate-polkit-1.28.1.tar.xz 347556 BLAKE2B 6ded6349b5e61c3b233365dd9d57377349416a813f7fc002fe15ee9d7f68ab1b006a5b19655222f8ca99a8e94bc2c55679f16ce080c5b489d2ba82f6384da7ce SHA512 fbe25e2f0beae8c681a38aef5bb213e719e45bf9f9d7685fc4f1a5d80d524340e706f9222f0acdd5f1b4a662de1d3a0c017ccabad0df35c8f4fe68526fad199c
EBUILD mate-polkit-1.28.1.ebuild 1003 BLAKE2B de2f9131c5ed684edeb90568c8ed58686e9792ccdd9023edaf5f1217d6b72b1583515f3eef416608dc8b560f8fe5ad6f8cc7dd00b3bb205450ea1e07e965d45a SHA512 08278b3c89497d8edd89af486ae2fbf889a57c2ae03134c62a0c1c2194ed880afae2a8c88deb6c0dfb38e371cd808145c951856bde99a16aaae958a4407ba84b
diff --git a/mate-extra/mate-polkit/files/mate-polkit-1.26.0-ayatana.patch b/mate-extra/mate-polkit/files/mate-polkit-1.26.0-ayatana.patch
deleted file mode 100644
index edd91c2a1111..000000000000
--- a/mate-extra/mate-polkit/files/mate-polkit-1.26.0-ayatana.patch
+++ /dev/null
@@ -1,176 +0,0 @@
-From 65a6c367e28e338dc74931dece1af9e53338276f Mon Sep 17 00:00:00 2001
-From: lukefromdc <lukefromdc@hushmail.com>
-Date: Tue, 31 Jan 2023 01:25:20 -0500
-Subject: [PATCH] Prefer building against Ayatana AppIndicator, but also
- support legacy Ubuntu Appindicator
-
----
- configure.ac | 54 +++++++++++++++++++++++++++++++++++--------------
- src/Makefile.am | 6 ++++--
- src/main.c | 15 +++++++-------
- 3 files changed, 51 insertions(+), 24 deletions(-)
-
---- a/configure.ac.old 2023-04-27 16:48:35.940816452 +0200
-+++ b/configure.ac 2023-04-27 16:52:21.303890924 +0200
-@@ -111,8 +111,17 @@
-
- AM_CONDITIONAL([HAVE_ACCOUNTSSERVICE], [test "x$enable_accountsservice" = xyes])
-
--# Application indicator
--APPINDICATOR_PKG=appindicator3-0.1
-+# Application Indicator (Ubuntu and Ayatana implementation)
-+
-+AYATANA_APPINDICATOR_PKG=ayatana-appindicator3-0.1
-+UBUNTU_APPINDICATOR_PKG=appindicator3-0.1
-+
-+PKG_CHECK_EXISTS($AYATANA_APPINDICATOR_PKG >= $APPINDICATOR_REQUIRED,
-+ [have_appindicator_ayatana="yes"],
-+ [have_appindicator_ayatana="no"])
-+PKG_CHECK_EXISTS($UBUNTU_APPINDICATOR_PKG >= $APPINDICATOR_REQUIRED,
-+ [have_appindicator_ubuntu="yes"],
-+ [have_appindicator_ubuntu="no"])
-
- AC_ARG_ENABLE([appindicator],
- AS_HELP_STRING([--enable-appindicator[=@<:@no/auto/yes@:>@]],[Build support for application indicators]),
-@@ -120,22 +129,33 @@
- [enable_appindicator="auto"])
-
-
--if test "x$enable_appindicator" = "xauto"; then
-- PKG_CHECK_EXISTS($APPINDICATOR_PKG >= $APPINDICATOR_REQUIRED,
-- [enable_appindicator="yes"],
-- [enable_appindicator="no"])
-+if test "x$enable_appindicator" == "xauto" &&
-+ (test "x$have_appindicator_ayatana" == "xyes" ||
-+ test "x$have_appindicator_ubuntu" == "xyes"); then
-+ AC_MSG_NOTICE([Enabling AppIndicator support (as --enable-appindicator=auto was used).])
-+ enable_appindicator="yes"
- fi
-
--if test "x$enable_appindicator" = "xyes"; then
-- PKG_CHECK_MODULES(APPINDICATOR,
-- [$APPINDICATOR_PKG >= $APPINDICATOR_REQUIRED],
-- [AC_DEFINE(HAVE_APPINDICATOR, 1, [Have AppIndicator])])
-+if test "x$enable_appindicator" == "xyes"; then
-+ if test "x$have_appindicator_ayatana" == "xyes"; then
-+ AC_MSG_NOTICE([Buidling against Ayatana AppIndicator.])
-+ PKG_CHECK_MODULES(AYATANA_APPINDICATOR,
-+ [$AYATANA_APPINDICATOR_PKG >= $APPINDICATOR_REQUIRED],
-+ [AC_DEFINE(HAVE_AYATANA_APPINDICATOR, 1, [Have Ayatana AppIndicator])])
-+ AC_SUBST(AYATANA_APPINDICATOR_CFLAGS)
-+ AC_SUBST(AYATANA_APPINDICATOR_LIBS)
-+ elif test "x$have_appindicator_ubuntu" == "xyes"; then
-+ AC_MSG_NOTICE([Buidling against Ubuntu AppIndicator.])
-+ PKG_CHECK_MODULES(UBUNTU_APPINDICATOR,
-+ [$UBUNTU_APPINDICATOR_PKG >= $APPINDICATOR_REQUIRED],
-+ [AC_DEFINE(HAVE_UBUNTU_APPINDICATOR, 1, [Have Ubuntu AppIndicator])])
-+ AC_SUBST(UBUNTU_APPINDICATOR_CFLAGS)
-+ AC_SUBST(UBUNTU_APPINDICATOR_LIBS)
-+ else
-+ AC_MSG_ERROR([Neither Ayatana AppIndicator nor Ubuntu AppIndicator library is present, but you enabled AppIndicator support.])
-+ fi
- fi
-
--AM_CONDITIONAL(HAVE_APPINDICATOR, test "x$enable_appindicator" = "xyes")
--AC_SUBST(APPINDICATOR_CFLAGS)
--AC_SUBST(APPINDICATOR_LIBS)
--
- # ********************
- # Internationalisation
- # ********************
-@@ -181,6 +201,10 @@
- Warning flags: ${WARN_CFLAGS}
-
- Accountsservice: ${enable_accountsservice}
-- Application indicator: ${enable_appindicator}
-+
-+ AppIndicator enabled: ${enable_appindicator}
-+ Ayatana AppIndicator (preferred) ${have_appindicator_ayatana}
-+ Ubuntu AppIndicator (legacy) ${have_appindicator_ubuntu}
-+
- Maintainer mode: ${USE_MAINTAINER_MODE}
- "
-diff --git a/src/Makefile.am b/src/Makefile.am
-index a534d1e..5f7ead8 100644
---- a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -35,7 +35,8 @@ polkit_mate_authentication_agent_1_CFLAGS = \
- $(GLIB_CFLAGS) \
- $(POLKIT_AGENT_CFLAGS) \
- $(POLKIT_GOBJECT_CFLAGS) \
-- $(APPINDICATOR_CFLAGS) \
-+ $(AYATANA_APPINDICATOR_CFLAGS) \
-+ $(UBUNTU_APPINDICATOR_CFLAGS) \
- $(WARN_CFLAGS) \
- $(AM_CFLAGS)
-
-@@ -47,7 +48,8 @@ polkit_mate_authentication_agent_1_LDADD = \
- $(GLIB_LIBS) \
- $(POLKIT_AGENT_LIBS) \
- $(POLKIT_GOBJECT_LIBS) \
-- $(APPINDICATOR_LIBS)
-+ $(AYATANA_APPINDICATOR_LIBS) \
-+ $(UBUNTU_APPINDICATOR_LIBS)
-
- EXTRA_DIST = \
- polkit-mate-authentication-agent-1.desktop.in \
-diff --git a/src/main.c b/src/main.c
-index 8c5f437..d60cd8f 100644
---- a/src/main.c
-+++ b/src/main.c
-@@ -1,6 +1,5 @@
- /*
- * Copyright (C) 2009 Red Hat, Inc.
-- * Copyright (C) 2012-2021 MATE Developers
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
-@@ -30,8 +29,10 @@
- #include <glib/gi18n.h>
- #include <polkitagent/polkitagent.h>
-
--#ifdef HAVE_APPINDICATOR
--#include <libappindicator/app-indicator.h>
-+#if defined(HAVE_AYATANA_APPINDICATOR)
-+# include <libayatana-appindicator/app-indicator.h>
-+#elif defined(HAVE_UBUNTU_APPINDICATOR)
-+# include <libappindicator/app-indicator.h>
- #endif
-
- #include "polkitmatelistener.h"
-@@ -51,7 +52,7 @@ static PolkitSubject *session = NULL;
- /* the current set of temporary authorizations */
- static GList *current_temporary_authorizations = NULL;
-
--#ifdef HAVE_APPINDICATOR
-+#if defined(HAVE_AYATANA_APPINDICATOR) || defined(HAVE_UBUNTU_APPINDICATOR)
- static AppIndicator *app_indicator = NULL;
- #else
- static GtkStatusIcon *status_icon = NULL;
-@@ -90,7 +91,7 @@ revoke_tmp_authz (void)
- NULL);
- }
-
--#ifdef HAVE_APPINDICATOR
-+#if defined(HAVE_AYATANA_APPINDICATOR) || defined(HAVE_UBUNTU_APPINDICATOR)
- static void
- on_menu_item_activate (GtkMenuItem *menu_item,
- gpointer user_data)
-@@ -151,7 +152,7 @@ update_temporary_authorization_icon_real (void)
- if (current_temporary_authorizations != NULL)
- {
- /* show icon */
--#ifdef HAVE_APPINDICATOR
-+#if defined(HAVE_AYATANA_APPINDICATOR) || defined(HAVE_UBUNTU_APPINDICATOR)
- if (app_indicator == NULL)
- {
- GtkWidget *item, *menu;
-@@ -199,7 +200,7 @@ update_temporary_authorization_icon_real (void)
- else
- {
- /* hide icon */
--#ifdef HAVE_APPINDICATOR
-+#if defined(HAVE_AYATANA_APPINDICATOR) || defined(HAVE_UBUNTU_APPINDICATOR)
- if (app_indicator != NULL)
- {
- /* keep the app_indicator, hide the icon or it won't come back*/