public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: gnome-extra/gnome-shell-extension-applications-overview-tooltip/files/, ...
@ 2019-04-20 17:59 Pacho Ramos
  0 siblings, 0 replies; 3+ messages in thread
From: Pacho Ramos @ 2019-04-20 17:59 UTC (permalink / raw
  To: gentoo-commits

commit:     13f10c832594e77ced961cbe2001a6c6dbb285bd
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 20 17:56:37 2019 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sat Apr 20 17:59:47 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13f10c83

gnome-extra/gnome-shell-extension-applications-overview-tooltip: Add extension to show full app name and tooltip

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 .../Manifest                                       |  1 +
 ...pplications-overview-tooltip-4-js-warning.patch | 24 +++++++++++
 ...ications-overview-tooltip-4-old-animation.patch | 45 +++++++++++++++++++++
 ...xtension-applications-overview-tooltip-4.ebuild | 46 ++++++++++++++++++++++
 .../metadata.xml                                   |  7 ++++
 5 files changed, 123 insertions(+)

diff --git a/gnome-extra/gnome-shell-extension-applications-overview-tooltip/Manifest b/gnome-extra/gnome-shell-extension-applications-overview-tooltip/Manifest
new file mode 100644
index 00000000000..f9ca3a2e56f
--- /dev/null
+++ b/gnome-extra/gnome-shell-extension-applications-overview-tooltip/Manifest
@@ -0,0 +1 @@
+DIST gnome-shell-extension-applications-overview-tooltip-4.tar.gz 79384 BLAKE2B 9e428b66351cb26615050a1c2e8e7ee1e325079b46ae7fc40eb836aef652ca33e04af9b39c07098364b6844c057867e9e5ddee291748afe63084caa108289037 SHA512 befb6f11f7836010077aba10d8664ba462c7153b498e25b5ad0fa12e065dc0b84302b7cc97d1f0685108ea92c20b61491c85a25a4511ad7237b1c0122a587868

diff --git a/gnome-extra/gnome-shell-extension-applications-overview-tooltip/files/gnome-shell-extension-applications-overview-tooltip-4-js-warning.patch b/gnome-extra/gnome-shell-extension-applications-overview-tooltip/files/gnome-shell-extension-applications-overview-tooltip-4-js-warning.patch
new file mode 100644
index 00000000000..0ed36b288f0
--- /dev/null
+++ b/gnome-extra/gnome-shell-extension-applications-overview-tooltip/files/gnome-shell-extension-applications-overview-tooltip-4-js-warning.patch
@@ -0,0 +1,24 @@
+From 27af671cca3fc6b9dd5c8687c1b3d0d530ccc516 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Rapha=C3=ABl=20Rochet?= <raphael@rri.fr>
+Date: Sun, 23 Sep 2018 16:39:36 +0200
+Subject: [PATCH] Fix JS warning
+
+---
+ extension.js | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/extension.js b/extension.js
+index 346a89a..1eda926 100644
+--- a/extension.js
++++ b/extension.js
+@@ -250,8 +250,8 @@ function _showTooltip(actor) {
+ 
+ 		if (!detailtext) { _ttdetail.hide() } else { _ttdetail.show() };
+ 
+-		[stageX, stageY] = actor.get_transformed_position();
+-		[iconWidth, iconHeight] = actor.get_transformed_size();
++		let [stageX, stageY] = actor.get_transformed_position();
++		let [iconWidth, iconHeight] = actor.get_transformed_size();
+ 		let y = stageY + iconHeight + 5;
+ 		let x = stageX - Math.round((_ttbox.get_width() - iconWidth)/2);
+ 

diff --git a/gnome-extra/gnome-shell-extension-applications-overview-tooltip/files/gnome-shell-extension-applications-overview-tooltip-4-old-animation.patch b/gnome-extra/gnome-shell-extension-applications-overview-tooltip/files/gnome-shell-extension-applications-overview-tooltip-4-old-animation.patch
new file mode 100644
index 00000000000..333d1c7c22b
--- /dev/null
+++ b/gnome-extra/gnome-shell-extension-applications-overview-tooltip/files/gnome-shell-extension-applications-overview-tooltip-4-old-animation.patch
@@ -0,0 +1,45 @@
+From ff442818fb5c4fd9521c532200ff825061fa35e4 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Rapha=C3=ABl=20Rochet?= <raphael@rri.fr>
+Date: Mon, 11 Feb 2019 21:26:24 +0100
+Subject: [PATCH] Fix #6 by removing old swipe animation
+
+---
+ extension.js | 16 ++--------------
+ 1 file changed, 2 insertions(+), 14 deletions(-)
+
+diff --git a/extension.js b/extension.js
+index 1eda926..deffc58 100644
+--- a/extension.js
++++ b/extension.js
+@@ -175,16 +175,10 @@ function _onLeave() {
+ 		_labelTimeoutId = 0;
+ 	}
+ 
+-	// but give a chance to skip hover delay if the cursor hovers another icon
+ 	if (_labelShowing) {
+-		_resetHoverTimeoutId = Mainloop.timeout_add(HIDEDELAY,  function() {
+-				_hideTooltip();
+-				_labelShowing = false;
+-				_resetHoverTimeoutId = 0;
+-				return false;
+-			} );
++		_hideTooltip();
++		_labelShowing = false;
+ 	}
+-
+ }
+ 
+ 
+@@ -277,12 +271,6 @@ function _showTooltip(actor) {
+ 
+ 		}
+ 
+-		// do not hide tooltip while cursor is on icon
+-		if (_resetHoverTimeoutId > 0) {
+-			Mainloop.source_remove(_resetHoverTimeoutId);
+-			_resetHoverTimeoutId = 0;
+-		}
+-
+ 	} else {
+ 
+ 		// No tooltip to show : act like we're leaving an icon

diff --git a/gnome-extra/gnome-shell-extension-applications-overview-tooltip/gnome-shell-extension-applications-overview-tooltip-4.ebuild b/gnome-extra/gnome-shell-extension-applications-overview-tooltip/gnome-shell-extension-applications-overview-tooltip-4.ebuild
new file mode 100644
index 00000000000..a86a660de2e
--- /dev/null
+++ b/gnome-extra/gnome-shell-extension-applications-overview-tooltip/gnome-shell-extension-applications-overview-tooltip-4.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit vcs-snapshot
+
+# 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.20
+"
+DEPEND="${COMMON_DEPEND}"
+
+PATCHES=(
+	# From 'master'
+	"${FILESDIR}"/${P}-old-animation.patch
+	"${FILESDIR}"/${P}-js-warning.patch
+)
+
+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 $?
+}

