summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2014-03-06 15:26:01 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-07 14:49:31 +0000
commit7056054f61b354adcafb8957fe166fda88ca58c0 (patch)
treec764b60dc35c3aee269eb9d68ce84c853b2c805a /meta/recipes-support
parentc7f0d76faf79947ff48e07c807e71120f08a1142 (diff)
downloadpoky-7056054f61b354adcafb8957fe166fda88ca58c0.tar.gz
js: remove
This is a very old version of Mozilla's Javascript engine, isn't actually used by anything in OE-Core now that web is gone, and in public layers outside of OE-Core is apparently only used by mediatomb within meta-baryon. (From OE-Core rev: 8b94925adf4428c4e155ef9fd79d33703968d9da) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r--meta/recipes-support/js/files/buildcc.patch22
-rw-r--r--meta/recipes-support/js/files/configure.ac28
-rw-r--r--meta/recipes-support/js/files/jsautocfg.h74
-rw-r--r--meta/recipes-support/js/files/link_with_gcc.patch15
-rw-r--r--meta/recipes-support/js/files/usepic.patch26
-rw-r--r--meta/recipes-support/js/js_1.7.0+1.8.0rc1.bb51
6 files changed, 0 insertions, 216 deletions
diff --git a/meta/recipes-support/js/files/buildcc.patch b/meta/recipes-support/js/files/buildcc.patch
deleted file mode 100644
index 19daf7210c..0000000000
--- a/meta/recipes-support/js/files/buildcc.patch
+++ /dev/null
@@ -1,22 +0,0 @@
1Upstream-Status: Pending
2
3jskwgen should be built by BUILD_CC in cross environment
4
57/23/2010 - created by Qing He <qing.he@intel.com>
6
7diff -uNr js.orig//src/Makefile.ref js/src/Makefile.ref
8--- js.orig//src/Makefile.ref 2009-02-25 21:24:29.000000000 +0800
9+++ js/src/Makefile.ref 2010-07-23 13:26:51.000000000 +0800
10@@ -303,10 +303,10 @@
11
12 $(OBJDIR)/jskwgen.o: jskwgen.c jskeyword.tbl
13 @$(MAKE_OBJDIR)
14- $(CC) -o $@ -c $(CFLAGS) $<
15+ $(BUILD_CC) -o $@ -c $(BUILD_CFLAGS) $<
16
17 $(OBJDIR)/jskwgen$(HOST_BIN_SUFFIX): $(OBJDIR)/jskwgen.$(OBJ_SUFFIX)
18- $(CC) -o $@ $(CFLAGS) $(LDFLAGS) $^
19+ $(BUILD_CC) -o $@ $(BUILD_CFLAGS) $(BUILD_LDFLAGS) $^
20
21 endif
22
diff --git a/meta/recipes-support/js/files/configure.ac b/meta/recipes-support/js/files/configure.ac
deleted file mode 100644
index 41af298455..0000000000
--- a/meta/recipes-support/js/files/configure.ac
+++ /dev/null
@@ -1,28 +0,0 @@
1AC_INIT
2
3AC_CHECK_SIZEOF([char])
4AC_CHECK_SIZEOF([short])
5AC_CHECK_SIZEOF([int])
6AC_CHECK_SIZEOF([int64_t])
7AC_CHECK_SIZEOF([long])
8AC_CHECK_SIZEOF([long long])
9AC_CHECK_SIZEOF([int *])
10AC_CHECK_SIZEOF([float])
11AC_CHECK_SIZEOF([double])
12
13AC_CHECK_ALIGNOF([char])
14AC_CHECK_ALIGNOF([short])
15AC_CHECK_ALIGNOF([int])
16AC_CHECK_ALIGNOF([int64_t])
17AC_CHECK_ALIGNOF([long])
18AC_CHECK_ALIGNOF([long long])
19AC_CHECK_ALIGNOF([int *])
20AC_CHECK_ALIGNOF([float])
21AC_CHECK_ALIGNOF([double])
22
23AC_C_BIGENDIAN
24
25AC_TYPE_LONG_LONG_INT
26
27AC_CONFIG_HEADER([conf.h])
28AC_OUTPUT
diff --git a/meta/recipes-support/js/files/jsautocfg.h b/meta/recipes-support/js/files/jsautocfg.h
deleted file mode 100644
index 295e4919bb..0000000000
--- a/meta/recipes-support/js/files/jsautocfg.h
+++ /dev/null
@@ -1,74 +0,0 @@
1#ifndef js_cpucfg___
2#define js_cpucfg___
3
4/* AUTOMATICALLY GENERATED - DO NOT EDIT */
5
6#include "conf.h"
7
8#ifdef WORDS_BIGENDIAN
9# undef IS_LITTLE_ENDIAN
10# define IS_BIG_ENDIAN 1
11#else
12# define IS_LITTLE_ENDIAN 1
13# undef IS_BIG_ENDIAN
14#endif
15
16#define __I_LOG2(n) ( \
17 ((n) == 1)? 0: \
18 ((n) == 2)? 1: \
19 ((n) == 4)? 2: \
20 ((n) == 8)? 3: \
21 ((n) == 16)? 4: \
22 ((n) == 32)? 5: \
23 ((n) == 64)? 6: \
24 ((n) == 128)? 7: \
25 -1)
26
27#define JS_BYTES_PER_BYTE SIZEOF_CHAR
28#define JS_BYTES_PER_SHORT SIZEOF_SHORT
29#define JS_BYTES_PER_INT SIZEOF_INT
30#define JS_BYTES_PER_INT64 SIZEOF_INT64_T
31#define JS_BYTES_PER_LONG SIZEOF_LONG
32#define JS_BYTES_PER_FLOAT SIZEOF_FLOAT
33#define JS_BYTES_PER_DOUBLE SIZEOF_DOUBLE
34#define JS_BYTES_PER_WORD SIZEOF_LONG
35#define JS_BYTES_PER_DWORD SIZEOF_LONG_LONG
36
37#define JS_BITS_PER_BYTE 8L
38#define JS_BITS_PER_SHORT (JS_BITS_PER_BYTE * JS_BYTES_PER_SHORT)
39#define JS_BITS_PER_INT (JS_BITS_PER_BYTE * JS_BYTES_PER_INT)
40#define JS_BITS_PER_INT64 (JS_BITS_PER_BYTE * JS_BYTES_PER_INT64)
41#define JS_BITS_PER_LONG (JS_BITS_PER_BYTE * JS_BYTES_PER_LONG)
42#define JS_BITS_PER_FLOAT (JS_BITS_PER_BYTE * JS_BYTES_PER_GLOAT)
43#define JS_BITS_PER_DOUBLE (JS_BITS_PER_BYTE * JS_BYTES_PER_DOUBLE)
44#define JS_BITS_PER_WORD (JS_BITS_PER_BYTE * JS_BYTES_PER_WORD)
45
46#define JS_BITS_PER_BYTE_LOG2 __I_LOG2(JS_BITS_PER_BYTE)
47#define JS_BITS_PER_SHORT_LOG2 __I_LOG2(JS_BITS_PER_BYTE)
48#define JS_BITS_PER_INT_LOG2 __I_LOG2(JS_BITS_PER_BYTE)
49#define JS_BITS_PER_INT64_LOG2 __I_LOG2(JS_BITS_PER_BYTE)
50#define JS_BITS_PER_LONG_LOG2 __I_LOG2(JS_BITS_PER_BYTE)
51#define JS_BITS_PER_FLOAT_LOG2 __I_LOG2(JS_BITS_PER_BYTE)
52#define JS_BITS_PER_DOUBLE_LOG2 __I_LOG2(JS_BITS_PER_BYTE)
53#define JS_BITS_PER_WORD_LOG2 __I_LOG2(JS_BITS_PER_BYTE)
54
55#define JS_ALIGN_OF_SHORT ALIGNOF_SHORT
56#define JS_ALIGN_OF_INT ALIGNOF_INT
57#define JS_ALIGN_OF_LONG ALIGNOF_LONG
58#define JS_ALIGN_OF_INT64 ALIGNOF_INT64_T
59#define JS_ALIGN_OF_FLOAT ALIGNOF_FLOAT
60#define JS_ALIGN_OF_DOUBLE ALIGNOF_DOUBLE
61#define JS_ALIGN_OF_POINTER ALIGNOF_INT_P
62#define JS_ALIGN_OF_WORD ALIGNOF_LONG
63
64#define JS_BYTES_PER_WORD_LOG2 __I_LOG2(JS_BYTES_PER_WORD)
65#define JS_BYTES_PER_DWORD_LOG2 __I_LOG2(JS_BYTES_PER_DWORDS)
66#define JS_WORDS_PER_DWORD_LOG2 __I_LOG2(JS_BYTES_PER_DWORDS / JS_BYTES_PER_WORD)
67
68#define JS_STACK_GROWTH_DIRECTION (-1)
69
70#ifdef HAVE_LONG_LONG_INT
71# define JS_HAVE_LONG_LONG
72#endif
73
74#endif /* js_cpucfg___ */
diff --git a/meta/recipes-support/js/files/link_with_gcc.patch b/meta/recipes-support/js/files/link_with_gcc.patch
deleted file mode 100644
index 988df61567..0000000000
--- a/meta/recipes-support/js/files/link_with_gcc.patch
+++ /dev/null
@@ -1,15 +0,0 @@
1Upstream-Status: Pending
2
3Index: src/config/Linux_All.mk
4===================================================================
5--- src.orig/config/Linux_All.mk 2005-05-10 19:53:44.000000000 +0000
6+++ src/config/Linux_All.mk 2007-06-18 17:20:05.000000000 +0000
7@@ -47,7 +47,7 @@
8 OS_CFLAGS = -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R
9
10 RANLIB = echo
11-MKSHLIB = $(LD) -shared $(XMKSHLIBOPTS)
12+MKSHLIB = $(CC) -shared $(XMKSHLIBOPTS)
13
14 #.c.o:
15 # $(CC) -c -MD $*.d $(CFLAGS) $<
diff --git a/meta/recipes-support/js/files/usepic.patch b/meta/recipes-support/js/files/usepic.patch
deleted file mode 100644
index 91b092305d..0000000000
--- a/meta/recipes-support/js/files/usepic.patch
+++ /dev/null
@@ -1,26 +0,0 @@
1Upstream-Status: Inappropriate [embedded specific]
2
3Mips needs -fPIC to compile properly. These tests are broken anyway as they test
4the build system architecture, not the target. This is a hack.
5
6RP 10/6/2010
7
8Index: src/config/Linux_All.mk
9===================================================================
10--- src.orig/config/Linux_All.mk 2010-06-10 22:09:43.000000000 +0100
11+++ src/config/Linux_All.mk 2010-06-10 22:09:55.000000000 +0100
12@@ -90,14 +90,10 @@
13 # Use the editline library to provide line-editing support.
14 JS_EDITLINE = 1
15
16-ifeq ($(CPU_ARCH),x86_64)
17 # Use VA_COPY() standard macro on x86-64
18 # FIXME: better use it everywhere
19 OS_CFLAGS += -DHAVE_VA_COPY -DVA_COPY=va_copy
20-endif
21
22-ifeq ($(CPU_ARCH),x86_64)
23 # We need PIC code for shared libraries
24 # FIXME: better patch rules.mk & fdlibm/Makefile*
25 OS_CFLAGS += -DPIC -fPIC
26-endif
diff --git a/meta/recipes-support/js/js_1.7.0+1.8.0rc1.bb b/meta/recipes-support/js/js_1.7.0+1.8.0rc1.bb
deleted file mode 100644
index e32050446c..0000000000
--- a/meta/recipes-support/js/js_1.7.0+1.8.0rc1.bb
+++ /dev/null
@@ -1,51 +0,0 @@
1SUMMARY = "Spidermonkey: a javascript engine written in C"
2HOMEPAGE = "http://www.mozilla.org/js/spidermonkey/"
3SECTION = "libs"
4
5# the package is licensed under either of the following
6LICENSE = "MPL-1 | GPLv2+ | LGPLv2.1+"
7LIC_FILES_CHKSUM = "file://jsapi.c;beginline=4;endline=39;md5=347c6bbf4fb4547de1fa5ad830030063"
8PR = "r4"
9
10SRC_URI = "http://ftp.mozilla.org/pub/mozilla.org/js/js-1.8.0-rc1.tar.gz \
11 file://link_with_gcc.patch \
12 file://usepic.patch \
13 file://buildcc.patch;striplevel=2 \
14 file://jsautocfg.h \
15 file://configure.ac"
16
17SRC_URI[md5sum] = "eaad8815dcc66a717ddb87e9724d964e"
18SRC_URI[sha256sum] = "374398699ac3fd802d98d642486cf6b0edc082a119c9c9c499945a0bc73e3413"
19
20S = "${WORKDIR}/js/src"
21
22# use local autoconf script to generate a usable jsautocfg.h
23# don't bother with automake
24inherit autotools-brokensep
25
26do_configure_prepend() {
27 cp -f ${WORKDIR}/configure.ac ${S}
28 cp -f ${WORKDIR}/jsautocfg.h ${S}
29}
30
31EXTRA_OEMAKE = "'CC=${CC}' 'LD=${LD}' 'XCFLAGS=${CFLAGS}' 'XLDFLAGS=${LDFLAGS} -Wl,-soname=libjs' \
32 'BUILD_CC=${BUILD_CC}' 'BUILD_CFLAGS=${BUILD_CFLAGS}' 'BUILD_LDFLAGS=${BUILD_LDFLAGS}'"
33
34PARALLEL_MAKE = ""
35
36do_compile() {
37 oe_runmake -f Makefile.ref JS_EDITLINE=1 PREBUILT_CPUCFG=1 BUILD_OPT=1
38}
39
40do_install() {
41 install -d ${D}${libdir}
42 install -d ${D}${includedir}
43 install -d ${D}${includedir}/js
44 oe_libinstall -so -C Linux_All_OPT.OBJ libjs ${D}${libdir}
45 install -m 0644 ${S}/*.h ${D}${includedir}/js
46 install -m 0644 ${S}/jsproto.tbl ${D}${includedir}/js
47}
48
49FILES_SOLIBSDEV = ""
50FILES_${PN} = "${libdir}/lib*.so"
51