diff options
author | Ulrich Müller <ulm@gentoo.org> | 2015-03-31 16:49:11 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2015-03-31 16:49:11 +0000 |
commit | bfb3c82d036e8ec314edf7c2a54fb487f8502ddd (patch) | |
tree | f5cd5d3e312883cac438efefd1da07139e2b1413 /app-eselect/eselect-gnome-shell-extensions | |
parent | Move package from app-admin to app-eselect category. (diff) | |
download | gentoo-2-bfb3c82d036e8ec314edf7c2a54fb487f8502ddd.tar.gz gentoo-2-bfb3c82d036e8ec314edf7c2a54fb487f8502ddd.tar.bz2 gentoo-2-bfb3c82d036e8ec314edf7c2a54fb487f8502ddd.zip |
Move package from app-admin to app-eselect category.
(Portage version: 2.2.18/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 9433907D693FB5B8!)
Diffstat (limited to 'app-eselect/eselect-gnome-shell-extensions')
3 files changed, 99 insertions, 0 deletions
diff --git a/app-eselect/eselect-gnome-shell-extensions/ChangeLog b/app-eselect/eselect-gnome-shell-extensions/ChangeLog new file mode 100644 index 000000000000..ab850d9243cf --- /dev/null +++ b/app-eselect/eselect-gnome-shell-extensions/ChangeLog @@ -0,0 +1,44 @@ +# ChangeLog for app-eselect/eselect-gnome-shell-extensions +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-eselect/eselect-gnome-shell-extensions/ChangeLog,v 1.1 2015/03/31 16:49:11 ulm Exp $ + + 31 Mar 2015; Ulrich Müller <ulm@gentoo.org> + +eselect-gnome-shell-extensions-20120911.ebuild, +metadata.xml: + Move package from app-admin to app-eselect category. + + 08 Dec 2013; Pacho Ramos <pacho@gentoo.org> + eselect-gnome-shell-extensions-20120911.ebuild: + x86 stable, bug #478252 + + 30 Nov 2013; Pacho Ramos <pacho@gentoo.org> + eselect-gnome-shell-extensions-20120911.ebuild: + amd64 stable, bug #478252 + + 05 Mar 2013; Gilles Dartiguelongue <eva@gentoo.org> + -eselect-gnome-shell-extensions-20111211.ebuild: + Clean up old revision. + +*eselect-gnome-shell-extensions-20120911 (11 Sep 2012) + + 11 Sep 2012; Alexandre Rostovtsev <tetromino@gentoo.org> + +eselect-gnome-shell-extensions-20120911.ebuild: + Silence glib-compile-schemas, it prints too many warnings. Thanks to Sylvain + Alain for reporting. + + 25 May 2012; Alexandre Rostovtsev <tetromino@gentoo.org> + -eselect-gnome-shell-extensions-20110911.ebuild: + Drop old. + +*eselect-gnome-shell-extensions-20111211 (11 Dec 2011) + + 11 Dec 2011; Alexandre Rostovtsev <tetromino@gentoo.org> + +eselect-gnome-shell-extensions-20111211.ebuild: + Bump. Handle the *.gnome.org → *.gcampax.github.com renaming in + gnome-shell-extensions-3.2.2. + +*eselect-gnome-shell-extensions-20110911 (06 Nov 2011) + + 06 Nov 2011; Alexandre Rostovtsev <tetromino@gentoo.org> + +eselect-gnome-shell-extensions-20110911.ebuild, +metadata.xml: + Add eselect module for setting systemwide gnome shell extensions defaults + from the gnome overlay. diff --git a/app-eselect/eselect-gnome-shell-extensions/eselect-gnome-shell-extensions-20120911.ebuild b/app-eselect/eselect-gnome-shell-extensions/eselect-gnome-shell-extensions-20120911.ebuild new file mode 100644 index 000000000000..aa288c9c78f6 --- /dev/null +++ b/app-eselect/eselect-gnome-shell-extensions/eselect-gnome-shell-extensions-20120911.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-eselect/eselect-gnome-shell-extensions/eselect-gnome-shell-extensions-20120911.ebuild,v 1.1 2015/03/31 16:49:11 ulm Exp $ + +EAPI="4" + +DESCRIPTION="Manages system defaults for GNOME Shell extensions" +HOMEPAGE="http://www.gentoo.org" +SRC_URI="http://dev.gentoo.org/~tetromino/distfiles/${PN}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +# 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 greated 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 +} diff --git a/app-eselect/eselect-gnome-shell-extensions/metadata.xml b/app-eselect/eselect-gnome-shell-extensions/metadata.xml new file mode 100644 index 000000000000..da6fd63d0085 --- /dev/null +++ b/app-eselect/eselect-gnome-shell-extensions/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>gnome</herd> +</pkgmetadata> |