diff --git a/gnome-extra/gnome-shell-extension-applications-overview-tooltip/metadata.xml b/gnome-extra/gnome-shell-extension-applications-overview-tooltip/metadata.xml
new file mode 100644
index 00000000000..020b40648ee
--- /dev/null
+++ b/gnome-extra/gnome-shell-extension-applications-overview-tooltip/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>pacho@gentoo.org</email>
+	</maintainer>
+</pkgmetadata>


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

* [gentoo-commits] repo/gentoo:master commit in: gnome-extra/gnome-shell-extension-applications-overview-tooltip/files/, ...
@ 2019-06-09 11:06 Pacho Ramos
  0 siblings, 0 replies; 3+ messages in thread
From: Pacho Ramos @ 2019-06-09 11:06 UTC (permalink / raw
  To: gentoo-commits

commit:     64327a718e9f751582e91cf34d9db0b101e059b1
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Jun  9 11:06:22 2019 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Jun  9 11:06:22 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64327a71

gnome-extra/gnome-shell-extension-applications-overview-tooltip: Drop old

Package-Manager: Portage-2.3.67, Repoman-2.3.13
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 .../Manifest                                       |  1 -
 ...pplications-overview-tooltip-4-js-warning.patch | 24 -----------
 ...ications-overview-tooltip-4-old-animation.patch | 45 ---------------------
 ...xtension-applications-overview-tooltip-4.ebuild | 46 ----------------------
 4 files changed, 116 deletions(-)

diff --git a/gnome-extra/gnome-shell-extension-applications-overview-tooltip/Manifest b/gnome-extra/gnome-shell-extension-applications-overview-tooltip/Manifest
index ad459aa13e0..203b4f5c750 100644
--- a/gnome-extra/gnome-shell-extension-applications-overview-tooltip/Manifest
+++ b/gnome-extra/gnome-shell-extension-applications-overview-tooltip/Manifest
@@ -1,2 +1 @@
-DIST gnome-shell-extension-applications-overview-tooltip-4.tar.gz 79384 BLAKE2B 9e428b66351cb26615050a1c2e8e7ee1e325079b46ae7fc40eb836aef652ca33e04af9b39c07098364b6844c057867e9e5ddee291748afe63084caa108289037 SHA512 befb6f11f7836010077aba10d8664ba462c7153b498e25b5ad0fa12e065dc0b84302b7cc97d1f0685108ea92c20b61491c85a25a4511ad7237b1c0122a587868
 DIST gnome-shell-extension-applications-overview-tooltip-5.tar.gz 79336 BLAKE2B 789e1c91b25ea810ff6575be5c5a83e51800feb9deaf488105593dc36c93c06a16624d4d7704da9de516b1fae053b0108c2e85eef8f0228fc46bc33589328970 SHA512 bde1870b873e8e9aa8d3395414cddf05a3014196e2d860f7ff8fec1dab49f9dbb694420efb89096e498f03a79c76fc7ec3229fab0253dc9b0b31466cfd48d124

diff --git a/gnome-extra/gnome-shell-extension-applications-overview-tooltip/files/gnome-shell-extension-applications-overview-tooltip-4-js-warning.patch b/gnome-extra/gnome-shell-extension-applications-overview-tooltip/files/gnome-shell-extension-applications-overview-tooltip-4-js-warning.patch
deleted file mode 100644
index 0ed36b288f0..00000000000
--- a/gnome-extra/gnome-shell-extension-applications-overview-tooltip/files/gnome-shell-extension-applications-overview-tooltip-4-js-warning.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From 27af671cca3fc6b9dd5c8687c1b3d0d530ccc516 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Rapha=C3=ABl=20Rochet?= <raphael@rri.fr>
-Date: Sun, 23 Sep 2018 16:39:36 +0200
-Subject: [PATCH] Fix JS warning
-
----
- extension.js | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/extension.js b/extension.js
-index 346a89a..1eda926 100644
---- a/extension.js
-+++ b/extension.js
-@@ -250,8 +250,8 @@ function _showTooltip(actor) {
- 
- 		if (!detailtext) { _ttdetail.hide() } else { _ttdetail.show() };
- 
--		[stageX, stageY] = actor.get_transformed_position();
--		[iconWidth, iconHeight] = actor.get_transformed_size();
-+		let [stageX, stageY] = actor.get_transformed_position();
-+		let [iconWidth, iconHeight] = actor.get_transformed_size();
- 		let y = stageY + iconHeight + 5;
- 		let x = stageX - Math.round((_ttbox.get_width() - iconWidth)/2);
- 

diff --git a/gnome-extra/gnome-shell-extension-applications-overview-tooltip/files/gnome-shell-extension-applications-overview-tooltip-4-old-animation.patch b/gnome-extra/gnome-shell-extension-applications-overview-tooltip/files/gnome-shell-extension-applications-overview-tooltip-4-old-animation.patch
deleted file mode 100644
index 333d1c7c22b..00000000000
--- a/gnome-extra/gnome-shell-extension-applications-overview-tooltip/files/gnome-shell-extension-applications-overview-tooltip-4-old-animation.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From ff442818fb5c4fd9521c532200ff825061fa35e4 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Rapha=C3=ABl=20Rochet?= <raphael@rri.fr>
-Date: Mon, 11 Feb 2019 21:26:24 +0100
-Subject: [PATCH] Fix #6 by removing old swipe animation
-
----
- extension.js | 16 ++--------------
- 1 file changed, 2 insertions(+), 14 deletions(-)
-
-diff --git a/extension.js b/extension.js
-index 1eda926..deffc58 100644
---- a/extension.js
-+++ b/extension.js
-@@ -175,16 +175,10 @@ function _onLeave() {
- 		_labelTimeoutId = 0;
- 	}
- 
--	// but give a chance to skip hover delay if the cursor hovers another icon
- 	if (_labelShowing) {
--		_resetHoverTimeoutId = Mainloop.timeout_add(HIDEDELAY,  function() {
--				_hideTooltip();
--				_labelShowing = false;
--				_resetHoverTimeoutId = 0;
--				return false;
--			} );
-+		_hideTooltip();
-+		_labelShowing = false;
- 	}
--
- }
- 
- 
-@@ -277,12 +271,6 @@ function _showTooltip(actor) {
- 
- 		}
- 
--		// do not hide tooltip while cursor is on icon
--		if (_resetHoverTimeoutId > 0) {
--			Mainloop.source_remove(_resetHoverTimeoutId);
--			_resetHoverTimeoutId = 0;
--		}
--
- 	} else {
- 
- 		// No tooltip to show : act like we're leaving an icon

diff --git a/gnome-extra/gnome-shell-extension-applications-overview-tooltip/gnome-shell-extension-applications-overview-tooltip-4.ebuild b/gnome-extra/gnome-shell-extension-applications-overview-tooltip/gnome-shell-extension-applications-overview-tooltip-4.ebuild
deleted file mode 100644
index 73ae2aaec43..00000000000
--- a/gnome-extra/gnome-shell-extension-applications-overview-tooltip/gnome-shell-extension-applications-overview-tooltip-4.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit vcs-snapshot
-
-# 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.20
-"
-DEPEND="${COMMON_DEPEND}"
-
-PATCHES=(
-	# From 'master'
-	"${FILESDIR}"/${P}-old-animation.patch
-	"${FILESDIR}"/${P}-js-warning.patch
-)
-
-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 $?
-}


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

