openembedded-core.lists.openembedded.org archive mirror
 help / color / mirror / Atom feed
* [meta-oe][PATCH] mozjs: move large static library into staticdev package
@ 2021-10-18 21:10 Kurt Kiefer
  2021-10-18 21:21 ` [OE-core] " Alexander Kanavin
  0 siblings, 1 reply; 2+ messages in thread
From: Kurt Kiefer @ 2021-10-18 21:10 UTC (permalink / raw)
  To: openembedded-core; +Cc: Kurt Kiefer

From: Kurt Kiefer <kurt.kiefer@arthrex.com>

The libmozjs package was including /usr/lib/libjs_static.ajs, not
required for runtime usage.

Keep this file, but move it to the staticdev package.

Signed-off-by: Kurt Kiefer <kurt.kiefer@arthrex.com>
---
 .../meta-python/recipes-extended/mozjs/mozjs_91.1.0.bb         | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs_91.1.0.bb b/meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs_91.1.0.bb
index 9b9d2cea8..88aeb2dae 100644
--- a/meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs_91.1.0.bb
+++ b/meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs_91.1.0.bb
@@ -62,5 +62,6 @@ do_install:append() {
            -i ${D}${bindir}/js91-config
 }
 
-PACKAGES =+ "lib${BPN}"
+PACKAGES =+ "lib${BPN}-staticdev lib${BPN}"
+FILES:lib${BPN}-staticdev += "${libdir}/libjs_static.ajs"
 FILES:lib${BPN} += "${libdir}/lib*"
-- 
2.29.2



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

* Re: [OE-core] [meta-oe][PATCH] mozjs: move large static library into staticdev package
  2021-10-18 21:10 [meta-oe][PATCH] mozjs: move large static library into staticdev package Kurt Kiefer
@ 2021-10-18 21:21 ` Alexander Kanavin
  0 siblings, 0 replies; 2+ messages in thread
From: Alexander Kanavin @ 2021-10-18 21:21 UTC (permalink / raw)
  To: Kurt Kiefer; +Cc: OE-core, Kurt Kiefer

[-- Attachment #1: Type: text/plain, Size: 1631 bytes --]

Thanks, both patches should go to oe-devel list though.

Alex

On Mon, 18 Oct 2021 at 23:10, Kurt Kiefer <kekiefer@gmail.com> wrote:

> From: Kurt Kiefer <kurt.kiefer@arthrex.com>
>
> The libmozjs package was including /usr/lib/libjs_static.ajs, not
> required for runtime usage.
>
> Keep this file, but move it to the staticdev package.
>
> Signed-off-by: Kurt Kiefer <kurt.kiefer@arthrex.com>
> ---
>  .../meta-python/recipes-extended/mozjs/mozjs_91.1.0.bb         | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/
> mozjs_91.1.0.bb
> b/meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/
> mozjs_91.1.0.bb
> index 9b9d2cea8..88aeb2dae 100644
> --- a/meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/
> mozjs_91.1.0.bb
> +++ b/meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/
> mozjs_91.1.0.bb
> @@ -62,5 +62,6 @@ do_install:append() {
>             -i ${D}${bindir}/js91-config
>  }
>
> -PACKAGES =+ "lib${BPN}"
> +PACKAGES =+ "lib${BPN}-staticdev lib${BPN}"
> +FILES:lib${BPN}-staticdev += "${libdir}/libjs_static.ajs"
>  FILES:lib${BPN} += "${libdir}/lib*"
> --
> 2.29.2
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#157095):
> https://lists.openembedded.org/g/openembedded-core/message/157095
> Mute This Topic: https://lists.openembedded.org/mt/86425371/1686489
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [
> alex.kanavin@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>

[-- Attachment #2: Type: text/html, Size: 3044 bytes --]

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

end of thread, other threads:[~2021-10-18 21:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-18 21:10 [meta-oe][PATCH] mozjs: move large static library into staticdev package Kurt Kiefer
2021-10-18 21:21 ` [OE-core] " Alexander Kanavin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).