Commit Graph

15 Commits

Author SHA1 Message Date
Hongxu Jia 8080558e11 nspr: add native version
It is required by nss-native.

[YOCTO #4096]

(From OE-Core rev: a0a1c4137bb53616bacb84b5cf5d5f7690e82bb9)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-07-13 18:23:34 +01:00
Saul Wold 8d577ab6a9 nspr: Update to 4.10
Source directory name changed from mozilla/nsprpub -> npsr

(From OE-Core rev: e4b206f28032916e95cc21a893af687409efe83f)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-13 17:38:10 +01:00
Saul Wold cf6be57eef nspr: Update to 4.9.6
(From OE-Core rev: 16ddc0138f385ac124a843bb1d1256536c40d0f6)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-29 14:45:08 +01:00
Colin Walters 10f40af173 nspr: Also update nspr.pc to 4.9.5
Earlier commits bumped the upstream version, but we need to update
our copy of the pkg-config file too.

(It'd probably be better to generate this at build time, otherwise
 this will be a trap people continually fall into)

(From OE-Core rev: 14878f34645f5e9a63d3c3be6d6fe558bbda9900)

Signed-off-by: Colin Walters <walters@verbum.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-26 23:26:37 +00:00
Laurentiu Palcu 5ec19c8bcc nspr: remove unnecessary files from the main package
This patch does the following:
 * removes compile-et.pl and prerr.properties from the main package
   because these files are needed only at compile time;
 * moves nspr-config script to nspr-dev package where it belongs;
 * adds 'perl' RDEPENDS for nspr-dev since the package contains a perl
   script for running some tests;

(From OE-Core rev: d70df34bcd6b345f600624f289ce688e5dd90f7e)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-25 16:17:00 +00:00
Saul Wold 90a9df2946 nspr: Update to 4.9.5
Changed LIC_FILES_CHKSUM line numebrs, no license change

(From OE-Core rev: b04f64e10c4b12cf32d6633c402b519067e94e5f)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-28 23:15:50 +00:00
Riku Voipio c14d9d6e1a nspr: add aarch64 support
Add needed defines for Aarch64 support.

Upstream-Status: Submitted https://bugzilla.mozilla.org/show_bug.cgi?id=827271

(From OE-Core rev: 53b4f10bf7e8e83275a64da6700a52c5a4ba533d)

Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-20 13:05:38 +00:00
Marcin Juszkiewicz 9277733327 nspr: added gnu-configize for AArch64 support
(From OE-Core rev: 8643c340c738bb487edad8033ebae760c65b6e35)

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-07 14:30:50 +00:00
Saul Wold 32b7b30323 nspr: Update to 4.9.4
Updated LICENSE to MPL-2.0 and adjusted CHKSUM accordingly

(From OE-Core rev: 3d535ac34b356d40576553a20f2ce04fd527350d)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-12-19 17:55:04 +00:00
Dexuan Cui 7503db6713 nspr: fix package spliting
Here /usr/lib/lib*.so files are binaries rather than symbol links.
We should package them into ${PN} rather than ${PN}-dev, or else,
when a package, that rdepends on nspr, is packaged, we get a
"non-dev package rdepends on nspr-dev" ERROR.

(From OE-Core rev: be298b6f0168bbd6baf90602da35904c441deade)

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-14 09:34:06 +01:00
Robert Yang 7b01671f54 nspr 4.8.9: failed to build on x86_64 board
nspr failed to build on x86_64 board(e.g., qemux86-64):

x86_64-poky-linux-gcc    -m64 ... -m32 ...
...
fatal error: gnu/stubs-32.h: No such file or directory

This is because there are both '-m64' and '-m32' in gcc's options, and
the later one is used, but what we need is '-m64' since it is x86_64,
this is caused by an incorrect logic in configure.in, we should assume
that the pkg uses 64bit when target_cpu is x86_64 (it has two options:
--enable-n32 and --enable-64bit, both of them are not set by default),
we only can assume that the pkg uses 32bit when USE_N32 is set. But
what it did was that assumed 32bit when target_cpu was x86_64 unless
--enable-64bit was set, this seems unreasonable and caused the "gcc -m64
-m32" error.

Some had noticed this error before:
https://lists.yoctoproject.org/pipermail/poky/2011-May/005799.html

NOTE:
* Both fix configure and configure.in since we can't run the
  "autoreconf" for nsrp, please see more explanation in
  trickly-fix-build-on-x86_64.patch.

* Also fixed powerpc64, this is just fixed by conclusion since we don't
  suport ppc64.

[YOCTO #2179]

(From OE-Core rev: 1d8fea3b9c9dd8f3e2b72ee8c8a9b834f4a3d729)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-27 13:26:37 +01:00
Martin Jansa 3349b88a76 More quoting fixes
* We have various variables which are either not quoted at all or are half
  quoted. This patch fixes the bad exmaples so everything is consistent.

(From OE-Core rev: 960ee8076e860353a05eb2eb7f825a455c54698d)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-26 22:51:58 +00:00
Andrei Gherzan aba82ec3cd nspr: Add patch in order to remove rpath from binaries
This patch was created in order to avoid QA warnings.

(From OE-Core rev: 16b8a25ec03b9e9f360290263593b9f8f92bb9e1)

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-23 23:59:36 +00:00
Andrei Gherzan d8a78f3e32 nspr: Compile nspr with tests
1. Compile package tests suite
2. Add tests to -dev rpm as it needs dev libraries

(From OE-Core rev: c78db5086091e09e510fcd275918aee0949483c1)

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-23 23:59:36 +00:00
Andrei Gherzan af57b2e7ca nspr: Integrate version 4.8.9
(From OE-Core rev: cbe6eced99566129c575b43a58cdde2ac669a741)

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Sergey 'Jin' Bostandzhyan <jin@mediatomb.cc>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-23 23:59:36 +00:00