From: "Gilles Dartiguelongue" <eva@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gnome:master commit in: gnome-base/dconf/
Date: Fri, 8 Apr 2011 10:52:12 +0000 (UTC) [thread overview]
Message-ID: <21702d2e4f838a7393aa091558cf1a0678ed9eb2.eva@gentoo> (raw)
commit: 21702d2e4f838a7393aa091558cf1a0678ed9eb2
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 8 08:15:42 2011 +0000
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
CommitDate: Fri Apr 8 10:51:45 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=21702d2e
gnome-base/dconf: QAed
* Moved gtk editor dependencies behind X use flag.
* Split phases properly
* Add slot notation for glib
* Install env file for GSettings
(Portage version: 2.2.0_alpha29/git/Linux x86_64, RepoMan options: --force, signed Manifest commit with key C6085806)
---
gnome-base/dconf/dconf-0.7.3.ebuild | 31 ++++++++++++++++++++-----------
gnome-base/dconf/dconf-9999.ebuild | 31 ++++++++++++++++++++-----------
2 files changed, 40 insertions(+), 22 deletions(-)
diff --git a/gnome-base/dconf/dconf-0.7.3.ebuild b/gnome-base/dconf/dconf-0.7.3.ebuild
index 460ca3e..bd594f7 100644
--- a/gnome-base/dconf/dconf-0.7.3.ebuild
+++ b/gnome-base/dconf/dconf-0.7.3.ebuild
@@ -12,8 +12,7 @@ HOMEPAGE="http://live.gnome.org/dconf"
LICENSE="LGPL-2.1"
SLOT="0"
-#IUSE="doc vala"
-IUSE="doc"
+IUSE="doc +X"
if [[ ${PV} = 9999 ]]; then
inherit gnome2-live
KEYWORDS=""
@@ -21,23 +20,23 @@ else
KEYWORDS="~amd64 ~arm ~sparc ~x86"
fi
-COMMON_DEPEND=">=dev-libs/glib-2.27.2
- >=dev-libs/libgee-0.5.1
- >=dev-libs/libxml2-2.7.7
+COMMON_DEPEND=">=dev-libs/glib-2.27.2:2
sys-apps/dbus
- x11-libs/gtk+:3"
+ X? (
+ >=dev-libs/libxml2-2.7.7:2
+ x11-libs/gtk+:3 )"
DEPEND="${COMMON_DEPEND}
>=dev-lang/vala-0.11.7:0.12
doc? ( >=dev-util/gtk-doc-1.15 )"
-#vala? ( >=dev-lang/vala-0.9.5:0.10 )
-RDEPEND="${COMMON_DEPEND}
- !dev-lang/vala:0"
-src_prepare() {
+pkg_setup() {
G2CONF="${G2CONF}
- VALAC=$(type -p valac-0.12)"
+ VALAC=$(type -p valac-0.12)
+ $(use_enable X editor)"
#$(use_enable vala)
+}
+src_prepare() {
if [[ ${PV} = 9999 ]]; then
# XXX: gtk-doc.make should be in top_srcdir -- file a bug for this
# Let's only do this in the live version to avoid gtkdocize in releases
@@ -51,3 +50,13 @@ src_prepare() {
gnome2_src_prepare
}
+
+src_install() {
+ gnome2_src_install
+
+ # GSettings backend may be one of: memory, gconf, dcon
+ # Only dconf is really considered functional by upstream
+ # must have it enabled over gconf if both are installed
+ echo 'GSETTINGS_BACKEND="dconf"' >> 51dconf
+ doenvd 51dconf || die "doenvd failed"
+}
diff --git a/gnome-base/dconf/dconf-9999.ebuild b/gnome-base/dconf/dconf-9999.ebuild
index a2b564b..fe3ca24 100644
--- a/gnome-base/dconf/dconf-9999.ebuild
+++ b/gnome-base/dconf/dconf-9999.ebuild
@@ -12,8 +12,7 @@ HOMEPAGE="http://live.gnome.org/dconf"
LICENSE="LGPL-2.1"
SLOT="0"
-#IUSE="doc vala"
-IUSE="doc"
+IUSE="doc +X"
if [[ ${PV} = 9999 ]]; then
inherit gnome2-live
KEYWORDS=""
@@ -21,23 +20,23 @@ else
KEYWORDS="~amd64 ~arm ~sparc ~x86"
fi
-COMMON_DEPEND=">=dev-libs/glib-2.27.2
- >=dev-libs/libgee-0.5.1
- >=dev-libs/libxml2-2.7.7
+COMMON_DEPEND=">=dev-libs/glib-2.27.2:2
sys-apps/dbus
- x11-libs/gtk+:3"
+ X? (
+ >=dev-libs/libxml2-2.7.7:2
+ x11-libs/gtk+:3 )"
DEPEND="${COMMON_DEPEND}
>=dev-lang/vala-0.11.7:0.12
doc? ( >=dev-util/gtk-doc-1.15 )"
-RDEPEND="${COMMON_DEPEND}
- !dev-lang/vala:0"
-#vala? ( >=dev-lang/vala-0.9.5:0.10 )
-src_prepare() {
+pkg_setup() {
G2CONF="${G2CONF}
- VALAC=$(type -p valac-0.12)"
+ VALAC=$(type -p valac-0.12)
+ $(use_enable X editor)"
#$(use_enable vala)
+}
+src_prepare() {
if [[ ${PV} = 9999 ]]; then
# XXX: gtk-doc.make should be in top_srcdir -- file a bug for this
# Let's only do this in the live version to avoid gtkdocize in releases
@@ -51,3 +50,13 @@ src_prepare() {
gnome2_src_prepare
}
+
+src_install() {
+ gnome2_src_install
+
+ # GSettings backend may be one of: memory, gconf, dcon
+ # Only dconf is really considered functional by upstream
+ # must have it enabled over gconf if both are installed
+ echo 'GSETTINGS_BACKEND="dconf"' >> 51dconf
+ doenvd 51gsettings-dconf || die "doenvd failed"
+}
next reply other threads:[~2011-04-08 10:52 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-08 10:52 Gilles Dartiguelongue [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-02-22 18:56 [gentoo-commits] proj/gnome:master commit in: gnome-base/dconf/ Mart Raudsepp
2015-05-10 17:20 Gilles Dartiguelongue
2014-12-22 23:11 Gilles Dartiguelongue
2013-11-27 23:32 Gilles Dartiguelongue
2012-09-28 0:07 Alexandre Rostovtsev
2012-09-02 18:59 Nirbheek Chauhan
2012-08-18 10:40 Priit Laes
2012-04-12 10:54 Priit Laes
2012-04-02 3:30 Alexandre Restovtsev
2012-03-22 3:19 Alexandre Restovtsev
2011-07-28 1:49 Alexandre Restovtsev
2011-07-26 18:47 Alexandre Restovtsev
2011-06-24 17:35 Alexandre Restovtsev
2011-05-09 10:40 Nirbheek Chauhan
2011-04-29 19:12 Nirbheek Chauhan
2011-04-09 7:04 Nirbheek Chauhan
2011-03-23 21:59 Nirbheek Chauhan
2011-02-06 7:37 Nirbheek Chauhan
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=21702d2e4f838a7393aa091558cf1a0678ed9eb2.eva@gentoo \
--to=eva@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