Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Khem Raj <raj.khem@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 1/1] js185: Integrate version 1.8.5
Date: Sat, 28 Apr 2012 14:04:02 -0700	[thread overview]
Message-ID: <4F9C5B42.1010409@gmail.com> (raw)
In-Reply-To: <ef5c9d2ab1340a0d6ce1bf09a68a20c60e11eef0.1334152146.git.andrei@gherzan.ro>

-----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-----



      reply	other threads:[~2012-04-28 21:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F9C5B42.1010409@gmail.com \
    --to=raj.khem@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox