diff mbox series

[meta-gnome] geary: Specify location of iso-codes xml files

Message ID 20241121093022.272900-1-raj.khem@gmail.com
State New
Headers show
Series [meta-gnome] geary: Specify location of iso-codes xml files | expand

Commit Message

Khem Raj Nov. 21, 2024, 9:30 a.m. UTC
During cross-compiling it needs to know the location of
staging area where these files are installed in RSS

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-gnome/recipes-connectivity/geary/geary_46.0.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Comments

Markus Volk Nov. 21, 2024, 10:12 a.m. UTC | #1
Hi Khem,
can your issue also be fixed like this?
                 -Diso_639_xml=${datadir}/xml/iso-codes/iso_639.xml \
                 -Diso_3166_xml=${datadir}/xml/iso-codes/iso_3166.xml \

When I include STAGING_DATADIR, I see this error:
ERROR: geary-46.0-r0 do_package_qa: QA Issue: File 
/usr/lib/geary/libgeary-client-46.0.so in package geary contains 
reference to TMPDIR [buildpaths]
ERROR: geary-46.0-r0 do_package_qa: Fatal QA errors were found, failing 
task.
ERROR: Logfile of failure stored in: 
/home/flk/poky/build/tmp/work/corei7-64-poky-linux/geary/46.0/temp/log.do_package_qa.232522
ERROR: Task 
(/home/flk/poky/meta-openembedded/meta-gnome/recipes-connectivity/geary/geary_46.0.bb:do_package_qa) 
failed with exit code '1'

On Thu, Nov 21 2024 at 01:30:22 AM -08:00:00, Khem Raj via 
lists.openembedded.org <raj.khem=gmail.com@lists.openembedded.org> 
wrote:
> During cross-compiling it needs to know the location of
> staging area where these files are installed in RSS
> 
> Signed-off-by: Khem Raj <raj.khem@gmail.com 
> <mailto:raj.khem@gmail.com>>
> ---
>  meta-gnome/recipes-connectivity/geary/geary_46.0.bb | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/meta-gnome/recipes-connectivity/geary/geary_46.0.bb 
> b/meta-gnome/recipes-connectivity/geary/geary_46.0.bb
> index 2ca27c4f36..6d6d9f5443 100644
> --- a/meta-gnome/recipes-connectivity/geary/geary_46.0.bb
> +++ b/meta-gnome/recipes-connectivity/geary/geary_46.0.bb
> @@ -47,7 +47,10 @@ ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
>  REQUIRED_DISTRO_FEATURES = "gobject-introspection-data opengl"
> 
>  GIR_MESON_OPTION = ""
> -EXTRA_OEMESON = "-Dprofile=release"
> +EXTRA_OEMESON = "-Dprofile=release \
> +                 
> -Diso_639_xml=${STAGING_DATADIR}/xml/iso-codes/iso_639.xml \
> +                 
> -Diso_3166_xml=${STAGING_DATADIR}/xml/iso-codes/iso_3166.xml \
> +                 "
> 
>  PACKAGECONFIG[libunwind] = 
> "-Dlibunwind=enabled,-Dlibunwind=disabled,libunwind"
>  PACKAGECONFIG[tnef] = "-Dtnef=enabled,-Dtnef=disabled,libytnef"
> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#113963): 
> <https://lists.openembedded.org/g/openembedded-devel/message/113963>
> Mute This Topic: <https://lists.openembedded.org/mt/109700823/3618223>
> Group Owner: openembedded-devel+owner@lists.openembedded.org 
> <mailto:openembedded-devel+owner@lists.openembedded.org>
> Unsubscribe: 
> <https://lists.openembedded.org/g/openembedded-devel/unsub> 
> [f_l_k@t-online.de <mailto:f_l_k@t-online.de>]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Khem Raj Nov. 21, 2024, 9:27 p.m. UTC | #2
On Thu, Nov 21, 2024 at 2:09 AM Markus Volk <f_l_k@t-online.de> wrote:
>
> Hi Khem,
> can your issue also be fixed like this?
>                  -Diso_639_xml=${datadir}/xml/iso-codes/iso_639.xml \
>                  -Diso_3166_xml=${datadir}/xml/iso-codes/iso_3166.xml \
>

