1 |
nirbheek 11/09/30 19:43:33 |
2 |
|
3 |
Added: metadata.xml ChangeLog gnome-shell-3.0.2-r1.ebuild |
4 |
Log: |
5 |
Add GNOME Shell from the gnome overlay, for GNOME 3 |
6 |
|
7 |
(Portage version: 2.2.0_alpha51/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 gnome-base/gnome-shell/metadata.xml |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-shell/metadata.xml?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-shell/metadata.xml?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: metadata.xml |
16 |
=================================================================== |
17 |
<?xml version="1.0" encoding="UTF-8"?> |
18 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
19 |
<pkgmetadata> |
20 |
<herd>gnome</herd> |
21 |
<use> |
22 |
<flag name="nm-applet">Pull in an automagic dependency on |
23 |
<pkg>gnome-extra/nm-applet</pkg> and |
24 |
<pkg>net-misc/networkmanager</pkg>, should be removed soon</flag> |
25 |
</use> |
26 |
</pkgmetadata> |
27 |
|
28 |
|
29 |
|
30 |
1.1 gnome-base/gnome-shell/ChangeLog |
31 |
|
32 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-shell/ChangeLog?rev=1.1&view=markup |
33 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-shell/ChangeLog?rev=1.1&content-type=text/plain |
34 |
|
35 |
Index: ChangeLog |
36 |
=================================================================== |
37 |
# ChangeLog for gnome-base/gnome-shell |
38 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
39 |
# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-shell/ChangeLog,v 1.1 2011/09/30 19:43:33 nirbheek Exp $ |
40 |
|
41 |
*gnome-shell-3.0.2-r1 (30 Sep 2011) |
42 |
|
43 |
30 Sep 2011; Nirbheek Chauhan <nirbheek@g.o> |
44 |
+gnome-shell-3.0.2-r1.ebuild, |
45 |
+files/gnome-shell-3.0.2-unbreak-extension-css.patch, |
46 |
+files/gnome-shell-3.0.2-user-removed-signals.patch, +metadata.xml: |
47 |
Add GNOME Shell from the gnome overlay, for GNOME 3 |
48 |
|
49 |
|
50 |
|
51 |
|
52 |
1.1 gnome-base/gnome-shell/gnome-shell-3.0.2-r1.ebuild |
53 |
|
54 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-shell/gnome-shell-3.0.2-r1.ebuild?rev=1.1&view=markup |
55 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-shell/gnome-shell-3.0.2-r1.ebuild?rev=1.1&content-type=text/plain |
56 |
|
57 |
Index: gnome-shell-3.0.2-r1.ebuild |
58 |
=================================================================== |
59 |
# Copyright 1999-2011 Gentoo Foundation |
60 |
# Distributed under the terms of the GNU General Public License v2 |
61 |
# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-shell/gnome-shell-3.0.2-r1.ebuild,v 1.1 2011/09/30 19:43:33 nirbheek Exp $ |
62 |
|
63 |
EAPI="3" |
64 |
GCONF_DEBUG="no" |
65 |
GNOME2_LA_PUNT="yes" |
66 |
PYTHON_DEPEND="2:2.5" |
67 |
|
68 |
inherit eutils gnome2 python |
69 |
|
70 |
DESCRIPTION="Provides core UI functions for the GNOME 3 desktop" |
71 |
HOMEPAGE="http://live.gnome.org/GnomeShell" |
72 |
|
73 |
LICENSE="GPL-2" |
74 |
SLOT="0" |
75 |
IUSE="+nm-applet" |
76 |
KEYWORDS="~amd64 ~x86" |
77 |
|
78 |
# gnome-desktop-2.91.2 is needed due to header changes, db82a33 in gnome-desktop |
79 |
# FIXME: Automagic gnome-bluetooth[introspection] support. |
80 |
# latest gsettings-desktop-schemas is needed due to commit 602fa1c6 |
81 |
# latest g-c-c is needed due to https://bugs.gentoo.org/show_bug.cgi?id=360057 |
82 |
# libXfixes-5.0 needed for pointer barriers |
83 |
COMMON_DEPEND=">=dev-libs/glib-2.25.9:2 |
84 |
>=dev-libs/gjs-0.7.11 |
85 |
>=dev-libs/gobject-introspection-0.10.1 |
86 |
x11-libs/gdk-pixbuf:2[introspection] |
87 |
>=x11-libs/gtk+-3.0.0:3[introspection] |
88 |
>=media-libs/clutter-1.5.15:1.0[introspection] |
89 |
>=gnome-base/gnome-desktop-2.91.2:3 |
90 |
>=gnome-base/gsettings-desktop-schemas-2.91.91 |
91 |
>=gnome-extra/evolution-data-server-2.32.0 |
92 |
>=media-libs/gstreamer-0.10.16:0.10 |
93 |
>=media-libs/gst-plugins-base-0.10.16:0.10 |
94 |
>=net-im/telepathy-logger-0.2.4[introspection] |
95 |
>=net-libs/telepathy-glib-0.13.12[introspection] |
96 |
>=net-wireless/gnome-bluetooth-2.90.0[introspection] |
97 |
>=sys-auth/polkit-0.100[introspection] |
98 |
>=x11-wm/mutter-3.0.0[introspection] |
99 |
|
100 |
dev-libs/dbus-glib |
101 |
dev-libs/libxml2:2 |
102 |
x11-libs/pango[introspection] |
103 |
dev-libs/libcroco:0.6 |
104 |
|
105 |
gnome-base/gconf:2[introspection] |
106 |
gnome-base/gnome-menus |
107 |
gnome-base/librsvg |
108 |
media-libs/libcanberra |
109 |
media-sound/pulseaudio |
110 |
|
111 |
x11-libs/startup-notification |
112 |
x11-libs/libX11 |
113 |
>=x11-libs/libXfixes-5.0 |
114 |
x11-apps/mesa-progs" |
115 |
# Runtime-only deps are probably incomplete and approximate. |
116 |
# Each block: |
117 |
# 1. Pull in polkit-0.101 for pretty authorization dialogs |
118 |
# 2. Introspection stuff + dconf needed via imports.gi.* |
119 |
# 3. gnome-session is needed for gnome-session-quit |
120 |
# 4. Control shell settings |
121 |
# 5. accountsservice is needed for GdmUserManager |
122 |
# 6. nm-applet is needed for auth prompting and the wireless connection dialog |
123 |
RDEPEND="${COMMON_DEPEND} |
124 |
>=sys-auth/polkit-0.101[introspection] |
125 |
|
126 |
>=gnome-base/dconf-0.4.1 |
127 |
>=gnome-base/libgnomekbd-2.91.4[introspection] |
128 |
sys-power/upower[introspection] |
129 |
|
130 |
>=gnome-base/gnome-session-2.91.91 |
131 |
|
132 |
>=gnome-base/gnome-settings-daemon-2.91 |
133 |
>=gnome-base/gnome-control-center-2.91.92-r1 |
134 |
|
135 |
>=sys-apps/accountsservice-0.6.12 |
136 |
|
137 |
nm-applet? ( |
138 |
>=gnome-extra/nm-applet-0.8.999 |
139 |
>=net-misc/networkmanager-0.8.999[introspection] )" |
140 |
DEPEND="${COMMON_DEPEND} |
141 |
sys-devel/gettext |
142 |
>=dev-util/pkgconfig-0.22 |
143 |
>=dev-util/intltool-0.26 |
144 |
gnome-base/gnome-common |
145 |
!!=dev-lang/spidermonkey-1.8.2*" |
146 |
# libmozjs.so is picked up from /usr/lib while compiling, so block at build-time |
147 |
# https://bugs.gentoo.org/show_bug.cgi?id=360413 |
148 |
|
149 |
pkg_setup() { |
150 |
DOCS="AUTHORS README" |
151 |
# Don't error out on warnings |
152 |
G2CONF="${G2CONF} |
153 |
--enable-compile-warnings=maximum |
154 |
--disable-schemas-compile |
155 |
--disable-jhbuild-wrapper-script" |
156 |
} |
157 |
|
158 |
src_prepare() { |
159 |
# https://bugzilla.gnome.org/show_bug.cgi?id=647893 |
160 |
# can trigger the crash even with accountsservice-0.6.12 |
161 |
epatch "${FILESDIR}/${PN}-3.0.2-user-removed-signals.patch" |
162 |
|
163 |
# https://bugzilla.gnome.org/show_bug.cgi?id=650971 |
164 |
# Don't clobber extensions' styles |
165 |
epatch "${FILESDIR}/${PN}-3.0.2-unbreak-extension-css.patch" |
166 |
gnome2_src_prepare |
167 |
} |
168 |
|
169 |
src_install() { |
170 |
gnome2_src_install |
171 |
python_convert_shebangs 2 "${D}"/usr/bin/gnome-shell-extension-tool |
172 |
} |
173 |
|
174 |
pkg_postinst() { |
175 |
gnome2_pkg_postinst |
176 |
if ! has_version '>=media-libs/gst-plugins-good-0.10.23' || \ |
177 |
! has_version 'media-plugins/gst-plugins-vp8'; then |
178 |
ewarn "To make use of GNOME Shell's built-in screen recording utility," |
179 |
ewarn "you need to either install >=media-libs/gst-plugins-good-0.10.23" |
180 |
ewarn "and media-plugins/gst-plugins-vp8, or use dconf-editor to change" |
181 |
ewarn "apps.gnome-shell.recorder/pipeline to what you want to use." |
182 |
fi |
183 |
} |