* [PATCH 0/1] Dexuan: nspr: fix package splitin
@ 2012-04-13 10:04 Dexuan Cui
2012-04-13 10:04 ` [PATCH 1/1] nspr: fix package spliting Dexuan Cui
2012-04-16 15:41 ` [PATCH 0/1] Dexuan: nspr: fix package splitin Saul Wold
0 siblings, 2 replies; 4+ messages in thread
From: Dexuan Cui @ 2012-04-13 10:04 UTC (permalink / raw)
To: openembedded-core
The following changes since commit f81b0593e74a31cb2d992df0583948ff57e3ed98:
gdbm: Activate -enable-libgdbm-compat and add symlinks to headers in include/gdbm (2012-03-23 17:56:29 +0200)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib dcui/master
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dcui/master
Dexuan Cui (1):
nspr: fix package spliting
meta/recipes-support/nspr/nspr_4.8.9.bb | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
--
1.7.6
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/1] nspr: fix package spliting
2012-04-13 10:04 [PATCH 0/1] Dexuan: nspr: fix package splitin Dexuan Cui
@ 2012-04-13 10:04 ` Dexuan Cui
2012-04-14 0:07 ` Darren Hart
2012-04-16 15:41 ` [PATCH 0/1] Dexuan: nspr: fix package splitin Saul Wold
1 sibling, 1 reply; 4+ messages in thread
From: Dexuan Cui @ 2012-04-13 10:04 UTC (permalink / raw)
To: openembedded-core
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.
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
---
meta/recipes-support/nspr/nspr_4.8.9.bb | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/meta/recipes-support/nspr/nspr_4.8.9.bb b/meta/recipes-support/nspr/nspr_4.8.9.bb
index 8b840d9..d3c683c 100644
--- a/meta/recipes-support/nspr/nspr_4.8.9.bb
+++ b/meta/recipes-support/nspr/nspr_4.8.9.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://configure.in;beginline=3;endline=40;md5=99d4d7d68bbc4
file://Makefile.in;beginline=4;endline=38;md5=c2b512182a334e1bfa1edc4d1c84a298 "
SECTION = "libs/network"
-PR = "r2"
+PR = "r3"
SRC_URI = "ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${PV}/src/nspr-${PV}.tar.gz \
file://remove-rpath-from-tests.patch \
@@ -160,6 +160,7 @@ do_install_append() {
install -m 0755 ${TESTS} ${D}${libdir}/nspr/tests
}
-FILES_${PN} = "${bindir}/*"
-FILES_${PN}-dev += "${libdir}/nspr/tests/*"
+FILES_${PN} = "${bindir}/* ${libdir}/lib*.so"
+FILES_${PN}-dev = "${libdir}/nspr/tests/* ${libdir}/pkgconfig \
+ ${includedir}/* ${datadir}/aclocal/* "
FILES_${PN}-dbg += "${libdir}/nspr/tests/.debug/*"
--
1.7.6
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [PATCH 1/1] nspr: fix package spliting
2012-04-13 10:04 ` [PATCH 1/1] nspr: fix package spliting Dexuan Cui
@ 2012-04-14 0:07 ` Darren Hart
0 siblings, 0 replies; 4+ messages in thread
From: Darren Hart @ 2012-04-14 0:07 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On 04/13/2012 03:04 AM, Dexuan Cui wrote:
> 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.
Applied and built for qemux86. Had to bump PR to "r4" to increase past
another applied change.
> Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Tested-by: Darren Hart <dvhart@linux.intel.com>
> ---
> meta/recipes-support/nspr/nspr_4.8.9.bb | 7 ++++---
> 1 files changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/meta/recipes-support/nspr/nspr_4.8.9.bb b/meta/recipes-support/nspr/nspr_4.8.9.bb
> index 8b840d9..d3c683c 100644
> --- a/meta/recipes-support/nspr/nspr_4.8.9.bb
> +++ b/meta/recipes-support/nspr/nspr_4.8.9.bb
> @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://configure.in;beginline=3;endline=40;md5=99d4d7d68bbc4
> file://Makefile.in;beginline=4;endline=38;md5=c2b512182a334e1bfa1edc4d1c84a298 "
> SECTION = "libs/network"
>
> -PR = "r2"
> +PR = "r3"
>
> SRC_URI = "ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${PV}/src/nspr-${PV}.tar.gz \
> file://remove-rpath-from-tests.patch \
> @@ -160,6 +160,7 @@ do_install_append() {
> install -m 0755 ${TESTS} ${D}${libdir}/nspr/tests
> }
>
> -FILES_${PN} = "${bindir}/*"
> -FILES_${PN}-dev += "${libdir}/nspr/tests/*"
> +FILES_${PN} = "${bindir}/* ${libdir}/lib*.so"
> +FILES_${PN}-dev = "${libdir}/nspr/tests/* ${libdir}/pkgconfig \
> + ${includedir}/* ${datadir}/aclocal/* "
> FILES_${PN}-dbg += "${libdir}/nspr/tests/.debug/*"
--
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 0/1] Dexuan: nspr: fix package splitin
2012-04-13 10:04 [PATCH 0/1] Dexuan: nspr: fix package splitin Dexuan Cui
2012-04-13 10:04 ` [PATCH 1/1] nspr: fix package spliting Dexuan Cui
@ 2012-04-16 15:41 ` Saul Wold
1 sibling, 0 replies; 4+ messages in thread
From: Saul Wold @ 2012-04-16 15:41 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On 04/13/2012 03:04 AM, Dexuan Cui wrote:
> The following changes since commit f81b0593e74a31cb2d992df0583948ff57e3ed98:
>
> gdbm: Activate -enable-libgdbm-compat and add symlinks to headers in include/gdbm (2012-03-23 17:56:29 +0200)
>
> are available in the git repository at:
> git://git.pokylinux.org/poky-contrib dcui/master
> http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dcui/master
>
> Dexuan Cui (1):
> nspr: fix package spliting
>
> meta/recipes-support/nspr/nspr_4.8.9.bb | 7 ++++---
> 1 files changed, 4 insertions(+), 3 deletions(-)
>
Merged into OE-Core
Thanks
Sau!
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-04-16 15:50 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-13 10:04 [PATCH 0/1] Dexuan: nspr: fix package splitin Dexuan Cui
2012-04-13 10:04 ` [PATCH 1/1] nspr: fix package spliting Dexuan Cui
2012-04-14 0:07 ` Darren Hart
2012-04-16 15:41 ` [PATCH 0/1] Dexuan: nspr: fix package splitin Saul Wold
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox