Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] Integrate new js185 as a new bb file
@ 2012-04-11 13:51 Andrei Gherzan
  2012-04-11 13:51 ` [PATCH 1/1] js185: Integrate version 1.8.5 Andrei Gherzan
  0 siblings, 1 reply; 3+ messages in thread
From: Andrei Gherzan @ 2012-04-11 13:51 UTC (permalink / raw)
  To: openembedded-core

This is a temporary solution until we know what to do with packages like web
or web-webkit.

The following changes since commit 190f6d791d51aaa4cfb9f1cf932bc205ff674fb5:

  runqemu-internal: Add console=tty for qemuppc and NFS (2012-04-06 01:12:47 +0100)

are available in the git repository at:
  git://git.yoctoproject.org/poky-contrib ag/js
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ag/js

Andrei Gherzan (1):
  js185: Integrate version 1.8.5

 meta/recipes-support/js/files/link_with_gcc.patch |   12 +++----
 meta/recipes-support/js/files/usepic.patch        |   15 ++------
 meta/recipes-support/js/js185_1.0.0.bb            |   36 +++++++++++++++++++++
 3 files changed, 45 insertions(+), 18 deletions(-)
 create mode 100644 meta/recipes-support/js/js185_1.0.0.bb

-- 
1.7.5.4




^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/1] js185: Integrate version 1.8.5
  2012-04-11 13:51 [PATCH 0/1] Integrate new js185 as a new bb file Andrei Gherzan
@ 2012-04-11 13:51 ` Andrei Gherzan
  2012-04-28 21:04   ` Khem Raj
  0 siblings, 1 reply; 3+ messages in thread
From: Andrei Gherzan @ 2012-04-11 13:51 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
---
 meta/recipes-support/js/files/link_with_gcc.patch |   12 +++----
 meta/recipes-support/js/files/usepic.patch        |   15 ++------
 meta/recipes-support/js/js185_1.0.0.bb            |   36 +++++++++++++++++++++
 3 files changed, 45 insertions(+), 18 deletions(-)
 create mode 100644 meta/recipes-support/js/js185_1.0.0.bb

diff --git a/meta/recipes-support/js/files/link_with_gcc.patch b/meta/recipes-support/js/files/link_with_gcc.patch
index 988df61..1bee233 100644
--- a/meta/recipes-support/js/files/link_with_gcc.patch
+++ b/meta/recipes-support/js/files/link_with_gcc.patch
@@ -1,11 +1,9 @@
-Upstream-Status: Pending
-
-Index: src/config/Linux_All.mk
+Index: js-1.8.5/js/src/ref-config/Linux_All.mk
 ===================================================================
---- src.orig/config/Linux_All.mk	2005-05-10 19:53:44.000000000 +0000
-+++ src/config/Linux_All.mk	2007-06-18 17:20:05.000000000 +0000
-@@ -47,7 +47,7 @@
- OS_CFLAGS = -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R
+--- src.orig/ref-config/Linux_All.mk	2012-04-09 23:43:45.099107032 +0300
++++ src/ref-config/Linux_All.mk	2012-04-09 23:43:56.947106799 +0300
+@@ -48,7 +48,7 @@
+ OS_CFLAGS = -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DLINUX
  
  RANLIB = echo
 -MKSHLIB = $(LD) -shared $(XMKSHLIBOPTS)
diff --git a/meta/recipes-support/js/files/usepic.patch b/meta/recipes-support/js/files/usepic.patch
index 91b0923..7098188 100644
--- a/meta/recipes-support/js/files/usepic.patch
+++ b/meta/recipes-support/js/files/usepic.patch
@@ -1,15 +1,8 @@
-Upstream-Status: Inappropriate [embedded specific]
-
-Mips needs -fPIC to compile properly. These tests are broken anyway as they test 
-the build system architecture, not the target. This is a hack.
-
-RP 10/6/2010
-
-Index: src/config/Linux_All.mk
+Index: src/ref-config/Linux_All.mk
 ===================================================================
---- src.orig/config/Linux_All.mk	2010-06-10 22:09:43.000000000 +0100
-+++ src/config/Linux_All.mk	2010-06-10 22:09:55.000000000 +0100
-@@ -90,14 +90,10 @@
+--- src.orig/ref-config/Linux_All.mk	2012-04-09 23:47:06.775103048 +0300
++++ src/ref-config/Linux_All.mk	2012-04-09 23:47:40.267102388 +0300
+@@ -92,14 +92,10 @@
  # Use the editline library to provide line-editing support.
  JS_EDITLINE = 1
  
diff --git a/meta/recipes-support/js/js185_1.0.0.bb b/meta/recipes-support/js/js185_1.0.0.bb
new file mode 100644
index 0000000..c91d9b6
--- /dev/null
+++ b/meta/recipes-support/js/js185_1.0.0.bb
@@ -0,0 +1,36 @@
+DESCRIPTION = "Spidermonkey: a javascript engine written in C"
+HOMEPAGE = "http://www.mozilla.org/js/spidermonkey/"
+SECTION = "libs"
+
+# the package is licensed under either of the following
+LICENSE = "MPL-1 | GPLv2+ | LGPLv2.1+"
+LIC_FILES_CHKSUM = "file://jsapi.h;beginline=4;endline=39;md5=347c6bbf4fb4547de1fa5ad830030063"
+PR = "r0"
+
+DEPENDS = "nspr"
+
+SRC_URI = "http://ftp.mozilla.org/pub/mozilla.org/js/js185-1.0.0.tar.gz \
+           file://link_with_gcc.patch \
+           file://usepic.patch \
+          "
+
+SRC_URI[md5sum] = "a4574365938222adca0a6bd33329cb32"
+SRC_URI[sha256sum] = "5d12f7e1f5b4a99436685d97b9b7b75f094d33580227aa998c406bbae6f2a687"
+
+S = "${WORKDIR}/${PN}-${PV}/js/src"
+
+inherit autotools
+
+# Use the configure and avoid autoconf as v2.13 is mandatory
+do_configure_prepend() {
+	rm -f ${S}/configure.in
+}
+
+EXTRA_OEMAKE = "'CC=${CC}' 'LD=${LD}' 'XCFLAGS=${CFLAGS}' 'XLDFLAGS=${LDFLAGS} -Wl,-soname=libjs' \
+                'BUILD_CC=${BUILD_CC}' 'BUILD_CFLAGS=${BUILD_CFLAGS}' 'BUILD_LDFLAGS=${BUILD_LDFLAGS}'"
+
+EXTRA_OECONF = '--with-nspr-libs="-lplds4 -lplc4 -lnspr4" \
+                --prefix=/usr'
+
+PARALLEL_MAKE = ""
+
-- 
1.7.5.4




^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/1] js185: Integrate version 1.8.5
  2012-04-11 13:51 ` [PATCH 1/1] js185: Integrate version 1.8.5 Andrei Gherzan
