summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2021-05-20 13:59:53 +0200
committerPacho Ramos <pacho@gentoo.org>2021-05-20 14:36:53 +0200
commitf74c23f361f378fe8dab91fc94f156c651dd954e (patch)
treecdb72e9f267171ab96704cfd57675d289bd9de16
parentgnome-extra/gnome-shell-extension-appindicator: Bump to v37 (diff)
downloadgentoo-f74c23f361f378fe8dab91fc94f156c651dd954e.tar.gz
gentoo-f74c23f361f378fe8dab91fc94f156c651dd954e.tar.bz2
gentoo-f74c23f361f378fe8dab91fc94f156c651dd954e.zip
gnome-extra/gnome-shell-extension-applications-overview-tooltip: Drop old
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Pacho Ramos <pacho@gentoo.org>
-rw-r--r--gnome-extra/gnome-shell-extension-applications-overview-tooltip/Manifest2
-rw-r--r--gnome-extra/gnome-shell-extension-applications-overview-tooltip/files/gnome-shell-extension-applications-overview-tooltip-10-search-tooltip.patch57
-rw-r--r--gnome-extra/gnome-shell-extension-applications-overview-tooltip/gnome-shell-extension-applications-overview-tooltip-10-r1.ebuild54
-rw-r--r--gnome-extra/gnome-shell-extension-applications-overview-tooltip/gnome-shell-extension-applications-overview-tooltip-9.ebuild42
4 files changed, 0 insertions, 155 deletions
diff --git a/gnome-extra/gnome-shell-extension-applications-overview-tooltip/Manifest b/gnome-extra/gnome-shell-extension-applications-overview-tooltip/Manifest
index 091f2fc77a6a..dee701e3de05 100644
--- a/gnome-extra/gnome-shell-extension-applications-overview-tooltip/Manifest
+++ b/gnome-extra/gnome-shell-extension-applications-overview-tooltip/Manifest
@@ -1,3 +1 @@
-DIST gnome-shell-extension-applications-overview-tooltip-10.tar.gz 81397 BLAKE2B a9c838eb66ae49a3a195d8ce6e17fd971fb0dec00f62a2a7380fc973c9ba129611a93b904c658318e0bc80fb26ff9d65100cccd29f7f172dbef0f406bacefd14 SHA512 28bcc52b38d36e0897c949ba0eef11a94fce2e022ca3d398208221476b63b39281db9870d0c26a4bdffc07bb82e9d8942fd98820c78c6a4afe6d52eb5758e1c1
DIST gnome-shell-extension-applications-overview-tooltip-11.tar.gz 81717 BLAKE2B bbafaa58bd9b7b56c5cc12c953922d40c1901fe78491d5ea344ab6f3dda65e51c02851b2106ef271d662be365722ca35f61a836f509bc1e6a4e6c03ecf1de3eb SHA512 c108b8bbf09793a18eced02e7fc5a68f1d71b9b31f0480b9346bf9b44507fedf85e6c1e640fa7d282ea69b63ad056116acecb494beb5c18b784b00348e485f00
-DIST gnome-shell-extension-applications-overview-tooltip-9.tar.gz 81415 BLAKE2B 518352e80b5a3c6f8a2ff05e692178436625ea533e10a2afde82e73b6216f82dc29119c0e0a204ac8f1619de9409c47105107b94e3c4d1027c852b255eeb27ab SHA512 b8a2879f303a76e68eb5921005453e3fb73d966f1ed3f5978d9d210f447d8f780b5d9fa359aaa411f7ed8cecf72171dfcaa8da8515fd620193676b1b63742636
diff --git a/gnome-extra/gnome-shell-extension-applications-overview-tooltip/files/gnome-shell-extension-applications-overview-tooltip-10-search-tooltip.patch b/gnome-extra/gnome-shell-extension-applications-overview-tooltip/files/gnome-shell-extension-applications-overview-tooltip-10-search-tooltip.patch
deleted file mode 100644
index 293a710aa2fb..000000000000
--- a/gnome-extra/gnome-shell-extension-applications-overview-tooltip/files/gnome-shell-extension-applications-overview-tooltip-10-search-tooltip.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-From f90ddba2fbd2256e03b4f22f7ca29004bbdbe466 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Rapha=C3=ABl=20Rochet?= <raphael@rri.fr>
-Date: Fri, 29 Jan 2021 11:11:58 +0100
-Subject: [PATCH] Brings back tooltips on search results
-
----
- extension.js | 15 +++++++++++++--
- 1 file changed, 13 insertions(+), 2 deletions(-)
-
-diff --git a/extension.js b/extension.js
-index 860daf0..1a5b2c0 100644
---- a/extension.js
-+++ b/extension.js
-@@ -24,6 +24,7 @@ let BORDERS = false;
-
- // private variables
- let _old_addItem = null; // used to restore monkey patched function on disable
-+let _old_searchAddItem = null; // same but for search results
- let _tooltips = null; // used to disconnect events on disable
- let _labelTimeoutId = 0; // id of timer waiting for start
- let _resetHoverTimeoutId = 0; // id of last (cancellable) timer
-@@ -57,7 +58,7 @@ function enable() {
- // Enabling tooltips for already loaded icons
- _connectAll(Main.overview.viewSelector.appDisplay);
-
-- // monkeypatching for future icons (includes search results app icons)
-+ // monkeypatching for future app icons
- _old_addItem = imports.ui.iconGrid.IconGrid.prototype.addItem;
- imports.ui.iconGrid.IconGrid.prototype.addItem = function(item, index){
- _connect(item);
-@@ -65,6 +66,13 @@ function enable() {
- _old_addItem.apply(this, arguments);
- };
-
-+ // monkeypatching for future app icons in search results
-+ _old_searchAddItem = imports.ui.search.GridSearchResults.prototype._addItem;
-+ imports.ui.search.GridSearchResults.prototype._addItem = function(display){
-+ _connect(display);
-+ _old_searchAddItem.apply(this, arguments);
-+ };
-+
- // apply new settings if changed
- _settingsConnectionId = _settings.connect('changed', _applySettings);
-
-@@ -87,8 +95,11 @@ function disable() {
- if (_settingsConnectionId > 0) _settings.disconnect(_settingsConnectionId);
- _settings = null;
-
-- // restore the original addItem function
-+ // restore the original addItem functions and remove references to them
- imports.ui.iconGrid.IconGrid.prototype.addItem = _old_addItem;
-+ imports.ui.search.GridSearchResults.prototype._addItem = _old_searchAddItem;
-+ _old_addItem = null;
-+ _old_searchAddItem = null;
-
- // disconnects from all loaded icons
- for (let i = 0; i < _tooltips.length; i++) {
diff --git a/gnome-extra/gnome-shell-extension-applications-overview-tooltip/gnome-shell-extension-applications-overview-tooltip-10-r1.ebuild b/gnome-extra/gnome-shell-extension-applications-overview-tooltip/gnome-shell-extension-applications-overview-tooltip-10-r1.ebuild
deleted file mode 100644
index ea3a9e02b46a..000000000000
--- a/gnome-extra/gnome-shell-extension-applications-overview-tooltip/gnome-shell-extension-applications-overview-tooltip-10-r1.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit gnome2-utils
-
-# Workaround until https://bugzilla.gnome.org/show_bug.cgi?id=663725 is fixed
-DESCRIPTION="Show tooltip with full name and description"
-HOMEPAGE="https://github.com/RaphaelRochet/applications-overview-tooltip"
-SRC_URI="https://github.com/RaphaelRochet/applications-overview-tooltip/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-# https://github.com/RaphaelRochet/applications-overview-tooltip/issues/7
-LICENSE="public-domain"
-SLOT="0"
-KEYWORDS="amd64 ~x86"
-IUSE=""
-
-RDEPEND="
- app-eselect/eselect-gnome-shell-extensions
- >=gnome-base/gnome-shell-3.38
-"
-DEPEND=""
-BDEPEND=""
-
-S="${WORKDIR}/${P/gnome-shell-extension-}"
-
-PATCHES=(
- # Fix tooltip in search results, from 'master'
- "${FILESDIR}/${P}-search-tooltip.patch"
-)
-
-src_install() {
- einstalldocs
- insinto /usr/share/glib-2.0/schemas
- doins schemas/*.xml
- rm -rf README.md schemas || die
- insinto /usr/share/gnome-shell/extensions/applications-overview-tooltip@RaphaelRochet
- doins -r *
-}
-
-pkg_preinst() {
- gnome2_schemas_savelist
-}
-
-pkg_postinst() {
- gnome2_schemas_update
- ebegin "Updating list of installed extensions"
- eselect gnome-shell-extensions update
- eend $?
-}
-
-pkg_postrm() {
- gnome2_schemas_update
-}
diff --git a/gnome-extra/gnome-shell-extension-applications-overview-tooltip/gnome-shell-extension-applications-overview-tooltip-9.ebuild b/gnome-extra/gnome-shell-extension-applications-overview-tooltip/gnome-shell-extension-applications-overview-tooltip-9.ebuild
deleted file mode 100644
index 3e3514c3af9f..000000000000
--- a/gnome-extra/gnome-shell-extension-applications-overview-tooltip/gnome-shell-extension-applications-overview-tooltip-9.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-# Workaround until https://bugzilla.gnome.org/show_bug.cgi?id=663725 is fixed
-DESCRIPTION="Show tooltip with full name and description"
-HOMEPAGE="https://github.com/RaphaelRochet/applications-overview-tooltip"
-SRC_URI="https://github.com/RaphaelRochet/applications-overview-tooltip/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-# https://github.com/RaphaelRochet/applications-overview-tooltip/issues/7
-LICENSE="public-domain"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE=""
-
-# glib for glib-compile-schemas at build time, needed at runtime anyways
-COMMON_DEPEND="
- dev-libs/glib:2
-"
-RDEPEND="${COMMON_DEPEND}
- app-eselect/eselect-gnome-shell-extensions
- >=gnome-base/gnome-shell-3.36
-"
-DEPEND="${COMMON_DEPEND}"
-BDEPEND=""
-
-S="${WORKDIR}/${P/gnome-shell-extension-}"
-
-src_install() {
- einstalldocs
- rm -f README.md || die
- insinto /usr/share/gnome-shell/extensions/applications-overview-tooltip@RaphaelRochet
- doins -r *
- glib-compile-schemas "${ED}"/usr/share/gnome-shell/extensions/applications-overview-tooltip@RaphaelRochet/schemas || die
-}
-
-pkg_postinst() {
- ebegin "Updating list of installed extensions"
- eselect gnome-shell-extensions update
- eend $?
-}