public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-eselect/eselect-gnome-shell-extensions/
Date: Sat, 10 Mar 2018 10:55:59 +0000 (UTC)	[thread overview]
Message-ID: <1520679346.b7f1805b968caa2d534ed600b0a920c5fd1f4d6c.ulm@gentoo> (raw)

commit:     b7f1805b968caa2d534ed600b0a920c5fd1f4d6c
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 10 10:44:46 2018 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Mar 10 10:55:46 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7f1805b

app-eselect/eselect-gnome-shell-extensions: Fix for >=eselect-1.4.10.

Bump EAPI to 6. Specify LICENSE more precisely. Create relative rather
than absolute symlink in src_install.

Closes: https://bugs.gentoo.org/643498
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 .../eselect-gnome-shell-extensions/Manifest        |  1 +
 .../eselect-gnome-shell-extensions-20180306.ebuild | 48 ++++++++++++++++++++++
 2 files changed, 49 insertions(+)

diff --git a/app-eselect/eselect-gnome-shell-extensions/Manifest b/app-eselect/eselect-gnome-shell-extensions/Manifest
index 98a566877f1..9254e4b14c5 100644
--- a/app-eselect/eselect-gnome-shell-extensions/Manifest
+++ b/app-eselect/eselect-gnome-shell-extensions/Manifest
@@ -1 +1,2 @@
 DIST eselect-gnome-shell-extensions-20120911.tar.xz 2792 BLAKE2B eaa0bf4217b095708131eb3f72b5a420b717f12b9f2088d8772567cd81c2631b68007a3bef0416b9d9016913f096094b3816dff2f1e7ba4495515c76cf03157b SHA512 da54e2a0b74f3e8f8eaa26b1858d26c56fbaa398ec54b079f504377a4079df19ff52485991a9ea153f92c93a9fe871d70c3c2b841bad4b8dba402ad83c9297e2
+DIST eselect-gnome-shell-extensions-20180306.tar.xz 2676 BLAKE2B 846e282f99828ce795ba98557bb97301f576895c46e98ae0c079dfee8461146756c85573c1ce24e4ca3690d2ea8383dd988e40d3fe271a32b1987e027b47e3ae SHA512 2c0b9119219d8f3c54201f9865e1a9dd6889ccf26537802c591e89adb545f38aca13fa6b1119fe52d4183daf4adb6d2b1053b252d2756778b31626688092196d

diff --git a/app-eselect/eselect-gnome-shell-extensions/eselect-gnome-shell-extensions-20180306.ebuild b/app-eselect/eselect-gnome-shell-extensions/eselect-gnome-shell-extensions-20180306.ebuild
new file mode 100644
index 00000000000..6d497dd4329
--- /dev/null
+++ b/app-eselect/eselect-gnome-shell-extensions/eselect-gnome-shell-extensions-20180306.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Manages system defaults for GNOME Shell extensions"
+HOMEPAGE="https://www.gentoo.org/"
+SRC_URI="https://dev.gentoo.org/~leio/distfiles/${P}.tar.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# gnome-shell schemas are used in pkg_postinst
+COMMON_DEPEND="app-admin/eselect
+	>=dev-libs/glib-2.26:2
+	gnome-base/gsettings-desktop-schemas
+	gnome-base/gnome-shell"
+RDEPEND="${COMMON_DEPEND}
+	dev-lang/perl
+	dev-perl/JSON"
+DEPEND="${COMMON_DEPEND}
+	app-arch/xz-utils"
+
+src_install() {
+	insinto "/usr/share/eselect/modules"
+	doins gnome-shell-extensions.eselect
+	keepdir "/etc/eselect/gnome-shell-extensions"
+	# The actual gschema override file will be created in pkg_postinst.
+	dosym "../../../../etc/eselect/gnome-shell-extensions/${PN}.gschema.override" \
+		"/usr/share/glib-2.0/schemas/${PN}.gschema.override"
+}
+
+pkg_postinst() {
+	einfo "Updating list of installed extensions"
+	eselect gnome-shell-extensions update || die
+	local keyname="disabled-extensions"
+	has_version ">=gnome-base/gnome-shell-3.1.90" &&
+		keyname="enabled-extensions"
+	elog
+	elog "eselect gnome-shell-extensions manages the system default value of"
+	elog "the org.gnome.shell ${keyname} key. To override the default"
+	elog "for an individual user, use the gsettings command, e.g."
+	elog "\$ gsettings set org.gnome.shell ${keyname} \"['foo', 'bar']\""
+	elog "To undo per-user changes and use the system default, do"
+	elog "\$ gsettings reset org.gnome.shell ${keyname}"
+	elog
+}


             reply	other threads:[~2018-03-10 10:56 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-10 10:55 Ulrich Müller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-03-15  1:50 [gentoo-commits] repo/gentoo:master commit in: app-eselect/eselect-gnome-shell-extensions/ Mart Raudsepp
2018-03-15  1:50 Mart Raudsepp
2021-05-19  5:33 Georgy Yakovlev
2021-09-02 10:04 Yixun Lan
2022-01-13  1:22 Georgy Yakovlev
2022-06-21 16:29 David Seifert
2023-07-27 10:22 WANG Xuerui

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1520679346.b7f1805b968caa2d534ed600b0a920c5fd1f4d6c.ulm@gentoo \
    --to=ulm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox