diff options
author | 2015-08-08 13:49:04 -0700 | |
---|---|---|
committer | 2015-08-08 17:38:18 -0700 | |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-admin/openrc-settingsd | |
download | gentoo-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-admin/openrc-settingsd')
-rw-r--r-- | app-admin/openrc-settingsd/Manifest | 1 | ||||
-rw-r--r-- | app-admin/openrc-settingsd/metadata.xml | 13 | ||||
-rw-r--r-- | app-admin/openrc-settingsd/openrc-settingsd-1.0.1.ebuild | 50 |
3 files changed, 64 insertions, 0 deletions
diff --git a/app-admin/openrc-settingsd/Manifest b/app-admin/openrc-settingsd/Manifest new file mode 100644 index 000000000000..8ed0c07d38c2 --- /dev/null +++ b/app-admin/openrc-settingsd/Manifest @@ -0,0 +1 @@ +DIST openrc-settingsd-1.0.1.tar.xz 243552 SHA256 2047267982c716cbc113d76d826f9b694706dbf737273eaaab239f6839d9ade2 SHA512 1f04a4b078a5fb659573daec0962f819af7eaff17a6213c4881726833cf32becd71dd820cd63767e2933465df26b3e4a3475d94f23e203a6977298965c709b21 WHIRLPOOL 5db609b67f1bdc8d1e5ccb4a3efb2b3f2aba18695ed824a667e95887a7a3977db145266926dd953cae7f3f961cb0bd30fcd89885ced5618d21af6386f927b83f diff --git a/app-admin/openrc-settingsd/metadata.xml b/app-admin/openrc-settingsd/metadata.xml new file mode 100644 index 000000000000..cb6c8006990a --- /dev/null +++ b/app-admin/openrc-settingsd/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> + <email>tetromino@gentoo.org</email> + <name>Alexandre Rostovtsev</name> +</maintainer> +<herd>gnome</herd> +<use> + <flag name="systemd">Use the versions of dbus and polkit files provided by + <pkg>sys-apps/systemd</pkg></flag> +</use> +</pkgmetadata> diff --git a/app-admin/openrc-settingsd/openrc-settingsd-1.0.1.ebuild b/app-admin/openrc-settingsd/openrc-settingsd-1.0.1.ebuild new file mode 100644 index 000000000000..a8a7d125ad33 --- /dev/null +++ b/app-admin/openrc-settingsd/openrc-settingsd-1.0.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +DESCRIPTION="System settings D-Bus service for OpenRC" +HOMEPAGE="http://gnome.gentoo.org/openrc-settingsd.xml" +SRC_URI="http://dev.gentoo.org/~tetromino/distfiles/${PN}/${P}.tar.xz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86" +IUSE="systemd" + +COMMON_DEPEND=">=dev-libs/glib-2.30:2 + dev-libs/libdaemon + sys-apps/dbus + sys-apps/openrc:= + sys-auth/polkit" +RDEPEND="${COMMON_DEPEND} + systemd? ( >=sys-apps/systemd-197 ) + !systemd? ( sys-auth/nss-myhostname !sys-apps/systemd )" +DEPEND="${COMMON_DEPEND} + app-arch/xz-utils + dev-util/gdbus-codegen + virtual/pkgconfig" + +src_configure() { + econf \ + --with-pidfile="${EPREFIX}"/var/run/openrc-settingsd.pid +} + +src_install() { + default + if use systemd; then + # Avoid file collision with systemd + rm -vr "${ED}"usr/share/{dbus-1,polkit-1} "${ED}"etc/dbus-1 || die "rm failed" + fi +} + +pkg_postinst() { + if use systemd; then + elog "You installed ${PN} with USE=systemd. In this mode," + elog "${PN} will not start via simple dbus activation, so you" + elog "will have to manually enable it as an rc service:" + elog " # /etc/init.d/openrc-settingsd start" + elog " # rc-update add openrc-settingsd default" + fi +} |