1 |
pacho 13/12/27 21:11:36 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gnome-shell-3.8.4-r2.ebuild |
5 |
Log: |
6 |
Fix security bug #496168 |
7 |
|
8 |
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key A188FBD4) |
9 |
|
10 |
Revision Changes Path |
11 |
1.56 gnome-base/gnome-shell/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-shell/ChangeLog?rev=1.56&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-shell/ChangeLog?rev=1.56&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-shell/ChangeLog?r1=1.55&r2=1.56 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/gnome-base/gnome-shell/ChangeLog,v |
20 |
retrieving revision 1.55 |
21 |
retrieving revision 1.56 |
22 |
diff -u -r1.55 -r1.56 |
23 |
--- ChangeLog 27 Dec 2013 20:50:33 -0000 1.55 |
24 |
+++ ChangeLog 27 Dec 2013 21:11:36 -0000 1.56 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for gnome-base/gnome-shell |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-shell/ChangeLog,v 1.55 2013/12/27 20:50:33 pacho Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-shell/ChangeLog,v 1.56 2013/12/27 21:11:36 pacho Exp $ |
30 |
+ |
31 |
+*gnome-shell-3.8.4-r2 (27 Dec 2013) |
32 |
+ |
33 |
+ 27 Dec 2013; Pacho Ramos <pacho@g.o> |
34 |
+ +files/gnome-shell-3.8.4-close-rundialog.patch, +gnome-shell-3.8.4-r2.ebuild: |
35 |
+ Fix security bug #496168 |
36 |
|
37 |
27 Dec 2013; Pacho Ramos <pacho@g.o> -gnome-shell-3.6.3.1.ebuild, |
38 |
gnome-shell-3.10.2.1.ebuild, gnome-shell-3.8.4-r1.ebuild, metadata.xml: |
39 |
|
40 |
|
41 |
|
42 |
1.1 gnome-base/gnome-shell/gnome-shell-3.8.4-r2.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-shell/gnome-shell-3.8.4-r2.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-shell/gnome-shell-3.8.4-r2.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: gnome-shell-3.8.4-r2.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2013 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-shell/gnome-shell-3.8.4-r2.ebuild,v 1.1 2013/12/27 21:11:36 pacho Exp $ |
52 |
|
53 |
EAPI="5" |
54 |
GCONF_DEBUG="no" |
55 |
GNOME2_LA_PUNT="yes" |
56 |
PYTHON_COMPAT=( python2_{6,7} ) |
57 |
|
58 |
inherit autotools eutils gnome2 multilib pax-utils python-r1 systemd |
59 |
|
60 |
DESCRIPTION="Provides core UI functions for the GNOME 3 desktop" |
61 |
HOMEPAGE="http://live.gnome.org/GnomeShell" |
62 |
|
63 |
LICENSE="GPL-2+ LGPL-2+" |
64 |
SLOT="0" |
65 |
IUSE="+bluetooth +i18n +networkmanager -openrc-force" |
66 |
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
67 |
|
68 |
# libXfixes-5.0 needed for pointer barriers |
69 |
# TODO: gstreamer support is currently automagical: |
70 |
# gstreamer? ( >=media-libs/gstreamer-0.11.92 ) |
71 |
# |
72 |
# gnome-shell/gnome-control-center/mutter/gnome-settings-daemon better to be in sync for 3.8.3 |
73 |
# https://mail.gnome.org/archives/gnome-announce-list/2013-June/msg00005.html |
74 |
COMMON_DEPEND=" |
75 |
app-crypt/libsecret |
76 |
>=app-accessibility/at-spi2-atk-2.5.3 |
77 |
>=dev-libs/atk-2[introspection] |
78 |
>=app-crypt/gcr-3.7.5[introspection] |
79 |
>=dev-libs/glib-2.35:2 |
80 |
>=dev-libs/gjs-1.35.8 |
81 |
>=dev-libs/gobject-introspection-0.10.1 |
82 |
>=x11-libs/gtk+-3.7.9:3[introspection] |
83 |
>=media-libs/clutter-1.13.4:1.0[introspection] |
84 |
>=dev-libs/json-glib-0.13.2 |
85 |
>=dev-libs/libcroco-0.6.8:0.6 |
86 |
>=gnome-base/gnome-desktop-3.7.90:3=[introspection] |
87 |
>=gnome-base/gsettings-desktop-schemas-3.7.4 |
88 |
>=gnome-base/gnome-keyring-3.3.90 |
89 |
>=gnome-base/gnome-menus-3.5.3:3[introspection] |
90 |
gnome-base/libgnome-keyring |
91 |
>=gnome-extra/evolution-data-server-3.5.3:= |
92 |
>=media-libs/gstreamer-0.11.92:1.0 |
93 |
>=net-im/telepathy-logger-0.2.4[introspection] |
94 |
>=net-libs/telepathy-glib-0.19[introspection] |
95 |
>=sys-auth/polkit-0.100[introspection] |
96 |
>=x11-libs/libXfixes-5.0 |
97 |
>=x11-wm/mutter-3.8.3[introspection] |
98 |
>=x11-libs/startup-notification-0.11 |
99 |
|
100 |
${PYTHON_DEPS} |
101 |
dev-python/pygobject:3[${PYTHON_USEDEP}] |
102 |
|
103 |
dev-libs/dbus-glib |
104 |
dev-libs/libxml2:2 |
105 |
gnome-base/librsvg |
106 |
media-libs/libcanberra[gtk3] |
107 |
media-libs/mesa |
108 |
>=media-sound/pulseaudio-2 |
109 |
>=net-libs/libsoup-2.40:2.4[introspection] |
110 |
x11-libs/libX11 |
111 |
x11-libs/gdk-pixbuf:2[introspection] |
112 |
x11-libs/pango[introspection] |
113 |
x11-apps/mesa-progs |
114 |
|
115 |
bluetooth? ( >=net-wireless/gnome-bluetooth-3.5[introspection] ) |
116 |
networkmanager? ( >=net-misc/networkmanager-0.9.6[introspection] ) |
117 |
" |
118 |
# Runtime-only deps are probably incomplete and approximate. |
119 |
# Introspection deps generated using: |
120 |
# grep -roe "imports.gi.*" gnome-shell-* | cut -f2 -d: | sort | uniq |
121 |
# Each block: |
122 |
# 1. Pull in polkit-0.101 for pretty authorization dialogs |
123 |
# 2. Introspection stuff needed via imports.gi.* |
124 |
# 3. gnome-session is needed for gnome-session-quit |
125 |
# 4. Control shell settings |
126 |
# 5. Systemd needed for suspending support |
127 |
# 6. xdg-utils needed for xdg-open, used by extension tool |
128 |
# 7. gnome-icon-theme-symbolic and dejavu font neeed for various icons & arrows |
129 |
# 8. IBus is needed for i18n integration |
130 |
# 9. mobile-broadband-provider-info, timezone-data for shell-mobile-providers.c |
131 |
RDEPEND="${COMMON_DEPEND} |
132 |
>=sys-auth/polkit-0.101[introspection] |
133 |
|
134 |
>=app-accessibility/caribou-0.4.8 |
135 |
>=gnome-base/gdm-3.5[introspection] |
136 |
>=gnome-base/libgnomekbd-2.91.4[introspection] |
137 |
media-libs/cogl[introspection] |
138 |
>=sys-apps/accountsservice-0.6.14[introspection] |
139 |
sys-power/upower[introspection] |
140 |
|
141 |
>=gnome-base/gnome-session-2.91.91 |
142 |
>=gnome-base/gnome-settings-daemon-3.8.3 |
143 |
>=gnome-base/gnome-control-center-3.8.3[bluetooth(+)?] |
144 |
|
145 |
!openrc-force? ( >=sys-apps/systemd-31 ) |
146 |
|
147 |
x11-misc/xdg-utils |
148 |
|
149 |
media-fonts/dejavu |
150 |
x11-themes/gnome-icon-theme-symbolic |
151 |
|
152 |
i18n? ( >=app-i18n/ibus-1.4.99[dconf(+),gtk3,introspection] ) |
153 |
networkmanager? ( |
154 |
net-misc/mobile-broadband-provider-info |
155 |
sys-libs/timezone-data ) |
156 |
" |
157 |
DEPEND="${COMMON_DEPEND} |
158 |
dev-libs/libxslt |
159 |
>=dev-util/gtk-doc-am-1.17 |
160 |
>=dev-util/intltool-0.40 |
161 |
gnome-base/gnome-common |
162 |
>=sys-devel/gettext-0.17 |
163 |
virtual/pkgconfig |
164 |
!!=dev-lang/spidermonkey-1.8.2* |
165 |
" |
166 |
# libmozjs.so is picked up from /usr/lib while compiling, so block at build-time |
167 |
# https://bugs.gentoo.org/show_bug.cgi?id=360413 |
168 |
|
169 |
REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
170 |
|
171 |
src_prepare() { |
172 |
# Change favorites defaults, bug #479918 |
173 |
epatch "${FILESDIR}/${PN}-defaults.patch" |
174 |
|
175 |
# Fix automagic gnome-bluetooth dep, bug #398145 |
176 |
epatch "${FILESDIR}/${PN}-3.7.90-bluetooth-flag.patch" |
177 |
|
178 |
# Make networkmanager optional, bug #398593 |
179 |
epatch "${FILESDIR}/${PN}-3.8.3-networkmanager-flag.patch" |
180 |
|
181 |
# Re-lock the screen if we're restarted from a previously crashed shell (from 'master') |
182 |
epatch "${FILESDIR}/${PN}-3.8.3-relock-screen.patch" |
183 |
|
184 |
# Reset opacity when not animating (from 3.8 branch) |
185 |
epatch "${FILESDIR}/${P}-reset-opacity.patch" |
186 |
|
187 |
# Unconditionally allocate scrollbars (from 3.8 branch) |
188 |
epatch "${FILESDIR}/${P}-allocate-scrollbars.patch" |
189 |
|
190 |
# ScreenShield: don't allow events through the lock dialog (from 3.8 branch) |
191 |
epatch "${FILESDIR}/${P}-events-lock.patch" |
192 |
|
193 |
# Revert "background: fix asynchronous management of background loading operations" (#481918) |
194 |
epatch "${FILESDIR}/${P}-revert-async.patch" |
195 |
|
196 |
# AppDisplay/FrequentView: filter out hidden applications (from 'master') |
197 |
epatch "${FILESDIR}/${PN}-3.8.4-nodisplay.patch" |
198 |
|
199 |
# Close runDialog as necessary on session mode changes (from 3.10 branch) |
200 |
epatch "${FILESDIR}/${PN}-3.8.4-close-rundialog.patch" |
201 |
|
202 |
epatch_user |
203 |
|
204 |
eautoreconf |
205 |
gnome2_src_prepare |
206 |
} |
207 |
|
208 |
src_configure() { |
209 |
# Do not error out on warnings |
210 |
gnome2_src_configure \ |
211 |
--enable-man \ |
212 |
--disable-jhbuild-wrapper-script \ |
213 |
$(use_with bluetooth) \ |
214 |
$(use_enable networkmanager) \ |
215 |
BROWSER_PLUGIN_DIR="${EPREFIX}"/usr/$(get_libdir)/nsbrowser/plugins |
216 |
} |
217 |
|
218 |
src_install() { |
219 |
gnome2_src_install |
220 |
python_replicate_script "${ED}/usr/bin/gnome-shell-extension-tool" |
221 |
python_replicate_script "${ED}/usr/bin/gnome-shell-perf-tool" |
222 |
|
223 |
# Required for gnome-shell on hardened/PaX, bug #398941 |
224 |
# Future-proof for >=spidermonkey-1.8.7 following polkit's example |
225 |
if has_version '<dev-lang/spidermonkey-1.8.7'; then |
226 |
pax-mark mr "${ED}usr/bin/gnome-shell" |
227 |
elif has_version '>=dev-lang/spidermonkey-1.8.7[jit]'; then |
228 |
pax-mark m "${ED}usr/bin/gnome-shell" |
229 |
fi |
230 |
# Required for gnome-shell on hardened/PaX #457146 and #457194 |
231 |
# PaX EMUTRAMP need to be on |
232 |
if has_version '>=dev-libs/libffi-3.0.13[pax_kernel]'; then |
233 |
pax-mark E "${ED}usr/bin/gnome-shell" |
234 |
fi |
235 |
} |
236 |
|
237 |
pkg_postinst() { |
238 |
gnome2_pkg_postinst |
239 |
|
240 |
if ! has_version 'media-libs/gst-plugins-good:1.0' || \ |
241 |
! has_version 'media-plugins/gst-plugins-vpx:1.0'; then |
242 |
ewarn "To make use of GNOME Shell's built-in screen recording utility," |
243 |
ewarn "you need to either install media-libs/gst-plugins-good:1.0" |
244 |
ewarn "and media-plugins/gst-plugins-vpx:1.0, or use dconf-editor to change" |
245 |
ewarn "apps.gnome-shell.recorder/pipeline to what you want to use." |
246 |
fi |
247 |
|
248 |
if ! has_version ">=x11-base/xorg-server-1.11"; then |
249 |
ewarn "If you use multiple screens, it is highly recommended that you" |
250 |
ewarn "upgrade to >=x11-base/xorg-server-1.11 to be able to make use of" |
251 |
ewarn "pointer barriers which will make it easier to use hot corners." |
252 |
fi |
253 |
|
254 |
if has_version "<x11-drivers/ati-drivers-12"; then |
255 |
ewarn "GNOME Shell has been reported to show graphical corruption under" |
256 |
ewarn "x11-drivers/ati-drivers-11.*; you may want to switch to open-source" |
257 |
ewarn "drivers." |
258 |
fi |
259 |
|
260 |
if has_version "media-libs/mesa[video_cards_radeon]" || |
261 |
has_version "media-libs/mesa[video_cards_r300]" || |
262 |
has_version "media-libs/mesa[video_cards_r600]"; then |
263 |
elog "GNOME Shell is unstable under classic-mode r300/r600 mesa drivers." |
264 |
elog "Make sure that gallium architecture for r300 and r600 drivers is" |
265 |
elog "selected using 'eselect mesa'." |
266 |
if ! has_version "media-libs/mesa[gallium]"; then |
267 |
ewarn "You will need to emerge media-libs/mesa with USE=gallium." |
268 |
fi |
269 |
fi |
270 |
|
271 |
if ! has_version "media-libs/mesa[llvm]"; then |
272 |
elog "llvmpipe is used as fallback when no 3D acceleration" |
273 |
elog "is available. You will need to enable llvm USE for" |
274 |
elog "media-libs/mesa." |
275 |
fi |
276 |
|
277 |
if ! systemd_is_booted; then |
278 |
ewarn "${PN} needs Systemd to be *running* for working" |
279 |
ewarn "properly. Please follow this guide to migrate:" |
280 |
ewarn "http://wiki.gentoo.org/wiki/Systemd" |
281 |
fi |
282 |
|
283 |
if use openrc-force; then |
284 |
ewarn "You are enabling 'openrc-force' USE flag to skip systemd requirement," |
285 |
ewarn "this can lead to unexpected problems and is not supported neither by" |
286 |
ewarn "upstream neither by Gnome Gentoo maintainers. If you suffer any problem," |
287 |
ewarn "you will need to disable this USE flag system wide and retest before" |
288 |
ewarn "opening any bug report." |
289 |
fi |
290 |
} |