thats not going to work in cross compile env.

> When I include STAGING_DATADIR, I see this error:
> ERROR: geary-46.0-r0 do_package_qa: QA Issue: File /usr/lib/geary/libgeary-client-46.0.so in package geary contains reference to TMPDIR [buildpaths]
> ERROR: geary-46.0-r0 do_package_qa: Fatal QA errors were found, failing task.
> ERROR: Logfile of failure stored in: /home/flk/poky/build/tmp/work/corei7-64-poky-linux/geary/46.0/temp/log.do_package_qa.232522
> ERROR: Task (/home/flk/poky/meta-openembedded/meta-gnome/recipes-connectivity/geary/geary_46.0.bb:do_package_qa) failed with exit code '1'

yeah I see this as well. Let me look into where it's getting added.

>
> On Thu, Nov 21 2024 at 01:30:22 AM -08:00:00, Khem Raj via lists.openembedded.org <raj.khem=gmail.com@lists.openembedded.org> wrote:
>
> During cross-compiling it needs to know the location of staging area where these files are installed in RSS Signed-off-by: Khem Raj <raj.khem@gmail.com> --- meta-gnome/recipes-connectivity/geary/geary_46.0.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meta-gnome/recipes-connectivity/geary/geary_46.0.bb b/meta-gnome/recipes-connectivity/geary/geary_46.0.bb index 2ca27c4f36..6d6d9f5443 100644 --- a/meta-gnome/recipes-connectivity/geary/geary_46.0.bb +++ b/meta-gnome/recipes-connectivity/geary/geary_46.0.bb @@ -47,7 +47,10 @@ ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" REQUIRED_DISTRO_FEATURES = "gobject-introspection-data opengl" GIR_MESON_OPTION = "" -EXTRA_OEMESON = "-Dprofile=release" +EXTRA_OEMESON = "-Dprofile=release \ + -Diso_639_xml=${STAGING_DATADIR}/xml/iso-codes/iso_639.xml \ + -Diso_3166_xml=${STAGING_DATADIR}/xml/iso-codes/iso_3166.xml \ + " PACKAGECONFIG[libunwind] = "-Dlibunwind=enabled,-Dlibunwind=disabled,libunwind" PACKAGECONFIG[tnef] = "-Dtnef=enabled,-Dtnef=disabled,libytnef"
> -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#113963): https://lists.openembedded.org/g/openembedded-devel/message/113963 Mute This Topic: https://lists.openembedded.org/mt/109700823/3618223 Group Owner: openembedded-devel+owner@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [f_l_k@t-online.de] -=-=-=-=-=-=-=-=-=-=-=-
diff mbox series

Patch

diff --git a/meta-gnome/recipes-connectivity/geary/geary_46.0.bb b/meta-gnome/recipes-connectivity/geary/geary_46.0.bb
index 2ca27c4f36..6d6d9f5443 100644
--- a/meta-gnome/recipes-connectivity/geary/geary_46.0.bb
+++ b/meta-gnome/recipes-connectivity/geary/geary_46.0.bb
@@ -47,7 +47,10 @@  ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
 REQUIRED_DISTRO_FEATURES = "gobject-introspection-data opengl"
 
 GIR_MESON_OPTION = ""
-EXTRA_OEMESON = "-Dprofile=release"
+EXTRA_OEMESON = "-Dprofile=release \
+                 -Diso_639_xml=${STAGING_DATADIR}/xml/iso-codes/iso_639.xml \
+                 -Diso_3166_xml=${STAGING_DATADIR}/xml/iso-codes/iso_3166.xml \
+                 "
 
 PACKAGECONFIG[libunwind] = "-Dlibunwind=enabled,-Dlibunwind=disabled,libunwind"
 PACKAGECONFIG[tnef] = "-Dtnef=enabled,-Dtnef=disabled,libytnef"