summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Stakenvicius <axs@gentoo.org>2017-02-28 12:37:44 -0500
committerIan Stakenvicius <axs@gentoo.org>2017-02-28 12:48:34 -0500
commit618641268d4137bd66db26ab47f6ffa79e709979 (patch)
tree13430ab6be77f02461bd0dde72f21c92d3ba58dd /dev-lang/spidermonkey/files
parentmedia-plugins/gst-plugins-libav: arm stable, bug #610810 (diff)
downloadgentoo-618641268d4137bd66db26ab47f6ffa79e709979.tar.gz
gentoo-618641268d4137bd66db26ab47f6ffa79e709979.tar.bz2
gentoo-618641268d4137bd66db26ab47f6ffa79e709979.zip
dev-lang/spidermonkey:{38,45} ebuild improvements and bugfixes
Upstream stripped out most slotting and also was installing headers as symlinks. This has been addressed in :38 through patches from GNOME. Redundant and unused eclasses were removed, which should help address bug 611232. spidermonkey-45 still installs headers as symlinks, and I have ben unable to figure out where in the python buildsystem code this is being triggered to reverse it back to a copy; the ebuild is now p.masked because of that. Package-Manager: portage-2.3.3
Diffstat (limited to 'dev-lang/spidermonkey/files')
-rw-r--r--dev-lang/spidermonkey/files/mozjs38-copy-headers.patch20
-rw-r--r--dev-lang/spidermonkey/files/mozjs38-pkg-config-version.patch22
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-lang/spidermonkey/files/mozjs38-copy-headers.patch b/dev-lang/spidermonkey/files/mozjs38-copy-headers.patch
new file mode 100644
index 00000000000..7f352a795c8
--- /dev/null
+++ b/dev-lang/spidermonkey/files/mozjs38-copy-headers.patch
@@ -0,0 +1,20 @@
+Description: Copy headers on install instead of symlinking
+Author: Rico Tzschichholz <ricotz@ubuntu.com>
+Forwarded: no
+Last-Update: 2014-10-29
+
+---
+
+Index: b/python/mozbuild/mozbuild/backend/recursivemake.py
+===================================================================
+--- a/python/mozbuild/mozbuild/backend/recursivemake.py
++++ b/python/mozbuild/mozbuild/backend/recursivemake.py
+@@ -796,7 +796,7 @@
+ return
+
+ for source, dest, _ in self._walk_hierarchy(obj, exports):
+- self._install_manifests['dist_include'].add_symlink(source, dest)
++ self._install_manifests['dist_include'].add_copy(source, dest)
+
+ if not os.path.exists(source):
+ raise Exception('File listed in EXPORTS does not exist: %s' % source)
diff --git a/dev-lang/spidermonkey/files/mozjs38-pkg-config-version.patch b/dev-lang/spidermonkey/files/mozjs38-pkg-config-version.patch
new file mode 100644
index 00000000000..34a43d1f6df
--- /dev/null
+++ b/dev-lang/spidermonkey/files/mozjs38-pkg-config-version.patch
@@ -0,0 +1,22 @@
+Add major version to pkg-config filename.
+Author: Rico Tzschichholz <ricotz@ubuntu.com>
+Forwarded: no
+Last-Update: 2015-05-04
+
+Index: b/js/src/Makefile.in
+===================================================================
+--- a/js/src/Makefile.in
++++ b/js/src/Makefile.in
+@@ -214,10 +214,10 @@
+ $(JS_CONFIG_NAME): js-config
+ cp $^ $@
+
+-$(LIBRARY_NAME).pc: js.pc
++$(JS_LIBRARY_NAME).pc: js.pc
+ cp $^ $@
+
+-install:: $(LIBRARY_NAME).pc
++install:: $(JS_LIBRARY_NAME).pc
+ $(SYSINSTALL) $^ $(DESTDIR)$(libdir)/pkgconfig
+
+ install:: js-config.h