public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH 1/2] libfyaml: init add
@ 2026-02-24  1:41 Changqing Li
  2026-02-24  1:41 ` [PATCH 2/2] appstream: upgrade from 1.0.6 to 1.1.2 Changqing Li
  0 siblings, 1 reply; 10+ messages in thread
From: Changqing Li @ 2026-02-24  1:41 UTC (permalink / raw)
  To: openembedded-core

Depended by recipe appstream

Signed-off-by: Changqing Li <changqing.li@windriver.com>
---
 meta/conf/distro/include/maintainers.inc        |  1 +
 meta/recipes-support/libfyaml/libfyaml_0.9.4.bb | 11 +++++++++++
 2 files changed, 12 insertions(+)
 create mode 100644 meta/recipes-support/libfyaml/libfyaml_0.9.4.bb

diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc
index b231daf485..bd16d6f650 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -349,6 +349,7 @@ RECIPE_MAINTAINER:pn-libffi = "Unassigned <unassigned@yoctoproject.org>"
 RECIPE_MAINTAINER:pn-libfm = "Unassigned <unassigned@yoctoproject.org>"
 RECIPE_MAINTAINER:pn-libfm-extra = "Unassigned <unassigned@yoctoproject.org>"
 RECIPE_MAINTAINER:pn-libfontenc = "Unassigned <unassigned@yoctoproject.org>"
+RECIPE_MAINTAINER:pn-libfyaml = "Changqing Li <changqing.li@windriver.com>"
 RECIPE_MAINTAINER:pn-libgcc = "Khem Raj <raj.khem@gmail.com>"
 RECIPE_MAINTAINER:pn-libgcc-initial = "Khem Raj <raj.khem@gmail.com>"
 RECIPE_MAINTAINER:pn-libgcrypt = "Hongxu Jia <hongxu.jia@windriver.com>"
diff --git a/meta/recipes-support/libfyaml/libfyaml_0.9.4.bb b/meta/recipes-support/libfyaml/libfyaml_0.9.4.bb
new file mode 100644
index 0000000000..c5f2ef30e2
--- /dev/null
+++ b/meta/recipes-support/libfyaml/libfyaml_0.9.4.bb
@@ -0,0 +1,11 @@
+SUMMARY = "A fully-featured YAML 1.2 and JSON parser/writer with zero-copy operation and no artificial limits"
+HOMEPAGE = "https://github.com/pantoniou/libfyaml"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=6399094fbc639a289cfca2d660c010aa"
+
+SRC_URI = "https://github.com/pantoniou/libfyaml/releases/download/v${PV}/libfyaml-${PV}.tar.gz"
+SRC_URI[sha256sum] = "dac2b0af7b757b32a4fa7c6493d85d0f7dea6effd20ae4352570b6a450b9e5fb"
+
+inherit autotools pkgconfig
+
+BBCLASSEXTEND = "native"
-- 
2.34.1



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

* [PATCH 2/2] appstream: upgrade from 1.0.6 to 1.1.2
  2026-02-24  1:41 [PATCH 1/2] libfyaml: init add Changqing Li
@ 2026-02-24  1:41 ` Changqing Li
  2026-02-24  9:58   ` [OE-core] " Alexander Kanavin
  0 siblings, 1 reply; 10+ messages in thread
From: Changqing Li @ 2026-02-24  1:41 UTC (permalink / raw)
  To: openembedded-core

License-Update: Update COPYING with latest from FSF

* Upstream changed the dependency, libyaml changed to libfyaml, refer [1]
* Upstream enable bash-completion by default, but bash-completion is in
  ASSUME_PROVIDE, on host without bash-completion, appstream-native will
  configure failed, so disable bash-completion for appstream-native

[1] https://github.com/ximion/appstream/commit/2899271049c0c9716eba0ccd62b10cdb9df5746d#diff-35104d8113cb43cdd6cfaa78c780eba89165e17c580d1e6678e5c3dfbd9b23c5

Signed-off-by: Changqing Li <changqing.li@windriver.com>
---
 .../appstream/0002-Do-not-build-qt-tests.patch    | 15 +++++++++------
 .../{appstream_1.0.6.bb => appstream_1.1.2.bb}    |  8 +++++---
 2 files changed, 14 insertions(+), 9 deletions(-)
 rename meta/recipes-support/appstream/{appstream_1.0.6.bb => appstream_1.1.2.bb} (82%)

diff --git a/meta/recipes-support/appstream/appstream/0002-Do-not-build-qt-tests.patch b/meta/recipes-support/appstream/appstream/0002-Do-not-build-qt-tests.patch
index cf26013019..f6bbdd180a 100644
--- a/meta/recipes-support/appstream/appstream/0002-Do-not-build-qt-tests.patch
+++ b/meta/recipes-support/appstream/appstream/0002-Do-not-build-qt-tests.patch
@@ -1,4 +1,4 @@
-From eafac7178683c9fe5ab50192dec004f24638b2f4 Mon Sep 17 00:00:00 2001
+From 5763a61ca9aff2e2383c1eeb1ef3f5e6cd07c539 Mon Sep 17 00:00:00 2001
 From: Marc Ferland <marc.ferland@sonatest.com>
 Date: Fri, 26 Jul 2024 15:41:00 -0400
 Subject: [PATCH] Do not build qt/tests
@@ -23,12 +23,15 @@ Signed-off-by: Marc Ferland <marc.ferland@sonatest.com>
  1 file changed, 2 deletions(-)
 
 diff --git a/qt/meson.build b/qt/meson.build
-index 7d9ed7d..e319425 100644
+index 407a57a..840c838 100644
 --- a/qt/meson.build
 +++ b/qt/meson.build
-@@ -150,5 +150,3 @@ install_data (
- 
- # end of Qt version loop
- endforeach
+@@ -130,5 +130,3 @@ install_data (
+     join_paths(meson.current_build_dir(), 'AppStreamQtConfigVersion.cmake'),
+     install_dir: join_paths(get_option('libdir'), 'cmake', 'AppStreamQt')
+ )
 -
 -subdir('tests/')
+-- 
+2.34.1
+
diff --git a/meta/recipes-support/appstream/appstream_1.0.6.bb b/meta/recipes-support/appstream/appstream_1.1.2.bb
similarity index 82%
rename from meta/recipes-support/appstream/appstream_1.0.6.bb
rename to meta/recipes-support/appstream/appstream_1.1.2.bb
index 62761380f5..3ac5a59eb7 100644
--- a/meta/recipes-support/appstream/appstream_1.0.6.bb
+++ b/meta/recipes-support/appstream/appstream_1.1.2.bb
@@ -1,7 +1,7 @@
 SUMMARY = "AppStream is a collaborative effort for making machine-readable software metadata easily available."
 HOMEPAGE = "https://github.com/ximion/appstream"
 LICENSE = "LGPL-2.1-only"
-LIC_FILES_CHKSUM = "file://COPYING;md5=435ed639f84d4585d93824e7da3d85da"
+LIC_FILES_CHKSUM = "file://COPYING;md5=4bf661c1e3793e55c8d1051bc5e0ae21"
 
 DEPENDS = " \
     appstream-native \
@@ -10,7 +10,7 @@ DEPENDS = " \
     docbook-xml-dtd4-native \
     gperf-native \
     glib-2.0 \
-    libyaml \
+    libfyaml \
     libxml2 \
     libxmlb \
     libxslt-native \
@@ -30,15 +30,17 @@ SRC_URI = " \
 	file://0002-Do-not-build-qt-tests.patch \
 	file://0003-Fix-PACKAGE_PREFIX_DIR-in-qt-cmake-AppStreamQtConfig.patch \
 "
-SRC_URI[sha256sum] = "db4439db6a33de3ca1041473501610844ddf1b72ae23016c05242c681c380b4d"
+SRC_URI[sha256sum] = "46b4257100e25a6468ceed7b3ab82441f47b119da3398d30aea6d7b91174b586"
 
 S = "${UNPACKDIR}/AppStream-${PV}"
 
 PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
+PACKAGECONFIG:class-target += "bash-completion"
 
 PACKAGECONFIG[systemd] = "-Dsystemd=true,-Dsystemd=false,systemd"
 PACKAGECONFIG[stemming] = "-Dstemming=true,-Dstemming=false,libstemmer"
 PACKAGECONFIG[qt6] = "-Dqt=true,-Dqt=false,qtbase"
+PACKAGECONFIG[bash-completion] = "-Dbash-completion=true,-Dbash-completion=false,bash-completion"
 
 FILES:${PN} += "${datadir}"
 
-- 
2.34.1



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

* Re: [OE-core] [PATCH 2/2] appstream: upgrade from 1.0.6 to 1.1.2
  2026-02-24  1:41 ` [PATCH 2/2] appstream: upgrade from 1.0.6 to 1.1.2 Changqing Li
