Add it to the list of sources needed before library building in the ui directory. It is already in the list for the gcr directory.
Signed-off-by: Joe Slater <[email protected]> --- meta/recipes-gnome/gcr/gcr/gcr-oids.patch | 28 ++++++++++++++++++++++++++++ meta/recipes-gnome/gcr/gcr_3.36.0.bb | 2 ++ 2 files changed, 30 insertions(+) create mode 100644 meta/recipes-gnome/gcr/gcr/gcr-oids.patch diff --git a/meta/recipes-gnome/gcr/gcr/gcr-oids.patch b/meta/recipes-gnome/gcr/gcr/gcr-oids.patch new file mode 100644 index 0000000..7c99951 --- /dev/null +++ b/meta/recipes-gnome/gcr/gcr/gcr-oids.patch @@ -0,0 +1,28 @@ +gcr: add two generated files to gcr_ui_sources + +gcr-oids.h is needed by several sources in the ui directory but is not in the +list of sources needed before compile time. In a highly parallel build environment +this can cause errors like -- + +In file included from ../gcr-3.36.0/ui/gcr-certificate-request-renderer.c:20: +./gcr/gcr-oids.h:5: error: unterminated #ifndef + 5 | #ifndef GCR_OIDS_ + | + +We add gcr_oids, which generates the file, to the sources needed. + +Upstream-Status: Pending + +Signed-off-by: Joe Slater <[email protected]> + + +--- a/ui/meson.build ++++ b/ui/meson.build +@@ -75,6 +75,7 @@ gcr_ui_sources = [ + gcr_ui_private_sources, + gcr_ui_public_sources, + gcr_ui_enums_gen, ++ gcr_oids, + ] + + gcr_ui_deps = [ diff --git a/meta/recipes-gnome/gcr/gcr_3.36.0.bb b/meta/recipes-gnome/gcr/gcr_3.36.0.bb index d5a88df..4986c5c 100644 --- a/meta/recipes-gnome/gcr/gcr_3.36.0.bb +++ b/meta/recipes-gnome/gcr/gcr_3.36.0.bb @@ -18,6 +18,8 @@ inherit gnomebase gtk-icon-cache gtk-doc features_check upstream-version-is-even REQUIRED_DISTRO_FEATURES = "x11" SRC_URI += " file://0001-meson.build-correctly-set-internal-vapi-dependencies.patch" +SRC_URI += " file://gcr-oids.patch" + SRC_URI[archive.md5sum] = "adc65563b6b458507b9a578a8b68fb61" SRC_URI[archive.sha256sum] = "aaf9bed017a2263c6145c89a1a84178f9f40f238426463e4ae486694ef5f6601" -- 2.7.4
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#139851): https://lists.openembedded.org/g/openembedded-core/message/139851 Mute This Topic: https://lists.openembedded.org/mt/75068155/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
