Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-extra/gnome-shell-extensions-topicons-plus/
Date: Tue, 15 Jan 2019 23:59:06
Message-Id: 1547596624.6cb50024b23c43fa0506c112685e5d09a0ede872.leio@gentoo
1 commit: 6cb50024b23c43fa0506c112685e5d09a0ede872
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 15 23:57:04 2019 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 15 23:57:04 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cb50024
7
8 gnome-extra/gnome-shell-extensions-topicons-plus: bump to v22 for gnome-shell-3.30 compat
9
10 This extension is in practice not maintained upstream anymore, and is at a
11 technical dead end for wayland (can't work). Some alternatives to research
12 might be:
13 https://extensions.gnome.org/extension/615/appindicator-support/
14 https://extensions.gnome.org/extension/1497/topicons-redux/ (as a maintained
15 version of X11 topicons)
16
17 Meanwhile lets have an upgraded version that at least will continue to work on
18 GNOME 3.30 X11 sessions.
19
20 Package-Manager: Portage-2.3.52, Repoman-2.3.12
21 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
22
23 .../gnome-shell-extensions-topicons-plus/Manifest | 1 +
24 .../gnome-shell-extensions-topicons-plus-22.ebuild | 44 ++++++++++++++++++++++
25 2 files changed, 45 insertions(+)
26
27 diff --git a/gnome-extra/gnome-shell-extensions-topicons-plus/Manifest b/gnome-extra/gnome-shell-extensions-topicons-plus/Manifest
28 index 3e9df732185..068aed77ead 100644
29 --- a/gnome-extra/gnome-shell-extensions-topicons-plus/Manifest
30 +++ b/gnome-extra/gnome-shell-extensions-topicons-plus/Manifest
31 @@ -1 +1,2 @@
32 DIST gnome-shell-extensions-topicons-plus-21.tar.gz 2756641 BLAKE2B 39414711365a9c68fa2b0172859e9969a7f71eae5e7498abee9ff05e4c215df09419cdad99192c60892b1bd6e8b27724c81c5d3da9a3d8ca3072d984824cb950 SHA512 f85db46f20c24f0b11ce2c79c0548b88262faf059d674073e328917dc8497de0e07ccd6f3613f45aa9e49109468d78293f3a8f0f4fea5a24a7c5254666cda5df
33 +DIST gnome-shell-extensions-topicons-plus-22.tar.gz 2757811 BLAKE2B 8bfe719d4a0e4d58db9b21d354e841ea69b88d82c69ba6aa4ebc8db65acde9330553487d0a0d3b623d5a6a2a18ff67e6ad4e45133c6e7b8a77e07bd90c589e63 SHA512 f0589bd8ed6697d616772ab374e9aa80779512d38c50f82c375820c02c06ef26a50b2a8c78c4e5fab5dc8588ed5fdcf0b7e73e7868af0855545528e741aa280d
34
35 diff --git a/gnome-extra/gnome-shell-extensions-topicons-plus/gnome-shell-extensions-topicons-plus-22.ebuild b/gnome-extra/gnome-shell-extensions-topicons-plus/gnome-shell-extensions-topicons-plus-22.ebuild
36 new file mode 100644
37 index 00000000000..fb983644952
38 --- /dev/null
39 +++ b/gnome-extra/gnome-shell-extensions-topicons-plus/gnome-shell-extensions-topicons-plus-22.ebuild
40 @@ -0,0 +1,44 @@
41 +# Copyright 1999-2019 Gentoo Authors
42 +# Distributed under the terms of the GNU General Public License v2
43 +
44 +EAPI=6
45 +inherit vcs-snapshot
46 +
47 +DESCRIPTION="Moves legacy tray icons to top panel"
48 +HOMEPAGE="https://extensions.gnome.org/extension/1031/topicons/"
49 +SRC_URI="https://github.com/phocean/TopIcons-plus/archive/v${PV}.tar.gz -> ${P}.tar.gz"
50 +
51 +LICENSE="GPL-2+"
52 +SLOT="0"
53 +KEYWORDS="~amd64 ~x86"
54 +IUSE=""
55 +
56 +# glib for glib-compile-schemas at build time, needed at runtime anyways
57 +COMMON_DEPEND="
58 + dev-libs/glib:2
59 +"
60 +RDEPEND="${COMMON_DEPEND}
61 + app-eselect/eselect-gnome-shell-extensions
62 + >=gnome-base/gnome-shell-3.16
63 +"
64 +DEPEND="${COMMON_DEPEND}"
65 +
66 +#src_compile() {
67 + # It redoes this with "make install" later due to a dumb Makefile, so don't bother
68 + #make build
69 +#}
70 +
71 +src_install() {
72 + # TODO: Figure out if we can get the schemas to standard location, in a way that works properly runtime too
73 + make install INSTALL_PATH="${ED}usr/share/gnome-shell/extensions/"
74 + rm "${ED}/usr/share/gnome-shell/extensions/TopIcons@×××××××.net/README.md" || die
75 + # Assuming it needs only compiled gettext catalogs at runtime
76 + rm "${ED}/usr/share/gnome-shell/extensions/TopIcons@×××××××.net/locale"/*/LC_MESSAGES/*.po || die
77 + dodoc README.md
78 +}
79 +
80 +pkg_postinst() {
81 + ebegin "Updating list of installed extensions"
82 + eselect gnome-shell-extensions update
83 + eend $?
84 +}