1 |
commit: 57f5ec48a84f0189da7dd11d4571f6000f86059c |
2 |
Author: Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 23 13:36:41 2011 +0000 |
4 |
Commit: Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 23 13:36:41 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=57f5ec48 |
7 |
|
8 |
gnome-base/gnome-shell: bump to 2.91.90, update live version |
9 |
|
10 |
--- |
11 |
...hell-9999.ebuild => gnome-shell-2.91.90.ebuild} | 52 ++++++++++--------- |
12 |
gnome-base/gnome-shell/gnome-shell-9999.ebuild | 38 ++++++++++---- |
13 |
2 files changed, 54 insertions(+), 36 deletions(-) |
14 |
|
15 |
diff --git a/gnome-base/gnome-shell/gnome-shell-9999.ebuild b/gnome-base/gnome-shell/gnome-shell-2.91.90.ebuild |
16 |
similarity index 72% |
17 |
copy from gnome-base/gnome-shell/gnome-shell-9999.ebuild |
18 |
copy to gnome-base/gnome-shell/gnome-shell-2.91.90.ebuild |
19 |
index c90dc8e..35c5aa0 100644 |
20 |
--- a/gnome-base/gnome-shell/gnome-shell-9999.ebuild |
21 |
+++ b/gnome-base/gnome-shell/gnome-shell-2.91.90.ebuild |
22 |
@@ -7,14 +7,14 @@ GCONF_DEBUG="no" |
23 |
GNOME2_LA_PUNT="yes" |
24 |
PYTHON_DEPEND="2:2.5" |
25 |
|
26 |
-inherit eutils gnome2 python |
27 |
+inherit gnome2 python |
28 |
|
29 |
DESCRIPTION="Provides core UI functions for the GNOME 3 desktop" |
30 |
HOMEPAGE="http://live.gnome.org/GnomeShell" |
31 |
|
32 |
LICENSE="GPL-2" |
33 |
SLOT="0" |
34 |
-IUSE="nm-applet" |
35 |
+IUSE="" |
36 |
if [[ ${PV} = 9999 ]]; then |
37 |
inherit gnome2-live |
38 |
KEYWORDS="" |
39 |
@@ -24,19 +24,23 @@ fi |
40 |
|
41 |
# gnome-desktop-2.91.2 is needed due to header changes, db82a33 in gnome-desktop |
42 |
# FIXME: Automagic gnome-bluetooth[introspection] support. |
43 |
-# mutter-2.91.7 is needed, but not checked for in configure |
44 |
COMMON_DEPEND=">=dev-libs/glib-2.25.9 |
45 |
x11-libs/gdk-pixbuf:2[introspection] |
46 |
>=x11-libs/gtk+-3.0.0:3[introspection] |
47 |
>=media-libs/clutter-1.5.15[introspection] |
48 |
>=gnome-base/gnome-desktop-2.91.2:3 |
49 |
>=gnome-base/gsettings-desktop-schemas-0.1.7 |
50 |
+ >=dev-libs/gjs-0.7.11 |
51 |
>=dev-libs/gobject-introspection-0.10.1 |
52 |
>=gnome-extra/evolution-data-server-2.91.6 |
53 |
+ >=media-libs/gstreamer-0.10.16 |
54 |
+ >=media-libs/gst-plugins-base-0.10.16 |
55 |
>=net-libs/telepathy-glib-0.13.12[introspection] |
56 |
+ >=net-wireless/gnome-bluetooth-2.90.0[introspection] |
57 |
+ >=sys-auth/polkit-0.100[introspection] |
58 |
+ >=x11-wm/mutter-2.91.90[introspection] |
59 |
|
60 |
dev-libs/dbus-glib |
61 |
- >=dev-libs/gjs-0.7.11 |
62 |
dev-libs/libxml2:2 |
63 |
x11-libs/pango[introspection] |
64 |
dev-libs/libcroco:0.6 |
65 |
@@ -44,31 +48,22 @@ COMMON_DEPEND=">=dev-libs/glib-2.25.9 |
66 |
gnome-base/gconf[introspection] |
67 |
gnome-base/gnome-menus |
68 |
gnome-base/librsvg |
69 |
- >=media-libs/gstreamer-0.10.16 |
70 |
- >=media-libs/gst-plugins-base-0.10.16 |
71 |
media-libs/libcanberra |
72 |
media-sound/pulseaudio |
73 |
- >=net-wireless/gnome-bluetooth-2.90.0[introspection] |
74 |
|
75 |
x11-libs/startup-notification |
76 |
x11-libs/libXfixes |
77 |
- >=x11-wm/mutter-2.91.7[introspection] |
78 |
- x11-apps/mesa-progs |
79 |
- |
80 |
+ x11-apps/mesa-progs" |
81 |
+# Runtime-only deps are probably incomplete and approximate. |
82 |
+RDEPEND="${COMMON_DEPEND} |
83 |
dev-python/dbus-python |
84 |
dev-python/gconf-python |
85 |
|
86 |
- nm-applet? ( >=net-misc/networkmanager-9999[introspection] )" |
87 |
-# Runtime-only deps are probably incomplete and approximate. |
88 |
-# nm-applet is only needed temporarily for the secrets and wireless dialogs. |
89 |
-RDEPEND="${COMMON_DEPEND} |
90 |
- x11-libs/gdk-pixbuf[introspection] |
91 |
>=gnome-base/dconf-0.4.1 |
92 |
>=gnome-base/gnome-settings-daemon-2.91 |
93 |
>=gnome-base/gnome-control-center-2.91 |
94 |
>=gnome-base/libgnomekbd-2.91.4[introspection] |
95 |
- |
96 |
- nm-applet? ( >=gnome-extra/nm-applet-9999 )" |
97 |
+ sys-power/upower[introspection]" |
98 |
DEPEND="${COMMON_DEPEND} |
99 |
sys-devel/gettext |
100 |
>=dev-util/pkgconfig-0.22 |
101 |
@@ -79,14 +74,21 @@ DOCS="AUTHORS README" |
102 |
G2CONF="--enable-compile-warnings=maximum |
103 |
--disable-schemas-compile" |
104 |
|
105 |
-src_prepare() { |
106 |
- if use nm-applet; then |
107 |
- # See https://bugzilla.gnome.org/show_bug.cgi?id=621707" |
108 |
- ewarn "Adding support for the experimental NetworkManager applet." |
109 |
- ewarn "This needs the latest NetworkManager & nm-applet trunk." |
110 |
- ewarn "Report bugs about this to 'nirbheek' on #gentoo-desktop @ FreeNode." |
111 |
- epatch "${FILESDIR}/${PN}-experimental-nm-applet.patch" |
112 |
- fi |
113 |
+pkg_setup() { |
114 |
+ python_set_active_version 2 |
115 |
+} |
116 |
|
117 |
+src_prepare() { |
118 |
+ python_convert_shebangs --recursive 2 . |
119 |
gnome2_src_prepare |
120 |
} |
121 |
+ |
122 |
+pkg_postinst() { |
123 |
+ if ! has_version '>=media-libs/gst-plugins-good-0.10.23' || \ |
124 |
+ ! has_version 'media-plugins/gst-plugins-vp8'; then |
125 |
+ ewarn "To make use of GNOME Shell's built-in screen recording utility," |
126 |
+ ewarn "you need to either install >=media-libs/gst-plugins-good-0.10.23" |
127 |
+ ewarn "and media-plugins/gst-plugins-vp8, or use dconf-editor to change" |
128 |
+ ewarn "/apps/gnome-shell/recorder/pipeline to what you want to use." |
129 |
+ fi |
130 |
+} |
131 |
|
132 |
diff --git a/gnome-base/gnome-shell/gnome-shell-9999.ebuild b/gnome-base/gnome-shell/gnome-shell-9999.ebuild |
133 |
index c90dc8e..ef3cd5a 100644 |
134 |
--- a/gnome-base/gnome-shell/gnome-shell-9999.ebuild |
135 |
+++ b/gnome-base/gnome-shell/gnome-shell-9999.ebuild |
136 |
@@ -24,19 +24,23 @@ fi |
137 |
|
138 |
# gnome-desktop-2.91.2 is needed due to header changes, db82a33 in gnome-desktop |
139 |
# FIXME: Automagic gnome-bluetooth[introspection] support. |
140 |
-# mutter-2.91.7 is needed, but not checked for in configure |
141 |
COMMON_DEPEND=">=dev-libs/glib-2.25.9 |
142 |
+ >=dev-libs/gjs-0.7.11 |
143 |
+ >=dev-libs/gobject-introspection-0.10.1 |
144 |
x11-libs/gdk-pixbuf:2[introspection] |
145 |
>=x11-libs/gtk+-3.0.0:3[introspection] |
146 |
>=media-libs/clutter-1.5.15[introspection] |
147 |
>=gnome-base/gnome-desktop-2.91.2:3 |
148 |
>=gnome-base/gsettings-desktop-schemas-0.1.7 |
149 |
- >=dev-libs/gobject-introspection-0.10.1 |
150 |
>=gnome-extra/evolution-data-server-2.91.6 |
151 |
+ >=media-libs/gstreamer-0.10.16 |
152 |
+ >=media-libs/gst-plugins-base-0.10.16 |
153 |
>=net-libs/telepathy-glib-0.13.12[introspection] |
154 |
+ >=net-wireless/gnome-bluetooth-2.90.0[introspection] |
155 |
+ >=sys-auth/polkit-0.100[introspection] |
156 |
+ >=x11-wm/mutter-2.91.90[introspection] |
157 |
|
158 |
dev-libs/dbus-glib |
159 |
- >=dev-libs/gjs-0.7.11 |
160 |
dev-libs/libxml2:2 |
161 |
x11-libs/pango[introspection] |
162 |
dev-libs/libcroco:0.6 |
163 |
@@ -44,29 +48,25 @@ COMMON_DEPEND=">=dev-libs/glib-2.25.9 |
164 |
gnome-base/gconf[introspection] |
165 |
gnome-base/gnome-menus |
166 |
gnome-base/librsvg |
167 |
- >=media-libs/gstreamer-0.10.16 |
168 |
- >=media-libs/gst-plugins-base-0.10.16 |
169 |
media-libs/libcanberra |
170 |
media-sound/pulseaudio |
171 |
- >=net-wireless/gnome-bluetooth-2.90.0[introspection] |
172 |
|
173 |
x11-libs/startup-notification |
174 |
x11-libs/libXfixes |
175 |
- >=x11-wm/mutter-2.91.7[introspection] |
176 |
x11-apps/mesa-progs |
177 |
|
178 |
- dev-python/dbus-python |
179 |
- dev-python/gconf-python |
180 |
- |
181 |
nm-applet? ( >=net-misc/networkmanager-9999[introspection] )" |
182 |
# Runtime-only deps are probably incomplete and approximate. |
183 |
# nm-applet is only needed temporarily for the secrets and wireless dialogs. |
184 |
RDEPEND="${COMMON_DEPEND} |
185 |
- x11-libs/gdk-pixbuf[introspection] |
186 |
+ dev-python/dbus-python |
187 |
+ dev-python/gconf-python |
188 |
+ |
189 |
>=gnome-base/dconf-0.4.1 |
190 |
>=gnome-base/gnome-settings-daemon-2.91 |
191 |
>=gnome-base/gnome-control-center-2.91 |
192 |
>=gnome-base/libgnomekbd-2.91.4[introspection] |
193 |
+ sys-power/upower[introspection] |
194 |
|
195 |
nm-applet? ( >=gnome-extra/nm-applet-9999 )" |
196 |
DEPEND="${COMMON_DEPEND} |
197 |
@@ -79,7 +79,13 @@ DOCS="AUTHORS README" |
198 |
G2CONF="--enable-compile-warnings=maximum |
199 |
--disable-schemas-compile" |
200 |
|
201 |
+pkg_setup() { |
202 |
+ python_set_active_version 2 |
203 |
+} |
204 |
+ |
205 |
src_prepare() { |
206 |
+ python_convert_shebangs --recursive 2 . |
207 |
+ |
208 |
if use nm-applet; then |
209 |
# See https://bugzilla.gnome.org/show_bug.cgi?id=621707" |
210 |
ewarn "Adding support for the experimental NetworkManager applet." |
211 |
@@ -90,3 +96,13 @@ src_prepare() { |
212 |
|
213 |
gnome2_src_prepare |
214 |
} |
215 |
+ |
216 |
+pkg_postinst() { |
217 |
+ if ! has_version '>=media-libs/gst-plugins-good-0.10.23' || \ |
218 |
+ ! has_version 'media-plugins/gst-plugins-vp8'; then |
219 |
+ ewarn "To make use of GNOME Shell's built-in screen recording utility," |
220 |
+ ewarn "you need to either install >=media-libs/gst-plugins-good-0.10.23" |
221 |
+ ewarn "and media-plugins/gst-plugins-vp8, or use dconf-editor to change" |
222 |
+ ewarn "/apps/gnome-shell/recorder/pipeline to what you want to use." |
223 |
+ fi |
224 |
+} |