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-extra/cinnamon: ChangeLog cinnamon-1.6.1.ebuild cinnamon-1.4_p1.ebuild cinnamon-1.4.ebuild cinnamon-1.4_p1-r1.ebuild
Date: Fri, 28 Sep 2012 08:13:39
Message-Id: 20120928081329.E0EAD21600@flycatcher.gentoo.org
1 tetromino 12/09/28 08:13:29
2
3 Modified: ChangeLog cinnamon-1.4_p1.ebuild
4 cinnamon-1.4.ebuild cinnamon-1.4_p1-r1.ebuild
5 Added: cinnamon-1.6.1.ebuild
6 Log:
7 Version bump to the stable 1.6 series (bug #435828, thanks to Anton Bolshakov). Lots of new features - nameable workspaces, new and improved applets, and a new file manager. See http://cinnamon.linuxmint.com/?p=207 and http://cinnamon.linuxmint.com/?p=216 for the release notes.
8
9 (Portage version: 2.2.0_alpha132/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.17 gnome-extra/cinnamon/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/cinnamon/ChangeLog?rev=1.17&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/cinnamon/ChangeLog?rev=1.17&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/cinnamon/ChangeLog?r1=1.16&r2=1.17
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/gnome-extra/cinnamon/ChangeLog,v
21 retrieving revision 1.16
22 retrieving revision 1.17
23 diff -u -r1.16 -r1.17
24 --- ChangeLog 11 Sep 2012 08:27:57 -0000 1.16
25 +++ ChangeLog 28 Sep 2012 08:13:29 -0000 1.17
26 @@ -1,6 +1,17 @@
27 # ChangeLog for gnome-extra/cinnamon
28 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/cinnamon/ChangeLog,v 1.16 2012/09/11 08:27:57 tetromino Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/cinnamon/ChangeLog,v 1.17 2012/09/28 08:13:29 tetromino Exp $
31 +
32 +*cinnamon-1.6.1 (28 Sep 2012)
33 +
34 + 28 Sep 2012; Alexandre Rostovtsev <tetromino@g.o> cinnamon-1.4.ebuild,
35 + cinnamon-1.4_p1.ebuild, cinnamon-1.4_p1-r1.ebuild, +cinnamon-1.6.1.ebuild,
36 + +files/cinnamon-1.6.1-automagic-gnome-bluetooth.patch,
37 + +files/cinnamon-1.6.1-optional-networkmanager.patch:
38 + Version bump to the stable 1.6 series (bug #435828, thanks to Anton
39 + Bolshakov). Lots of new features - nameable workspaces, new and improved
40 + applets, and a new file manager. See http://cinnamon.linuxmint.com/?p=207 and
41 + http://cinnamon.linuxmint.com/?p=216 for the release notes.
42
43 *cinnamon-1.4_p1-r1 (11 Sep 2012)
44
45
46
47
48 1.2 gnome-extra/cinnamon/cinnamon-1.4_p1.ebuild
49
50 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/cinnamon/cinnamon-1.4_p1.ebuild?rev=1.2&view=markup
51 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/cinnamon/cinnamon-1.4_p1.ebuild?rev=1.2&content-type=text/plain
52 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/cinnamon/cinnamon-1.4_p1.ebuild?r1=1.1&r2=1.2
53
54 Index: cinnamon-1.4_p1.ebuild
55 ===================================================================
56 RCS file: /var/cvsroot/gentoo-x86/gnome-extra/cinnamon/cinnamon-1.4_p1.ebuild,v
57 retrieving revision 1.1
58 retrieving revision 1.2
59 diff -u -r1.1 -r1.2
60 --- cinnamon-1.4_p1.ebuild 9 Sep 2012 00:31:58 -0000 1.1
61 +++ cinnamon-1.4_p1.ebuild 28 Sep 2012 08:13:29 -0000 1.2
62 @@ -1,6 +1,6 @@
63 # Copyright 1999-2012 Gentoo Foundation
64 # Distributed under the terms of the GNU General Public License v2
65 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/cinnamon/cinnamon-1.4_p1.ebuild,v 1.1 2012/09/09 00:31:58 tetromino Exp $
66 +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/cinnamon/cinnamon-1.4_p1.ebuild,v 1.2 2012/09/28 08:13:29 tetromino Exp $
67
68 EAPI="4"
69 GCONF_DEBUG="no"
70 @@ -18,7 +18,7 @@
71
72 SRC_URI="https://github.com/linuxmint/Cinnamon/tarball/${MY_PV} -> ${MY_P}.tar.gz"
73
74 -LICENSE="GPL-2"
75 +LICENSE="GPL-2+"
76 SLOT="0"
77 IUSE="+bluetooth +networkmanager"
78 KEYWORDS="~amd64 ~x86"
79
80
81
82 1.5 gnome-extra/cinnamon/cinnamon-1.4.ebuild
83
84 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/cinnamon/cinnamon-1.4.ebuild?rev=1.5&view=markup
85 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/cinnamon/cinnamon-1.4.ebuild?rev=1.5&content-type=text/plain
86 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/cinnamon/cinnamon-1.4.ebuild?r1=1.4&r2=1.5
87
88 Index: cinnamon-1.4.ebuild
89 ===================================================================
90 RCS file: /var/cvsroot/gentoo-x86/gnome-extra/cinnamon/cinnamon-1.4.ebuild,v
91 retrieving revision 1.4
92 retrieving revision 1.5
93 diff -u -r1.4 -r1.5
94 --- cinnamon-1.4.ebuild 22 May 2012 03:22:44 -0000 1.4
95 +++ cinnamon-1.4.ebuild 28 Sep 2012 08:13:29 -0000 1.5
96 @@ -1,6 +1,6 @@
97 # Copyright 1999-2012 Gentoo Foundation
98 # Distributed under the terms of the GNU General Public License v2
99 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/cinnamon/cinnamon-1.4.ebuild,v 1.4 2012/05/22 03:22:44 tetromino Exp $
100 +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/cinnamon/cinnamon-1.4.ebuild,v 1.5 2012/09/28 08:13:29 tetromino Exp $
101
102 EAPI="4"
103 GCONF_DEBUG="no"
104 @@ -15,7 +15,7 @@
105
106 SRC_URI="https://github.com/linuxmint/Cinnamon/tarball/${PV} -> ${P}.tar.gz"
107
108 -LICENSE="GPL-2"
109 +LICENSE="GPL-2+"
110 SLOT="0"
111 IUSE="+bluetooth +networkmanager"
112 KEYWORDS="~amd64 ~x86"
113
114
115
116 1.2 gnome-extra/cinnamon/cinnamon-1.4_p1-r1.ebuild
117
118 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/cinnamon/cinnamon-1.4_p1-r1.ebuild?rev=1.2&view=markup
119 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/cinnamon/cinnamon-1.4_p1-r1.ebuild?rev=1.2&content-type=text/plain
120 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/cinnamon/cinnamon-1.4_p1-r1.ebuild?r1=1.1&r2=1.2
121
122 Index: cinnamon-1.4_p1-r1.ebuild
123 ===================================================================
124 RCS file: /var/cvsroot/gentoo-x86/gnome-extra/cinnamon/cinnamon-1.4_p1-r1.ebuild,v
125 retrieving revision 1.1
126 retrieving revision 1.2
127 diff -u -r1.1 -r1.2
128 --- cinnamon-1.4_p1-r1.ebuild 11 Sep 2012 08:27:57 -0000 1.1
129 +++ cinnamon-1.4_p1-r1.ebuild 28 Sep 2012 08:13:29 -0000 1.2
130 @@ -1,6 +1,6 @@
131 # Copyright 1999-2012 Gentoo Foundation
132 # Distributed under the terms of the GNU General Public License v2
133 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/cinnamon/cinnamon-1.4_p1-r1.ebuild,v 1.1 2012/09/11 08:27:57 tetromino Exp $
134 +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/cinnamon/cinnamon-1.4_p1-r1.ebuild,v 1.2 2012/09/28 08:13:29 tetromino Exp $
135
136 EAPI="4"
137 GCONF_DEBUG="no"
138 @@ -18,7 +18,7 @@
139
140 SRC_URI="https://github.com/linuxmint/Cinnamon/tarball/${MY_PV} -> ${MY_P}.tar.gz"
141
142 -LICENSE="GPL-2"
143 +LICENSE="GPL-2+"
144 SLOT="0"
145 IUSE="+bluetooth +networkmanager"
146 KEYWORDS="~amd64 ~x86"
147
148
149
150 1.1 gnome-extra/cinnamon/cinnamon-1.6.1.ebuild
151
152 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/cinnamon/cinnamon-1.6.1.ebuild?rev=1.1&view=markup
153 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/cinnamon/cinnamon-1.6.1.ebuild?rev=1.1&content-type=text/plain
154
155 Index: cinnamon-1.6.1.ebuild
156 ===================================================================
157 # Copyright 1999-2012 Gentoo Foundation
158 # Distributed under the terms of the GNU General Public License v2
159 # $Header: /var/cvsroot/gentoo-x86/gnome-extra/cinnamon/cinnamon-1.6.1.ebuild,v 1.1 2012/09/28 08:13:29 tetromino Exp $
160
161 EAPI="4"
162 GCONF_DEBUG="no"
163 GNOME2_LA_PUNT="yes"
164 PYTHON_DEPEND="2:2.5"
165 PYTHON_USE_WITH="xml"
166
167 inherit autotools eutils gnome2 multilib pax-utils python
168
169 DESCRIPTION="A fork of GNOME Shell with layout similar to GNOME 2"
170 HOMEPAGE="http://cinnamon.linuxmint.com/"
171
172 MY_PV="${PV/_p/-UP}"
173 MY_P="${PN}-${MY_PV}"
174
175 SRC_URI="https://github.com/linuxmint/Cinnamon/tarball/${MY_PV} -> ${MY_P}.tar.gz"
176
177 LICENSE="GPL-2+"
178 SLOT="0"
179 IUSE="+bluetooth +networkmanager"
180 KEYWORDS="~amd64 ~x86"
181
182 # gnome-desktop-2.91.2 is needed due to header changes, db82a33 in gnome-desktop
183 # latest gsettings-desktop-schemas is needed due to commit 602fa1c6
184 # latest g-c-c is needed due to https://bugs.gentoo.org/show_bug.cgi?id=360057
185 # libXfixes-5.0 needed for pointer barriers
186 # gnome-menus-3.2.0.1-r1 needed for new 10-xdg-menu-gnome
187 COMMON_DEPEND=">=dev-libs/glib-2.29.10:2
188 >=dev-libs/gjs-1.29.18
189 >=dev-libs/gobject-introspection-0.10.1
190 x11-libs/gdk-pixbuf:2[introspection]
191 >=x11-libs/gtk+-3.0.0:3[introspection]
192 >=media-libs/clutter-1.7.5:1.0[introspection]
193 app-misc/ca-certificates
194 >=dev-libs/json-glib-0.13.2
195 >=gnome-base/gnome-desktop-2.91.2:3[introspection]
196 >=gnome-base/gsettings-desktop-schemas-2.91.91
197 >=media-libs/gstreamer-0.10.16:0.10
198 >=media-libs/gst-plugins-base-0.10.16:0.10
199 net-libs/libsoup:2.4[introspection]
200 >=sys-auth/polkit-0.100[introspection]
201 >=x11-wm/muffin-1.0.5[introspection]
202
203 dev-libs/dbus-glib
204 dev-libs/libxml2:2
205 x11-libs/pango[introspection]
206 >=dev-libs/libcroco-0.6.2:0.6
207
208 gnome-base/gconf:2[introspection]
209 >=gnome-base/gnome-menus-3.2.0.1-r1:3[introspection]
210 gnome-base/librsvg
211 media-libs/libcanberra
212 media-sound/pulseaudio
213
214 >=x11-libs/startup-notification-0.11
215 x11-libs/libX11
216 >=x11-libs/libXfixes-5.0
217 x11-apps/mesa-progs
218
219 bluetooth? ( >=net-wireless/gnome-bluetooth-3.4[introspection] )
220 networkmanager? (
221 gnome-base/libgnome-keyring
222 >=net-misc/networkmanager-0.8.999[introspection] )"
223 # Runtime-only deps are probably incomplete and approximate.
224 # Each block:
225 # 2. Introspection stuff + dconf needed via imports.gi.*
226 # 3. gnome-session is needed for gnome-session-quit
227 # 4. Control shell settings
228 # 5. accountsservice is needed for GdmUserManager (0.6.14 needed for fast
229 # user switching with gdm-3.1.x)
230 # 6. caribou needed for on-screen keyboard
231 # 7. xdg-utils needed for xdg-open, used by extension tool
232 # 8. gconf-python needed for cinnamon-settings
233 # 9. gnome-icon-theme-symbolic needed for various icons
234 # 10. pygobject needed for menu editor
235 # 11. nemo - default file manager, tightly integrated with cinnamon
236 # 12. timedated or DateTimeMechanism implementation for cinnamon-settings
237 RDEPEND="${COMMON_DEPEND}
238 >=gnome-base/dconf-0.4.1
239 >=gnome-base/libgnomekbd-2.91.4[introspection]
240 sys-power/upower[introspection]
241
242 >=gnome-base/gnome-session-3.2.1-r1
243
244 >=gnome-base/gnome-settings-daemon-2.91
245 >=gnome-base/gnome-control-center-2.91.92-r1
246
247 >=sys-apps/accountsservice-0.6.14[introspection]
248
249 >=app-accessibility/caribou-0.3
250
251 x11-misc/xdg-utils
252
253 dev-python/dbus-python
254 dev-python/gconf-python:2
255 dev-python/imaging
256
257 x11-themes/gnome-icon-theme-symbolic
258
259 dev-python/pygobject:3
260
261 gnome-extra/nemo
262
263 || (
264 app-admin/openrc-settingsd
265 >=sys-apps/systemd-30
266 <gnome-base/gnome-settings-daemon-3.3.5 )
267
268 networkmanager? (
269 net-misc/mobile-broadband-provider-info
270 sys-libs/timezone-data )"
271 DEPEND="${COMMON_DEPEND}
272 >=sys-devel/gettext-0.17
273 virtual/pkgconfig
274 >=dev-util/intltool-0.40
275 gnome-base/gnome-common
276 !!=dev-lang/spidermonkey-1.8.2*"
277 # libmozjs.so is picked up from /usr/lib while compiling, so block at build-time
278 # https://bugs.gentoo.org/show_bug.cgi?id=360413
279
280 S="${WORKDIR}/linuxmint-Cinnamon-1359845"
281
282 pkg_setup() {
283 DOCS="AUTHORS NEWS README"
284 # Don't error out on warnings
285 G2CONF="${G2CONF}
286 --enable-compile-warnings=maximum
287 --disable-schemas-compile
288 --disable-jhbuild-wrapper-script
289 $(use_with bluetooth)
290 $(use_enable networkmanager)
291 --with-ca-certificates=${EPREFIX}/etc/ssl/certs/ca-certificates.crt
292 BROWSER_PLUGIN_DIR=${EPREFIX}/usr/$(get_libdir)/nsbrowser/plugins"
293 python_set_active_version 2
294 python_pkg_setup
295 }
296
297 src_prepare() {
298 # Fix automagic gnome-bluetooth dep, bug #398145
299 epatch "${FILESDIR}/${PN}-1.6.1-automagic-gnome-bluetooth.patch"
300
301 # Make networkmanager optional, bug #398593
302 epatch "${FILESDIR}/${PN}-1.6.1-optional-networkmanager.patch"
303
304 # Gentoo uses /usr/libexec
305 sed -e "s:/usr/lib/gnome-session/gnome-session-check-accelerated:${EPREFIX}/usr/libexec/gnome-session-check-accelerated:" \
306 -i "files/usr/share/gnome-session/sessions/cinnamon.session" || die "sed 1 failed"
307
308 # Gentoo uses /usr/$(get_libdir), not /usr/lib even for python
309 sed -e "s:/usr/lib/:/usr/$(get_libdir)/:" \
310 -e 's:"/usr/lib":"/usr/'"$(get_libdir)"'":' \
311 -i files/usr/bin/cinnamon-menu-editor \
312 -i files/usr/bin/cinnamon-settings \
313 -i files/usr/lib/cinnamon-menu-editor/Alacarte/config.py \
314 -i files/usr/lib/cinnamon-menu-editor/Alacarte/MainWindow.py \
315 -i files/usr/lib/cinnamon-settings/cinnamon-settings.py || die "sed 2 failed"
316 if [[ "$(get_libdir)" != lib ]]; then
317 mv files/usr/lib "files/usr/$(get_libdir)" || die "mv failed"
318 fi
319
320 if ! use bluetooth; then
321 rm -rv files/usr/share/cinnamon/applets/bluetooth@××××××××.org || die
322 fi
323
324 if ! use networkmanager; then
325 rm -rv files/usr/share/cinnamon/applets/network@××××××××.org || die
326 fi
327
328 eautoreconf
329 gnome2_src_prepare
330
331 # Drop G_DISABLE_DEPRECATED for sanity on glib upgrades; bug #384765
332 # Note: sed Makefile.in because it is generated from several Makefile.ams
333 sed -e 's/-DG_DISABLE_DEPRECATED//g' \
334 -i src/Makefile.in browser-plugin/Makefile.in || die "sed 3 failed"
335 }
336
337 src_install() {
338 gnome2_src_install
339 python_convert_shebangs 2 "${ED}usr/bin/cinnamon-extension-tool" \
340 "${ED}usr/bin/cinnamon-launcher" \
341 "${ED}usr/bin/cinnamon-menu-editor" \
342 "${ED}usr/bin/cinnamon-settings" \
343 "${ED}usr/$(get_libdir)/cinnamon-settings/cinnamon-settings.py"
344
345 # Required for gnome-shell on hardened/PaX, bug #398941
346 pax-mark mr "${ED}usr/bin/cinnamon"
347 }
348
349 pkg_postinst() {
350 gnome2_pkg_postinst
351 python_mod_optimize "/usr/$(get_libdir)/"cinnamon-{menu-editor,settings}
352
353 if ! has_version '>=media-libs/gst-plugins-good-0.10.23' || \
354 ! has_version 'media-plugins/gst-plugins-vp8'; then
355 ewarn "To make use of Cinnamon's built-in screen recording utility,"
356 ewarn "you need to either install >=media-libs/gst-plugins-good-0.10.23"
357 ewarn "and media-plugins/gst-plugins-vp8, or use dconf-editor to change"
358 ewarn "apps.gnome-shell.recorder/pipeline to what you want to use."
359 fi
360
361 if ! has_version ">=x11-base/xorg-server-1.11"; then
362 ewarn "If you use multiple screens, it is highly recommended that you"
363 ewarn "upgrade to >=x11-base/xorg-server-1.11 to be able to make use of"
364 ewarn "pointer barriers which will make it easier to use hot corners."
365 fi
366
367 if has_version "<x11-drivers/ati-drivers-12"; then
368 ewarn "Cinnamon has been reported to show graphical corruption under"
369 ewarn "x11-drivers/ati-drivers-11.*; you may want to use GNOME in"
370 ewarn "fallback mode, or switch to open-source drivers."
371 fi
372
373 if has_version "media-libs/mesa[video_cards_radeon]"; then
374 elog "Cinnamon is unstable under classic-mode r300/r600 mesa drivers."
375 elog "Make sure that gallium architecture for r300 and r600 drivers is"
376 elog "selected using 'eselect mesa'."
377 if ! has_version "media-libs/mesa[gallium]"; then
378 ewarn "You will need to emerge media-libs/mesa with USE=gallium."
379 fi
380 fi
381
382 if has_version "media-libs/mesa[video_cards_intel]"; then
383 elog "Cinnamon is unstable under gallium-mode i915/i965 mesa drivers."
384 elog "Make sure that classic architecture for i915 and i965 drivers is"
385 elog "selected using 'eselect mesa'."
386 if ! has_version "media-libs/mesa[classic]"; then
387 ewarn "You will need to emerge media-libs/mesa with USE=classic."
388 fi
389 fi
390 }
391
392 pkg_postrm() {
393 gnome2_pkg_postrm
394 python_mod_cleanup "/usr/$(get_libdir)/"cinnamon-{menu-editor,settings}
395 }