* [oe-core][PATCH] librsvg: enable vapi build
@ 2023-01-09 13:34 Markus Volk
2023-01-09 14:38 ` Alexander Kanavin
0 siblings, 1 reply; 3+ messages in thread
From: Markus Volk @ 2023-01-09 13:34 UTC (permalink / raw)
To: openembedded-core; +Cc: Markus Volk
Otherwise gnome-chess will fail like this:
| error: Package `librsvg-2.0' not found in specified Vala API directories or GObject-Introspection GIR directories
| Compilation failed: 1 error(s), 0 warning(s)
Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
meta/recipes-gnome/librsvg/librsvg_2.54.5.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/recipes-gnome/librsvg/librsvg_2.54.5.bb b/meta/recipes-gnome/librsvg/librsvg_2.54.5.bb
index fc52ae61c5..b2e93a2684 100644
--- a/meta/recipes-gnome/librsvg/librsvg_2.54.5.bb
+++ b/meta/recipes-gnome/librsvg/librsvg_2.54.5.bb
@@ -42,6 +42,8 @@ do_configure[postfuncs] += "cargo_common_do_configure"
inherit rust-target-config
+EXTRA_OECONF:class-target = "--enable-vala"
+
# rust-cross writes the target linker binary into target json definition without any flags.
# This breaks here because the linker isn't going to work without at least knowing where
# the sysroot is. So copy the json to workdir, and patch in the path to wrapper from rust class
--
2.34.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [oe-core][PATCH] librsvg: enable vapi build
2023-01-09 13:34 [oe-core][PATCH] librsvg: enable vapi build Markus Volk
@ 2023-01-09 14:38 ` Alexander Kanavin
2023-01-09 14:41 ` Markus Volk
0 siblings, 1 reply; 3+ messages in thread
From: Alexander Kanavin @ 2023-01-09 14:38 UTC (permalink / raw)
To: Markus Volk; +Cc: openembedded-core
This probably needs 'inherit vala' as well, so that dependencies are
reliably pulled in?
Alex
On Mon, 9 Jan 2023 at 14:35, Markus Volk <f_l_k@t-online.de> wrote:
>
> Otherwise gnome-chess will fail like this:
>
> | error: Package `librsvg-2.0' not found in specified Vala API directories or GObject-Introspection GIR directories
> | Compilation failed: 1 error(s), 0 warning(s)
>
> Signed-off-by: Markus Volk <f_l_k@t-online.de>
> ---
> meta/recipes-gnome/librsvg/librsvg_2.54.5.bb | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/meta/recipes-gnome/librsvg/librsvg_2.54.5.bb b/meta/recipes-gnome/librsvg/librsvg_2.54.5.bb
> index fc52ae61c5..b2e93a2684 100644
> --- a/meta/recipes-gnome/librsvg/librsvg_2.54.5.bb
> +++ b/meta/recipes-gnome/librsvg/librsvg_2.54.5.bb
> @@ -42,6 +42,8 @@ do_configure[postfuncs] += "cargo_common_do_configure"
>
> inherit rust-target-config
>
> +EXTRA_OECONF:class-target = "--enable-vala"
> +
> # rust-cross writes the target linker binary into target json definition without any flags.
> # This breaks here because the linker isn't going to work without at least knowing where
> # the sysroot is. So copy the json to workdir, and patch in the path to wrapper from rust class
> --
> 2.34.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#175683): https://lists.openembedded.org/g/openembedded-core/message/175683
> Mute This Topic: https://lists.openembedded.org/mt/96152051/1686489
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alex.kanavin@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [oe-core][PATCH] librsvg: enable vapi build
2023-01-09 14:38 ` Alexander Kanavin
@ 2023-01-09 14:41 ` Markus Volk
0 siblings, 0 replies; 3+ messages in thread
From: Markus Volk @ 2023-01-09 14:41 UTC (permalink / raw)
To: Alexander Kanavin; +Cc: openembedded-core
[-- Attachment #1: Type: text/plain, Size: 236 bytes --]
Am Mo, 9. Jan 2023 um 15:38:42 +0100 schrieb Alexander Kanavin
<alex.kanavin@gmail.com>:
> This probably needs 'inherit vala' as well, so that dependencies are
> reliably pulled in?
inherit vala is already present, but wasn't enough
[-- Attachment #2: Type: text/html, Size: 401 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-01-09 14:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-09 13:34 [oe-core][PATCH] librsvg: enable vapi build Markus Volk
2023-01-09 14:38 ` Alexander Kanavin
2023-01-09 14:41 ` Markus Volk
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.