* [gentoo-commits] repo/gentoo:master commit in: gnome-extra/gnome-shell-extension-applications-overview-tooltip/files/, ...
@ 2021-02-14 16:23 Pacho Ramos
  0 siblings, 0 replies; 3+ messages in thread
From: Pacho Ramos @ 2021-02-14 16:23 UTC (permalink / raw
  To: gentoo-commits

commit:     4fb0ccd7d7d614374aa022000a076795839def4b
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 14 15:36:58 2021 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Feb 14 16:23:03 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fb0ccd7

gnome-extra/gnome-shell-extension-applications-overview-tooltip: Fix tooltip in search

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 ...ations-overview-tooltip-10-search-tooltip.patch | 57 ++++++++++++++++++++++
 ...sion-applications-overview-tooltip-10-r1.ebuild | 54 ++++++++++++++++++++
 2 files changed, 111 insertions(+)

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
new file mode 100644
index 00000000000..293a710aa2f
--- /dev/null
+++ b/gnome-extra/gnome-shell-extension-applications-overview-tooltip/files/gnome-shell-extension-applications-overview-tooltip-10-search-tooltip.patch
@@ -0,0 +1,57 @@
+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
new file mode 100644
index 00000000000..752839d2b80
--- /dev/null
+++ b/gnome-extra/gnome-shell-extension-applications-overview-tooltip/gnome-shell-extension-applications-overview-tooltip-10-r1.ebuild
@@ -0,0 +1,54 @@
+# 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
+}


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

end of thread, other threads:[~2021-02-14 16:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-20 17:59 [gentoo-commits] repo/gentoo:master commit in: gnome-extra/gnome-shell-extension-applications-overview-tooltip/files/, Pacho Ramos
  -- strict thread matches above, loose matches on Subject: below --
2019-06-09 11:06 Pacho Ramos
2021-02-14 16:23 Pacho Ramos

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