From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Ross Burton <ross@burtonini.com>,
openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [PATCH 5/6] libxkbcommon: split libraries into separate packages
Date: Sat, 04 Dec 2021 09:45:32 +0000 [thread overview]
Message-ID: <1f8dedc9f09fd759048c6af7158e1fd2badc7af8.camel@linuxfoundation.org> (raw)
In-Reply-To: <20211203164340.2963235-5-ross.burton@arm.com>
On Fri, 2021-12-03 at 16:43 +0000, Ross Burton wrote:
> The sublibraries, such as libxkbcommon-x11, have specific linkage, so to
> avoid link creep they can be put into separate packages.
>
> Signed-off-by: Ross Burton <ross.burton@arm.com>
> ---
> meta/recipes-graphics/xorg-lib/libxkbcommon_1.3.1.bb | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/meta/recipes-graphics/xorg-lib/libxkbcommon_1.3.1.bb b/meta/recipes-graphics/xorg-lib/libxkbcommon_1.3.1.bb
> index b4541cc698..425c1f386d 100644
> --- a/meta/recipes-graphics/xorg-lib/libxkbcommon_1.3.1.bb
> +++ b/meta/recipes-graphics/xorg-lib/libxkbcommon_1.3.1.bb
> @@ -25,8 +25,14 @@ PACKAGECONFIG[wayland] = "-Denable-wayland=true,-Denable-wayland=false,wayland-n
> PACKAGECONFIG[x11] = "-Denable-x11=true,-Denable-x11=false,libxcb xkeyboard-config,"
>
> PACKAGE_BEFORE_PN += "xkbcli"
> +FILES:${PN} = ""
> FILES:xkbcli = "${bindir}/xkbcli ${libexecdir}/xkbcommon/xkbcli-*"
>
> +python populate_packages:prepend () {
> + # Put the libraries into separate packages to avoid dependency creep
> + do_split_packages(d, d.expand('${libdir}'), r'^(lib.*)\.so\.*', '%s', '%s library', extra_depends='', allow_links=True)
> +}
> +
> # Fix a following runtime error:
> # xkbcommon: ERROR: couldn't find a Compose file for locale "C"
> RDEPENDS:${PN} = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libx11-locale', 'libx11-compose-data', d)}"
Something isn't quite right in a weston build:
https://autobuilder.yoctoproject.org/typhoon/#/builders/119/builds/1044/steps/12/logs/stdio
Cheers,
Richard
next prev parent reply other threads:[~2021-12-04 9:45 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-03 16:43 [PATCH 1/6] libx11: update patch status Ross Burton
2021-12-03 16:43 ` [PATCH 2/6] libxkbcommon: remove obsolete util-macros dependency Ross Burton
2021-12-03 16:43 ` [PATCH 3/6] libxkbcommon: allow building of API documentation Ross Burton
2021-12-04 23:19 ` [OE-core] " Richard Purdie
2021-12-05 1:24 ` Peter Kjellerstedt
2021-12-05 9:18 ` Richard Purdie
2021-12-06 10:26 ` Ross Burton
2021-12-03 16:43 ` [PATCH 4/6] xkbcommon: split xkbcli into a separate package Ross Burton
2021-12-03 16:43 ` [PATCH 5/6] libxkbcommon: split libraries into separate packages Ross Burton
2021-12-04 9:45 ` Richard Purdie [this message]
2021-12-03 16:43 ` [PATCH 6/6] xkbcommon: add option for xkbregistry Ross Burton
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=1f8dedc9f09fd759048c6af7158e1fd2badc7af8.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=openembedded-core@lists.openembedded.org \
--cc=ross@burtonini.com \
/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