@ 2012-04-28 21:04   ` Khem Raj
  0 siblings, 0 replies; 3+ messages in thread
From: Khem Raj @ 2012-04-28 21:04 UTC (permalink / raw)
  To: openembedded-core

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04/11/2012 06:51 AM, Andrei Gherzan wrote:
> Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> --- 
> meta/recipes-support/js/files/link_with_gcc.patch |   12 +++---- 
> meta/recipes-support/js/files/usepic.patch        |   15 ++------ 
> meta/recipes-support/js/js185_1.0.0.bb            |   36
> +++++++++++++++++++++ 3 files changed, 45 insertions(+), 18
> deletions(-) create mode 100644
> meta/recipes-support/js/js185_1.0.0.bb
> 
> diff --git a/meta/recipes-support/js/files/link_with_gcc.patch
> b/meta/recipes-support/js/files/link_with_gcc.patch index
> 988df61..1bee233 100644 ---
> a/meta/recipes-support/js/files/link_with_gcc.patch +++
> b/meta/recipes-support/js/files/link_with_gcc.patch @@ -1,11 +1,9
> @@ -Upstream-Status: Pending - -Index: src/config/Linux_All.mk 
> +Index: js-1.8.5/js/src/ref-config/Linux_All.mk 
> ===================================================================
>
> 
- ---- src.orig/config/Linux_All.mk	2005-05-10 19:53:44.000000000 +0000
> -+++ src/config/Linux_All.mk	2007-06-18 17:20:05.000000000 +0000 
> -@@ -47,7 +47,7 @@ - OS_CFLAGS = -DXP_UNIX -DSVR4 -DSYSV
> -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R +---
> src.orig/ref-config/Linux_All.mk	2012-04-09 23:43:45.099107032
> +0300 ++++ src/ref-config/Linux_All.mk	2012-04-09
> 23:43:56.947106799 +0300 +@@ -48,7 +48,7 @@ + OS_CFLAGS = -DXP_UNIX
> -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R
> -DLINUX
> 
> RANLIB = echo -MKSHLIB = $(LD) -shared $(XMKSHLIBOPTS) diff --git
> a/meta/recipes-support/js/files/usepic.patch
> b/meta/recipes-support/js/files/usepic.patch index 91b0923..7098188
> 100644 --- a/meta/recipes-support/js/files/usepic.patch +++
> b/meta/recipes-support/js/files/usepic.patch @@ -1,15 +1,8 @@ 
> -Upstream-Status: Inappropriate [embedded specific] - -Mips needs
> -fPIC to compile properly. These tests are broken anyway as they
> test -the build system architecture, not the target. This is a
> hack. - -RP 10/6/2010 -


why is patch header gone

> -Index: src/config/Linux_All.mk +Index:
> src/ref-config/Linux_All.mk 
> ===================================================================
>
> 
- ---- src.orig/config/Linux_All.mk	2010-06-10 22:09:43.000000000 +0100
> -+++ src/config/Linux_All.mk	2010-06-10 22:09:55.000000000 +0100 
> -@@ -90,14 +90,10 @@ +--- src.orig/ref-config/Linux_All.mk
> 2012-04-09 23:47:06.775103048 +0300 ++++
> src/ref-config/Linux_All.mk	2012-04-09 23:47:40.267102388 +0300 +@@
> -92,14 +92,10 @@ # Use the editline library to provide line-editing
> support. JS_EDITLINE = 1
> 
> diff --git a/meta/recipes-support/js/js185_1.0.0.bb
> b/meta/recipes-support/js/js185_1.0.0.bb new file mode 100644 index
> 0000000..c91d9b6 --- /dev/null +++
> b/meta/recipes-support/js/js185_1.0.0.bb @@ -0,0 +1,36 @@ 
> +DESCRIPTION = "Spidermonkey: a javascript engine written in C" 
> +HOMEPAGE = "http://www.mozilla.org/js/spidermonkey/" +SECTION =
> "libs" + +# the package is licensed under either of the following 
> +LICENSE = "MPL-1 | GPLv2+ | LGPLv2.1+" +LIC_FILES_CHKSUM =
> "file://jsapi.h;beginline=4;endline=39;md5=347c6bbf4fb4547de1fa5ad830030063"
>
> 
+PR = "r0"
> + +DEPENDS = "nspr" + +SRC_URI =
> "http://ftp.mozilla.org/pub/mozilla.org/js/js185-1.0.0.tar.gz \ +
> file://link_with_gcc.patch \ +           file://usepic.patch \ +
> " + +SRC_URI[md5sum] = "a4574365938222adca0a6bd33329cb32" 
> +SRC_URI[sha256sum] =
> "5d12f7e1f5b4a99436685d97b9b7b75f094d33580227aa998c406bbae6f2a687" 
> + +S = "${WORKDIR}/${PN}-${PV}/js/src" + +inherit autotools + +#
> Use the configure and avoid autoconf as v2.13 is mandatory 
> +do_configure_prepend() { +	rm -f ${S}/configure.in +} + 
> +EXTRA_OEMAKE = "'CC=${CC}' 'LD=${LD}' 'XCFLAGS=${CFLAGS}'
> 'XLDFLAGS=${LDFLAGS} -Wl,-soname=libjs' \ +
> 'BUILD_CC=${BUILD_CC}' 'BUILD_CFLAGS=${BUILD_CFLAGS}'
> 'BUILD_LDFLAGS=${BUILD_LDFLAGS}'" + +EXTRA_OECONF =
> '--with-nspr-libs="-lplds4 -lplc4 -lnspr4" \ +
> --prefix=/usr' + +PARALLEL_MAKE = ""

can you make sure this is really needed ?

> +

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+cW0IACgkQuwUzVZGdMxSFhgCfUUBEACEl2mG/QrelmeS01b+i
44IAn0JtcpeOtRFfIF1zqLNgZNjqk7Z8
=rO7K
-----END PGP SIGNATURE-----



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-04-28 21:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-11 13:51 [PATCH 0/1] Integrate new js185 as a new bb file Andrei Gherzan
2012-04-11 13:51 ` [PATCH 1/1] js185: Integrate version 1.8.5 Andrei Gherzan
2012-04-28 21:04   ` Khem Raj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox