diff options
author | Nirbheek Chauhan <nirbheek@gentoo.org> | 2010-06-29 08:27:36 +0000 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@gentoo.org> | 2010-06-29 08:27:36 +0000 |
commit | c39efff402bc21b4e1f94bb86211d59c3ba765f8 (patch) | |
tree | d0d4d8c882c730cc56c2da8ca89a7f0bf6547f09 /dev-libs/seed | |
parent | Added ~hppa to KEYWORDS. (diff) | |
download | historical-c39efff402bc21b4e1f94bb86211d59c3ba765f8.tar.gz historical-c39efff402bc21b4e1f94bb86211d59c3ba765f8.tar.bz2 historical-c39efff402bc21b4e1f94bb86211d59c3ba765f8.zip |
Add new ebuild for dev-libs/seed, needed by gnome-games. Masked for now till the issues mentioned in the ebuild are fixed
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'dev-libs/seed')
-rw-r--r-- | dev-libs/seed/ChangeLog | 11 | ||||
-rw-r--r-- | dev-libs/seed/Manifest | 5 | ||||
-rw-r--r-- | dev-libs/seed/files/seed-fix-gnome-js-common-circular-dep.patch | 24 | ||||
-rw-r--r-- | dev-libs/seed/metadata.xml | 13 | ||||
-rw-r--r-- | dev-libs/seed/seed-2.30.0.ebuild | 85 |
5 files changed, 138 insertions, 0 deletions
diff --git a/dev-libs/seed/ChangeLog b/dev-libs/seed/ChangeLog new file mode 100644 index 000000000000..e52c8e2e4198 --- /dev/null +++ b/dev-libs/seed/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-libs/seed +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/seed/ChangeLog,v 1.1 2010/06/29 08:27:36 nirbheek Exp $ + +*seed-2.30.0 (29 Jun 2010) + + 29 Jun 2010; Nirbheek Chauhan <nirbheek@gentoo.org> +seed-2.30.0.ebuild, + +files/seed-fix-gnome-js-common-circular-dep.patch, +metadata.xml: + Add new ebuild for dev-libs/seed, needed by gnome-games. Masked for now + till the issues mentioned in the ebuild are fixed + diff --git a/dev-libs/seed/Manifest b/dev-libs/seed/Manifest new file mode 100644 index 000000000000..3f37c8fafd7f --- /dev/null +++ b/dev-libs/seed/Manifest @@ -0,0 +1,5 @@ +AUX seed-fix-gnome-js-common-circular-dep.patch 987 RMD160 e4c3b20548c1d8615b30a8c85723312a43239497 SHA1 6ede54d29570e487c8c8a9ad9dc1ff77548bf44d SHA256 2c0afc96cb483b2628576a7136ab455b6e110873187c348d756fefda8b847bdf +DIST seed-2.30.0.tar.bz2 770032 RMD160 b61883b7aaec557cac5efcc7ef9fd7874a9bb607 SHA1 7f3fe1fcea29c43d65c9ab6a90c56ecdcdd807c2 SHA256 3b5e7babd1e14793829c9d521319cbf2af9a66bea604c5dc80a9885558f00361 +EBUILD seed-2.30.0.ebuild 2573 RMD160 7ae54eaca2896b5a1bc3ca5ec5491070e594d61d SHA1 40a8d21c464657a23591788e01417b1bffacf74e SHA256 14b9783e02c66e87d0470a7b3f8b50d581f2e9e7fa023dea1f94cb1f2a7366ad +MISC ChangeLog 500 RMD160 d7614084f89fd9112687ed36b6cbfa53ad76fcd6 SHA1 947ba6a74e2c2c7bf061ec94aa805d0cd90c72e4 SHA256 24a5ae802ccceda1c87610b512cffa3a26643ec0f715920cdf46ba90c7459aa3 +MISC metadata.xml 540 RMD160 488f7601d2839beb604cc05735d93820736e9b26 SHA1 5588218f835ef863d633226e435e8c24aeeda772 SHA256 689b9c23c6a0cf441c85ded93b52fef9206b2aaa04e1c90f93693f9818f8630e diff --git a/dev-libs/seed/files/seed-fix-gnome-js-common-circular-dep.patch b/dev-libs/seed/files/seed-fix-gnome-js-common-circular-dep.patch new file mode 100644 index 000000000000..fb8d9de00bdd --- /dev/null +++ b/dev-libs/seed/files/seed-fix-gnome-js-common-circular-dep.patch @@ -0,0 +1,24 @@ +Seed depends on gnome-js-common (build-time), and gnome-js-common[seed] depends +on seed (build-time). The gnome-js-common build-time dep is purely to find out +the gnome-js-common module directory and append to the search path of the +Seed.js extension. However, that's a runtime dep... + +--- +--- configure.ac ++++ configure.ac +@@ -89,8 +89,13 @@ + AC_SUBST(GOBJECT_INTROSPECTION_LDFLAGS) + + dnl ========================GNOME-js common==================================== +-PKG_CHECK_MODULES(GNOME_JS, gnome-js-common) +-GNOME_JS_DIR=`pkg-config --variable=moduledir gnome-js-common` ++PKG_CHECK_MODULES(GNOME_JS, gnome-js-common, have_gnome_js=yes, have_gnome_js=no) ++if test x"$have_gnome_js" = x"yes"; then ++ GNOME_JS_DIR=`pkg-config --variable=moduledir gnome-js-common` ++else ++ dnl If we don't have it installed, avoid circular build dependency ++ GNOME_JS_DIR="$libdir/gnome-js" ++fi + AC_SUBST(GNOME_JS_DIR) + + dnl =============================Modules======================================= diff --git a/dev-libs/seed/metadata.xml b/dev-libs/seed/metadata.xml new file mode 100644 index 000000000000..715c2802b6ff --- /dev/null +++ b/dev-libs/seed/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>gnome</herd> +<use> + <flag name="dbus">Build the JS module for <pkg>sys-apps/dbus</pkg> and + <pkg>dev-libs/dbus-glib</pkg></flag> + <flag name="mpfr">Build the JS module for <pkg>dev-libs/mpfr</pkg></flag> + <flag name="profile">Build support for profiling <pkg>dev-libs/seed</pkg> + for development purposes</flag> + <flag name="xml">Build JS module for <pkg>dev-libs/libxml2</pkg></flag> +</use> +</pkgmetadata> diff --git a/dev-libs/seed/seed-2.30.0.ebuild b/dev-libs/seed/seed-2.30.0.ebuild new file mode 100644 index 000000000000..c8e12c4b0219 --- /dev/null +++ b/dev-libs/seed/seed-2.30.0.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/seed/seed-2.30.0.ebuild,v 1.1 2010/06/29 08:27:36 nirbheek Exp $ + +EAPI="2" + +inherit autotools gnome2 + +DESCRIPTION="Javascript bindings for Webkit-GTK and GNOME libraries" +HOMEPAGE="http://live.gnome.org/Seed" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+dbus debug doc mpfr profile +sqlite test +xml" + +# XXX: We need gcc at runtime for the seed profile-module +# XXX: Seed ships javascript extensions that rdepend on clutter[introspection], +# gstreamer[introspection], gnome-js-common, etc. Haven't expressing them +# here yet. We should do that once USE=introspection is unmasked, +# gnome-js-common enters tree, gstreamer gets introspection support, etc. +RDEPEND=" + >=dev-libs/gobject-introspection-0.6.3 + + dev-libs/glib + virtual/libffi + dev-libs/dbus-glib + x11-libs/cairo + x11-libs/gtk+:2 + net-libs/webkit-gtk + + dbus? ( + sys-apps/dbus + dev-libs/dbus-glib ) + mpfr? ( dev-libs/mpfr ) + profile? ( sys-devel/gcc ) + sqlite? ( dev-db/sqlite:3 ) + xml? ( dev-libs/libxml2:2 )" +DEPEND="${RDEPEND} + sys-devel/gettext + >=dev-util/pkgconfig-0.9 + >=dev-util/intltool-0.35 + doc? ( >=dev-util/gtk-doc-0.9 ) + test? ( + dev-libs/gobject-introspection + x11-libs/pango[introspection] + x11-libs/gtk+:2.0[introspection] + gnome-base/gconf[introspection] )" +DOCS="AUTHORS ChangeLog NEWS README" +# FIXME: tests need gconf introspection support, which is in 2.28 branch +# upstream (no releases), and in 2.31 releases +# FIXME: tests need all the feature-USE-flags enabled to complete successfully +RESTRICT="test" + +src_prepare() { + G2CONF="${G2CONF} + $(use_enable dbus dbus-module) + $(use_enable mpfr mpfr-module) + $(use_enable sqlite sqlite-module) + $(use_enable xml libxml-module)" + + # configure behaves very strangely and enables profiling if we pass either + # --disable-profile or --enable-profile + if use profile; then + G2CONF="${G2CONF} + --enable-profile + --enable-profile-modules" + if ! use debug; then + elog "USE=profile needs debug, auto-enabling..." + G2CONF="${G2CONF} --enable-debug" + fi + fi + + if use profile && has ccache ${FEATURES}; then + ewarn "USE=profile behaves very badly with ccache; it tries to create" + ewarn "profiling data in CCACHE_DIR. Please disable one of them!" + fi + + # Hard-code gnome-js-common module install path to avoid circular dep + epatch "${FILESDIR}/${PN}-fix-gnome-js-common-circular-dep.patch" + + # Uhm. autotools.eclass failure + mkdir m4 + eautoreconf +} |