@ 2026-02-24  9:58   ` Alexander Kanavin
  2026-02-24 15:44     ` Peter Kjellerstedt
  0 siblings, 1 reply; 10+ messages in thread
From: Alexander Kanavin @ 2026-02-24  9:58 UTC (permalink / raw)
  To: changqing.li; +Cc: openembedded-core

On Tue, 24 Feb 2026 at 02:42, Changqing Li via lists.openembedded.org
<changqing.li=windriver.com@lists.openembedded.org> wrote:

> +PACKAGECONFIG:class-target += "bash-completion"
>
>  PACKAGECONFIG[systemd] = "-Dsystemd=true,-Dsystemd=false,systemd"
>  PACKAGECONFIG[stemming] = "-Dstemming=true,-Dstemming=false,libstemmer"
>  PACKAGECONFIG[qt6] = "-Dqt=true,-Dqt=false,qtbase"
> +PACKAGECONFIG[bash-completion] = "-Dbash-completion=true,-Dbash-completion=false,bash-completion"

bash-completion can perhaps stay disabled for both native and target?

Alex


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

* RE: [OE-core] [PATCH 2/2] appstream: upgrade from 1.0.6 to 1.1.2
  2026-02-24  9:58   ` [OE-core] " Alexander Kanavin
@ 2026-02-24 15:44     ` Peter Kjellerstedt
  2026-02-25  3:28       ` Changqing Li
                         ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Peter Kjellerstedt @ 2026-02-24 15:44 UTC (permalink / raw)
  To: alex.kanavin@gmail.com, changqing.li@windriver.com
  Cc: openembedded-core@lists.openembedded.org

> -----Original Message-----
> From: openembedded-core@lists.openembedded.org <openembedded-core@lists.openembedded.org> On Behalf Of Alexander Kanavin via lists.openembedded.org
> Sent: den 24 februari 2026 10:59
> To: changqing.li@windriver.com
> Cc: openembedded-core@lists.openembedded.org
> Subject: Re: [OE-core] [PATCH 2/2] appstream: upgrade from 1.0.6 to 1.1.2
> 
> On Tue, 24 Feb 2026 at 02:42, Changqing Li via lists.openembedded.org <changqing.li=windriver.com@lists.openembedded.org> wrote:
> 
> > +PACKAGECONFIG:class-target += "bash-completion"

That should be:

PACKAGECONFIG:append:class-target = " bash-completion"

or it will replace the PACKAGECONFIG for target rather than 
add to it.

> >
> >  PACKAGECONFIG[systemd] = "-Dsystemd=true,-Dsystemd=false,systemd"
> >  PACKAGECONFIG[stemming] = "-Dstemming=true,-Dstemming=false,libstemmer"
> >  PACKAGECONFIG[qt6] = "-Dqt=true,-Dqt=false,qtbase"
> > +PACKAGECONFIG[bash-completion] = "-Dbash-completion=true,-Dbash-completion=false,bash-completion"

Remove the dependency on bash-completion (see below).

> 
> bash-completion can perhaps stay disabled for both native and target?
> 
> Alex

No, better is to instead inherit the bash-completion bbclass so the 
file(s) are packaged separately, and installed automatically when 
the bash-completion-pkgs feature is enabled.

//Peter


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

* Re: [OE-core] [PATCH 2/2] appstream: upgrade from 1.0.6 to 1.1.2
  2026-02-24 15:44     ` Peter Kjellerstedt
