summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-eselect/eselect-gnome-shell-extensions
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-eselect/eselect-gnome-shell-extensions')
-rw-r--r--app-eselect/eselect-gnome-shell-extensions/Manifest1
-rw-r--r--app-eselect/eselect-gnome-shell-extensions/eselect-gnome-shell-extensions-20120911.ebuild50
-rw-r--r--app-eselect/eselect-gnome-shell-extensions/metadata.xml5
3 files changed, 56 insertions, 0 deletions
diff --git a/app-eselect/eselect-gnome-shell-extensions/Manifest b/app-eselect/eselect-gnome-shell-extensions/Manifest
new file mode 100644
index 000000000000..d309afc0e376
--- /dev/null
+++ b/app-eselect/eselect-gnome-shell-extensions/Manifest
@@ -0,0 +1 @@
+DIST eselect-gnome-shell-extensions-20120911.tar.xz 2792 SHA256 1f763aab3a80f85805ad5ed30010cf0c26afb7ad3b81c4f698662ad3e33bf91c SHA512 da54e2a0b74f3e8f8eaa26b1858d26c56fbaa398ec54b079f504377a4079df19ff52485991a9ea153f92c93a9fe871d70c3c2b841bad4b8dba402ad83c9297e2 WHIRLPOOL abdfea55dd0c2429900e17919bab21ed5893e44a41dba152ae3c093e14bdc2d2695551a193d77c86753c623466b6bd46beb51323900ebdb3351b7b756a31b9fe
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..8cc4d90a9a3f
--- /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
+# $Id$
+
+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>