1 |
pacho 14/09/26 10:39:22 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gjs-1.40.1-r1.ebuild |
5 |
Removed: gjs-1.36.1.ebuild |
6 |
Log: |
7 |
Apply some upstream fixes that also prevent gjs crashes, bug #523608 by Serge Gavrilov |
8 |
|
9 |
(Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key A188FBD4) |
10 |
|
11 |
Revision Changes Path |
12 |
1.52 dev-libs/gjs/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gjs/ChangeLog?rev=1.52&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gjs/ChangeLog?rev=1.52&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gjs/ChangeLog?r1=1.51&r2=1.52 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/gjs/ChangeLog,v |
21 |
retrieving revision 1.51 |
22 |
retrieving revision 1.52 |
23 |
diff -u -r1.51 -r1.52 |
24 |
--- ChangeLog 15 Sep 2014 08:18:18 -0000 1.51 |
25 |
+++ ChangeLog 26 Sep 2014 10:39:22 -0000 1.52 |
26 |
@@ -1,6 +1,15 @@ |
27 |
# ChangeLog for dev-libs/gjs |
28 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/gjs/ChangeLog,v 1.51 2014/09/15 08:18:18 ago Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/gjs/ChangeLog,v 1.52 2014/09/26 10:39:22 pacho Exp $ |
31 |
+ |
32 |
+*gjs-1.40.1-r1 (26 Sep 2014) |
33 |
+ |
34 |
+ 26 Sep 2014; Pacho Ramos <pacho@g.o> |
35 |
+ +files/gjs-1.40.1-ownership-transfer.patch, |
36 |
+ +files/gjs-1.40.1-ratelimit-rss.patch, +gjs-1.40.1-r1.ebuild, |
37 |
+ -gjs-1.36.1.ebuild: |
38 |
+ Apply some upstream fixes that also prevent gjs crashes, bug #523608 by Serge |
39 |
+ Gavrilov |
40 |
|
41 |
15 Sep 2014; Agostino Sarubbo <ago@g.o> gjs-1.40.1.ebuild: |
42 |
Stable for sparc, wrt bug #512012 |
43 |
|
44 |
|
45 |
|
46 |
1.1 dev-libs/gjs/gjs-1.40.1-r1.ebuild |
47 |
|
48 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gjs/gjs-1.40.1-r1.ebuild?rev=1.1&view=markup |
49 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gjs/gjs-1.40.1-r1.ebuild?rev=1.1&content-type=text/plain |
50 |
|
51 |
Index: gjs-1.40.1-r1.ebuild |
52 |
=================================================================== |
53 |
# Copyright 1999-2014 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/gjs/gjs-1.40.1-r1.ebuild,v 1.1 2014/09/26 10:39:22 pacho Exp $ |
56 |
|
57 |
EAPI="5" |
58 |
GCONF_DEBUG="no" |
59 |
|
60 |
inherit eutils gnome2 pax-utils virtualx |
61 |
|
62 |
DESCRIPTION="Javascript bindings for GNOME" |
63 |
HOMEPAGE="https://wiki.gnome.org/Projects/Gjs" |
64 |
|
65 |
LICENSE="MIT || ( MPL-1.1 LGPL-2+ GPL-2+ )" |
66 |
SLOT="0" |
67 |
IUSE="+cairo examples gtk test" |
68 |
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
69 |
|
70 |
RDEPEND=" |
71 |
>=dev-libs/glib-2.36:2 |
72 |
>=dev-libs/gobject-introspection-1.39.3 |
73 |
|
74 |
sys-libs/readline:0 |
75 |
dev-lang/spidermonkey:24 |
76 |
virtual/libffi |
77 |
cairo? ( x11-libs/cairo ) |
78 |
gtk? ( x11-libs/gtk+:3 ) |
79 |
" |
80 |
DEPEND="${RDEPEND} |
81 |
gnome-base/gnome-common |
82 |
sys-devel/gettext |
83 |
virtual/pkgconfig |
84 |
test? ( sys-apps/dbus ) |
85 |
" |
86 |
|
87 |
# Large amount of tests are broken even in master. |
88 |
RESTRICT="test" |
89 |
|
90 |
src_prepare() { |
91 |
# Prevent gjs crashes, bug #523608 (from 'master') |
92 |
epatch "${FILESDIR}/${PN}-1.40.1-ownership-transfer.patch" |
93 |
|
94 |
# Ratelimit RSS-triggered GCs (from 'master') |
95 |
epatch "${FILESDIR}/${PN}-1.40.1-ratelimit-rss.patch" |
96 |
|
97 |
gnome2_src_prepare |
98 |
} |
99 |
|
100 |
src_configure() { |
101 |
# FIXME: add systemtap/dtrace support, like in glib:2 |
102 |
# FIXME: --enable-systemtap installs files in ${D}/${D} for some reason |
103 |
# XXX: Do NOT enable coverage, completely useless for portage installs |
104 |
gnome2_src_configure \ |
105 |
--disable-systemtap \ |
106 |
--disable-dtrace \ |
107 |
--disable-coverage \ |
108 |
$(use_with cairo cairo) \ |
109 |
$(use_with gtk) |
110 |
} |
111 |
|
112 |
src_test() { |
113 |
Xemake check |
114 |
} |
115 |
|
116 |
src_install() { |
117 |
# installation sometimes fails in parallel |
118 |
gnome2_src_install -j1 |
119 |
|
120 |
if use examples; then |
121 |
insinto /usr/share/doc/"${PF}"/examples |
122 |
doins "${S}"/examples/* |
123 |
fi |
124 |
|
125 |
# Required for gjs-console to run correctly on PaX systems |
126 |
pax-mark mr "${ED}/usr/bin/gjs-console" |
127 |
} |