@ 2026-02-25  3:28       ` Changqing Li
  2026-02-25  3:40       ` [PATCH V2] " Changqing Li
       [not found]       ` <18976046C73DA293.1454197@lists.openembedded.org>
  2 siblings, 0 replies; 10+ messages in thread
From: Changqing Li @ 2026-02-25  3:28 UTC (permalink / raw)
  To: Peter Kjellerstedt, alex.kanavin@gmail.com
  Cc: openembedded-core@lists.openembedded.org


On 2/24/26 23:44, Peter Kjellerstedt wrote:
> CAUTION: This email comes from a non Wind River email account!
> Do not click links or open attachments unless you recognize the sender and know the content is safe.
>
>> -----Original Message-----
>> From: openembedded-core@lists.openembedded.org <openembedded-core@lists.openembedded.org> On Behalf Of Alexander Kanavin via lists.openembedded.org
>> Sent: den 24 februari 2026 10:59
>> To: changqing.li@windriver.com
>> Cc: openembedded-core@lists.openembedded.org
>> Subject: Re: [OE-core] [PATCH 2/2] appstream: upgrade from 1.0.6 to 1.1.2
>>
>> On Tue, 24 Feb 2026 at 02:42, Changqing Li via lists.openembedded.org <changqing.li=windriver.com@lists.openembedded.org> wrote:
>>
>>> +PACKAGECONFIG:class-target += "bash-completion"
> That should be:
>
> PACKAGECONFIG:append:class-target = " bash-completion"
>
> or it will replace the PACKAGECONFIG for target rather than
> add to it.
>
>>>   PACKAGECONFIG[systemd] = "-Dsystemd=true,-Dsystemd=false,systemd"
>>>   PACKAGECONFIG[stemming] = "-Dstemming=true,-Dstemming=false,libstemmer"
>>>   PACKAGECONFIG[qt6] = "-Dqt=true,-Dqt=false,qtbase"
>>> +PACKAGECONFIG[bash-completion] = "-Dbash-completion=true,-Dbash-completion=false,bash-completion"
> Remove the dependency on bash-completion (see below).
>
>> bash-completion can perhaps stay disabled for both native and target?
>>
>> Alex
> No, better is to instead inherit the bash-completion bbclass so the
> file(s) are packaged separately, and installed automatically when
> the bash-completion-pkgs feature is enabled.

Thanks  Peter and Alex.  I will send a V2 according to the comments.

//Changqing

>
> //Peter
>


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

* [PATCH V2] appstream: upgrade from 1.0.6 to 1.1.2
  2026-02-24 15:44     ` Peter Kjellerstedt
  2026-02-25  3:28       ` Changqing Li
@ 2026-02-25  3:40       ` Changqing Li
  2026-03-10 11:44         ` [OE-core] " Ross Burton
       [not found]       ` <18976046C73DA293.1454197@lists.openembedded.org>
  2 siblings, 1 reply; 10+ messages in thread
