Gentoo Archives: gentoo-commits

From: "Alexandre Rostovtsev (tetromino)" <tetromino@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in gnome-base/gnome-shell: ChangeLog gnome-shell-3.2.1-r2.ebuild
Date: Mon, 09 Jan 2012 03:03:17
Message-Id: 20120109030306.A37F12004C@flycatcher.gentoo.org
1 tetromino 12/01/09 03:03:06
2
3 Modified: ChangeLog
4 Added: gnome-shell-3.2.1-r2.ebuild
5 Log:
6 Add lots of upstream patches: fix browser plugin on chromium and epiphany, fix some crashes, improve extension system stability, do not load disabled extensions at shell startup, do not allow message popups to steal mouse focus, have the message tray use a hot corner so that mouse events on bottom pixel row do not get blocked, and do not depend on nautilus's schemas or libgnome's gnome-open. Also, fix automagic gnome-bluetooth dependency (bug #398145, thanks to Ed Catmur for the patch).
7
8 (Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.7 gnome-base/gnome-shell/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-shell/ChangeLog?rev=1.7&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-shell/ChangeLog?rev=1.7&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-shell/ChangeLog?r1=1.6&r2=1.7
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/gnome-base/gnome-shell/ChangeLog,v
20 retrieving revision 1.6
21 retrieving revision 1.7
22 diff -u -r1.6 -r1.7
23 --- ChangeLog 1 Jan 2012 21:51:38 -0000 1.6
24 +++ ChangeLog 9 Jan 2012 03:03:06 -0000 1.7
25 @@ -1,6 +1,19 @@
26 # ChangeLog for gnome-base/gnome-shell
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-shell/ChangeLog,v 1.6 2012/01/01 21:51:38 tetromino Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-shell/ChangeLog,v 1.7 2012/01/09 03:03:06 tetromino Exp $
30 +
31 +*gnome-shell-3.2.1-r2 (09 Jan 2012)
32 +
33 + 09 Jan 2012; Alexandre Rostovtsev <tetromino@g.o>
34 + +gnome-shell-3.2.1-r2.ebuild,
35 + +files/gnome-shell-3.2.1-automagic-gnome-bluetooth.patch:
36 + Add lots of upstream patches: fix browser plugin on chromium and epiphany,
37 + fix some crashes, improve extension system stability, do not load disabled
38 + extensions at shell startup, do not allow message popups to steal mouse
39 + focus, have the message tray use a hot corner so that mouse events on bottom
40 + pixel row do not get blocked, and do not depend on nautilus's schemas or
41 + libgnome's gnome-open. Also, fix automagic gnome-bluetooth dependency (bug
42 + #398145, thanks to Ed Catmur for the patch).
43
44 01 Jan 2012; Alexandre Rostovtsev <tetromino@g.o>
45 gnome-shell-3.2.1-r1.ebuild:
46
47
48
49 1.1 gnome-base/gnome-shell/gnome-shell-3.2.1-r2.ebuild
50
51 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-shell/gnome-shell-3.2.1-r2.ebuild?rev=1.1&view=markup
52 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-shell/gnome-shell-3.2.1-r2.ebuild?rev=1.1&content-type=text/plain
53
54 Index: gnome-shell-3.2.1-r2.ebuild
55 ===================================================================
56 # Copyright 1999-2012 Gentoo Foundation
57 # Distributed under the terms of the GNU General Public License v2
58 # $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-shell/gnome-shell-3.2.1-r2.ebuild,v 1.1 2012/01/09 03:03:06 tetromino Exp $
59
60 EAPI="4"
61 GCONF_DEBUG="no"
62 GNOME2_LA_PUNT="yes"
63 PYTHON_DEPEND="2:2.5"
64
65 inherit autotools eutils gnome2 python
66
67 DESCRIPTION="Provides core UI functions for the GNOME 3 desktop"
68 HOMEPAGE="http://live.gnome.org/GnomeShell"
69
70 SRC_URI="${SRC_URI}
71 http://dev.gentoo.org/~tetromino/distfiles/${PN}/${P}-patches-1.tar.xz"
72
73 LICENSE="GPL-2"
74 SLOT="0"
75 IUSE="+bluetooth"
76 KEYWORDS="~amd64 ~x86"
77
78 # gnome-desktop-2.91.2 is needed due to header changes, db82a33 in gnome-desktop
79 # latest gsettings-desktop-schemas is needed due to commit 602fa1c6
80 # latest g-c-c is needed due to https://bugs.gentoo.org/show_bug.cgi?id=360057
81 # libXfixes-5.0 needed for pointer barriers
82 COMMON_DEPEND=">=dev-libs/glib-2.25.9:2
83 >=dev-libs/gjs-1.29.18
84 >=dev-libs/gobject-introspection-0.10.1
85 x11-libs/gdk-pixbuf:2[introspection]
86 >=x11-libs/gtk+-3.0.0:3[introspection]
87 >=media-libs/clutter-1.7.5:1.0[introspection]
88 app-misc/ca-certificates
89 >=dev-libs/folks-0.5.2
90 >=dev-libs/json-glib-0.13.2
91 >=gnome-base/gnome-desktop-2.91.2:3
92 >=gnome-base/gsettings-desktop-schemas-2.91.91
93 gnome-base/libgnome-keyring
94 >=gnome-extra/evolution-data-server-2.91.6
95 >=media-libs/gstreamer-0.10.16:0.10
96 >=media-libs/gst-plugins-base-0.10.16:0.10
97 >=net-im/telepathy-logger-0.2.4[introspection]
98 net-libs/libsoup:2.4[introspection]
99 >=net-libs/telepathy-glib-0.15.5[introspection]
100 >=net-misc/networkmanager-0.8.999[introspection]
101 >=sys-auth/polkit-0.100[introspection]
102 >=x11-wm/mutter-3.2.1[introspection]
103
104 dev-libs/dbus-glib
105 dev-libs/libxml2:2
106 x11-libs/pango[introspection]
107 >=dev-libs/libcroco-0.6.2:0.6
108
109 gnome-base/gconf:2[introspection]
110 >=gnome-base/gnome-menus-2.29.10:3[introspection]
111 gnome-base/librsvg
112 media-libs/libcanberra
113 media-sound/pulseaudio
114
115 >=x11-libs/startup-notification-0.11
116 x11-libs/libX11
117 >=x11-libs/libXfixes-5.0
118 x11-apps/mesa-progs
119
120 bluetooth? ( >=net-wireless/gnome-bluetooth-3.1.0[introspection] )"
121 # Runtime-only deps are probably incomplete and approximate.
122 # Each block:
123 # 1. Pull in polkit-0.101 for pretty authorization dialogs
124 # 2. Introspection stuff + dconf needed via imports.gi.*
125 # 3. gnome-session is needed for gnome-session-quit
126 # 4. Control shell settings
127 # 5. accountsservice is needed for GdmUserManager (0.6.14 needed for fast
128 # user switching with gdm-3.1.x)
129 # 6. caribou needed for on-screen keyboard
130 # 7. xdg-utils needed for xdg-open, used by extension tool
131 RDEPEND="${COMMON_DEPEND}
132 >=sys-auth/polkit-0.101[introspection]
133
134 >=gnome-base/dconf-0.4.1
135 >=gnome-base/libgnomekbd-2.91.4[introspection]
136 sys-power/upower[introspection]
137
138 >=gnome-base/gnome-session-2.91.91
139
140 >=gnome-base/gnome-settings-daemon-2.91
141 >=gnome-base/gnome-control-center-2.91.92-r1
142
143 >=sys-apps/accountsservice-0.6.14[introspection]
144
145 >=app-accessibility/caribou-0.3
146
147 x11-misc/xdg-utils"
148 DEPEND="${COMMON_DEPEND}
149 >=sys-devel/gettext-0.17
150 >=dev-util/pkgconfig-0.22
151 >=dev-util/intltool-0.40
152 gnome-base/gnome-common
153 !!=dev-lang/spidermonkey-1.8.2*"
154 # libmozjs.so is picked up from /usr/lib while compiling, so block at build-time
155 # https://bugs.gentoo.org/show_bug.cgi?id=360413
156
157 pkg_setup() {
158 DOCS="AUTHORS NEWS README"
159 # Don't error out on warnings
160 G2CONF="${G2CONF}
161 --enable-compile-warnings=maximum
162 --disable-schemas-compile
163 --disable-jhbuild-wrapper-script
164 $(use_with bluetooth)
165 --with-ca-certificates=${EPREFIX}/etc/ssl/certs/ca-certificates.crt
166 BROWSER_PLUGIN_DIR=${EPREFIX}/usr/$(get_libdir)/nsbrowser/plugins"
167 python_set_active_version 2
168 python_pkg_setup
169 }
170
171 src_prepare() {
172 # Useful patches from git master (not in gnome-3-2 branch yet)
173 epatch ../patch/*.patch
174
175 # Fix automagic gnome-bluetooth dep, bug #398145
176 epatch "${FILESDIR}/${PN}-3.2.1-automagic-gnome-bluetooth.patch"
177
178 eautoreconf
179 gnome2_src_prepare
180
181 # Drop G_DISABLE_DEPRECATED for sanity on glib upgrades; bug #384765
182 # Note: sed Makefile.in because it is generated from several Makefile.ams
183 sed -e 's/-DG_DISABLE_DEPRECATED//g' \
184 -i src/Makefile.in browser-plugin/Makefile.in || die "sed failed"
185 }
186
187 src_install() {
188 gnome2_src_install
189 python_convert_shebangs 2 "${D}"/usr/bin/gnome-shell-extension-tool
190 }
191
192 pkg_postinst() {
193 gnome2_pkg_postinst
194 if ! has_version '>=media-libs/gst-plugins-good-0.10.23' || \
195 ! has_version 'media-plugins/gst-plugins-vp8'; then
196 ewarn "To make use of GNOME Shell's built-in screen recording utility,"
197 ewarn "you need to either install >=media-libs/gst-plugins-good-0.10.23"
198 ewarn "and media-plugins/gst-plugins-vp8, or use dconf-editor to change"
199 ewarn "apps.gnome-shell.recorder/pipeline to what you want to use."
200 fi
201
202 if ! has_version ">=x11-base/xorg-server-1.11"; then
203 ewarn "If you use multiple screens, it is highly recommended that you"
204 ewarn "upgrade to >=x11-base/xorg-server-1.11 to be able to make use of"
205 ewarn "pointer barriers which will make it easier to use hot corners."
206 fi
207
208 if has_version "<x11-drivers/ati-drivers-12"; then
209 ewarn "GNOME Shell has been reported to show graphical corruption under"
210 ewarn "x11-drivers/ati-drivers-11.*; you may want to use GNOME in"
211 ewarn "fallback mode, or switch to open-source drivers."
212 fi
213
214 if has_version "media-libs/mesa[video_cards_radeon]"; then
215 elog "GNOME Shell is unstable under classic-mode r300/r600 mesa drivers."
216 elog "Make sure that gallium architecture for r300 and r600 drivers is"
217 elog "selected using 'eselect mesa'."
218 if ! has_version "media-libs/mesa[gallium]"; then
219 ewarn "You will need to emerge media-libs/mesa with USE=gallium."
220 fi
221 fi
222
223 if has_version "media-libs/mesa[video_cards_intel]"; then
224 elog "GNOME Shell is unstable under gallium-mode i915/i965 mesa drivers."
225 elog "Make sure that classic architecture for i915 and i965 drivers is"
226 elog "selected using 'eselect mesa'."
227 if ! has_version "media-libs/mesa[classic]"; then
228 ewarn "You will need to emerge media-libs/mesa with USE=classic."
229 fi
230 fi
231 }