From: | "Nirbheek Chauhan (nirbheek)" <nirbheek@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-libs/gjs: metadata.xml gjs-0.7.14.ebuild ChangeLog |
Date: | Sun, 01 May 2011 15:40:52 |
Message-Id: | 20110501154039.6D90E20054@flycatcher.gentoo.org |
1 | nirbheek 11/05/01 15:40:39 |
2 | |
3 | Added: metadata.xml gjs-0.7.14.ebuild ChangeLog |
4 | Log: |
5 | Move gjs from gnome overlay to the tree |
6 | |
7 | (Portage version: 2.1.9.46/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-libs/gjs/metadata.xml |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gjs/metadata.xml?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gjs/metadata.xml?rev=1.1&content-type=text/plain |
14 | |
15 | Index: metadata.xml |
16 | =================================================================== |
17 | <?xml version="1.0" encoding="UTF-8"?> |
18 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
19 | <pkgmetadata> |
20 | <herd>gnome</herd> |
21 | <use> |
22 | <flag name="introspection">Use <pkg>dev-libs/gobject-introspection</pkg> |
23 | for introspection</flag> |
24 | </use> |
25 | </pkgmetadata> |
26 | |
27 | |
28 | |
29 | 1.1 dev-libs/gjs/gjs-0.7.14.ebuild |
30 | |
31 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gjs/gjs-0.7.14.ebuild?rev=1.1&view=markup |
32 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gjs/gjs-0.7.14.ebuild?rev=1.1&content-type=text/plain |
33 | |
34 | Index: gjs-0.7.14.ebuild |
35 | =================================================================== |
36 | # Copyright 1999-2011 Gentoo Foundation |
37 | # Distributed under the terms of the GNU General Public License v2 |
38 | # $Header: /var/cvsroot/gentoo-x86/dev-libs/gjs/gjs-0.7.14.ebuild,v 1.1 2011/05/01 15:40:39 nirbheek Exp $ |
39 | |
40 | EAPI="3" |
41 | GCONF_DEBUG="no" |
42 | GNOME2_LA_PUNT="yes" |
43 | PYTHON_DEPEND="2" |
44 | |
45 | inherit autotools eutils gnome2 python virtualx |
46 | |
47 | DESCRIPTION="Javascript bindings for GNOME" |
48 | HOMEPAGE="http://live.gnome.org/Gjs" |
49 | |
50 | LICENSE="MIT MPL-1.1 LGPL-2 GPL-2" |
51 | SLOT="0" |
52 | IUSE="examples test" |
53 | KEYWORDS="~amd64 ~x86" |
54 | |
55 | # Things are untested and broken with anything other than xulrunner-2.0 |
56 | # FIXME: https://bugzilla.mozilla.org/show_bug.cgi?id=628723 instead of libxul |
57 | RDEPEND=">=dev-libs/glib-2.18:2 |
58 | >=dev-libs/gobject-introspection-0.10.1 |
59 | >=net-libs/xulrunner-2.0:1.9 |
60 | |
61 | dev-libs/dbus-glib |
62 | sys-libs/readline |
63 | x11-libs/cairo" |
64 | DEPEND="${RDEPEND} |
65 | sys-devel/gettext |
66 | >=dev-util/pkgconfig-0.9 |
67 | !dev-lang/spidermonkey" |
68 | # HACK HACK: gjs-tests picks up /usr/lib/libmozjs.so with spidermonkey installed |
69 | |
70 | src_prepare() { |
71 | # AUTHORS, ChangeLog are empty |
72 | DOCS="NEWS README" |
73 | # FIXME: add systemtap/dtrace support, like in glib:2 |
74 | # XXX: Do NOT enable coverage, completely useless for portage installs |
75 | G2CONF="${G2CONF} |
76 | --disable-systemtap |
77 | --disable-dtrace |
78 | --disable-coverage" |
79 | |
80 | # https://bugs.gentoo.org/353941 |
81 | epatch "${FILESDIR}/${PN}-drop-js-config.patch" |
82 | |
83 | eautoreconf |
84 | |
85 | gnome2_src_prepare |
86 | python_convert_shebangs 2 "${S}"/scripts/make-tests |
87 | } |
88 | |
89 | src_test() { |
90 | # Tests need dbus |
91 | Xemake check || die |
92 | } |
93 | |
94 | src_install() { |
95 | # installation sometimes fails in parallel |
96 | gnome2_src_install -j1 |
97 | |
98 | if use examples; then |
99 | insinto /usr/share/doc/${PF}/examples |
100 | doins ${S}/examples/* || die "doins examples failed!" |
101 | fi |
102 | } |
103 | |
104 | |
105 | |
106 | 1.1 dev-libs/gjs/ChangeLog |
107 | |
108 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gjs/ChangeLog?rev=1.1&view=markup |
109 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gjs/ChangeLog?rev=1.1&content-type=text/plain |
110 | |
111 | Index: ChangeLog |
112 | =================================================================== |
113 | # ChangeLog for dev-libs/gjs |
114 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
115 | # $Header: /var/cvsroot/gentoo-x86/dev-libs/gjs/ChangeLog,v 1.1 2011/05/01 15:40:39 nirbheek Exp $ |
116 | |
117 | *gjs-0.7.14 (01 May 2011) |
118 | |
119 | 01 May 2011; Nirbheek Chauhan <nirbheek@g.o> +gjs-0.7.14.ebuild, |
120 | +files/gjs-drop-js-config.patch, +metadata.xml: |
121 | Move gjs from gnome overlay to the tree |