From: Changqing Li @ 2026-02-25  3:40 UTC (permalink / raw)
  To: openembedded-core

License-Update: Update COPYING with latest from FSF

* Upstream changed the dependency, libyaml changed to libfyaml, refer [1]
* Upstream enable bash-completion by default, but bash-completion is in
  ASSUME_PROVIDE, on host without bash-completion, appstream-native will
  configure failed, so disable bash-completion for appstream-native

[1] https://github.com/ximion/appstream/commit/2899271049c0c9716eba0ccd62b10cdb9df5746d#diff-35104d8113cb43cdd6cfaa78c780eba89165e17c580d1e6678e5c3dfbd9b23c5

Signed-off-by: Changqing Li <changqing.li@windriver.com>
---
 .../appstream/0002-Do-not-build-qt-tests.patch    | 15 +++++++++------
 .../{appstream_1.0.6.bb => appstream_1.1.2.bb}    | 10 ++++++----
 2 files changed, 15 insertions(+), 10 deletions(-)
 rename meta/recipes-support/appstream/{appstream_1.0.6.bb => appstream_1.1.2.bb} (82%)

diff --git a/meta/recipes-support/appstream/appstream/0002-Do-not-build-qt-tests.patch b/meta/recipes-support/appstream/appstream/0002-Do-not-build-qt-tests.patch
index cf26013019..f6bbdd180a 100644
--- a/meta/recipes-support/appstream/appstream/0002-Do-not-build-qt-tests.patch
+++ b/meta/recipes-support/appstream/appstream/0002-Do-not-build-qt-tests.patch
@@ -1,4 +1,4 @@
-From eafac7178683c9fe5ab50192dec004f24638b2f4 Mon Sep 17 00:00:00 2001
+From 5763a61ca9aff2e2383c1eeb1ef3f5e6cd07c539 Mon Sep 17 00:00:00 2001
 From: Marc Ferland <marc.ferland@sonatest.com>
 Date: Fri, 26 Jul 2024 15:41:00 -0400
 Subject: [PATCH] Do not build qt/tests
@@ -23,12 +23,15 @@ Signed-off-by: Marc Ferland <marc.ferland@sonatest.com>
  1 file changed, 2 deletions(-)
 
 diff --git a/qt/meson.build b/qt/meson.build
-index 7d9ed7d..e319425 100644
+index 407a57a..840c838 100644
 --- a/qt/meson.build
 +++ b/qt/meson.build
