Gentoo Archives: gentoo-commits

From: Alexandre Restovtsev <tetromino@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: gnome-base/dconf/, gnome-base/dconf/files/
Date: Sun, 26 Feb 2012 23:19:12
Message-Id: 1330298211.6144b5dbf93ba5268b09394a74f5aecc77216226.tetromino@gentoo
1 commit: 6144b5dbf93ba5268b09394a74f5aecc77216226
2 Author: Alexandre Rostovtsev <tetromino <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 26 23:11:26 2012 +0000
4 Commit: Alexandre Restovtsev <tetromino <AT> gmail <DOT> com>
5 CommitDate: Sun Feb 26 23:16:51 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=6144b5db
7
8 gnome-base/dconf: add 0.11.5
9
10 ---
11 .../{dconf-9999.ebuild => dconf-0.11.5.ebuild} | 33 +++++---------------
12 gnome-base/dconf/dconf-9999.ebuild | 15 ++++-----
13 .../dconf/files/dconf-0.11.5-automagic-vala.patch | 33 ++++++++++++++++++++
14 .../dconf/files/dconf-0.8.0-automagic-vala.patch | 19 -----------
15 4 files changed, 48 insertions(+), 52 deletions(-)
16
17 diff --git a/gnome-base/dconf/dconf-9999.ebuild b/gnome-base/dconf/dconf-0.11.5.ebuild
18 similarity index 66%
19 copy from gnome-base/dconf/dconf-9999.ebuild
20 copy to gnome-base/dconf/dconf-0.11.5.ebuild
21 index 05945f9..6d735a6 100644
22 --- a/gnome-base/dconf/dconf-9999.ebuild
23 +++ b/gnome-base/dconf/dconf-0.11.5.ebuild
24 @@ -1,36 +1,28 @@
25 -# Copyright 1999-2011 Gentoo Foundation
26 +# Copyright 1999-2012 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: $
29 +# $Header: /var/cvsroot/gentoo-x86/gnome-base/dconf/dconf-0.10.0.ebuild,v 1.6 2012/01/18 20:33:49 maekke Exp $
30
31 EAPI="4"
32 GCONF_DEBUG="no"
33
34 inherit autotools eutils gnome2 bash-completion-r1
35 -if [[ ${PV} = 9999 ]]; then
36 - inherit gnome2-live
37 -fi
38
39 DESCRIPTION="Simple low-level configuration system"
40 HOMEPAGE="http://live.gnome.org/dconf"
41
42 LICENSE="LGPL-2.1"
43 SLOT="0"
44 +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
45 IUSE="doc vala +X"
46 -if [[ ${PV} = 9999 ]]; then
47 - KEYWORDS=""
48 -else
49 - KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
50 -fi
51
52 RDEPEND=">=dev-libs/glib-2.29.90:2
53 sys-apps/dbus
54 X? ( >=dev-libs/libxml2-2.7.7:2
55 x11-libs/gtk+:3 )"
56 -# vala:0.14 due to an automagic version-check #ifdef (commit a15d9621)
57 DEPEND="${RDEPEND}
58 dev-util/gtk-doc-am
59 doc? ( >=dev-util/gtk-doc-1.15 )
60 - vala? ( dev-lang/vala:0.14 )"
61 + vala? ( >=dev-lang/vala-0.15.1:0.16 )"
62 # eautoreconf requires gtk-doc-am
63
64 pkg_setup() {
65 @@ -38,24 +30,15 @@ pkg_setup() {
66 --disable-schemas-compile
67 $(use_enable vala)
68 $(use_enable X editor)
69 - VALAC=$(type -p valac-0.14)"
70 + VALAC=$(type -p valac-0.16)"
71 }
72
73 src_prepare() {
74 - if [[ ${PV} = 9999 ]]; then
75 - # XXX: gtk-doc.make should be in top_srcdir -- file a bug for this
76 - # Let's only do this in the live version to avoid gtkdocize in releases
77 - sed -e 's:^include gtk-doc.make:include $(top_srcdir)/gtk-doc.make:' \
78 - -i docs/Makefile.am || die "Fixing gtk-doc.make failed"
79 - fi
80 -
81 # Fix vala automagic support, upstream bug #634171
82 - epatch "${FILESDIR}/${PN}-0.8.0-automagic-vala.patch"
83 + epatch "${FILESDIR}/${PN}-0.11.5-automagic-vala.patch"
84
85 - if [[ ${PV} != 9999 ]]; then
86 - mkdir -p m4 || die
87 - eautoreconf
88 - fi
89 + mkdir -p m4 || die
90 + eautoreconf
91
92 gnome2_src_prepare
93 }
94
95 diff --git a/gnome-base/dconf/dconf-9999.ebuild b/gnome-base/dconf/dconf-9999.ebuild
96 index 05945f9..9859ec2 100644
97 --- a/gnome-base/dconf/dconf-9999.ebuild
98 +++ b/gnome-base/dconf/dconf-9999.ebuild
99 @@ -1,6 +1,6 @@
100 -# Copyright 1999-2011 Gentoo Foundation
101 +# Copyright 1999-2012 Gentoo Foundation
102 # Distributed under the terms of the GNU General Public License v2
103 -# $Header: $
104 +# $Header: /var/cvsroot/gentoo-x86/gnome-base/dconf/dconf-0.10.0.ebuild,v 1.6 2012/01/18 20:33:49 maekke Exp $
105
106 EAPI="4"
107 GCONF_DEBUG="no"
108 @@ -15,22 +15,21 @@ HOMEPAGE="http://live.gnome.org/dconf"
109
110 LICENSE="LGPL-2.1"
111 SLOT="0"
112 -IUSE="doc vala +X"
113 if [[ ${PV} = 9999 ]]; then
114 KEYWORDS=""
115 else
116 - KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
117 + KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
118 fi
119 +IUSE="doc vala +X"
120
121 RDEPEND=">=dev-libs/glib-2.29.90:2
122 sys-apps/dbus
123 X? ( >=dev-libs/libxml2-2.7.7:2
124 x11-libs/gtk+:3 )"
125 -# vala:0.14 due to an automagic version-check #ifdef (commit a15d9621)
126 DEPEND="${RDEPEND}
127 dev-util/gtk-doc-am
128 doc? ( >=dev-util/gtk-doc-1.15 )
129 - vala? ( dev-lang/vala:0.14 )"
130 + vala? ( >=dev-lang/vala-0.15.1:0.16 )"
131 # eautoreconf requires gtk-doc-am
132
133 pkg_setup() {
134 @@ -38,7 +37,7 @@ pkg_setup() {
135 --disable-schemas-compile
136 $(use_enable vala)
137 $(use_enable X editor)
138 - VALAC=$(type -p valac-0.14)"
139 + VALAC=$(type -p valac-0.16)"
140 }
141
142 src_prepare() {
143 @@ -50,7 +49,7 @@ src_prepare() {
144 fi
145
146 # Fix vala automagic support, upstream bug #634171
147 - epatch "${FILESDIR}/${PN}-0.8.0-automagic-vala.patch"
148 + epatch "${FILESDIR}/${PN}-0.11.5-automagic-vala.patch"
149
150 if [[ ${PV} != 9999 ]]; then
151 mkdir -p m4 || die
152
153 diff --git a/gnome-base/dconf/files/dconf-0.11.5-automagic-vala.patch b/gnome-base/dconf/files/dconf-0.11.5-automagic-vala.patch
154 new file mode 100644
155 index 0000000..cda55cb
156 --- /dev/null
157 +++ b/gnome-base/dconf/files/dconf-0.11.5-automagic-vala.patch
158 @@ -0,0 +1,33 @@
159 +From 09f3a2a4b6d997b5fd9b42add27de465dd529d43 Mon Sep 17 00:00:00 2001
160 +From: Alexandre Rostovtsev <tetromino@g.o>
161 +Date: Sun, 26 Feb 2012 18:15:50 -0500
162 +Subject: [PATCH] Make vala dependency non-automagic
163 +
164 +---
165 + configure.ac | 10 +++++++++-
166 + 1 files changed, 9 insertions(+), 1 deletions(-)
167 +
168 +diff --git a/configure.ac b/configure.ac
169 +index 2e21d48..40cfe36 100644
170 +--- a/configure.ac
171 ++++ b/configure.ac
172 +@@ -13,7 +13,15 @@ AM_SILENT_RULES([yes])
173 +
174 + # Check for programs
175 + AC_PROG_CC
176 +-AM_PROG_VALAC([0.15.1])
177 ++
178 ++AC_ARG_ENABLE(vala,
179 ++ AC_HELP_STRING([--disable-vala],
180 ++ [Disable vala support]))
181 ++AM_CONDITIONAL(ENABLE_VALA, test "x$enable_vala" != "xno")
182 ++
183 ++if test "x$enable_vala" != "xno"; then
184 ++ AM_PROG_VALAC([0.15.1])
185 ++fi
186 +
187 + # Use GSettings
188 + GLIB_GSETTINGS
189 +--
190 +1.7.8.4
191 +
192
193 diff --git a/gnome-base/dconf/files/dconf-0.8.0-automagic-vala.patch b/gnome-base/dconf/files/dconf-0.8.0-automagic-vala.patch
194 deleted file mode 100644
195 index 9f680a0..0000000
196 --- a/gnome-base/dconf/files/dconf-0.8.0-automagic-vala.patch
197 +++ /dev/null
198 @@ -1,19 +0,0 @@
199 ---- configure.ac.orig 2010-11-06 16:24:36.000000000 +0100
200 -+++ configure.ac 2010-11-06 16:24:19.000000000 +0100
201 -@@ -12,7 +12,15 @@
202 -
203 - # Check for programs
204 - AC_PROG_CC
205 --AM_PROG_VALAC([0.11.7])
206 -+
207 -+AC_ARG_ENABLE(vala,
208 -+ AC_HELP_STRING([--disable-vala],
209 -+ [Disable vala support]))
210 -+AM_CONDITIONAL(ENABLE_VALA, test "x$enable_vala" != "xno")
211 -+
212 -+if test "x$enable_vala" != "xno"; then
213 -+ AM_PROG_VALAC([0.11.7])
214 -+fi
215 -
216 - # Use GSettings
217 - GLIB_GSETTINGS