1 |
pacho 15/07/04 19:15:09 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: cinnamon-2.6.9.ebuild |
5 |
Removed: cinnamon-2.4.6.ebuild |
6 |
Log: |
7 |
Version bump, drop old |
8 |
|
9 |
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key A188FBD4) |
10 |
|
11 |
Revision Changes Path |
12 |
1.66 gnome-extra/cinnamon/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/cinnamon/ChangeLog?rev=1.66&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/cinnamon/ChangeLog?rev=1.66&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/cinnamon/ChangeLog?r1=1.65&r2=1.66 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/gnome-extra/cinnamon/ChangeLog,v |
21 |
retrieving revision 1.65 |
22 |
retrieving revision 1.66 |
23 |
diff -u -r1.65 -r1.66 |
24 |
--- ChangeLog 30 Jun 2015 19:15:53 -0000 1.65 |
25 |
+++ ChangeLog 4 Jul 2015 19:15:09 -0000 1.66 |
26 |
@@ -1,6 +1,17 @@ |
27 |
# ChangeLog for gnome-extra/cinnamon |
28 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/cinnamon/ChangeLog,v 1.65 2015/06/30 19:15:53 pacho Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/cinnamon/ChangeLog,v 1.66 2015/07/04 19:15:09 pacho Exp $ |
31 |
+ |
32 |
+*cinnamon-2.6.9 (04 Jul 2015) |
33 |
+ |
34 |
+ 04 Jul 2015; Pacho Ramos <pacho@g.o> +cinnamon-2.6.9.ebuild, |
35 |
+ -cinnamon-2.4.6.ebuild, -files/background.patch, |
36 |
+ -files/cinnamon-2.2.16-calendar-upower.patch, |
37 |
+ -files/cinnamon-2.2.16-gnome-3.14.patch, |
38 |
+ -files/cinnamon-2.2.16-sbin-lspci.patch, |
39 |
+ -files/cinnamon-2.2.16-set-wheel.patch, |
40 |
+ -files/cinnamon-2.2.6-optional-networkmanager.patch: |
41 |
+ Version bump, drop old |
42 |
|
43 |
30 Jun 2015; Pacho Ramos <pacho@g.o> cinnamon-2.6.8.ebuild: |
44 |
Drop no longer needed warnings about r300/r600 (#553548) |
45 |
|
46 |
|
47 |
|
48 |
1.1 gnome-extra/cinnamon/cinnamon-2.6.9.ebuild |
49 |
|
50 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/cinnamon/cinnamon-2.6.9.ebuild?rev=1.1&view=markup |
51 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/cinnamon/cinnamon-2.6.9.ebuild?rev=1.1&content-type=text/plain |
52 |
|
53 |
Index: cinnamon-2.6.9.ebuild |
54 |
=================================================================== |
55 |
# Copyright 1999-2015 Gentoo Foundation |
56 |
# Distributed under the terms of the GNU General Public License v2 |
57 |
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/cinnamon/cinnamon-2.6.9.ebuild,v 1.1 2015/07/04 19:15:09 pacho Exp $ |
58 |
|
59 |
EAPI="5" |
60 |
GCONF_DEBUG="no" |
61 |
GNOME2_LA_PUNT="yes" |
62 |
PYTHON_COMPAT=( python2_7 python3_3 python3_4 ) |
63 |
PYTHON_REQ_USE="xml" |
64 |
|
65 |
inherit autotools eutils flag-o-matic gnome2 multilib pax-utils python-r1 |
66 |
|
67 |
DESCRIPTION="A fork of GNOME Shell with layout similar to GNOME 2" |
68 |
HOMEPAGE="http://cinnamon.linuxmint.com/" |
69 |
|
70 |
MY_PV="${PV/_p/-UP}" |
71 |
MY_P="${PN}-${MY_PV}" |
72 |
|
73 |
SRC_URI="https://github.com/linuxmint/Cinnamon/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz" |
74 |
|
75 |
LICENSE="GPL-2+" |
76 |
SLOT="0" |
77 |
|
78 |
# bluetooth support dropped due bug #511648 |
79 |
IUSE="+nls +networkmanager" #+bluetooth |
80 |
|
81 |
# We need *both* python 2.7 and 3.x |
82 |
REQUIRED_USE="${PYTHON_REQUIRED_USE} |
83 |
python_targets_python2_7 |
84 |
|| ( python_targets_python3_3 python_targets_python3_4 ) |
85 |
" |
86 |
|
87 |
KEYWORDS="~amd64 ~x86" |
88 |
|
89 |
COMMON_DEPEND=" |
90 |
app-accessibility/at-spi2-atk:2 |
91 |
app-misc/ca-certificates |
92 |
dev-libs/dbus-glib |
93 |
>=dev-libs/glib-2.29.10:2[dbus] |
94 |
>=dev-libs/gobject-introspection-0.10.1:= |
95 |
>=dev-libs/json-glib-0.13.2 |
96 |
>=dev-libs/libcroco-0.6.2:0.6 |
97 |
dev-libs/libxml2:2 |
98 |
gnome-base/gconf:2[introspection] |
99 |
gnome-base/librsvg |
100 |
>=gnome-extra/cinnamon-desktop-2.4:0=[introspection] |
101 |
gnome-extra/cinnamon-menus[introspection] |
102 |
>=gnome-extra/cjs-2.4 |
103 |
>=media-libs/clutter-1.10:1.0[introspection] |
104 |
media-libs/cogl:1.0=[introspection] |
105 |
>=gnome-base/gsettings-desktop-schemas-2.91.91 |
106 |
media-libs/gstreamer:1.0 |
107 |
media-libs/gst-plugins-base:1.0 |
108 |
media-sound/pulseaudio:0=[glib] |
109 |
net-libs/libsoup:2.4[introspection] |
110 |
>=sys-auth/polkit-0.100[introspection] |
111 |
x11-libs/gdk-pixbuf:2[introspection] |
112 |
>=x11-libs/gtk+-3.9.12:3[introspection] |
113 |
x11-libs/pango[introspection] |
114 |
>=x11-libs/startup-notification-0.11 |
115 |
x11-libs/libX11 |
116 |
>=x11-libs/libXfixes-5.0 |
117 |
>=x11-wm/muffin-2.4[introspection] |
118 |
${PYTHON_DEPS} |
119 |
networkmanager? ( |
120 |
gnome-base/libgnome-keyring |
121 |
>=net-misc/networkmanager-0.8.999[introspection] ) |
122 |
" |
123 |
#bluetooth? ( >=net-wireless/gnome-bluetooth-3.1:=[introspection] ) |
124 |
|
125 |
# Runtime-only deps are probably incomplete and approximate. |
126 |
# Each block: |
127 |
# 2. Introspection stuff + dconf needed via imports.gi.* |
128 |
# 3. gnome-session is needed for gnome-session-quit |
129 |
# 4. Control shell settings |
130 |
# 5. accountsservice is needed for GdmUserManager (0.6.14 needed for fast |
131 |
# user switching with gdm-3.1.x) |
132 |
# 6. caribou needed for on-screen keyboard |
133 |
# 7. xdg-utils needed for xdg-open, used by extension tool |
134 |
# 8. gconf-python, imaging, lxml needed for cinnamon-settings |
135 |
# 9. gnome-icon-theme-symbolic needed for various icons |
136 |
# 10. pygobject needed for menu editor |
137 |
# 11. nemo - default file manager, tightly integrated with cinnamon |
138 |
# 12. polkit-gnome - explicitly autostarted by us |
139 |
# TODO(lxnay): fix error: libgnome-desktop/gnome-rr-labeler.h: No such file or directory |
140 |
RDEPEND="${COMMON_DEPEND} |
141 |
>=gnome-base/dconf-0.4.1 |
142 |
>=gnome-base/libgnomekbd-2.91.4[introspection] |
143 |
|| ( sys-power/upower[introspection] sys-power/upower-pm-utils[introspection] ) |
144 |
|
145 |
>=gnome-extra/cinnamon-session-2.4 |
146 |
>=gnome-extra/cinnamon-settings-daemon-2.4 |
147 |
|
148 |
>=sys-apps/accountsservice-0.6.14[introspection] |
149 |
|
150 |
>=app-accessibility/caribou-0.3 |
151 |
|
152 |
x11-misc/xdg-utils |
153 |
|
154 |
dev-python/dbus-python[python_targets_python2_7] |
155 |
dev-python/gconf-python:2[python_targets_python2_7] |
156 |
dev-python/lxml[python_targets_python2_7] |
157 |
dev-python/pexpect[python_targets_python2_7] |
158 |
dev-python/pycairo[python_targets_python2_7] |
159 |
dev-python/pygobject:3[${PYTHON_USEDEP}] |
160 |
dev-python/pyinotify[python_targets_python2_7] |
161 |
dev-python/pypam[python_targets_python2_7] |
162 |
virtual/python-imaging[python_targets_python2_7] |
163 |
|
164 |
x11-themes/gnome-themes-standard[gtk] |
165 |
x11-themes/gnome-icon-theme-symbolic |
166 |
|
167 |
>=gnome-extra/nemo-2.4 |
168 |
>=gnome-extra/cinnamon-control-center-2.4 |
169 |
>=gnome-extra/cinnamon-screensaver-2.4 |
170 |
|
171 |
gnome-extra/polkit-gnome |
172 |
|
173 |
networkmanager? ( |
174 |
gnome-extra/nm-applet |
175 |
net-misc/mobile-broadband-provider-info |
176 |
sys-libs/timezone-data ) |
177 |
nls? ( >=gnome-extra/cinnamon-translations-2.4 ) |
178 |
" |
179 |
#bluetooth? ( net-wireless/cinnamon-bluetooth ) |
180 |
|
181 |
DEPEND="${COMMON_DEPEND} |
182 |
dev-python/polib[python_targets_python2_7] |
183 |
>=sys-devel/gettext-0.17 |
184 |
virtual/pkgconfig |
185 |
>=dev-util/intltool-0.40 |
186 |
gnome-base/gnome-common |
187 |
!!=dev-lang/spidermonkey-1.8.2* |
188 |
" |
189 |
# libmozjs.so is picked up from /usr/lib while compiling, so block at build-time |
190 |
# https://bugs.gentoo.org/show_bug.cgi?id=360413 |
191 |
|
192 |
S="${WORKDIR}/Cinnamon-${PV}" |
193 |
|
194 |
pkg_setup() { |
195 |
python_setup |
196 |
} |
197 |
|
198 |
src_prepare() { |
199 |
# Fix backgrounds path as cinnamon doesn't provide them |
200 |
# https://github.com/linuxmint/Cinnamon/issues/3575 |
201 |
epatch "${FILESDIR}"/${PN}-2.4.5-background.patch |
202 |
|
203 |
# Fix automagic gnome-bluetooth dep, bug #398145 |
204 |
epatch "${FILESDIR}"/${PN}-2.2.6-automagic-gnome-bluetooth.patch |
205 |
|
206 |
# Optional NetworkManager, bug #488684 |
207 |
epatch "${FILESDIR}"/${PN}-2.6.7-optional-networkmanager.patch |
208 |
|
209 |
# Use wheel group instead of sudo (from Fedora/Arch) |
210 |
# https://github.com/linuxmint/Cinnamon/issues/3576 |
211 |
epatch "${FILESDIR}"/${PN}-2.6.7-set-wheel.patch |
212 |
|
213 |
# Fix GNOME 3.14 support (from Fedora/Arch) |
214 |
# https://github.com/linuxmint/Cinnamon/issues/3577 |
215 |
epatch "${FILESDIR}"/${PN}-2.4.5-gnome-3.14.patch |
216 |
|
217 |
# Use pkexec instead of gksu (from Arch) |
218 |
# https://github.com/linuxmint/Cinnamon/issues/3565 |
219 |
sed -i 's/gksu/pkexec/' files/usr/bin/cinnamon-settings-users || die |
220 |
|
221 |
# Add polkit agent to required components (from Fedora/Arch), bug #523958 |
222 |
# https://github.com/linuxmint/Cinnamon/issues/3579 |
223 |
sed -i 's/RequiredComponents=\(.*\)$/RequiredComponents=\1polkit-gnome-authentication-agent-1;/' \ |
224 |
files/usr/share/cinnamon-session/sessions/cinnamon*.session || die |
225 |
|
226 |
# Gentoo uses /usr/$(get_libdir), not /usr/lib even for python |
227 |
sed -e "s:/usr/lib/:/usr/$(get_libdir)/:" \ |
228 |
-e 's:"/usr/lib":"/usr/'"$(get_libdir)"'":' \ |
229 |
-i files/usr/share/polkit-1/actions/org.cinnamon.settings-users.policy \ |
230 |
-i files/usr/lib/*/*.py \ |
231 |
-i files/usr/lib/*/*/*.py \ |
232 |
-i files/usr/bin/* || die "sed failed" |
233 |
if [[ "$(get_libdir)" != lib ]]; then |
234 |
mv files/usr/lib "files/usr/$(get_libdir)" || die "mv failed" |
235 |
fi |
236 |
|
237 |
if ! use networkmanager; then |
238 |
rm -rv files/usr/share/cinnamon/applets/network@××××××××.org || die |
239 |
fi |
240 |
|
241 |
epatch_user |
242 |
|
243 |
# python 2-and-3 shebang fixing craziness |
244 |
local p |
245 |
python_setup 'python3*' |
246 |
for p in $(grep -rl '#!.*python3'); do |
247 |
python_fix_shebang "${p}" |
248 |
done |
249 |
|
250 |
python_setup 'python2*' |
251 |
for p in $(grep -rl '#!.*python[^3]'); do |
252 |
python_fix_shebang "${p}" |
253 |
done |
254 |
|
255 |
eautoreconf |
256 |
gnome2_src_prepare |
257 |
} |
258 |
|
259 |
src_configure() { |
260 |
# https://bugs.gentoo.org/show_bug.cgi?id=536374 |
261 |
# https://github.com/linuxmint/Cinnamon/issues/3843 |
262 |
append-ldflags $(no-as-needed) |
263 |
|
264 |
gnome2_src_configure \ |
265 |
--libdir="${EPREFIX}/usr/$(get_libdir)" \ |
266 |
--disable-rpath \ |
267 |
--disable-jhbuild-wrapper-script \ |
268 |
$(use_enable networkmanager) \ |
269 |
--with-ca-certificates="${EPREFIX}/etc/ssl/certs/ca-certificates.crt" \ |
270 |
BROWSER_PLUGIN_DIR="${EPREFIX}/usr/$(get_libdir)/nsbrowser/plugins" \ |
271 |
--without-bluetooth |
272 |
} |
273 |
|
274 |
src_install() { |
275 |
gnome2_src_install |
276 |
python_optimize "${ED}"usr/$(get_libdir)/cinnamon-* |
277 |
|
278 |
# Required for gnome-shell on hardened/PaX, bug #398941 |
279 |
pax-mark mr "${ED}usr/bin/cinnamon" |
280 |
|
281 |
# Doesn't exist on Gentoo, causing this to be a dead symlink |
282 |
rm -f "${ED}etc/xdg/menus/cinnamon-applications-merged" || die |
283 |
|
284 |
# Ensure authentication-agent is started, bug #523958 |
285 |
# https://github.com/linuxmint/Cinnamon/issues/3579 |
286 |
insinto /etc/xdg/autostart/ |
287 |
doins "${FILESDIR}"/polkit-cinnamon-authentication-agent-1.desktop |
288 |
} |
289 |
|
290 |
pkg_postinst() { |
291 |
gnome2_pkg_postinst |
292 |
|
293 |
if ! has_version 'media-libs/gst-plugins-good:1.0' || \ |
294 |
! has_version 'media-plugins/gst-plugins-vpx:1.0'; then |
295 |
ewarn "To make use of Cinnamon's built-in screen recording utility," |
296 |
ewarn "you need to either install media-libs/gst-plugins-good:1.0" |
297 |
ewarn "and media-plugins/gst-plugins-vpx:1.0, or use dconf-editor to change" |
298 |
ewarn "org.cinnamon.recorder/pipeline to what you want to use." |
299 |
fi |
300 |
|
301 |
if ! has_version ">=x11-base/xorg-server-1.11"; then |
302 |
ewarn "If you use multiple screens, it is highly recommended that you" |
303 |
ewarn "upgrade to >=x11-base/xorg-server-1.11 to be able to make use of" |
304 |
ewarn "pointer barriers which will make it easier to use hot corners." |
305 |
fi |
306 |
|
307 |
if has_version "<x11-drivers/ati-drivers-12"; then |
308 |
ewarn "Cinnamon has been reported to show graphical corruption under" |
309 |
ewarn "x11-drivers/ati-drivers-11.*; you may want to switch to" |
310 |
ewarn "open-source drivers." |
311 |
fi |
312 |
} |