From efca79f216bfeffd55e7731fbf24126d093e1084 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 15 Sep 2023 04:49:10 +0100 Subject: gentoo auto-resync : 15:09:2023 - 04:49:10 --- gnome-extra/Manifest.gz | Bin 11423 -> 11257 bytes gnome-extra/synapse/Manifest | 5 - .../files/synapse-0.2.99.4-ayatana-indicator.patch | 25 --- .../synapse/files/synapse-0.2.99.4-mate.patch | 222 --------------------- gnome-extra/synapse/metadata.xml | 11 - gnome-extra/synapse/synapse-0.2.99.4-r2.ebuild | 58 ------ 6 files changed, 321 deletions(-) delete mode 100644 gnome-extra/synapse/Manifest delete mode 100644 gnome-extra/synapse/files/synapse-0.2.99.4-ayatana-indicator.patch delete mode 100644 gnome-extra/synapse/files/synapse-0.2.99.4-mate.patch delete mode 100644 gnome-extra/synapse/metadata.xml delete mode 100644 gnome-extra/synapse/synapse-0.2.99.4-r2.ebuild (limited to 'gnome-extra') diff --git a/gnome-extra/Manifest.gz b/gnome-extra/Manifest.gz index 1dc3df41c45c..d778cdddb0c7 100644 Binary files a/gnome-extra/Manifest.gz and b/gnome-extra/Manifest.gz differ diff --git a/gnome-extra/synapse/Manifest b/gnome-extra/synapse/Manifest deleted file mode 100644 index 6003b5c86f62..000000000000 --- a/gnome-extra/synapse/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -AUX synapse-0.2.99.4-ayatana-indicator.patch 1189 BLAKE2B 09a0aa7cfc3499848190cdd3e1b60cb48b743b5d9890496c1bc8900aff611b98a9eaf0575de4aafe6f8078dcca54c4d1c5740b37080a98fc3aab1d4f81189cb6 SHA512 23963249934b7bff306be3b5f270e62d3af17b968801e4657ed1d6749cb719dfadf48f78bb0b4f83f8c3545590065519c9d47537591bba93ceaec5b973c37730 -AUX synapse-0.2.99.4-mate.patch 7393 BLAKE2B a870333c03bf02454fed6a371425eb86cd13f20506603bac3b05273551b590830354cb6c7df41ae779101dcf13eb9d17a18cb63dfb975f4e678a6fe97028539c SHA512 122649ebd2c7185d0ba5e8f9e6ff0fee85c4a54ddc8e7cfc361e2655abb2de447cca98f2ecf38602bc00bd26a1a3cd7f98c9372b7b40ca23ae6a8928b8f2df81 -DIST synapse-0.2.99.4.tar.xz 538476 BLAKE2B 27de41362ca53c06ba70d9b0df728aa64e72f19b726b5e5cb4797c85bf296c43969b58491430c585887e0a74339c49399bbe415c13827fa2b0243e8b1bdd8598 SHA512 d9668fb9dd18d97da89bf5f0a9864f843c629f91751b326b4e97de74c6db64a59dbcd221f1b6ed0fc199a683ed511d86f280756fe4c21195d6169d2977315325 -EBUILD synapse-0.2.99.4-r2.ebuild 1241 BLAKE2B 8ef13912c4c893db2f37549857024aa479e189b18f53cbb0921efac3fe87c00ccc2090402f738adb4641005d8381306c499ee2692d5a568db9ab41b46077458c SHA512 feba8c4468e75c9148059333a92ede71cb265cc258cf3b02658526c4366ff96d1e5c5b352146e54616a1afc62112583f4ab379c6badc3d935f25efb0e6b431a4 -MISC metadata.xml 353 BLAKE2B 96a45dd6dc53b24747d482385937e694de7b82b5e630880dd9bdde480463797f648135bfed321e7005703d4b078fac201f3f29eb84089de50b8cb9f093b53af2 SHA512 0d95f2ce7f9807badfde517e783c5ac13a0f608d8e783e66379e97dd3a1ab02365345ffcbb88041db5e5cdbeeaa212199d6f4ce044301a7e7e50e3ac0a20e670 diff --git a/gnome-extra/synapse/files/synapse-0.2.99.4-ayatana-indicator.patch b/gnome-extra/synapse/files/synapse-0.2.99.4-ayatana-indicator.patch deleted file mode 100644 index ee11befc29cd..000000000000 --- a/gnome-extra/synapse/files/synapse-0.2.99.4-ayatana-indicator.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff --color -ur synapse-0.2.99.4.orig/configure.ac synapse-0.2.99.4/configure.ac ---- synapse-0.2.99.4.orig/configure.ac 2018-04-08 20:52:10.000000000 +0200 -+++ synapse-0.2.99.4/configure.ac 2021-11-24 16:47:10.073022755 +0100 -@@ -110,16 +110,16 @@ - AM_CONDITIONAL(HAVE_ZEITGEIST, test "x$enable_zeitgeist" = "xyes") - - if test "x$enable_indicator" = "xauto" ; then -- PKG_CHECK_EXISTS([appindicator3-0.1], -+ PKG_CHECK_EXISTS([ayatana-appindicator3-0.1], - enable_indicator="yes", - enable_indicator="no") - fi - - if test "x$enable_indicator" = "xyes" ; then -- PKG_CHECK_EXISTS([appindicator3-0.1],, -- AC_MSG_ERROR([appindicator3-0.1 is not installed])) -- PKG_CHECK_MODULES(APP_INDICATOR, appindicator3-0.1) -- APP_INDICATOR_VALAFLAGS=" --pkg appindicator3-0.1 -D HAVE_INDICATOR" -+ PKG_CHECK_EXISTS([ayatana-appindicator3-0.1],, -+ AC_MSG_ERROR([ayatana-appindicator3-0.1 is not installed])) -+ PKG_CHECK_MODULES(APP_INDICATOR, ayatana-appindicator3-0.1) -+ APP_INDICATOR_VALAFLAGS=" --pkg ayatana-appindicator3-0.1 -D HAVE_INDICATOR" - AC_SUBST(APP_INDICATOR_VALAFLAGS) - AC_DEFINE(HAVE_INDICATOR, 1, [Have AppIndicator]) - fi diff --git a/gnome-extra/synapse/files/synapse-0.2.99.4-mate.patch b/gnome-extra/synapse/files/synapse-0.2.99.4-mate.patch deleted file mode 100644 index 9703c13aed5d..000000000000 --- a/gnome-extra/synapse/files/synapse-0.2.99.4-mate.patch +++ /dev/null @@ -1,222 +0,0 @@ -diff -urN synapse-0.2.10.orig/src/plugins/Makefile.am synapse-0.2.10/src/plugins/Makefile.am ---- synapse-0.2.10.orig/src/plugins/Makefile.am 2013-08-18 18:33:35.710536590 +0200 -+++ synapse-0.2.10/src/plugins/Makefile.am 2013-08-18 18:33:44.427203171 +0200 -@@ -45,6 +45,7 @@ - hybrid-search-plugin.vala \ - launchpad-plugin.vala \ - locate-plugin.vala \ -+ mate-session-plugin.vala \ - opensearch.vala \ - pass-plugin.vala \ - pastebin-plugin.vala \ -diff -urN synapse-0.2.10.orig/src/plugins/mate-session-plugin.vala synapse-0.2.10/src/plugins/mate-session-plugin.vala ---- synapse-0.2.10.orig/src/plugins/mate-session-plugin.vala 1970-01-01 01:00:00.000000000 +0100 -+++ synapse-0.2.10/src/plugins/mate-session-plugin.vala 2013-08-18 18:33:44.427203171 +0200 -@@ -0,0 +1,196 @@ -+/* -+ * Copyright (C) 2010 Michal Hruby -+ * -+ * This program is free software; you can redistribute it and/or modify -+ * it under the terms of the GNU General Public License as published by -+ * the Free Software Foundation; either version 2 of the License, or -+ * (at your option) any later version. -+ * -+ * This program is distributed in the hope that it will be useful, -+ * but WITHOUT ANY WARRANTY; without even the implied warranty of -+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ * GNU General Public License for more details. -+ * -+ * You should have received a copy of the GNU General Public License -+ * along with this program; if not, write to the Free Software -+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. -+ * -+ * Authored by Michal Hruby -+ * -+ */ -+ -+namespace Synapse -+{ -+ [DBus (name = "org.mate.SessionManager")] -+ public interface MateSessionManager: Object -+ { -+ public const string UNIQUE_NAME = "org.mate.SessionManager"; -+ public const string OBJECT_PATH = "/org/mate/SessionManager"; -+ -+ public abstract bool can_shutdown () throws IOError; -+ public abstract void shutdown () throws IOError; -+ public abstract void request_reboot () throws IOError; -+ public abstract void logout (uint32 mode = 0) throws IOError; -+ } -+ -+ public class MateSessionPlugin: Object, Activatable, ItemProvider -+ { -+ public bool enabled { get; set; default = true; } -+ -+ public void activate () -+ { -+ -+ } -+ -+ public void deactivate () -+ { -+ -+ } -+ -+ private class ShutDownAction: ActionMatch -+ { -+ public ShutDownAction () -+ { -+ Object (title: _("Shut Down"), -+ description: _("Turn your computer off"), -+ icon_name: "system-shutdown", has_thumbnail: false); -+ } -+ -+ public override void do_action () -+ { -+ try -+ { -+ MateSessionManager dbus_interface = Bus.get_proxy_sync (BusType.SESSION, -+ MateSessionManager.UNIQUE_NAME, -+ MateSessionManager.OBJECT_PATH); -+ -+ dbus_interface.shutdown (); -+ } -+ catch (IOError err) -+ { -+ warning ("%s", err.message); -+ } -+ } -+ } -+ -+ private class RebootAction: ActionMatch -+ { -+ public RebootAction () -+ { -+ Object (title: _("Restart"), -+ description: _("Restart your computer"), -+ icon_name: "system-shutdown", has_thumbnail: false); -+ } -+ -+ public override void do_action () -+ { -+ try -+ { -+ MateSessionManager dbus_interface = Bus.get_proxy_sync (BusType.SESSION, -+ MateSessionManager.UNIQUE_NAME, -+ MateSessionManager.OBJECT_PATH); -+ -+ dbus_interface.request_reboot (); -+ } -+ catch (IOError err) -+ { -+ warning ("%s", err.message); -+ } -+ } -+ } -+ -+ private class LogOutAction: ActionMatch -+ { -+ public LogOutAction () -+ { -+ Object (title: _("Log Out"), -+ description: _("Close your session and return to the login screen"), -+ icon_name: "gnome-logout", has_thumbnail: false); -+ } -+ -+ public override void do_action () -+ { -+ try -+ { -+ MateSessionManager dbus_interface = Bus.get_proxy_sync (BusType.SESSION, -+ MateSessionManager.UNIQUE_NAME, -+ MateSessionManager.OBJECT_PATH); -+ -+ /* -+ * 0: Normal. -+ * 1: No confirmation inferface should be shown. -+ * 2: Forcefully logout. No confirmation will be shown and any inhibitors will be ignored. -+ */ -+ dbus_interface.logout (1); -+ } -+ catch (IOError err) -+ { -+ warning ("%s", err.message); -+ } -+ } -+ } -+ -+ static void register_plugin () -+ { -+ PluginRegistry.get_default ().register_plugin ( -+ typeof (MateSessionPlugin), -+ "MATE Session", -+ _ ("Log out from your session."), -+ "mate-session-logout", -+ register_plugin, -+ DBusService.get_default ().name_has_owner (MateSessionManager.UNIQUE_NAME), -+ _ ("MATE Session Manager wasn't found") -+ ); -+ } -+ -+ static construct -+ { -+ register_plugin (); -+ } -+ -+ private bool session_manager_available = false; -+ private Gee.List actions; -+ -+ construct -+ { -+ var cache = DBusService.get_default (); -+ session_manager_available = cache.name_has_owner (MateSessionManager.UNIQUE_NAME); -+ message ("%s %s available", MateSessionManager.UNIQUE_NAME, -+ session_manager_available ? "is" : "isn't"); -+ -+ actions = new Gee.LinkedList (); -+ actions.add (new LogOutAction ()); -+ // TODO: add a config option to enable these actions (for example when ConsoleKit is not available) -+ //actions.add (new RebootAction ()); -+ //actions.add (new ShutDownAction ()); -+ } -+ -+ public async ResultSet? search (Query q) throws SearchError -+ { -+ if (!session_manager_available) return null; -+ // we only search for actions -+ if (!(QueryFlags.ACTIONS in q.query_type)) return null; -+ -+ var result = new ResultSet (); -+ -+ var matchers = Query.get_matchers_for_query (q.query_string, 0, -+ RegexCompileFlags.OPTIMIZE | RegexCompileFlags.CASELESS); -+ -+ foreach (var action in actions) -+ { -+ foreach (var matcher in matchers) -+ { -+ if (matcher.key.match (action.title)) -+ { -+ result.add (action, matcher.value - MatchScore.INCREMENT_SMALL); -+ break; -+ } -+ } -+ } -+ -+ q.check_cancellable (); -+ -+ return result; -+ } -+ } -+} -diff -urN synapse-0.2.10.orig/src/ui/synapse-main.vala synapse-0.2.10/src/ui/synapse-main.vala ---- synapse-0.2.10.orig/src/ui/synapse-main.vala 2013-08-18 18:33:35.710536590 +0200 -+++ synapse-0.2.10/src/ui/synapse-main.vala 2013-08-18 18:33:44.427203171 +0200 -@@ -165,6 +165,7 @@ - typeof (HybridSearchPlugin), - typeof (GnomeBookmarksPlugin), - typeof (GnomeSessionPlugin), -+ typeof (MateSessionPlugin), - typeof (ScreenSaverPlugin), - typeof (SystemManagementPlugin), - typeof (CommandPlugin), diff --git a/gnome-extra/synapse/metadata.xml b/gnome-extra/synapse/metadata.xml deleted file mode 100644 index d99db8b438b7..000000000000 --- a/gnome-extra/synapse/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - Build support for plugins using net-libs/rest - - - synapse-project - - diff --git a/gnome-extra/synapse/synapse-0.2.99.4-r2.ebuild b/gnome-extra/synapse/synapse-0.2.99.4-r2.ebuild deleted file mode 100644 index c987df1e8cb4..000000000000 --- a/gnome-extra/synapse/synapse-0.2.99.4-r2.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -inherit autotools vala xdg - -DESCRIPTION="A program launcher in the style of GNOME Do" -HOMEPAGE="https://launchpad.net/synapse-project/" -SRC_URI="https://launchpad.net/synapse-project/0.3/${PV}/+download/${P}.tar.xz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="appindicator nls plugins" - -RDEPEND=" - >=dev-libs/glib-2.28.0:2 - >=x11-libs/gtk+-3.0.0:3 - dev-libs/json-glib - dev-libs/keybinder:3 - dev-libs/libgee:0.8 - sys-apps/dbus - x11-libs/cairo - x11-libs/gdk-pixbuf:2 - x11-libs/libnotify - x11-libs/pango - x11-themes/adwaita-icon-theme - appindicator? ( dev-libs/libayatana-appindicator ) - nls? ( virtual/libintl ) - plugins? ( >=net-libs/rest-0.7:0.7 ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - $(vala_depend) - nls? ( sys-devel/gettext ) - virtual/pkgconfig -" - -PATCHES=( - # From PLD Linux - "${FILESDIR}/${P}-mate.patch" - "${FILESDIR}/${P}-ayatana-indicator.patch" -) - -src_prepare() { - default - sed -i -e 's/GNOME/GNOME;GTK/' data/synapse.desktop.in || die - vala_setup - eautoreconf -} - -src_configure() { - econf \ - $(use_enable appindicator indicator) \ - $(use_enable nls) \ - $(use_enable plugins librest yes) \ - --disable-zeitgeist -} -- cgit v1.2.3