summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-04-21 09:18:17 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-04-21 09:18:17 +0000
commitd3330ba5ebf267c4219ce79979cdfe7517fea9f4 (patch)
tree2e6f43a85c1ab85e7305909c9eac59b4c4a99dcb /dev-libs/gjs
parentStable for amd64, wrt bug #411903 (diff)
downloadhistorical-d3330ba5ebf267c4219ce79979cdfe7517fea9f4.tar.gz
historical-d3330ba5ebf267c4219ce79979cdfe7517fea9f4.tar.bz2
historical-d3330ba5ebf267c4219ce79979cdfe7517fea9f4.zip
punt overshadowed version with depend on xulrunner wrt #403415
Package-Manager: portage-2.2.0_alpha100/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/gjs')
-rw-r--r--dev-libs/gjs/ChangeLog6
-rw-r--r--dev-libs/gjs/Manifest19
-rw-r--r--dev-libs/gjs/files/gjs-drop-js-config.patch183
-rw-r--r--dev-libs/gjs/gjs-0.7.14.ebuild67
4 files changed, 15 insertions, 260 deletions
diff --git a/dev-libs/gjs/ChangeLog b/dev-libs/gjs/ChangeLog
index 3eba78912770..eda0f0113387 100644
--- a/dev-libs/gjs/ChangeLog
+++ b/dev-libs/gjs/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-libs/gjs
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/gjs/ChangeLog,v 1.6 2012/03/28 01:00:26 tetromino Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/gjs/ChangeLog,v 1.7 2012/04/21 09:18:17 ssuominen Exp $
+
+ 21 Apr 2012; Samuli Suominen <ssuominen@gentoo.org> -gjs-0.7.14.ebuild,
+ -files/gjs-drop-js-config.patch:
+ old
*gjs-1.32.0 (28 Mar 2012)
diff --git a/dev-libs/gjs/Manifest b/dev-libs/gjs/Manifest
index 55a619e5d957..f8054b457efb 100644
--- a/dev-libs/gjs/Manifest
+++ b/dev-libs/gjs/Manifest
@@ -1,19 +1,20 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
+Hash: SHA1
-AUX gjs-drop-js-config.patch 6799 RMD160 13fdc474874d8adda08dda4191df77a2539834b8 SHA1 fa7dfbe4191c6987fd9156919b4e5d9da45be1cd SHA256 cc50fa4e1a6fd2ba6759fab56362085ecc0438cefb2426eee11b1314b93586cf
-DIST gjs-0.7.14.tar.bz2 515857 RMD160 f3183aaf98c6b37c6bf445e6309cd7f1f516a915 SHA1 d9955428f5cbe7a6714197da1e4dbe5d6d60360d SHA256 3af6f449a505c419d4a0e5938737da8d1b9b09b33710cc1ac1edee2eaa86e348
DIST gjs-1.30.1.tar.xz 455456 RMD160 10a44261cb801a2d8eacb075addc296476953f3a SHA1 269796944742bb3f86bbe017620a65f2fea50207 SHA256 f5db07ddf70458a33a5d0bdf83f84070fc234237ecb0d49a8676e67b52119a05
DIST gjs-1.32.0.tar.xz 464372 RMD160 977ea08c57cb99c597ccf49b994f4c31f8e07458 SHA1 7ea9c2bbcef40f65c0e7aa04e6f2df8c553516ee SHA256 b9f1dc156c15806824c936bb08ddc5048f52f6921654146c47025a62457108c0
-EBUILD gjs-0.7.14.ebuild 1703 RMD160 d1c1df54f4e5805b87914eebcd11c8425e7f42ae SHA1 e18c001d85be4d3a6be9b0212d4be429d14772f4 SHA256 d4ffce987fab08a23636777219ca523641e602c4d7027267565f8a625bbd83e3
EBUILD gjs-1.30.1.ebuild 1460 RMD160 fdc0755c03659c3f0853c6285016713489db132f SHA1 a126e53b94dc300162564cabcdcccf6cc4f6f694 SHA256 e229cd1e8ac638c646935a3ac1d3fd4f1aac4c69f45fcf6b51f8150453336024
EBUILD gjs-1.32.0.ebuild 1543 RMD160 54c87795eda4ba890c55793e2e570e136f93f38c SHA1 405751146670a86bdaaf647f0aa61f26a614e513 SHA256 13a874ca1d92b3b0f5dd05f45e7290200d02070d476798ad53a9bd90aee79be8
-MISC ChangeLog 1259 RMD160 d2e15c64c0d550b2ac237ce84153a063c8c2c743 SHA1 903d6fe68a972f9b8455e4343337631d8c54640b SHA256 cd95f6da9d7ebccad8262050db01691c517bb6bdb2b4bccbf4e83020abb750c4
+MISC ChangeLog 1375 RMD160 72747723a271362377cd84b12349d1cda7b02b71 SHA1 3d607564ba36f02f81d1b9d233fcd7fa7c9e4976 SHA256 d6c964d6afe359fc441f53aa90ff351e4c840be380986f2d2f10c7eea1fb5cd1
MISC metadata.xml 160 RMD160 2b0d347221b384d4765ecdcccefbc74b0ae502ef SHA1 ae1b892a3e72888c5b66b520f15f740576f607ec SHA256 4d793ecb79b17794248102d8409d16bc27b1022c72038bd2d1241e129693d5f2
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.18 (GNU/Linux)
+Version: GnuPG v2.0.19 (GNU/Linux)
-iF4EAREIAAYFAk9yYq8ACgkQdjK8w9WeBnCaRgD+LtVVnza/xHpqJnOi/iyuHfw6
-kBAAUEH9NdRegH7lGOEA+wZuh5yrThsmRvRTsbnf8fINQodT/9Slqnbd88NGOOEA
-=XzRT
+iQEcBAEBAgAGBQJPknr5AAoJEEdUh39IaPFNTUoH/0e9XK0ozX4fc8mDWQoIMRu3
+2LMAQw7TgHnYuYirZe0SGyGW6XaD+BIMrP8CHeguyjYNKALDo19LmH3izp23nEC7
+iLUoLb7ayNBMI25PNAgQm/iVvbNTew0qefyLcLniPz2afVWehbZNfRXoiaFrrQRB
+CasopWhzU6cve26yLSISRPKBLASVVi20oN5a/1bB36k51prRP1i/54EUqx/xZJTD
+8I/szwBs21WD8Oy15h59Ypk70FQcKZr2oEcznEdxT/qtklpDoFICoZxkFPTuzH1X
+19ZtNFGNHhArsTXxal5t9l3wPULqTMIN4iCoYsjhIuuiU0KblHFD00sHGWqXfr0=
+=fQg4
-----END PGP SIGNATURE-----
diff --git a/dev-libs/gjs/files/gjs-drop-js-config.patch b/dev-libs/gjs/files/gjs-drop-js-config.patch
deleted file mode 100644
index 0a8609ab523a..000000000000
--- a/dev-libs/gjs/files/gjs-drop-js-config.patch
+++ /dev/null
@@ -1,183 +0,0 @@
-From 4de63456b411ae2b16cdb813cf021e3f2e19e5f3 Mon Sep 17 00:00:00 2001
-From: Nirbheek Chauhan <nirbheek@gentoo.org>
-Date: Thu, 17 Mar 2011 05:07:06 +0530
-Subject: [PATCH] build: drop js-config support and xulrunner-1.8/1.9 cruft
-
-In addition, add JS_LIBS to gjs_console_LDADD so that the
-mozjs library in libdir from pkg-config is picked up first instead of
-the library in /usr/lib which may be from a system install of spidermonkey
----
- Makefile.am | 1 +
- configure.ac | 114 +++++++---------------------------------------
- gjs-internals-1.0.pc.in | 2 +-
- 3 files changed, 20 insertions(+), 97 deletions(-)
-
-diff --git a/Makefile.am b/Makefile.am
-index b4814d6..3363ff5 100644
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -121,6 +121,7 @@ gjs_console_CFLAGS = \
- $(AM_CFLAGS) \
- $(GOBJECT_CFLAGS)
- gjs_console_LDADD = \
-+ $(JS_LIBS) \
- $(GOBJECT_LIBS) \
- libgjs.la
- gjs_console_LDFLAGS = -R $(FIREFOX_JS_LIBDIR) -rdynamic
-diff --git a/configure.ac b/configure.ac
-index 715f2c3..1903cc6 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -91,54 +91,26 @@ m4_define(gobject_required_version, 2.18.0)
- AC_CHECK_HEADERS([malloc.h])
- AC_CHECK_FUNCS(mallinfo)
-
--# Look for Spidermonkey. If js-config exists, use that;
--# otherwise we try some pkgconfig files from various distributions.
-+## mozilla-js: Gecko 1.9 and 2.0, all distributions
-+PKG_CHECK_EXISTS([mozilla-js], [JS_PACKAGE=mozilla-js],)
-+PKG_CHECK_MODULES(JS, $JS_PACKAGE)
-
--AC_ARG_VAR([JS_CONFIG], [The js-config program to use])
--if test "$ac_cv_env_JS_CONFIG_set" != "set"; then
-- AC_PATH_PROG([JS_CONFIG], [js-config], [])
--fi
--
--if test -n "$JS_CONFIG"; then
-- JS_CFLAGS="$($JS_CONFIG --cflags)"
-- JS_LIBS="$($JS_CONFIG --libs)"
-- FIREFOX_JS_LIBDIR="$($JS_CONFIG --libdir)"
-- JS_PACKAGE=
-+## some flavors of Firefox .pc only set sdkdir, not libdir
-+FIREFOX_JS_SDKDIR=`$PKG_CONFIG --variable=sdkdir $JS_PACKAGE`
-+FIREFOX_JS_LIBDIR=`$PKG_CONFIG --variable=libdir $JS_PACKAGE`
-
-- # js-config gives almost usable CFLAGS, we must define one of XP_BEOS,
-- # XP_OS2, XP_WIN or XP_UNIX
-- JS_CFLAGS="$JS_CFLAGS -DXP_UNIX"
--else
-- ## spidermonkey .pc file name varies across distributions and Gecko version
-- ##
-- ## mozilla-js: Gecko 1.9, all distributions
-- ## xulrunner-js: Gecko 1.8 (and earlier?) Debian/Ubuntu
-- ## firefox-js: ???
-- ##
-- ## Checking for mozilla-js first will hopefully get us the newest version
-- ## of spidermonkey.
-- PKG_CHECK_EXISTS([mozilla-js], [JS_PACKAGE=mozilla-js],
-- [PKG_CHECK_EXISTS([xulrunner-js], [JS_PACKAGE=xulrunner-js], [JS_PACKAGE=firefox-js])])
--
-- PKG_CHECK_MODULES(JS, $JS_PACKAGE)
--
-- ## some flavors of Firefox .pc only set sdkdir, not libdir
-- FIREFOX_JS_SDKDIR=`$PKG_CONFIG --variable=sdkdir $JS_PACKAGE`
-- FIREFOX_JS_LIBDIR=`$PKG_CONFIG --variable=libdir $JS_PACKAGE`
--
-- ## Ubuntu does not set libdir in mozilla-js.pc
-- if test x"$FIREFOX_JS_LIBDIR" = x ; then
-- ## Ubuntu returns xulrunner-devel as the sdkdir, but for the
-- ## libdir we want the runtime location on the target system,
-- ## so can't use -devel.
-- ## The library is in the non-devel directory also.
-- ## Don't ask me why it's in two places.
-- FIREFOX_JS_LIBDIR=`echo "$FIREFOX_JS_SDKDIR" | sed -e 's/-devel//g'`
--
-- if ! test -d "$FIREFOX_JS_LIBDIR" ; then
-- FIREFOX_JS_LIBDIR=
-- fi
-- fi
-+## Ubuntu does not set libdir in mozilla-js.pc
-+if test x"$FIREFOX_JS_LIBDIR" = x ; then
-+ ## Ubuntu returns xulrunner-devel as the sdkdir, but for the
-+ ## libdir we want the runtime location on the target system,
-+ ## so can't use -devel.
-+ ## The library is in the non-devel directory also.
-+ ## Don't ask me why it's in two places.
-+ FIREFOX_JS_LIBDIR=`echo "$FIREFOX_JS_SDKDIR" | sed -e 's/-devel//g'`
-+
-+ if ! test -d "$FIREFOX_JS_LIBDIR" ; then
-+ FIREFOX_JS_LIBDIR=
-+ fi
- fi
-
- if test x"$FIREFOX_JS_LIBDIR" = x ; then
-@@ -179,35 +151,6 @@ else
- AC_MSG_RESULT([no])
- fi
-
--## workaround for Ubuntu Hardy bug where mozilla-js.pc gives CFLAGS
--## -I.../stable while jsapi.h is in .../unstable
--AC_MSG_CHECKING([if SpiderMonkey needs extra compiler flags])
--save_CFLAGS="$CFLAGS"
--CFLAGS="$CFLAGS $JS_CFLAGS"
--AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <jsapi.h>]])],
-- [js_extra_cflags_needed=no],
-- [js_extra_cflags_needed=yes])
--CFLAGS="$save_CFLAGS"
--AC_MSG_RESULT([$js_extra_cflags_needed])
--
--JS_EXTRA_CFLAGS=
--if test "$js_extra_cflags_needed" = yes; then
-- try_cflags="-I`$PKG_CONFIG --variable=includedir $JS_PACKAGE`/unstable"
-- AC_MSG_CHECKING([if $try_cflags works])
-- save_CFLAGS="$CFLAGS"
-- CFLAGS="$CFLAGS $JS_CFLAGS $try_cflags"
-- AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <jsapi.h>]])],
-- [AC_MSG_RESULT([yes])
-- JS_EXTRA_CFLAGS="$try_cflags"],
-- [AC_MSG_RESULT([no])])
-- CFLAGS="$save_CFLAGS"
--
-- if test x"$JS_EXTRA_CFLAGS" = x; then
-- AC_MSG_ERROR([Unable to determine extra compiler flags needed])
-- fi
--fi
--AC_SUBST([JS_EXTRA_CFLAGS])
--
- AC_MSG_CHECKING([whether JSLocaleToUnicode takes a const char*])
- save_CFLAGS="$CFLAGS"
- CFLAGS="$CFLAGS $JS_CFLAGS -Wno-unused -Werror"
-@@ -258,27 +201,6 @@ PKG_CHECK_MODULES([GJSTESTS], [$gjstests_packages])
- GI_DATADIR=$($PKG_CONFIG --variable=gidatadir gobject-introspection-1.0)
- AC_SUBST(GI_DATADIR)
-
--if test x"$JS_PACKAGE" = x; then
-- # if JS_PACKAGE is undefined, pkg-config modules don't include
-- # SpiderMonkey and we need to deal with it ourselves
-- GJS_CFLAGS="$GJS_CFLAGS $JS_CFLAGS"
-- GJS_LIBS="$GJS_LIBS $JS_LIBS"
-- GJS_GI_CFLAGS="$GJS_GI_CFLAGS $JS_CFLAGS"
-- GJS_GI_LIBS="$GJS_GI_LIBS $JS_LIBS"
-- GJS_CAIRO_CFLAGS="$GJS_CAIRO_CFLAGS $JS_CFLAGS"
-- GJS_CAIRO_LIBS="$GJS_CAIRO_LIBS $JS_LIBS"
-- GJS_DBUS_CFLAGS="$GJS_DBUS_CFLAGS $JS_CFLAGS"
-- GJS_DBUS_LIBS="$GJS_DBUS_LIBS $JS_LIBS"
-- GJSTESTS_CFLAGS="$GJSTESTS_CFLAGS $JS_CFLAGS"
-- GJSTESTS_LIBS="$GJSTEST_LIBS $JS_LIBS"
--fi
--
--GJS_CFLAGS="$GJS_CFLAGS $JS_EXTRA_CFLAGS"
--GJS_GI_CFLAGS="$GJS_GI_CFLAGS $JS_EXTRA_CFLAGS"
--GJS_CAIRO_CFLAGS="$GJS_CAIRO_CFLAGS $JS_EXTRA_CFLAGS"
--GJS_DBUS_CFLAGS="$GJS_DBUS_CFLAGS $JS_EXTRA_CFLAGS"
--GJSTESTS_CFLAGS="$GJSTESTS_CFLAGS $JS_EXTRA_CFLAGS"
--
- # readline
- LIBS_no_readline=$LIBS
-
-diff --git a/gjs-internals-1.0.pc.in b/gjs-internals-1.0.pc.in
-index 701dd42..e4517cb 100644
---- a/gjs-internals-1.0.pc.in
-+++ b/gjs-internals-1.0.pc.in
-@@ -10,7 +10,7 @@ jsdir=@gjsjsdir@
- jsnativedir=@gjsnativedir@
- mozjslibdir=@FIREFOX_JS_LIBDIR@
-
--Cflags: -I${includedir}/gjs-1.0 @JS_EXTRA_CFLAGS@
-+Cflags: -I${includedir}/gjs-1.0
- Libs: -Wl,--rpath=${mozjslibdir}
- Requires: gjs-1.0 gobject-introspection-1.0 @JS_PACKAGE@
-
---
-1.7.3.4
-
diff --git a/dev-libs/gjs/gjs-0.7.14.ebuild b/dev-libs/gjs/gjs-0.7.14.ebuild
deleted file mode 100644
index e96e6d35c2d6..000000000000
--- a/dev-libs/gjs/gjs-0.7.14.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/gjs/gjs-0.7.14.ebuild,v 1.2 2011/05/01 15:42:03 nirbheek Exp $
-
-EAPI="3"
-GCONF_DEBUG="no"
-GNOME2_LA_PUNT="yes"
-PYTHON_DEPEND="2"
-
-inherit autotools eutils gnome2 python virtualx
-
-DESCRIPTION="Javascript bindings for GNOME"
-HOMEPAGE="http://live.gnome.org/Gjs"
-
-LICENSE="MIT MPL-1.1 LGPL-2 GPL-2"
-SLOT="0"
-IUSE="examples test"
-KEYWORDS="~amd64 ~x86"
-
-# Things are untested and broken with anything other than xulrunner-2.0
-# FIXME: https://bugzilla.mozilla.org/show_bug.cgi?id=628723 instead of libxul
-RDEPEND=">=dev-libs/glib-2.18:2
- >=dev-libs/gobject-introspection-0.10.1
- >=net-libs/xulrunner-2.0:1.9
-
- dev-libs/dbus-glib
- sys-libs/readline
- x11-libs/cairo"
-DEPEND="${RDEPEND}
- sys-devel/gettext
- >=dev-util/pkgconfig-0.9
- !dev-lang/spidermonkey"
-# HACK HACK: gjs-tests picks up /usr/lib/libmozjs.so with spidermonkey installed
-
-src_prepare() {
- # AUTHORS, ChangeLog are empty
- DOCS="NEWS README"
- # FIXME: add systemtap/dtrace support, like in glib:2
- # XXX: Do NOT enable coverage, completely useless for portage installs
- G2CONF="${G2CONF}
- --disable-systemtap
- --disable-dtrace
- --disable-coverage"
-
- # https://bugs.gentoo.org/353941
- epatch "${FILESDIR}/${PN}-drop-js-config.patch"
-
- eautoreconf
-
- gnome2_src_prepare
- python_convert_shebangs 2 "${S}"/scripts/make-tests
-}
-
-src_test() {
- # Tests need dbus
- Xemake check || die
-}
-
-src_install() {
- # installation sometimes fails in parallel
- gnome2_src_install -j1
-
- if use examples; then
- insinto /usr/share/doc/${PF}/examples
- doins "${S}"/examples/* || die "doins examples failed!"
- fi
-}