-@@ -150,5 +150,3 @@ install_data (
- 
- # end of Qt version loop
- endforeach
+@@ -130,5 +130,3 @@ install_data (
+     join_paths(meson.current_build_dir(), 'AppStreamQtConfigVersion.cmake'),
+     install_dir: join_paths(get_option('libdir'), 'cmake', 'AppStreamQt')
+ )
 -
 -subdir('tests/')
+-- 
+2.34.1
+
diff --git a/meta/recipes-support/appstream/appstream_1.0.6.bb b/meta/recipes-support/appstream/appstream_1.1.2.bb
similarity index 82%
rename from meta/recipes-support/appstream/appstream_1.0.6.bb
rename to meta/recipes-support/appstream/appstream_1.1.2.bb
index 62761380f5..c6ec0fff0a 100644
--- a/meta/recipes-support/appstream/appstream_1.0.6.bb
+++ b/meta/recipes-support/appstream/appstream_1.1.2.bb
@@ -1,7 +1,7 @@
 SUMMARY = "AppStream is a collaborative effort for making machine-readable software metadata easily available."
 HOMEPAGE = "https://github.com/ximion/appstream"
 LICENSE = "LGPL-2.1-only"
-LIC_FILES_CHKSUM = "file://COPYING;md5=435ed639f84d4585d93824e7da3d85da"
+LIC_FILES_CHKSUM = "file://COPYING;md5=4bf661c1e3793e55c8d1051bc5e0ae21"
 
 DEPENDS = " \
     appstream-native \
@@ -10,7 +10,7 @@ DEPENDS = " \
     docbook-xml-dtd4-native \
     gperf-native \
     glib-2.0 \
-    libyaml \
+    libfyaml \
     libxml2 \
     libxmlb \
     libxslt-native \
@@ -19,7 +19,7 @@ DEPENDS = " \
     python3-pygments-native \
 "
 
-inherit meson gobject-introspection gettext gi-docgen pkgconfig vala
+inherit meson gobject-introspection gettext gi-docgen pkgconfig vala bash-completion
 
 GIR_MESON_OPTION = "gir"
 GIDOCGEN_MESON_OPTION = "apidocs"
@@ -30,15 +30,17 @@ SRC_URI = " \
 	file://0002-Do-not-build-qt-tests.patch \
 	file://0003-Fix-PACKAGE_PREFIX_DIR-in-qt-cmake-AppStreamQtConfig.patch \
 "
-SRC_URI[sha256sum] = "db4439db6a33de3ca1041473501610844ddf1b72ae23016c05242c681c380b4d"
+SRC_URI[sha256sum] = "46b4257100e25a6468ceed7b3ab82441f47b119da3398d30aea6d7b91174b586"
 
 S = "${UNPACKDIR}/AppStream-${PV}"
 
 PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
+PACKAGECONFIG:append:class-target = " bash-completion"
 
 PACKAGECONFIG[systemd] = "-Dsystemd=true,-Dsystemd=false,systemd"
 PACKAGECONFIG[stemming] = "-Dstemming=true,-Dstemming=false,libstemmer"
 PACKAGECONFIG[qt6] = "-Dqt=true,-Dqt=false,qtbase"
+PACKAGECONFIG[bash-completion] = "-Dbash-completion=true,-Dbash-completion=false"
 
 FILES:${PN} += "${datadir}"
 
-- 
2.34.1



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

* Re: [OE-core] [PATCH V2] appstream: upgrade from 1.0.6 to 1.1.2
       [not found]       ` <18976046C73DA293.1454197@lists.openembedded.org>
@ 2026-02-25  4:39         ` Changqing Li
  0 siblings, 0 replies; 10+ messages in thread
From: Changqing Li @ 2026-02-25  4:39 UTC (permalink / raw)
  To: Mathieu Dubois-Briand; +Cc: OE-core

Hi,  Mathieu

I see V1 is on master-next-tests.  Just a kind remind that there is a  
V2 for this patch.

Regards

Changqing

On 2/25/26 11:40, Changqing Li via lists.openembedded.org wrote:
> License-Update: Update COPYING with latest from FSF
>
> * Upstream changed the dependency, libyaml changed to libfyaml, refer [1]
> * Upstream enable bash-completion by default, but bash-completion is in
>    ASSUME_PROVIDE, on host without bash-completion, appstream-native will
>    configure failed, so disable bash-completion for appstream-native
>
> [1] https://github.com/ximion/appstream/commit/2899271049c0c9716eba0ccd62b10cdb9df5746d#diff-35104d8113cb43cdd6cfaa78c780eba89165e17c580d1e6678e5c3dfbd9b23c5
>
> Signed-off-by: Changqing Li <changqing.li@windriver.com>
> ---
>   .../appstream/0002-Do-not-build-qt-tests.patch    | 15 +++++++++------
>   .../{appstream_1.0.6.bb => appstream_1.1.2.bb}    | 10 ++++++----
>   2 files changed, 15 insertions(+), 10 deletions(-)
>   rename meta/recipes-support/appstream/{appstream_1.0.6.bb => appstream_1.1.2.bb} (82%)
>
> diff --git a/meta/recipes-support/appstream/appstream/0002-Do-not-build-qt-tests.patch b/meta/recipes-support/appstream/appstream/0002-Do-not-build-qt-tests.patch
> index cf26013019..f6bbdd180a 100644
> --- a/meta/recipes-support/appstream/appstream/0002-Do-not-build-qt-tests.patch
> +++ b/meta/recipes-support/appstream/appstream/0002-Do-not-build-qt-tests.patch
> @@ -1,4 +1,4 @@
> -From eafac7178683c9fe5ab50192dec004f24638b2f4 Mon Sep 17 00:00:00 2001
> +From 5763a61ca9aff2e2383c1eeb1ef3f5e6cd07c539 Mon Sep 17 00:00:00 2001
>   From: Marc Ferland <marc.ferland@sonatest.com>
>   Date: Fri, 26 Jul 2024 15:41:00 -0400
>   Subject: [PATCH] Do not build qt/tests
> @@ -23,12 +23,15 @@ Signed-off-by: Marc Ferland <marc.ferland@sonatest.com>
>    1 file changed, 2 deletions(-)
>   
>   diff --git a/qt/meson.build b/qt/meson.build
> -index 7d9ed7d..e319425 100644
> +index 407a57a..840c838 100644
>   --- a/qt/meson.build
>   +++ b/qt/meson.build
> -@@ -150,5 +150,3 @@ install_data (
> -
> - # end of Qt version loop
> - endforeach
> +@@ -130,5 +130,3 @@ install_data (
> +     join_paths(meson.current_build_dir(), 'AppStreamQtConfigVersion.cmake'),
> +     install_dir: join_paths(get_option('libdir'), 'cmake', 'AppStreamQt')
> + )
>   -
>   -subdir('tests/')
> +--
> +2.34.1
> +
> diff --git a/meta/recipes-support/appstream/appstream_1.0.6.bb b/meta/recipes-support/appstream/appstream_1.1.2.bb
> similarity index 82%
> rename from meta/recipes-support/appstream/appstream_1.0.6.bb
> rename to meta/recipes-support/appstream/appstream_1.1.2.bb
> index 62761380f5..c6ec0fff0a 100644
> --- a/meta/recipes-support/appstream/appstream_1.0.6.bb
> +++ b/meta/recipes-support/appstream/appstream_1.1.2.bb
> @@ -1,7 +1,7 @@
>   SUMMARY = "AppStream is a collaborative effort for making machine-readable software metadata easily available."
>   HOMEPAGE = "https://github.com/ximion/appstream"
>   LICENSE = "LGPL-2.1-only"
> -LIC_FILES_CHKSUM = "file://COPYING;md5=435ed639f84d4585d93824e7da3d85da"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=4bf661c1e3793e55c8d1051bc5e0ae21"
>   
>   DEPENDS = " \
>       appstream-native \
> @@ -10,7 +10,7 @@ DEPENDS = " \
>       docbook-xml-dtd4-native \
>       gperf-native \
>       glib-2.0 \
> -    libyaml \
> +    libfyaml \
>       libxml2 \
>       libxmlb \
>       libxslt-native \
> @@ -19,7 +19,7 @@ DEPENDS = " \
>       python3-pygments-native \
>   "
>   
> -inherit meson gobject-introspection gettext gi-docgen pkgconfig vala
> +inherit meson gobject-introspection gettext gi-docgen pkgconfig vala bash-completion
>   
>   GIR_MESON_OPTION = "gir"
>   GIDOCGEN_MESON_OPTION = "apidocs"
> @@ -30,15 +30,17 @@ SRC_URI = " \
>   	file://0002-Do-not-build-qt-tests.patch \
>   	file://0003-Fix-PACKAGE_PREFIX_DIR-in-qt-cmake-AppStreamQtConfig.patch \
>   "
> -SRC_URI[sha256sum] = "db4439db6a33de3ca1041473501610844ddf1b72ae23016c05242c681c380b4d"
> +SRC_URI[sha256sum] = "46b4257100e25a6468ceed7b3ab82441f47b119da3398d30aea6d7b91174b586"
>   
>   S = "${UNPACKDIR}/AppStream-${PV}"
>   
>   PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
> +PACKAGECONFIG:append:class-target = " bash-completion"
>   
>   PACKAGECONFIG[systemd] = "-Dsystemd=true,-Dsystemd=false,systemd"
>   PACKAGECONFIG[stemming] = "-Dstemming=true,-Dstemming=false,libstemmer"
>   PACKAGECONFIG[qt6] = "-Dqt=true,-Dqt=false,qtbase"
> +PACKAGECONFIG[bash-completion] = "-Dbash-completion=true,-Dbash-completion=false"
>   
>   FILES:${PN} += "${datadir}"
>   
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#231925): https://lists.openembedded.org/g/openembedded-core/message/231925
> Mute This Topic: https://lists.openembedded.org/mt/117989519/3616873
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [changqing.li@windriver.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>


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

* Re: [OE-core] [PATCH V2] appstream: upgrade from 1.0.6 to 1.1.2
  2026-02-25  3:40       ` [PATCH V2] " Changqing Li
@ 2026-03-10 11:44         ` Ross Burton
  2026-03-11  2:27           ` Changqing Li
       [not found]           ` <189BA872138654D8.2412760@lists.openembedded.org>
  0 siblings, 2 replies; 10+ messages in thread
From: Ross Burton @ 2026-03-10 11:44 UTC (permalink / raw)
  To: changqing.li@windriver.com; +Cc: openembedded-core@lists.openembedded.org

On 25 Feb 2026, at 03:40, Changqing Li via lists.openembedded.org <changqing.li=windriver.com@lists.openembedded.org> wrote:
> PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
> +PACKAGECONFIG:append:class-target = " bash-completion"
> 
> PACKAGECONFIG[systemd] = "-Dsystemd=true,-Dsystemd=false,systemd"
> PACKAGECONFIG[stemming] = "-Dstemming=true,-Dstemming=false,libstemmer"
> PACKAGECONFIG[qt6] = "-Dqt=true,-Dqt=false,qtbase"
> +PACKAGECONFIG[bash-completion] = "-Dbash-completion=true,-Dbash-completion=false”

I can’t see any other recipes that have a PACKAGECONFIG for bash completion.  Personally I’d just inherit the class and EXTRA_OEMESON:append:class-native = “ -Dbash-completion=false” as the special case is native.

Ross

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

* Re: [OE-core] [PATCH V2] appstream: upgrade from 1.0.6 to 1.1.2
  2026-03-10 11:44         ` [OE-core] " Ross Burton
@ 2026-03-11  2:27           ` Changqing Li
       [not found]           ` <189BA872138654D8.2412760@lists.openembedded.org>
  1 sibling, 0 replies; 10+ messages in thread
From: Changqing Li @ 2026-03-11  2:27 UTC (permalink / raw)
  To: Ross Burton; +Cc: openembedded-core@lists.openembedded.org

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


On 3/10/26 19:44, Ross Burton wrote:
> CAUTION: This email comes from a non Wind River email account!
> Do not click links or open attachments unless you recognize the sender and know the content is safe.
>
> On 25 Feb 2026, at 03:40, Changqing Li via lists.openembedded.org<changqing.li=windriver.com@lists.openembedded.org> wrote:
>> PACKAGECONFIG ?="${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
>> +PACKAGECONFIG:append:class-target = " bash-completion"
>>
>> PACKAGECONFIG[systemd] = "-Dsystemd=true,-Dsystemd=false,systemd"
>> PACKAGECONFIG[stemming] = "-Dstemming=true,-Dstemming=false,libstemmer"
>> PACKAGECONFIG[qt6] = "-Dqt=true,-Dqt=false,qtbase"
>> +PACKAGECONFIG[bash-completion] = "-Dbash-completion=true,-Dbash-completion=false”
> I can’t see any other recipes that have a PACKAGECONFIG for bash completion.  Personally I’d just inherit the class and EXTRA_OEMESON:append:class-native = “ -Dbash-completion=false” as the special case is native.

Hi, Ross

Indeed, very few packages offer this PACKAGECONFIG,but both oe-core and 
meta-networking have one.

I checked several recipes that inherit the class but not provide the 
PACKAGECONFIG,

all the recipes don't provide option to disable bash-completion. I think 
this is why they don't provide PACKAGECONFIG.

upstream appstream provides the option to disable bash-completion, I 
think we should keep the upstream option.

Regards

Changqing

>
> Ross

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

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

* Re: [OE-core] [PATCH V2] appstream: upgrade from 1.0.6 to 1.1.2
       [not found]           ` <189BA872138654D8.2412760@lists.openembedded.org>
@ 2026-03-13  2:30             ` Changqing Li
  0 siblings, 0 replies; 10+ messages in thread
From: Changqing Li @ 2026-03-13  2:30 UTC (permalink / raw)
  To: Ross Burton
  Cc: openembedded-core@lists.openembedded.org, Mathieu Dubois-Briand

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


On 3/11/26 10:27, Changqing Li via lists.openembedded.org wrote:
>
>
> On 3/10/26 19:44, Ross Burton wrote:
>> CAUTION: This email comes from a non Wind River email account!
>> Do not click links or open attachments unless you recognize the sender and know the content is safe.
>>
>> On 25 Feb 2026, at 03:40, Changqing Li via lists.openembedded.org<changqing.li=windriver.com@lists.openembedded.org> wrote:
>>> PACKAGECONFIG ?="${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
>>> +PACKAGECONFIG:append:class-target = " bash-completion"
>>>
>>> PACKAGECONFIG[systemd] = "-Dsystemd=true,-Dsystemd=false,systemd"
>>> PACKAGECONFIG[stemming] = "-Dstemming=true,-Dstemming=false,libstemmer"
>>> PACKAGECONFIG[qt6] = "-Dqt=true,-Dqt=false,qtbase"
>>> +PACKAGECONFIG[bash-completion] = "-Dbash-completion=true,-Dbash-completion=false”
>> I can’t see any other recipes that have a PACKAGECONFIG for bash completion.  Personally I’d just inherit the class and EXTRA_OEMESON:append:class-native = “ -Dbash-completion=false” as the special case is native.
>
> Hi, Ross
>
> Indeed, very few packages offer this PACKAGECONFIG,but both oe-core 
> and meta-networking have one.
>
> I checked several recipes that inherit the class but not provide the 
> PACKAGECONFIG,
>
> all the recipes don't provide option to disable bash-completion. I 
> think this is why they don't provide PACKAGECONFIG.
>
Here I means that the recipes's upstream don't provide an option to 
disable bash-completion, eg:  apt, it will compiled with bash-completion 
by default,  there is no option

to enable/disable bash-completion.  So they don't need a PACKAGECONFIG. 
But appstream provdes option to enable/disable bash-completion. so I add 
one allow user to

disable it.

//Changqing

> upstream appstream provides the option to disable bash-completion, I 
> think we should keep the upstream option.
>
> Regards
>
> Changqing
>
>> Ross
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#232832):https://lists.openembedded.org/g/openembedded-core/message/232832
> Mute This Topic:https://lists.openembedded.org/mt/117989519/3616873
> Group Owner:openembedded-core+owner@lists.openembedded.org
> Unsubscribe:https://lists.openembedded.org/g/openembedded-core/unsub [changqing.li@windriver.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>

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

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

end of thread, other threads:[~2026-03-13  2:30 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-24  1:41 [PATCH 1/2] libfyaml: init add Changqing Li
2026-02-24  1:41 ` [PATCH 2/2] appstream: upgrade from 1.0.6 to 1.1.2 Changqing Li
2026-02-24  9:58   ` [OE-core] " Alexander Kanavin
2026-02-24 15:44     ` Peter Kjellerstedt
2026-02-25  3:28       ` Changqing Li
2026-02-25  3:40       ` [PATCH V2] " Changqing Li
2026-03-10 11:44         ` [OE-core] " Ross Burton
2026-03-11  2:27           ` Changqing Li
     [not found]           ` <189BA872138654D8.2412760@lists.openembedded.org>
2026-03-13  2:30             ` Changqing Li
     [not found]       ` <18976046C73DA293.1454197@lists.openembedded.org>
2026-02-25  4:39         ` Changqing Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox