1 |
commit: 2bba571d973f02173e74c92030c8095b1fa53872 |
2 |
Author: Alexandre Rostovtsev <tetromino <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Oct 1 18:40:07 2011 +0000 |
4 |
Commit: Alexandre Restovtsev <tetromino <AT> gmail <DOT> com> |
5 |
CommitDate: Sat Oct 1 19:04:25 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=2bba571d |
7 |
|
8 |
dev-libs/seed: add 3.2.0 |
9 |
|
10 |
Add a version of seed that actually builds with gnome-3.2. Restricting |
11 |
tests since many of them fail: https://bugzilla.gnome.org/show_bug.cgi?id=660644 |
12 |
|
13 |
--- |
14 |
dev-libs/seed/files/seed-3.2.0-gio-libs.patch | 34 ++++++++++ |
15 |
dev-libs/seed/seed-3.2.0.ebuild | 89 +++++++++++++++++++++++++ |
16 |
2 files changed, 123 insertions(+), 0 deletions(-) |
17 |
|
18 |
diff --git a/dev-libs/seed/files/seed-3.2.0-gio-libs.patch b/dev-libs/seed/files/seed-3.2.0-gio-libs.patch |
19 |
new file mode 100644 |
20 |
index 0000000..691b4f4 |
21 |
--- /dev/null |
22 |
+++ b/dev-libs/seed/files/seed-3.2.0-gio-libs.patch |
23 |
@@ -0,0 +1,34 @@ |
24 |
+From f382387b9b56d72adbc6888f924e3838a1a94668 Mon Sep 17 00:00:00 2001 |
25 |
+From: Funda Wang <fundawang@×××××.com> |
26 |
+Date: Fri, 23 Sep 2011 05:58:33 +0000 |
27 |
+Subject: fix #659910 - fix linkage against libgio - broken by webkit going... |
28 |
+ |
29 |
+--- |
30 |
+diff --git a/configure.ac b/configure.ac |
31 |
+index 12fa4b8..adc33b1 100644 |
32 |
+--- a/configure.ac |
33 |
++++ b/configure.ac |
34 |
+@@ -129,6 +129,9 @@ AC_SUBST(GNOME_JS_DIR) |
35 |
+ dnl ========================GThread============================================ |
36 |
+ PKG_CHECK_MODULES(GTHREAD, gthread-2.0) |
37 |
+ |
38 |
++dnl ========================GIO================================================ |
39 |
++PKG_CHECK_MODULES(GIO, gio-2.0) |
40 |
++ |
41 |
+ dnl =============================Modules======================================= |
42 |
+ dnl ==== canvas ==== |
43 |
+ AC_ARG_ENABLE(canvas-module, |
44 |
+diff --git a/libseed/Makefile.am b/libseed/Makefile.am |
45 |
+index b45c893..5ff186b 100644 |
46 |
+--- a/libseed/Makefile.am |
47 |
++++ b/libseed/Makefile.am |
48 |
+@@ -43,6 +43,7 @@ libseed@SEED_GTK_VERSION@_la_LIBADD = \ |
49 |
+ $(WEBKIT_LIBS) \ |
50 |
+ $(SEED_PROFILE_LIBS) \ |
51 |
+ $(SEED_OSX_LIBS) \ |
52 |
++ $(GIO_LIBS) \ |
53 |
+ $(FFI_LIBS) -ldl |
54 |
+ |
55 |
+ seedheaders_HEADERS = seed.h seed-debug.h seed-module.h |
56 |
+-- |
57 |
+cgit v0.9.0.2 |
58 |
|
59 |
diff --git a/dev-libs/seed/seed-3.2.0.ebuild b/dev-libs/seed/seed-3.2.0.ebuild |
60 |
new file mode 100644 |
61 |
index 0000000..09da6cc |
62 |
--- /dev/null |
63 |
+++ b/dev-libs/seed/seed-3.2.0.ebuild |
64 |
@@ -0,0 +1,89 @@ |
65 |
+# Copyright 1999-2011 Gentoo Foundation |
66 |
+# Distributed under the terms of the GNU General Public License v2 |
67 |
+# $Header: $ |
68 |
+ |
69 |
+EAPI="4" |
70 |
+WANT_AUTOMAKE="1.11" |
71 |
+GNOME2_LA_PUNT="yes" |
72 |
+ |
73 |
+inherit autotools eutils gnome2 virtualx |
74 |
+ |
75 |
+DESCRIPTION="Javascript bindings for Webkit-GTK and GNOME libraries" |
76 |
+HOMEPAGE="http://live.gnome.org/Seed" |
77 |
+ |
78 |
+LICENSE="LGPL-2" |
79 |
+SLOT="0" |
80 |
+KEYWORDS="~amd64 ~x86" |
81 |
+IUSE="debug doc profile test" |
82 |
+ |
83 |
+RDEPEND=" |
84 |
+ >=dev-libs/gobject-introspection-1 |
85 |
+ |
86 |
+ dev-libs/glib:2 |
87 |
+ virtual/libffi |
88 |
+ x11-libs/cairo |
89 |
+ x11-libs/gtk+:3[introspection] |
90 |
+ net-libs/webkit-gtk:3 |
91 |
+ gnome-base/gnome-js-common |
92 |
+ dev-db/sqlite:3 |
93 |
+ dev-libs/dbus-glib |
94 |
+ dev-libs/mpfr |
95 |
+ dev-libs/libxml2:2 |
96 |
+ sys-apps/dbus |
97 |
+ sys-libs/readline" |
98 |
+DEPEND="${RDEPEND} |
99 |
+ sys-devel/gettext |
100 |
+ >=dev-util/pkgconfig-0.9 |
101 |
+ >=dev-util/intltool-0.35 |
102 |
+ doc? ( >=dev-util/gtk-doc-0.9 ) |
103 |
+ profile? ( sys-devel/gcc )" |
104 |
+ |
105 |
+DOCS="AUTHORS ChangeLog NEWS README" |
106 |
+ |
107 |
+# Lots of tests fail: https://bugzilla.gnome.org/show_bug.cgi?id=660644 |
108 |
+RESTRICT="test" |
109 |
+ |
110 |
+pkg_setup() { |
111 |
+ G2CONF="${G2CONF} |
112 |
+ --disable-static |
113 |
+ --with-webkit=3.0 |
114 |
+ --enable-readline-module |
115 |
+ --enable-os-module |
116 |
+ --enable-ffi-module |
117 |
+ --enable-gtkbuilder-module |
118 |
+ --enable-cairo-module |
119 |
+ --enable-gettext-module |
120 |
+ --enable-dbus-module |
121 |
+ --enable-mpfr-module |
122 |
+ --enable-sqlite-module |
123 |
+ --enable-libxml-module" |
124 |
+ |
125 |
+ # configure behaves very strangely and enables profiling if we pass either |
126 |
+ # --disable-profile or --enable-profile |
127 |
+ if use profile; then |
128 |
+ G2CONF="${G2CONF} |
129 |
+ --enable-profile |
130 |
+ --enable-profile-modules" |
131 |
+ if ! use debug; then |
132 |
+ elog "USE=profile needs debug, auto-enabling..." |
133 |
+ G2CONF="${G2CONF} --enable-debug" |
134 |
+ fi |
135 |
+ fi |
136 |
+ |
137 |
+ if use profile && has ccache ${FEATURES}; then |
138 |
+ ewarn "USE=profile behaves very badly with ccache; it tries to create" |
139 |
+ ewarn "profiling data in CCACHE_DIR. Please disable one of them!" |
140 |
+ fi |
141 |
+} |
142 |
+ |
143 |
+src_prepare() { |
144 |
+ # Upstream patch to fix linking with libgio; will be in next release |
145 |
+ epatch "${FILESDIR}/${P}-gio-libs.patch" |
146 |
+ eautoreconf |
147 |
+ |
148 |
+ gnome2_src_prepare |
149 |
+} |
150 |
+ |
151 |
+src_test() { |
152 |
+ Xemake check |
153 |
+} |