[oe] [meta-oe][master-next][PATCH] source-han-sans-*-fonts: move common part to .inc file

2024-05-23 Thread Martin Jansa
* only SUMMARY, ZIPNAME and SRC_URI checksums are different
* rename the .conf file to match BPN to simplify even more

Signed-off-by: Martin Jansa 
---
 conf => 44-source-han-sans-cn-fonts.conf} |  0
 .../source-han-sans-cn-fonts_2.004.bb | 29 ++
 .../ttf-fonts/source-han-sans-fonts.inc   | 26 
 conf => 44-source-han-sans-jp-fonts.conf} |  0
 .../source-han-sans-jp-fonts_2.004.bb | 29 ++
 conf => 44-source-han-sans-kr-fonts.conf} |  0
 .../source-han-sans-kr-fonts_2.004.bb | 30 ++-
 conf => 44-source-han-sans-tw-fonts.conf} |  0
 .../source-han-sans-tw-fonts_2.004.bb | 30 ++-
 9 files changed, 34 insertions(+), 110 deletions(-)
 rename 
meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts/{44-source-han-sans-cn.conf
 => 44-source-han-sans-cn-fonts.conf} (100%)
 create mode 100644 meta-oe/recipes-graphics/ttf-fonts/source-han-sans-fonts.inc
 rename 
meta-oe/recipes-graphics/ttf-fonts/source-han-sans-jp-fonts/{44-source-han-sans-jp.conf
 => 44-source-han-sans-jp-fonts.conf} (100%)
 rename 
meta-oe/recipes-graphics/ttf-fonts/source-han-sans-kr-fonts/{44-source-han-sans-kr.conf
 => 44-source-han-sans-kr-fonts.conf} (100%)
 rename 
meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts/{44-source-han-sans-tw.conf
 => 44-source-han-sans-tw-fonts.conf} (100%)

diff --git 
a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts/44-source-han-sans-cn.conf
 
b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts/44-source-han-sans-cn-fonts.conf
similarity index 100%
rename from 
meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts/44-source-han-sans-cn.conf
rename to 
meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts/44-source-han-sans-cn-fonts.conf
diff --git 
a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts_2.004.bb 
b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts_2.004.bb
index 0eeae9c2ee..c46952cce0 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts_2.004.bb
+++ b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts_2.004.bb
@@ -1,31 +1,6 @@
-require ttf.inc
+require source-han-sans-fonts.inc
 
 SUMMARY = "Adobe OpenType Pan-CJK font family for Simplified Chinese"
-HOMEPAGE = "https://github.com/adobe-fonts/source-han-sans;
-LICENSE = "OFL-1.1"
-LIC_FILES_CHKSUM = 
"file://${COMMON_LICENSE_DIR}/${LICENSE};md5=fac3a519e5e9eb96316656e0ca4f2b90"
+ZIPNAME = "SourceHanSansCN"
 
-inherit allarch fontcache
-
-# Download tends to break - so - or not?
-#EXCLUDE_FROM_WORLD = "1"
-
-SRC_URI = " \
-
https://github.com/adobe-fonts/source-han-sans/releases/download/2.004R/SourceHanSansCN.zip;subdir=${BP};downloadfilename=${BP}.zip
 \
-file://44-source-han-sans-cn.conf \
-"
 SRC_URI[sha256sum] = 
"6841fc13f1c0d255cfeb33d2a2c68d24bbebd94ae2c070347a2b2b200a1db4d6"
-
-do_install() {
-install -d ${D}${sysconfdir}/fonts/conf.d/
-install -m 0644 ${UNPACKDIR}/44-source-han-sans-cn.conf 
${D}${sysconfdir}/fonts/conf.d/
-
-install -d ${D}${datadir}/fonts/truetype/
-find ./ -name '*.otf' -exec install -m 0644 {} 
${D}${datadir}/fonts/truetype/ \;
-}
-
-FILES:${PN} = " \
-${sysconfdir}/fonts \
-${datadir}/fonts \
-"
-
diff --git a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-fonts.inc 
b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-fonts.inc
new file mode 100644
index 00..03ca4c0902
--- /dev/null
+++ b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-fonts.inc
@@ -0,0 +1,26 @@
+require ttf.inc
+
+HOMEPAGE = "https://github.com/adobe-fonts/source-han-sans;
+LICENSE = "OFL-1.1"
+LIC_FILES_CHKSUM = 
"file://${COMMON_LICENSE_DIR}/${LICENSE};md5=fac3a519e5e9eb96316656e0ca4f2b90"
+
+inherit allarch fontcache
+
+SRC_URI = " \
+
https://github.com/adobe-fonts/source-han-sans/releases/download/${PV}R/${ZIPNAME}.zip;subdir=${BP};downloadfilename=${BP}.zip
 \
+file://44-${BPN}.conf \
+"
+
+do_install() {
+install -d ${D}${sysconfdir}/fonts/conf.d/
+install -m 0644 ${UNPACKDIR}/44-${BPN}.conf ${D}${sysconfdir}/fonts/conf.d/
+
+install -d ${D}${datadir}/fonts/truetype/
+find ./ -name '*.otf' -exec install -m 0644 {} 
${D}${datadir}/fonts/truetype/ \;
+}
+
+FILES:${PN} = " \
+${sysconfdir}/fonts \
+${datadir}/fonts \
+"
+
diff --git 
a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-jp-fonts/44-source-han-sans-jp.conf
 
b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-jp-fonts/44-source-han-sans-jp-fonts.conf
similarity index 100%
rename from 
meta-oe/recipes-graphics/ttf-fonts/source-han-sans-jp-fonts/44-source-han-sans-jp.conf
rename to 
meta-oe/recipes-graphics/ttf-fonts/source-han-sans-jp-fonts/44-source-han-sans-jp-fonts.conf
diff --git 
a/meta-oe/recipes-graphics/ttf-fonts/s

Re: [oe] [meta-oe][PATCH v2] source-han-sans-*-fonts: rename downloaded files in SRC_URI

2024-05-23 Thread Martin Jansa
Thanks looks better, it can be simplified further, see:
https://git.openembedded.org/meta-openembedded-contrib/commit/?h=jansa/master=80fdbf37b3252ed263091fafe6a156655f1a89fb

Please review and if you agree with it, I'll test it and send it for
master-next.

Notice that there is inconsistent use of UNPACKDIR in these recipes
(from master-next) so this will allow us to clean it up a bit in
single .inc file.

On Thu, May 23, 2024 at 10:31 AM Alexandre Truong via
lists.openembedded.org
 wrote:
>
> In commit [0], we've switched away from SVN fetcher in SRC_URI.
> The archives downloaded are named SourceHanSans*.zip
> They are named this way regardless of the version 1.004 or 2.004.
> So when the new archives checksums are tested, the fetcher will
> look for the old archives with the same name in the DL_DIR.
> From [1], there are checksum failures due to given checksums not
> matching the ones in DL_DIR. Thus, downloaded archives are renamed
> following their package name and version.
>
> [0]: 
> https://git.openembedded.org/meta-openembedded/commit/?id=36a1e36e1272ca50e5dba0c4cf25ee3ff8b8f1c9
> [1]: 
> https://autobuilder.yoctoproject.org/typhoon/#/builders/156/builds/367/steps/16/logs/errors
>
> Signed-off-by: Alexandre Truong 
> Reviewed-by: Yoann Congal 
> ---
>  .../ttf-fonts/source-han-sans-cn-fonts_2.004.bb | 2 +-
>  .../ttf-fonts/source-han-sans-jp-fonts_2.004.bb | 2 +-
>  .../ttf-fonts/source-han-sans-kr-fonts_2.004.bb | 2 +-
>  .../ttf-fonts/source-han-sans-tw-fonts_2.004.bb | 2 +-
>  4 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git 
> a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts_2.004.bb 
> b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts_2.004.bb
> index 391d46557..db4ff4269 100644
> --- a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts_2.004.bb
> +++ b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts_2.004.bb
> @@ -11,7 +11,7 @@ inherit allarch fontcache
>  #EXCLUDE_FROM_WORLD = "1"
>
>  SRC_URI = " \
> -
> https://github.com/adobe-fonts/source-han-sans/releases/download/2.004R/SourceHanSansCN.zip;subdir=${BP}
>  \
> +
> https://github.com/adobe-fonts/source-han-sans/releases/download/2.004R/SourceHanSansCN.zip;subdir=${BP};downloadfilename=${BP}.zip
>  \
>  file://44-source-han-sans-cn.conf \
>  "
>  SRC_URI[sha256sum] = 
> "6841fc13f1c0d255cfeb33d2a2c68d24bbebd94ae2c070347a2b2b200a1db4d6"
> diff --git 
> a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-jp-fonts_2.004.bb 
> b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-jp-fonts_2.004.bb
> index f940478a8..7ece51128 100644
> --- a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-jp-fonts_2.004.bb
> +++ b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-jp-fonts_2.004.bb
> @@ -11,7 +11,7 @@ inherit allarch fontcache
>  #EXCLUDE_FROM_WORLD = "1"
>
>  SRC_URI = " \
> -
> https://github.com/adobe-fonts/source-han-sans/releases/download/2.004R/SourceHanSansJP.zip;subdir=${BP}
>  \
> +
> https://github.com/adobe-fonts/source-han-sans/releases/download/2.004R/SourceHanSansJP.zip;subdir=${BP};downloadfilename=${BP}.zip
>  \
>  file://44-source-han-sans-jp.conf \
>  "
>  SRC_URI[sha256sum] = 
> "1ae9f62ad620d686c4a049ce25cf54e3afd8fefc954a678c644cf9802750c17e"
> diff --git 
> a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-kr-fonts_2.004.bb 
> b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-kr-fonts_2.004.bb
> index f536d1b61..0cbe438ef 100644
> --- a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-kr-fonts_2.004.bb
> +++ b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-kr-fonts_2.004.bb
> @@ -11,7 +11,7 @@ inherit allarch fontcache
>  #EXCLUDE_FROM_WORLD = "1"
>
>  SRC_URI = " \
> -
> https://github.com/adobe-fonts/source-han-sans/releases/download/2.004R/SourceHanSansKR.zip;subdir=${BP}
>  \
> +
> https://github.com/adobe-fonts/source-han-sans/releases/download/2.004R/SourceHanSansKR.zip;subdir=${BP};downloadfilename=${BP}.zip
>  \
>  file://44-source-han-sans-kr.conf \
>  "
>  SRC_URI[sha256sum] = 
> "02fe28a48c6381c49d61c27a1b173c77f0e6f2b9f2b68e79f076f10a6a8f4bfe"
> diff --git 
> a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts_2.004.bb 
> b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts_2.004.bb
> index 0a4aff5e3..3b4eeb271 100644
> --- a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts_2.004.bb
> +++ b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts_2.004.bb
> @@ -11,7 +11,7 @@ inherit allarch fontcache
>  #EXCLUDE_FROM_WORLD = "1"
>
>  SRC_URI = " \
> -
> https://github.com/adobe-fonts/source-han-sans/releases/download/2.004R/SourceHanSansTW.zip;subdir=${BP}
>  \
> +
> https://github.com/adobe-fonts/source-han-sans/releases/download/2.004R/SourceHanSansTW.zip;subdir=${BP};downloadfilename=${BP}.zip
>  \
>  file://44-source-han-sans-tw.conf \
>  "
>  SRC_URI[sha256sum] = 
> 

Re: [oe] [meta-oe][PATCH] source-han-sans-*-fonts: rename downloaded files in SRC_URI

2024-05-23 Thread Martin Jansa
I think you can use ${BP} for downloafilename.

On Thu, May 23, 2024 at 9:51 AM Alexandre Truong via
lists.openembedded.org
 wrote:
>
> In commit [0], we've switched away from SVN fetcher in SRC_URI.
> The archives downloaded are named SourceHanSans*.zip
> They are named this way regardless of the version 1.004 or 2.004.
> So when the new archives checksums are tested, the fetcher will
> look for the old archives with the same name in the DL_DIR.
> From [1], there are checksum failures due to given checksums not
> matching the ones in DL_DIR. Thus, downloaded archives are renamed
> by adding ${PV} in archive name.
>
> [0]: 
> https://git.openembedded.org/meta-openembedded/commit/?id=36a1e36e1272ca50e5dba0c4cf25ee3ff8b8f1c9
> [1]: 
> https://autobuilder.yoctoproject.org/typhoon/#/builders/156/builds/367/steps/16/logs/errors
>
> Signed-off-by: Alexandre Truong 
> Reviewed-by: Yoann Congal 
> ---
>  .../ttf-fonts/source-han-sans-cn-fonts_2.004.bb | 2 +-
>  .../ttf-fonts/source-han-sans-jp-fonts_2.004.bb | 2 +-
>  .../ttf-fonts/source-han-sans-kr-fonts_2.004.bb | 2 +-
>  .../ttf-fonts/source-han-sans-tw-fonts_2.004.bb | 2 +-
>  4 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git 
> a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts_2.004.bb 
> b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts_2.004.bb
> index 391d46557..f6e1a4c6d 100644
> --- a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts_2.004.bb
> +++ b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts_2.004.bb
> @@ -11,7 +11,7 @@ inherit allarch fontcache
>  #EXCLUDE_FROM_WORLD = "1"
>
>  SRC_URI = " \
> -
> https://github.com/adobe-fonts/source-han-sans/releases/download/2.004R/SourceHanSansCN.zip;subdir=${BP}
>  \
> +
> https://github.com/adobe-fonts/source-han-sans/releases/download/2.004R/SourceHanSansCN.zip;subdir=${BP};downloadfilename=source-han-sans-cn-fonts-${PV}.zip
>  \
>  file://44-source-han-sans-cn.conf \
>  "
>  SRC_URI[sha256sum] = 
> "6841fc13f1c0d255cfeb33d2a2c68d24bbebd94ae2c070347a2b2b200a1db4d6"
> diff --git 
> a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-jp-fonts_2.004.bb 
> b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-jp-fonts_2.004.bb
> index f940478a8..9e18921d6 100644
> --- a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-jp-fonts_2.004.bb
> +++ b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-jp-fonts_2.004.bb
> @@ -11,7 +11,7 @@ inherit allarch fontcache
>  #EXCLUDE_FROM_WORLD = "1"
>
>  SRC_URI = " \
> -
> https://github.com/adobe-fonts/source-han-sans/releases/download/2.004R/SourceHanSansJP.zip;subdir=${BP}
>  \
> +
> https://github.com/adobe-fonts/source-han-sans/releases/download/2.004R/SourceHanSansJP.zip;subdir=${BP};downloadfilename=source-han-sans-jp-fonts-${PV}.zip
>  \
>  file://44-source-han-sans-jp.conf \
>  "
>  SRC_URI[sha256sum] = 
> "1ae9f62ad620d686c4a049ce25cf54e3afd8fefc954a678c644cf9802750c17e"
> diff --git 
> a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-kr-fonts_2.004.bb 
> b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-kr-fonts_2.004.bb
> index f536d1b61..2b79cd762 100644
> --- a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-kr-fonts_2.004.bb
> +++ b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-kr-fonts_2.004.bb
> @@ -11,7 +11,7 @@ inherit allarch fontcache
>  #EXCLUDE_FROM_WORLD = "1"
>
>  SRC_URI = " \
> -
> https://github.com/adobe-fonts/source-han-sans/releases/download/2.004R/SourceHanSansKR.zip;subdir=${BP}
>  \
> +
> https://github.com/adobe-fonts/source-han-sans/releases/download/2.004R/SourceHanSansKR.zip;subdir=${BP};downloadfilename=source-han-sans-kr-fonts-${PV}.zip
>  \
>  file://44-source-han-sans-kr.conf \
>  "
>  SRC_URI[sha256sum] = 
> "02fe28a48c6381c49d61c27a1b173c77f0e6f2b9f2b68e79f076f10a6a8f4bfe"
> diff --git 
> a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts_2.004.bb 
> b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts_2.004.bb
> index 0a4aff5e3..303edf3b6 100644
> --- a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts_2.004.bb
> +++ b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts_2.004.bb
> @@ -11,7 +11,7 @@ inherit allarch fontcache
>  #EXCLUDE_FROM_WORLD = "1"
>
>  SRC_URI = " \
> -
> https://github.com/adobe-fonts/source-han-sans/releases/download/2.004R/SourceHanSansTW.zip;subdir=${BP}
>  \
> +
> https://github.com/adobe-fonts/source-han-sans/releases/download/2.004R/SourceHanSansTW.zip;subdir=${BP};downloadfilename=source-han-sans-tw-fonts-${PV}.zip
>  \
>  file://44-source-han-sans-tw.conf \
>  "
>  SRC_URI[sha256sum] = 
> "11d78c8fbc1a4bb04a453cdd65c99db8d41ec5cd6ba6d68c8638e6ba170de806"
> --
> 2.34.1
>
>
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110497): 
https://lists.openembedded.org/g/openembedded-devel/message/110497
Mute This Topic: 

[oe] [meta-oe][PATCH] nodejs-oe-cache-native: use UNPACKDIR

2024-05-22 Thread Martin Jansa
* oe-npm-cache is now in UNPACKDIR not WORKDIR
* fixes:
  http://errors.yoctoproject.org/Errors/Details/771012/
  
/OE/build/oe-core/tmp-glibc/work/x86_64-linux/nodejs-oe-cache-native/20.13/temp/run.do_configure.1268826:
 line 142: 
/OE/build/oe-core/tmp-glibc/work/x86_64-linux/nodejs-oe-cache-native/20.13/oe-npm-cache:
 No such file or directory

* set S and UNPACKDIR to avoid this as well:
  WARNING: nodejs-oe-cache-native-20.13-r0 do_unpack: nodejs-oe-cache-native: 
the directory ${WORKDIR}/${BP} 
(/OE/build/oe-core/tmp-glibc/work/x86_64-linux/nodejs-oe-cache-native/20.13/nodejs-oe-cache-20.13)
 pointed to by the S variable doesn't exist - please set S within the recipe to 
point to where the source has been unpacked to

Signed-off-by: Martin Jansa 
---
 .../recipes-devtools/nodejs/nodejs-oe-cache-native_20.13.bb  | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_20.13.bb 
b/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_20.13.bb
index a61dd5018f..d4b818f967 100644
--- a/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_20.13.bb
+++ b/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_20.13.bb
@@ -8,10 +8,13 @@ SRC_URI = "\
 
 inherit native
 
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
+
 B = "${WORKDIR}/build"
 
 do_configure() {
-sed -e 's!@@libdir@@!${libdir}!g' < '${WORKDIR}/oe-npm-cache' > 
'${B}/oe-npm-cache'
+sed -e 's!@@libdir@@!${libdir}!g' < '${UNPACKDIR}/oe-npm-cache' > 
'${B}/oe-npm-cache'
 }
 
 do_install() {
-- 
2.45.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110491): 
https://lists.openembedded.org/g/openembedded-devel/message/110491
Mute This Topic: https://lists.openembedded.org/mt/106252386/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-oe][PATCH v2] source-han-sans-*-fonts: fix SRC_URI

2024-05-18 Thread Martin Jansa
On Fri, May 17, 2024 at 3:07 PM Alexandre Truong via
lists.openembedded.org
 wrote:
>
> We get fetch errors from the SRC_URI provided. See errors at [0].
> svn protocol was used but it's deprecated.

For the record the svn protocol itself isn't deprecated in bitbake
fetcher, just github no longer provides a svn access as mentioned in:
https://git.openembedded.org/bitbake/commit/?h=master=a735898abcf056f897c9350bb128a5637e6b4617

* github no longer provides support for subversion clients:
https://docs.github.com/en/enterprise-server@3.11/get-started/working-with-subversion-on-github/support-for-subversion-clients
it was shut down on 2024-01-08:
https://github.blog/2023-01-20-sunsetting-subversion-support/

> So, a http url will be passed instead.
>
> The sha256sum has also been changed since the previous one was
> for the 1.004 release's archive, while we are on 2.004.
>
> [0]: 
> https://autobuilder.yoctoproject.org/typhoon/#/builders/156/builds/353/steps/16/logs/errors
>
> Signed-off-by: Alexandre Truong 
> Reviewed-by: Yoann Congal 
> ---
>  .../ttf-fonts/source-han-sans-cn-fonts_2.004.bb| 7 ++-
>  .../ttf-fonts/source-han-sans-jp-fonts_2.004.bb| 7 ++-
>  .../ttf-fonts/source-han-sans-kr-fonts_2.004.bb| 7 ++-
>  .../ttf-fonts/source-han-sans-tw-fonts_2.004.bb| 7 ++-
>  4 files changed, 8 insertions(+), 20 deletions(-)
>
> diff --git 
> a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts_2.004.bb 
> b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts_2.004.bb
> index b4a598527..391d46557 100644
> --- a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts_2.004.bb
> +++ b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts_2.004.bb
> @@ -11,13 +11,10 @@ inherit allarch fontcache
>  #EXCLUDE_FROM_WORLD = "1"
>
>  SRC_URI = " \
> -
> svn://github.com/adobe-fonts/source-han-sans;module=branches/release/SubsetOTF/CN;protocol=http;rev=82
>  \
> +
> https://github.com/adobe-fonts/source-han-sans/releases/download/2.004R/SourceHanSansCN.zip;subdir=${BP}
>  \
>  file://44-source-han-sans-cn.conf \
>  "
> -SRC_URI[md5sum] = "d16abc21f6575bb08894efedbed484a2"
> -SRC_URI[sha256sum] = 
> "0a0e1d8e52833bc352d454d8242da03b82c0efc41323fb66f7435e5b39734a4f"
> -
> -S = "${WORKDIR}/SourceHanSansCN"
> +SRC_URI[sha256sum] = 
> "6841fc13f1c0d255cfeb33d2a2c68d24bbebd94ae2c070347a2b2b200a1db4d6"
>
>  do_install() {
>  install -d ${D}${sysconfdir}/fonts/conf.d/
> diff --git 
> a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-jp-fonts_2.004.bb 
> b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-jp-fonts_2.004.bb
> index 6a4509048..f940478a8 100644
> --- a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-jp-fonts_2.004.bb
> +++ b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-jp-fonts_2.004.bb
> @@ -11,13 +11,10 @@ inherit allarch fontcache
>  #EXCLUDE_FROM_WORLD = "1"
>
>  SRC_URI = " \
> -
> svn://github.com/adobe-fonts/source-han-sans;module=branches/release/SubsetOTF/JP;protocol=http;rev=82
>  \
> +
> https://github.com/adobe-fonts/source-han-sans/releases/download/2.004R/SourceHanSansJP.zip;subdir=${BP}
>  \
>  file://44-source-han-sans-jp.conf \
>  "
> -SRC_URI[md5sum] = "908fbf97f3df04a6838708c093f1e900"
> -SRC_URI[sha256sum] = 
> "dc6dbae3fba35f220bac88ba7130b826c7efe1282f472788fae3628b79be3f54"
> -
> -S = "${WORKDIR}/SourceHanSansJP"
> +SRC_URI[sha256sum] = 
> "1ae9f62ad620d686c4a049ce25cf54e3afd8fefc954a678c644cf9802750c17e"
>
>  do_install() {
>  install -d ${D}${sysconfdir}/fonts/conf.d/
> diff --git 
> a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-kr-fonts_2.004.bb 
> b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-kr-fonts_2.004.bb
> index 5ab5057d8..f536d1b61 100644
> --- a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-kr-fonts_2.004.bb
> +++ b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-kr-fonts_2.004.bb
> @@ -11,13 +11,10 @@ inherit allarch fontcache
>  #EXCLUDE_FROM_WORLD = "1"
>
>  SRC_URI = " \
> -
> svn://github.com/adobe-fonts/source-han-sans;module=branches/release/SubsetOTF/TW;protocol=http;rev=82
>  \
> +
> https://github.com/adobe-fonts/source-han-sans/releases/download/2.004R/SourceHanSansKR.zip;subdir=${BP}
>  \
>  file://44-source-han-sans-kr.conf \
>  "
> -SRC_URI[md5sum] = "f8d1bd6c87d8575afdb25e2f46bd81d4"
> -SRC_URI[sha256sum] = 
> "38fd15c80f9980492faaa1af39ff873d8a38e45027023fb17d5b10d4b4b0e6af"
> -
> -S = "${WORKDIR}/SourceHanSansKR"
> +SRC_URI[sha256sum] = 
> "02fe28a48c6381c49d61c27a1b173c77f0e6f2b9f2b68e79f076f10a6a8f4bfe"
>
>  do_install() {
>  install -d ${D}${sysconfdir}/fonts/conf.d/
> diff --git 
> a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts_2.004.bb 
> b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts_2.004.bb
> index a2b3fff07..0a4aff5e3 100644
> --- a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts_2.004.bb
> +++ 

Re: [oe] [meta-oe][PATCH 1/4] source-han-sans-tw-fonts: fix url

2024-05-17 Thread Martin Jansa
S = "${WORKDIR}/${BP}"

This is the default, so you can just drop this and I would squash all
4 as it's almost the same change across 4 almost identical recipes.


On Fri, May 17, 2024 at 11:48 AM Alexandre Truong via
lists.openembedded.org
 wrote:
>
> We get fetch errors from the SRC_URI provided. svn protocol was used
> but it's deprecated. So, a http url will be passed instead.
>
> The sha256sum has also been changed since the previous one was
> for the 1.004 release's archive, while we are on 2.004.
>
> Signed-off-by: Alexandre Truong 
> Reviewed-by: Yoann Congal 
> ---
>  .../ttf-fonts/source-han-sans-tw-fonts_2.004.bb| 7 +++
>  1 file changed, 3 insertions(+), 4 deletions(-)
>
> diff --git 
> a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts_2.004.bb 
> b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts_2.004.bb
> index a2b3fff07..563bd6a47 100644
> --- a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts_2.004.bb
> +++ b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts_2.004.bb
> @@ -11,13 +11,12 @@ inherit allarch fontcache
>  #EXCLUDE_FROM_WORLD = "1"
>
>  SRC_URI = " \
> -
> svn://github.com/adobe-fonts/source-han-sans;module=branches/release/SubsetOTF/TW;protocol=http;rev=82
>  \
> +
> https://github.com/adobe-fonts/source-han-sans/releases/download/2.004R/SourceHanSansTW.zip;subdir=${BP}
>  \
>  file://44-source-han-sans-tw.conf \
>  "
> -SRC_URI[md5sum] = "6533b71b31c19e548768f0fc963202f3"
> -SRC_URI[sha256sum] = 
> "92ba161921c5cdec5a8f8d5711676f0865b50cee071c25eb4bd4125b5af59fd0"
> +SRC_URI[sha256sum] = 
> "11d78c8fbc1a4bb04a453cdd65c99db8d41ec5cd6ba6d68c8638e6ba170de806"
>
> -S = "${WORKDIR}/SourceHanSansTW"
> +S = "${WORKDIR}/${BP}"
>
>  do_install() {
>  install -d ${D}${sysconfdir}/fonts/conf.d/
> --
> 2.34.1
>
>
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110428): 
https://lists.openembedded.org/g/openembedded-devel/message/110428
Mute This Topic: https://lists.openembedded.org/mt/106150787/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-oe][PATCHv2] freerdp: fix build with gcc-14

2024-05-14 Thread Martin Jansa
* bump SRCREV to get more gcc-14 fixes already merged upstream:

$ git log --oneline 2.11.7..origin/stable-2.0
efa899d3d (HEAD -> stable-2.0, origin/stable-2.0) Merge pull request #10172 
from AlessandroBono/wip/abono/incompatible-pointer
7894a7dfc redirection: Fix incompatible pointer type
f3ed1f1ac redirection: Fix incompatible pointer type
4f411197d info: Fix incompatible pointer type
a383740a2 next-dev-2.11.8-dev

* fixes:
  http://errors.yoctoproject.org/Errors/Details/766906/
  freerdp/2.11.2/git/libfreerdp/core/redirection.c:91:31: error: passing 
argument 1 of 'redirection_free_data' from incompatible pointer type 
[-Wincompatible-pointer-types]
  freerdp/2.11.2/git/libfreerdp/core/redirection.c:112:31: error: assignment to 
'BYTE **' {aka 'unsigned char **'} from incompatible pointer type 'char **' 
[-Wincompatible-pointer-types]
  freerdp/2.11.2/git/libfreerdp/core/redirection.c:139:38: error: passing 
argument 1 of 'redirection_copy_data' from incompatible pointer type 
[-Wincompatible-pointer-types]
  freerdp/2.11.2/git/libfreerdp/core/info.c:88:39: error: initialization of 
'const WCHAR *' {aka 'const short unsigned int *'} from incompatible pointer 
type 'BYTE *' {aka 'unsigned char *'} [-Wincompatible-pointer-types]

  and backport one commit from master to fix:
  git/channels/ainput/server/ainput_main.c:225:83: error: passing argument 3 of 
'WTSVirtualChannelQuery' from incompatible pointer type 
[-Wincompatible-pointer-types]
  git/channels/ainput/server/ainput_main.c:419:36: error: passing argument 1 of 
'ainput_server_context_free' from incompatible pointer type 
[-Wincompatible-pointer-types]
  git/channels/ainput/server/ainput_main.c:542:100: error: passing argument 3 
of 'WTSVirtualChannelQuery' from incompatible pointer type 
[-Wincompatible-pointer-types]

Signed-off-by: Martin Jansa 
---
 ...mpilation-warnings-in-ainput-channel.patch | 72 +++
 .../recipes-support/freerdp/freerdp_2.11.7.bb |  3 +-
 2 files changed, 74 insertions(+), 1 deletion(-)
 create mode 100644 
meta-oe/recipes-support/freerdp/freerdp/0001-Fixed-compilation-warnings-in-ainput-channel.patch

diff --git 
a/meta-oe/recipes-support/freerdp/freerdp/0001-Fixed-compilation-warnings-in-ainput-channel.patch
 
b/meta-oe/recipes-support/freerdp/freerdp/0001-Fixed-compilation-warnings-in-ainput-channel.patch
new file mode 100644
index 00..62600cddab
--- /dev/null
+++ 
b/meta-oe/recipes-support/freerdp/freerdp/0001-Fixed-compilation-warnings-in-ainput-channel.patch
@@ -0,0 +1,72 @@
+From 130094de3244d5039e463e1142e1ec487c1104ef Mon Sep 17 00:00:00 2001
+From: Armin Novak 
+Date: Tue, 22 Feb 2022 12:05:08 +0100
+Subject: [PATCH] Fixed compilation warnings in ainput channel
+
+Upstream-Status: Backport [130094de3 Fixed compilation warnings in ainput 
channel]
+Signed-off-by: Martin Jansa 
+---
+ channels/ainput/server/ainput_main.c | 18 --
+ 1 file changed, 12 insertions(+), 6 deletions(-)
+
+diff --git a/channels/ainput/server/ainput_main.c 
b/channels/ainput/server/ainput_main.c
+index bc1737ee1..17d2ec681 100644
+--- a/channels/ainput/server/ainput_main.c
 b/channels/ainput/server/ainput_main.c
+@@ -192,7 +192,7 @@ static UINT ainput_server_recv_mouse_event(ainput_server* 
ainput, wStream* s)
+ 
+ static HANDLE ainput_server_get_channel_handle(ainput_server* ainput)
+ {
+-  BYTE* buffer = NULL;
++  void* buffer = NULL;
+   DWORD BytesReturned = 0;
+   HANDLE ChannelEvent = NULL;
+ 
+@@ -389,7 +389,7 @@ ainput_server_context* ainput_server_context_new(HANDLE 
vcm)
+   goto fail;
+   return >context;
+ fail:
+-  ainput_server_context_free(ainput);
++  ainput_server_context_free(>context);
+   return NULL;
+ }
+ 
+@@ -496,17 +496,23 @@ UINT 
ainput_server_context_poll_int(ainput_server_context* context)
+   break;
+   case AINPUT_OPENED:
+   {
+-  BYTE* buffer = NULL;
++  union
++  {
++  BYTE* pb;
++  void* pv;
++  } buffer;
+   DWORD BytesReturned = 0;
+ 
+-  if (WTSVirtualChannelQuery(ainput->ainput_channel, 
WTSVirtualChannelReady, ,
++  buffer.pv = NULL;
++
++  if (WTSVirtualChannelQuery(ainput->ainput_channel, 
WTSVirtualChannelReady, ,
+  ) != TRUE)
+   {
+   WLog_ERR(TAG, "WTSVirtualChannelReady failed,");
+   }
+   else
+   {
+-  if (*buffer != 0)
++  if (*buffer.pb != 0)
+   {
+   error = 
ainput_server_send_version(ainput);
+   if (error)

[oe] [meta-oe][PATCH] freerdp: fix build with gcc-14

2024-05-14 Thread Martin Jansa
* bump SRCREV to get more gcc-14 fixes already merged upstream:

$ git log --oneline 2.11.7..origin/stable-2.0
efa899d3d (HEAD -> stable-2.0, origin/stable-2.0) Merge pull request #10172 
from AlessandroBono/wip/abono/incompatible-pointer
7894a7dfc redirection: Fix incompatible pointer type
f3ed1f1ac redirection: Fix incompatible pointer type
4f411197d info: Fix incompatible pointer type
a383740a2 next-dev-2.11.8-dev

* fixes:
  http://errors.yoctoproject.org/Errors/Details/766906/
  freerdp/2.11.2/git/libfreerdp/core/redirection.c:91:31: error: passing 
argument 1 of 'redirection_free_data' from incompatible pointer type 
[-Wincompatible-pointer-types]
  freerdp/2.11.2/git/libfreerdp/core/redirection.c:112:31: error: assignment to 
'BYTE **' {aka 'unsigned char **'} from incompatible pointer type 'char **' 
[-Wincompatible-pointer-types]
  freerdp/2.11.2/git/libfreerdp/core/redirection.c:139:38: error: passing 
argument 1 of 'redirection_copy_data' from incompatible pointer type 
[-Wincompatible-pointer-types]
  freerdp/2.11.2/git/libfreerdp/core/info.c:88:39: error: initialization of 
'const WCHAR *' {aka 'const short unsigned int *'} from incompatible pointer 
type 'BYTE *' {aka 'unsigned char *'} [-Wincompatible-pointer-types]

  and backport one commit from master to fix:
  git/channels/ainput/server/ainput_main.c:225:83: error: passing argument 3 of 
'WTSVirtualChannelQuery' from incompatible pointer type 
[-Wincompatible-pointer-types]
  git/channels/ainput/server/ainput_main.c:419:36: error: passing argument 1 of 
'ainput_server_context_free' from incompatible pointer type 
[-Wincompatible-pointer-types]
  git/channels/ainput/server/ainput_main.c:542:100: error: passing argument 3 
of 'WTSVirtualChannelQuery' from incompatible pointer type 
[-Wincompatible-pointer-types]

Signed-off-by: Martin Jansa 
---
 ...mpilation-warnings-in-ainput-channel.patch | 72 +++
 .../recipes-support/freerdp/freerdp_2.11.7.bb |  5 +-
 2 files changed, 75 insertions(+), 2 deletions(-)
 create mode 100644 
meta-oe/recipes-support/freerdp/freerdp/0001-Fixed-compilation-warnings-in-ainput-channel.patch

diff --git 
a/meta-oe/recipes-support/freerdp/freerdp/0001-Fixed-compilation-warnings-in-ainput-channel.patch
 
b/meta-oe/recipes-support/freerdp/freerdp/0001-Fixed-compilation-warnings-in-ainput-channel.patch
new file mode 100644
index 00..62600cddab
--- /dev/null
+++ 
b/meta-oe/recipes-support/freerdp/freerdp/0001-Fixed-compilation-warnings-in-ainput-channel.patch
@@ -0,0 +1,72 @@
+From 130094de3244d5039e463e1142e1ec487c1104ef Mon Sep 17 00:00:00 2001
+From: Armin Novak 
+Date: Tue, 22 Feb 2022 12:05:08 +0100
+Subject: [PATCH] Fixed compilation warnings in ainput channel
+
+Upstream-Status: Backport [130094de3 Fixed compilation warnings in ainput 
channel]
+Signed-off-by: Martin Jansa 
+---
+ channels/ainput/server/ainput_main.c | 18 --
+ 1 file changed, 12 insertions(+), 6 deletions(-)
+
+diff --git a/channels/ainput/server/ainput_main.c 
b/channels/ainput/server/ainput_main.c
+index bc1737ee1..17d2ec681 100644
+--- a/channels/ainput/server/ainput_main.c
 b/channels/ainput/server/ainput_main.c
+@@ -192,7 +192,7 @@ static UINT ainput_server_recv_mouse_event(ainput_server* 
ainput, wStream* s)
+ 
+ static HANDLE ainput_server_get_channel_handle(ainput_server* ainput)
+ {
+-  BYTE* buffer = NULL;
++  void* buffer = NULL;
+   DWORD BytesReturned = 0;
+   HANDLE ChannelEvent = NULL;
+ 
+@@ -389,7 +389,7 @@ ainput_server_context* ainput_server_context_new(HANDLE 
vcm)
+   goto fail;
+   return >context;
+ fail:
+-  ainput_server_context_free(ainput);
++  ainput_server_context_free(>context);
+   return NULL;
+ }
+ 
+@@ -496,17 +496,23 @@ UINT 
ainput_server_context_poll_int(ainput_server_context* context)
+   break;
+   case AINPUT_OPENED:
+   {
+-  BYTE* buffer = NULL;
++  union
++  {
++  BYTE* pb;
++  void* pv;
++  } buffer;
+   DWORD BytesReturned = 0;
+ 
+-  if (WTSVirtualChannelQuery(ainput->ainput_channel, 
WTSVirtualChannelReady, ,
++  buffer.pv = NULL;
++
++  if (WTSVirtualChannelQuery(ainput->ainput_channel, 
WTSVirtualChannelReady, ,
+  ) != TRUE)
+   {
+   WLog_ERR(TAG, "WTSVirtualChannelReady failed,");
+   }
+   else
+   {
+-  if (*buffer != 0)
++  if (*buffer.pb != 0)
+   {
+   error = 
ainput_server_send_version(ainput);
+   if (error)

Re: [oe] [meta-oe][PATCH 1/2] freerdp: Upgrade to 2.11.7

2024-05-14 Thread Martin Jansa
I've seen it with qemux86-64 and raspberrypi4-64 last night, both in
DISTRO without x11 in DISTRO_FEATURES.

freerdp3_3.5.1 doesn't seem to have this issue, version 2 was fixed last week:
https://github.com/FreeRDP/FreeRDP/commit/4f411197dc9d2076f00748b1178a60b2423030bf

will send a backport.

On Tue, May 14, 2024 at 5:17 PM Khem Raj  wrote:
>
> On Mon, May 13, 2024 at 11:39 PM Martin Jansa  wrote:
> >
> > On Thu, May 9, 2024 at 9:25 PM Khem Raj via lists.openembedded.org
> >  wrote:
> > >
> > > Partially backport a fix to build with gcc-14
> >
> > It fixes it only partially, right?
> >
> > I'm stills seeing:
> >
> > freerdp/2.11.7/git/libfreerdp/core/info.c:88:39: error: initialization
> > of 'const WCHAR *' {aka 'const short unsigned int *'} from
> > incompatible pointer type 'BYTE *' {aka 'unsigned char *'}
> > [-Wincompatible-pointer-types]
> >88 | const WCHAR* domain = Stream_Pointer(s);
> >   |   ^~
> >
>
> Interesting, I did not encounter this, perhaps different machines maybe ?
>
> >
> > > Signed-off-by: Khem Raj 
> > > ---
> > >  .../0001-Fixed-compilation-warnings.patch | 27 +++
> > >  .../{freerdp_2.11.2.bb => freerdp_2.11.7.bb}  |  3 ++-
> > >  2 files changed, 29 insertions(+), 1 deletion(-)
> > >  create mode 100644 
> > > meta-oe/recipes-support/freerdp/freerdp/0001-Fixed-compilation-warnings.patch
> > >  rename meta-oe/recipes-support/freerdp/{freerdp_2.11.2.bb => 
> > > freerdp_2.11.7.bb} (97%)
> > >
> > > diff --git 
> > > a/meta-oe/recipes-support/freerdp/freerdp/0001-Fixed-compilation-warnings.patch
> > >  
> > > b/meta-oe/recipes-support/freerdp/freerdp/0001-Fixed-compilation-warnings.patch
> > > new file mode 100644
> > > index 00..7fae2703f8
> > > --- /dev/null
> > > +++ 
> > > b/meta-oe/recipes-support/freerdp/freerdp/0001-Fixed-compilation-warnings.patch
> > > @@ -0,0 +1,27 @@
> > > +From 75fa1fa5bd5ef2350390564245fd0984209ac092 Mon Sep 17 00:00:00 2001
> > > +From: akallabeth 
> > > +Date: Mon, 4 Jul 2022 14:34:46 +0200
> > > +Subject: [PATCH] Fixed compilation warnings
> > > +
> > > +Upstream-Status: Backport 
> > > [https://github.com/FreeRDP/FreeRDP/commit/2da280b8a1748052b70b3f5a1ef0d8e932c33adc]
> > > +Signed-off-by: Khem Raj 
> > > +---
> > > + client/X11/xf_graphics.c | 2 +-
> > > + 1 file changed, 1 insertion(+), 1 deletion(-)
> > > +
> > > +diff --git a/client/X11/xf_graphics.c b/client/X11/xf_graphics.c
> > > +index 5aa1fd48b..fe81e0ed9 100644
> > > +--- a/client/X11/xf_graphics.c
> > >  b/client/X11/xf_graphics.c
> > > +@@ -438,7 +438,7 @@ static BOOL xf_Pointer_New(rdpContext* context, 
> > > rdpPointer* pointer)
> > > +
> > > + #endif
> > > + fail:
> > > +-  WLog_DBG(TAG, "%s: %ld", __func__, rc ? pointer : -1);
> > > ++  WLog_DBG(TAG, "%s: %p", __func__, rc ? pointer : NULL);
> > > +   return rc;
> > > + }
> > > +
> > > +--
> > > +2.45.0
> > > +
> > > diff --git a/meta-oe/recipes-support/freerdp/freerdp_2.11.2.bb 
> > > b/meta-oe/recipes-support/freerdp/freerdp_2.11.7.bb
> > > similarity index 97%
> > > rename from meta-oe/recipes-support/freerdp/freerdp_2.11.2.bb
> > > rename to meta-oe/recipes-support/freerdp/freerdp_2.11.7.bb
> > > index 3319488051..43c38bf9c9 100644
> > > --- a/meta-oe/recipes-support/freerdp/freerdp_2.11.2.bb
> > > +++ b/meta-oe/recipes-support/freerdp/freerdp_2.11.7.bb
> > > @@ -13,9 +13,10 @@ inherit pkgconfig cmake gitpkgv
> > >  PE = "1"
> > >  PKGV = "${GITPKGVTAG}"
> > >
> > > -SRCREV = "a38c1be9eee39a9bc22b511fffe96e63fdf8ebe7"
> > > +SRCREV = "7f6cc93c21d7f0faad6daacca06f494f29ce882c"
> > >  SRC_URI = 
> > > "git://github.com/FreeRDP/FreeRDP.git;branch=stable-2.0;protocol=https \
> > > file://winpr-makecert-Build-with-install-RPATH.patch \
> > > +   file://0001-Fixed-compilation-warnings.patch \
> > > file://0001-Fix-const-qualifier-error.patch \
> > > file://0002-Do-not-install-tools-a-CMake-targets.patch \
> > > "
> > > --
> > > 2.45.0
> > >
> > >
> > > 
> > >

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110394): 
https://lists.openembedded.org/g/openembedded-devel/message/110394
Mute This Topic: https://lists.openembedded.org/mt/106007932/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-oe][PATCH 1/2] freerdp: Upgrade to 2.11.7

2024-05-14 Thread Martin Jansa
On Thu, May 9, 2024 at 9:25 PM Khem Raj via lists.openembedded.org
 wrote:
>
> Partially backport a fix to build with gcc-14

It fixes it only partially, right?

I'm stills seeing:

freerdp/2.11.7/git/libfreerdp/core/info.c:88:39: error: initialization
of 'const WCHAR *' {aka 'const short unsigned int *'} from
incompatible pointer type 'BYTE *' {aka 'unsigned char *'}
[-Wincompatible-pointer-types]
   88 | const WCHAR* domain = Stream_Pointer(s);
  |   ^~


> Signed-off-by: Khem Raj 
> ---
>  .../0001-Fixed-compilation-warnings.patch | 27 +++
>  .../{freerdp_2.11.2.bb => freerdp_2.11.7.bb}  |  3 ++-
>  2 files changed, 29 insertions(+), 1 deletion(-)
>  create mode 100644 
> meta-oe/recipes-support/freerdp/freerdp/0001-Fixed-compilation-warnings.patch
>  rename meta-oe/recipes-support/freerdp/{freerdp_2.11.2.bb => 
> freerdp_2.11.7.bb} (97%)
>
> diff --git 
> a/meta-oe/recipes-support/freerdp/freerdp/0001-Fixed-compilation-warnings.patch
>  
> b/meta-oe/recipes-support/freerdp/freerdp/0001-Fixed-compilation-warnings.patch
> new file mode 100644
> index 00..7fae2703f8
> --- /dev/null
> +++ 
> b/meta-oe/recipes-support/freerdp/freerdp/0001-Fixed-compilation-warnings.patch
> @@ -0,0 +1,27 @@
> +From 75fa1fa5bd5ef2350390564245fd0984209ac092 Mon Sep 17 00:00:00 2001
> +From: akallabeth 
> +Date: Mon, 4 Jul 2022 14:34:46 +0200
> +Subject: [PATCH] Fixed compilation warnings
> +
> +Upstream-Status: Backport 
> [https://github.com/FreeRDP/FreeRDP/commit/2da280b8a1748052b70b3f5a1ef0d8e932c33adc]
> +Signed-off-by: Khem Raj 
> +---
> + client/X11/xf_graphics.c | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +diff --git a/client/X11/xf_graphics.c b/client/X11/xf_graphics.c
> +index 5aa1fd48b..fe81e0ed9 100644
> +--- a/client/X11/xf_graphics.c
>  b/client/X11/xf_graphics.c
> +@@ -438,7 +438,7 @@ static BOOL xf_Pointer_New(rdpContext* context, 
> rdpPointer* pointer)
> +
> + #endif
> + fail:
> +-  WLog_DBG(TAG, "%s: %ld", __func__, rc ? pointer : -1);
> ++  WLog_DBG(TAG, "%s: %p", __func__, rc ? pointer : NULL);
> +   return rc;
> + }
> +
> +--
> +2.45.0
> +
> diff --git a/meta-oe/recipes-support/freerdp/freerdp_2.11.2.bb 
> b/meta-oe/recipes-support/freerdp/freerdp_2.11.7.bb
> similarity index 97%
> rename from meta-oe/recipes-support/freerdp/freerdp_2.11.2.bb
> rename to meta-oe/recipes-support/freerdp/freerdp_2.11.7.bb
> index 3319488051..43c38bf9c9 100644
> --- a/meta-oe/recipes-support/freerdp/freerdp_2.11.2.bb
> +++ b/meta-oe/recipes-support/freerdp/freerdp_2.11.7.bb
> @@ -13,9 +13,10 @@ inherit pkgconfig cmake gitpkgv
>  PE = "1"
>  PKGV = "${GITPKGVTAG}"
>
> -SRCREV = "a38c1be9eee39a9bc22b511fffe96e63fdf8ebe7"
> +SRCREV = "7f6cc93c21d7f0faad6daacca06f494f29ce882c"
>  SRC_URI = 
> "git://github.com/FreeRDP/FreeRDP.git;branch=stable-2.0;protocol=https \
> file://winpr-makecert-Build-with-install-RPATH.patch \
> +   file://0001-Fixed-compilation-warnings.patch \
> file://0001-Fix-const-qualifier-error.patch \
> file://0002-Do-not-install-tools-a-CMake-targets.patch \
> "
> --
> 2.45.0
>
>
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110347): 
https://lists.openembedded.org/g/openembedded-devel/message/110347
Mute This Topic: https://lists.openembedded.org/mt/106007932/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-oe][PATCH 1/2] malcontent-ui: add malcontent to RDEPENDS

2024-05-13 Thread Martin Jansa
If libmalcontent-ui-1.so.1 links with libmalcontent-0.so.0 then this
should be build-time DEPENDS (and then shlibs code in do_package will
automatically add malcontent to RDEPENDS.

On Mon, May 13, 2024 at 10:07 PM Markus Volk via
lists.openembedded.org 
wrote:
>
> This fixes:
> ERROR: malcontent-ui-0.12.0-r0 do_package_qa: QA Issue: 
> /usr/lib/libmalcontent-ui-1.so.1
> contained in package malcontent-ui requires libmalcontent-0.so.0()(64bit), 
> but no providers
> found in RDEPENDS:malcontent-ui? [file-rdeps]
>
> Signed-off-by: Markus Volk 
> ---
>  meta-oe/recipes-gnome/malcontent/malcontent-ui_0.12.0.bb | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/meta-oe/recipes-gnome/malcontent/malcontent-ui_0.12.0.bb 
> b/meta-oe/recipes-gnome/malcontent/malcontent-ui_0.12.0.bb
> index 4ff16a82d..f64f69a78 100644
> --- a/meta-oe/recipes-gnome/malcontent/malcontent-ui_0.12.0.bb
> +++ b/meta-oe/recipes-gnome/malcontent/malcontent-ui_0.12.0.bb
> @@ -48,3 +48,5 @@ do_install() {
>
>  FILES:${PN} = "${bindir} ${libdir} ${datadir}"
>
> +RDEPENDS:${PN} = "malcontent"
> +
> --
> 2.44.0
>
>
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110343): 
https://lists.openembedded.org/g/openembedded-devel/message/110343
Mute This Topic: https://lists.openembedded.org/mt/106081394/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] CVE checks failures for meta-oe

2024-05-08 Thread Martin Jansa
see https://lists.openembedded.org/g/openembedded-devel/message/110191
and https://github.com/openembedded/meta-openembedded/issues/817
and https://lists.openembedded.org/g/openembedded-devel/message/110196

we're just waiting for Armin to merge the fix.

On Wed, May 8, 2024 at 11:45 PM Alexandre Belloni via
lists.openembedded.org
 wrote:
>
> https://autobuilder.yoctoproject.org/typhoon/#/builders/138/builds/1612/steps/16/logs/stdio
>
> ERROR: Nothing RPROVIDES 'python3-unittest-automake-output' (but 
> /home/pokybuild/yocto-worker/metrics/build/meta-openembedded/meta-python/recipes-devtools/python/python3-pyyaml-include_1.4.1.bb
>  RDEPENDS on or otherwise requires it)
> NOTE: Runtime target 'python3-unittest-automake-output' is unbuildable, 
> removing...
> Missing or unbuildable dependency chain was: 
> ['python3-unittest-automake-output']
> ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
>
> --
> Alexandre Belloni, co-owner and COO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
>
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110280): 
https://lists.openembedded.org/g/openembedded-devel/message/110280
Mute This Topic: https://lists.openembedded.org/mt/105990476/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-python][PATCH] python3-grpcio: Fix build with gcc-14

2024-05-05 Thread Martin Jansa
* crypto: use _Generic only if !defined(__cplusplus)

* fixes build with gcc-14 which has __builtin_addc and __builtin_subc
  with gcc-13 it was already using the #else branch because of missing builtins

* fixes
  https://github.com/grpc/grpc/issues/35945
  http://errors.yoctoproject.org/Errors/Details/766916/

* _Generic was introduced in boringssl with:
  
https://boringssl.googlesource.com/boringssl/+/70ca6bc24be103dabd68e448cd3af29b929b771d%5E%21/#F4

* but e.g. third_party/boringssl-with-bazel/src/ssl/d1_both.cc includes
  this internal.h and from the .cc extension gcc will process it as C++
  where _Generic isn't available, causing:

In file included from third_party/boringssl-with-bazel/src/ssl/d1_both.cc:125:
third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h: In function 
'uint32_t CRYPTO_addc_u32(uint32_t, uint32_t, uint32_t, uint32_t*)':
third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1159:7: error: 
expected primary-expression before 'unsigned'
 1159 |   unsigned: __builtin_addc, \
  |   ^~~~
third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1166:10: note: in 
expansion of macro 'CRYPTO_GENERIC_ADDC'
 1166 |   return CRYPTO_GENERIC_ADDC(x, y, carry, out_carry);
  |  ^~~
third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1160:7: error: 
expected primary-expression before 'unsigned'
 1160 |   unsigned long: __builtin_addcl,   \
  |   ^~~~
third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1166:10: note: in 
expansion of macro 'CRYPTO_GENERIC_ADDC'
 1166 |   return CRYPTO_GENERIC_ADDC(x, y, carry, out_carry);
  |  ^~~
third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1161:7: error: 
expected primary-expression before 'unsigned'
 1161 |   unsigned long long: __builtin_addcll))((x), (y), (carry), 
(out_carry))
  |   ^~~~
third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1166:10: note: in 
expansion of macro 'CRYPTO_GENERIC_ADDC'
 1166 |   return CRYPTO_GENERIC_ADDC(x, y, carry, out_carry);
  |  ^~~
third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1158:4: error: 
'_Generic' was not declared in this scope
 1158 |   (_Generic((x),\
  |^~~~
third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1166:10: note: in 
expansion of macro 'CRYPTO_GENERIC_ADDC'
 1166 |   return CRYPTO_GENERIC_ADDC(x, y, carry, out_carry);
  |  ^~~

Signed-off-by: Martin Jansa 
---
 ..._Generic-only-if-defined-__cplusplus.patch | 74 +++
 .../python/python3-grpcio_1.62.2.bb   |  1 +
 2 files changed, 75 insertions(+)
 create mode 100644 
meta-python/recipes-devtools/python/python3-grpcio/0001-crypto-use-_Generic-only-if-defined-__cplusplus.patch

diff --git 
a/meta-python/recipes-devtools/python/python3-grpcio/0001-crypto-use-_Generic-only-if-defined-__cplusplus.patch
 
b/meta-python/recipes-devtools/python/python3-grpcio/0001-crypto-use-_Generic-only-if-defined-__cplusplus.patch
new file mode 100644
index 00..d830d92284
--- /dev/null
+++ 
b/meta-python/recipes-devtools/python/python3-grpcio/0001-crypto-use-_Generic-only-if-defined-__cplusplus.patch
@@ -0,0 +1,74 @@
+From 3359a87a71307336100b84e66b69bad385cd3cfc Mon Sep 17 00:00:00 2001
+From: Martin Jansa 
+Date: Mon, 6 May 2024 01:36:39 +0200
+Subject: [PATCH] crypto: use _Generic only if !defined(__cplusplus)
+
+* fixes build with gcc-14 which has __builtin_addc and __builtin_subc
+  with gcc-13 it was already using the #else branch because of missing builtins
+
+* fixes
+  https://github.com/grpc/grpc/issues/35945
+
+* _Generic was introduced in boringssl with:
+  
https://boringssl.googlesource.com/boringssl/+/70ca6bc24be103dabd68e448cd3af29b929b771d%5E%21/#F4
+
+* but e.g. third_party/boringssl-with-bazel/src/ssl/d1_both.cc includes
+  this internal.h and from the .cc extension gcc will process it as C++
+  where _Generic isn't available, causing:
+
+In file included from third_party/boringssl-with-bazel/src/ssl/d1_both.cc:125:
+third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h: In function 
'uint32_t CRYPTO_addc_u32(uint32_t, uint32_t, uint32_t, uint32_t*)':
+third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1159:7: error: 
expected primary-expression before 'unsigned'
+ 1159 |   unsigned: __builtin_addc, \
+  |   ^~~~
+third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1166:10: note: 
in expansion of macro 'CRYPTO_GENERIC_ADDC'
+ 1166 |   return CRYPTO_GENERIC_ADDC(x, y, carry, out_carry);
+  |  ^~~
+third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1160:7: error: 
expected primary-expression before 'unsigned'
+ 1160 |   unsigned long: __builtin_addcl

[oe] [meta-oe][PATCH] libdeflate: fix build with -mcpu=cortex-a76+crypto without -march=armv8.2-a+crypto

2024-05-04 Thread Martin Jansa
* fixes:
  https://github.com/ebiggers/libdeflate/issues/369

Signed-off-by: Martin Jansa 
---
 ...e-explicit-armv8.2-a-on-gcc-13.2-and.patch | 57 +++
 .../libdeflate/libdeflate_1.20.bb |  5 +-
 2 files changed, 60 insertions(+), 2 deletions(-)
 create mode 100644 
meta-oe/recipes-extended/libdeflate/libdeflate/0001-lib-arm-don-t-use-explicit-armv8.2-a-on-gcc-13.2-and.patch

diff --git 
a/meta-oe/recipes-extended/libdeflate/libdeflate/0001-lib-arm-don-t-use-explicit-armv8.2-a-on-gcc-13.2-and.patch
 
b/meta-oe/recipes-extended/libdeflate/libdeflate/0001-lib-arm-don-t-use-explicit-armv8.2-a-on-gcc-13.2-and.patch
new file mode 100644
index 00..e87972af27
--- /dev/null
+++ 
b/meta-oe/recipes-extended/libdeflate/libdeflate/0001-lib-arm-don-t-use-explicit-armv8.2-a-on-gcc-13.2-and.patch
@@ -0,0 +1,57 @@
+From 684ebc7f8eb44558219d4b5be52add1250b3c0ca Mon Sep 17 00:00:00 2001
+From: Eric Biggers 
+Date: Tue, 30 Apr 2024 11:27:55 -0700
+Subject: [PATCH] lib/arm: don't use explicit armv8.2-a on gcc 13.2 and later
+
+Resolves https://github.com/ebiggers/libdeflate/issues/369
+---
+Upstream-Status: Backport [https://github.com/ebiggers/libdeflate/pull/370]
+
+ lib/arm/adler32_impl.h | 10 ++
+ lib/arm/crc32_impl.h   | 10 ++
+ 2 files changed, 12 insertions(+), 8 deletions(-)
+
+diff --git a/lib/arm/adler32_impl.h b/lib/arm/adler32_impl.h
+index 6453b8e..6144afb 100644
+--- a/lib/arm/adler32_impl.h
 b/lib/arm/adler32_impl.h
+@@ -214,11 +214,13 @@ adler32_arm_neon(u32 adler, const u8 *p, size_t len)
+ #  ifdef __clang__
+ #define ATTRIBUTES_target_attribute("dotprod")
+/*
+-* With gcc, arch=armv8.2-a is needed for dotprod intrinsics, unless the
+-* default target is armv8.3-a or later in which case it must be omitted.
+-* armv8.3-a or later can be detected by checking for __ARM_FEATURE_JCVT.
++* With gcc 13.1 and earlier (before gcc commit 73d3bc348190 or 
9aac37ab8a7b,
++* "aarch64: Remove architecture dependencies from intrinsics"),
++* arch=armv8.2-a is needed for the dotprod intrinsics, unless the default
++* target is armv8.3-a or later in which case it must be omitted.  
armv8.3-a
++* or later can be detected by checking for __ARM_FEATURE_JCVT.
+ */
+-#  elif defined(__ARM_FEATURE_JCVT)
++#  elif GCC_PREREQ(13, 2) || defined(__ARM_FEATURE_JCVT)
+ #define ATTRIBUTES_target_attribute("+dotprod")
+ #  else
+ #define ATTRIBUTES_target_attribute("arch=armv8.2-a+dotprod")
+diff --git a/lib/arm/crc32_impl.h b/lib/arm/crc32_impl.h
+index 3c4bec7..5363041 100644
+--- a/lib/arm/crc32_impl.h
 b/lib/arm/crc32_impl.h
+@@ -551,11 +551,13 @@ crc32_arm_pmullx4(u32 crc, const u8 *p, size_t len)
+ #  ifdef __clang__
+ #define ATTRIBUTES_target_attribute("aes,crc,sha3")
+/*
+-* With gcc, arch=armv8.2-a is needed for the sha3 intrinsics, unless the
+-* default target is armv8.3-a or later in which case it must be omitted.
+-* armv8.3-a or later can be detected by checking for __ARM_FEATURE_JCVT.
++* With gcc 13.1 and earlier (before gcc commit 73d3bc348190 or 
9aac37ab8a7b,
++* "aarch64: Remove architecture dependencies from intrinsics"),
++* arch=armv8.2-a is needed for the sha3 intrinsics, unless the default
++* target is armv8.3-a or later in which case it must be omitted.  
armv8.3-a
++* or later can be detected by checking for __ARM_FEATURE_JCVT.
+ */
+-#  elif defined(__ARM_FEATURE_JCVT)
++#  elif GCC_PREREQ(13, 2) || defined(__ARM_FEATURE_JCVT)
+ #define ATTRIBUTES_target_attribute("+crypto,+crc,+sha3")
+ #  else
+ #define ATTRIBUTES
_target_attribute("arch=armv8.2-a+crypto+crc+sha3")
diff --git a/meta-oe/recipes-extended/libdeflate/libdeflate_1.20.bb 
b/meta-oe/recipes-extended/libdeflate/libdeflate_1.20.bb
index f0a966f2b4..e3de8aca62 100644
--- a/meta-oe/recipes-extended/libdeflate/libdeflate_1.20.bb
+++ b/meta-oe/recipes-extended/libdeflate/libdeflate_1.20.bb
@@ -6,10 +6,11 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=7b6977026437092191e9da699ed9f780"
 
 DEPENDS += "gzip zlib"
 
-SRC_URI = 
"git://github.com/ebiggers/libdeflate.git;protocol=https;branch=master"
+SRC_URI = 
"git://github.com/ebiggers/libdeflate.git;protocol=https;branch=master \
+file://0001-lib-arm-don-t-use-explicit-armv8.2-a-on-gcc-13.2-and.patch \
+"
 
 S = "${WORKDIR}/git"
 SRCREV = "275aa5141db6eda3587214e0f1d3a134768f557d"
 
 inherit cmake pkgconfig
-
-- 
2.45.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110253): 
https://lists.openembedded.org/g/openembedded-devel/message/110253
Mute This Topic: https://lists.openembedded.org/mt/105912349/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-oe][PATCH] spdlog=v1.14.1

2024-05-04 Thread Martin Jansa
Fixed compatibility issue between c++17 and c++11 (#3081).
Fixed creating folders under windows when full path with drive letter is given 
(#3079).
Added mdc sample. Note: mdc is not supported in async loggers.

* v1.14.0 introduced in:
  
https://git.openembedded.org/meta-openembedded/commit/?id=a40b1fa392d20ebb29e38374d0f7ce1494bb797f
  causes:
  undefined reference to `spdlog::get(char const*)'
  in various consumers, more details in:
  https://github.com/gabime/spdlog/issues/3081

Signed-off-by: Martin Jansa 
---
 .../spdlog/{spdlog_1.14.0.bb => spdlog_1.14.1.bb}   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-support/spdlog/{spdlog_1.14.0.bb => spdlog_1.14.1.bb} 
(91%)

diff --git a/meta-oe/recipes-support/spdlog/spdlog_1.14.0.bb 
b/meta-oe/recipes-support/spdlog/spdlog_1.14.1.bb
similarity index 91%
rename from meta-oe/recipes-support/spdlog/spdlog_1.14.0.bb
rename to meta-oe/recipes-support/spdlog/spdlog_1.14.1.bb
index aa55171f31..19bac0be89 100644
--- a/meta-oe/recipes-support/spdlog/spdlog_1.14.0.bb
+++ b/meta-oe/recipes-support/spdlog/spdlog_1.14.1.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/gabime/spdlog/wiki;
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=9573510928429ad0cbe5ba4de77546e9"
 
-SRCREV = "238c9ffa5d1a14226eeabe10c9b633ed8b8e"
+SRCREV = "27cb4c76708608465c413f6d0e6b8d99a4d84302"
 SRC_URI = "git://github.com/gabime/spdlog.git;protocol=https;branch=v1.x"
 
 DEPENDS = "fmt"
-- 
2.45.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110252): 
https://lists.openembedded.org/g/openembedded-devel/message/110252
Mute This Topic: https://lists.openembedded.org/mt/105906433/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [PATCH] nodejs-oe-cache: fix offline install of dependencies

2024-05-03 Thread Martin Jansa
On Fri, May 3, 2024 at 11:52 AM Martin Jansa via
lists.openembedded.org 
wrote:
>
> Thanks, perfect timing, I've just sent e-mail reply to nodejs upgrade
> that npm-10.5.0 upgrade broke this. Will test your change now. Thanks!

And it works for me, thanks again.

Cheers,

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110248): 
https://lists.openembedded.org/g/openembedded-devel/message/110248
Mute This Topic: https://lists.openembedded.org/mt/105884883/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [PATCH] nodejs-oe-cache: fix offline install of dependencies

2024-05-03 Thread Martin Jansa
Thanks, perfect timing, I've just sent e-mail reply to nodejs upgrade
that npm-10.5.0 upgrade broke this. Will test your change now. Thanks!

On Fri, May 3, 2024 at 11:42 AM Martin Hundeb?ll via
lists.openembedded.org 
wrote:
>
> Apparently, npm has changed its request accept header, so that cache
> lookup misses. This causes an ENOTCACHED error when doing the offline
> install in do_compile() from npm.bbclass.
>
> Fix it by updating the fake cache entry to match the newest behaviour
> from npm.
>
> Note that npm doesn't agree with itself, as it still uses the previous
> header value when doing `npm cache add `, but the new value when
> doing `npm install `.
>
> Bug submitted upstream:
> https://github.com/npm/cli/issues/7465
>
> Signed-off-by: Martin Hundebøll 
> ---
>  .../recipes-devtools/nodejs/nodejs-oe-cache-20.12/oe-npm-cache  | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git 
> a/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-20.12/oe-npm-cache 
> b/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-20.12/oe-npm-cache
> index f59620764..eb0f143ea 100755
> --- a/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-20.12/oe-npm-cache
> +++ b/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-20.12/oe-npm-cache
> @@ -30,7 +30,7 @@ const xlate = {
> time: Date.now(),
> url:  key,
> reqHeaders: {
> -   'accept': 'application/vnd.npm.install-v1+json; q=1.0, 
> application/json; q=0.8, */*',
> +   'accept': 'application/json',
> },
> resHeaders: {
> "content-type": "application/json",
> --
> 2.44.0
>
>
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110247): 
https://lists.openembedded.org/g/openembedded-devel/message/110247
Mute This Topic: https://lists.openembedded.org/mt/105884883/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe][meta-oe][PATCH 1/1] nodejs: upgrade 20.11.1 -> 20.12.2

2024-05-03 Thread Martin Jansa
Hi,

since this update I'm seeing couple of npmsw:// recipes failing with
ENOTCACHED for various dependencies, e.g.:

npm ERR! code ENOTCACHED
npm ERR! request to https://registry.npmjs.org/documentation failed:
cache mode is 'only-if-cached' but no cached response is available.
--
npm ERR! code ENOTCACHED
npm ERR! request to https://registry.npmjs.org/@babel%2feslint-plugin
failed: cache mode is 'only-if-cached' but no cached response is
available.

reverting npm upgrade from 10.3.0 to 10.5.0 from:
https://github.com/nodejs/node/commit/208dd887a5
https://github.com/nodejs/node/pull/51913
seems to fix this issue. Refreshing the shrinkwrap with 10.5.0 npm
produces identical shrinkwrap.

Is anyone else seeing this issue?

Cheers,


On Thu, Apr 25, 2024 at 10:25 AM Polampalli, Archana via
lists.openembedded.org
 wrote:
>
> From: Archana Polampalli 
>
> License-Update:
> Copyright year updated
> zlib version updated
> GN files License update
>
> https://github.com/nodejs/node/commit/b5bc597871ca701bab750c46d31ed626decd7f89
> https://github.com/nodejs/node/commit/c8233912e9fd7464898b549d6762130722bf0bf4
>
> Changelog:
> https://github.com/nodejs/node/releases/tag/v20.12.2
> https://github.com/nodejs/node/releases/tag/v20.12.1
> https://github.com/nodejs/node/releases/tag/v20.12.0
>
> Signed-off-by: Archana Polampalli 
> ---
>  .../oe-npm-cache  | 0
>  ...-cache-native_20.11.bb => nodejs-oe-cache-native_20.12.bb} | 0
>  .../nodejs/{nodejs_20.11.1.bb => nodejs_20.12.2.bb}   | 4 ++--
>  3 files changed, 2 insertions(+), 2 deletions(-)
>  rename meta-oe/recipes-devtools/nodejs/{nodejs-oe-cache-20.11 => 
> nodejs-oe-cache-20.12}/oe-npm-cache (100%)
>  rename meta-oe/recipes-devtools/nodejs/{nodejs-oe-cache-native_20.11.bb => 
> nodejs-oe-cache-native_20.12.bb} (100%)
>  rename meta-oe/recipes-devtools/nodejs/{nodejs_20.11.1.bb => 
> nodejs_20.12.2.bb} (97%)
>
> diff --git 
> a/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-20.11/oe-npm-cache 
> b/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-20.12/oe-npm-cache
> similarity index 100%
> rename from meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-20.11/oe-npm-cache
> rename to meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-20.12/oe-npm-cache
> diff --git a/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_20.11.bb 
> b/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_20.12.bb
> similarity index 100%
> rename from meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_20.11.bb
> rename to meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_20.12.bb
> diff --git a/meta-oe/recipes-devtools/nodejs/nodejs_20.11.1.bb 
> b/meta-oe/recipes-devtools/nodejs/nodejs_20.12.2.bb
> similarity index 97%
> rename from meta-oe/recipes-devtools/nodejs/nodejs_20.11.1.bb
> rename to meta-oe/recipes-devtools/nodejs/nodejs_20.12.2.bb
> index 9a61cfcf7..d86c38f2f 100644
> --- a/meta-oe/recipes-devtools/nodejs/nodejs_20.11.1.bb
> +++ b/meta-oe/recipes-devtools/nodejs/nodejs_20.12.2.bb
> @@ -1,7 +1,7 @@
>  DESCRIPTION = "nodeJS Evented I/O for V8 JavaScript"
>  HOMEPAGE = "http://nodejs.org;
>  LICENSE = "MIT & ISC & BSD-2-Clause & BSD-3-Clause & Artistic-2.0 & 
> Apache-2.0"
> -LIC_FILES_CHKSUM = "file://LICENSE;md5=78ad16dab3c1d15d4878c81770be0be7"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=9a7fcce64128730251dbc58aa41b4674"
>
>  CVE_PRODUCT = "nodejs node.js"
>
> @@ -36,7 +36,7 @@ SRC_URI:append:toolchain-clang:x86 = " \
>  SRC_URI:append:toolchain-clang:powerpc64le = " \
> file://0001-ppc64-Do-not-use-mminimal-toc-with-clang.patch \
> "
> -SRC_URI[sha256sum] = 
> "77813edbf3f7f16d2d35d3353443dee4e61d5ee84d9e3138c7538a3c0ca5209e"
> +SRC_URI[sha256sum] = 
> "d7cbcc5fbfb31e9001f3f0150bbeda59abe5dd7137aaa6273958cd59ce35ced7"
>
>  S = "${WORKDIR}/node-v${PV}"
>
> --
> 2.40.0
>
>
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110246): 
https://lists.openembedded.org/g/openembedded-devel/message/110246
Mute This Topic: https://lists.openembedded.org/mt/105726620/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-python][kirkstone][PATCH 2/3] python3-pyyaml-include: switch to pytest --automake

2024-04-30 Thread Martin Jansa
On Tue, Apr 30, 2024 at 9:28 AM Yu, Mingli  wrote:
>
>
>
> On 4/30/24 15:16, Martin Jansa 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 Wed, Mar 27, 2024 at 8:16 AM Yu, Mingli  
> > wrote:
> >>
> >> From: Tim Orling 
> >>
> >> * Also replace ${PYTHON_PN} with python3
> >>
> >> Signed-off-by: Tim Orling 
> >> Signed-off-by: Khem Raj 
> >> (cherry picked from commit 182f31a182f6572a3538b875cec7ee761e2da1e6)
> >> Signed-off-by: Mingli Yu 
> > ...
> >> diff --git 
> >> a/meta-python/recipes-devtools/python/python3-pyyaml-include_1.3.2.bb 
> >> b/meta-python/recipes-devtools/python/python3-pyyaml-include_1.3.2.bb
> >> index 9bfaa2194..3a5bd99a7 100644
> >> --- a/meta-python/recipes-devtools/python/python3-pyyaml-include_1.3.2.bb
> >> +++ b/meta-python/recipes-devtools/python/python3-pyyaml-include_1.3.2.bb
> >> @@ -2,7 +2,7 @@ SUMMARY = "Extending PyYAML with a custom constructor for 
> >> including YAML files w
> >>   HOMEPAGE = "https://github.com/tanbro/pyyaml-include;
> >>   LICENSE = "GPL-3.0-only"
> >>   LIC_FILES_CHKSUM = "file://LICENSE;md5=d32239bcb673463ab874e80d47fae504"
> >> -DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
> >> +DEPENDS += "python3-setuptools-scm-native"
> >>   SRCREV = "36b6975aa8fc7a6cbf37de40aa2ed6d996b2f7be"
> >>
> >>   SRC_URI = " \
> >> @@ -20,9 +20,10 @@ do_install_ptest() {
> >>   }
> >>
> >>   RDEPENDS:${PN} += " \
> >> -${PYTHON_PN}-pyyaml \
> >> +python3-pyyaml \
> >>   "
> >>   RDEPENDS:${PN}-ptest += " \
> >> -${PYTHON_PN}-pytest \
> >> +python3-pytest \
> >> +python3-unittest-automake-output \
> >>   "
> >
> > This was now merged to meta-oe kirkstone, but the
> > python3-unittest-automake-output isn't available in oe-core kirkstone,
> > causing:
> > ERROR: Nothing RPROVIDES 'python3-unittest-automake-output' (but
> > meta-oe/meta-python/recipes-devtools/python/python3-pyyaml-include_1.4.1.bb
> > RDEPENDS on or otherwise requires it)
> >
> > python3-unittest-automake-output was added to oe-core in mickledore:
> >
> > openembedded-core $ git log --oneline --
> > ./meta/recipes-devtools/python/python3-unittest-automake-output_0.1.bb
> > db0e82135c python3-unittest-automake-output: upgrade to 0.2
> > 961e4f3fc7 python3-unittest-automake-output: add new recipe for ptest
> > integration
> >
> > Please revert this (if the newer python3-pyyaml-include works without
> > this change) or add python3-unittest-automake-output to kirkstone as
> > well.
>
> The python3-pyyaml-include did works without
> python3-unittest-automake-output, but the python3-pyyaml-include ptest
> needs python3-unittest-automake-output and I also sent the patch to
> oe-core(kirkstone)[1].
>
> [1]
> https://lore.kernel.org/all/20240327072236.2221619-1-mingli...@windriver.com/T/#mda91919809cf156aba24f099bef65142067cd318

[1] was rejected by Steve, so what's the plan now?

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110193): 
https://lists.openembedded.org/g/openembedded-devel/message/110193
Mute This Topic: https://lists.openembedded.org/mt/105173183/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-python][kirkstone][PATCH 2/3] python3-pyyaml-include: switch to pytest --automake

2024-04-30 Thread Martin Jansa
On Wed, Mar 27, 2024 at 8:16 AM Yu, Mingli  wrote:
>
> From: Tim Orling 
>
> * Also replace ${PYTHON_PN} with python3
>
> Signed-off-by: Tim Orling 
> Signed-off-by: Khem Raj 
> (cherry picked from commit 182f31a182f6572a3538b875cec7ee761e2da1e6)
> Signed-off-by: Mingli Yu 
...
> diff --git 
> a/meta-python/recipes-devtools/python/python3-pyyaml-include_1.3.2.bb 
> b/meta-python/recipes-devtools/python/python3-pyyaml-include_1.3.2.bb
> index 9bfaa2194..3a5bd99a7 100644
> --- a/meta-python/recipes-devtools/python/python3-pyyaml-include_1.3.2.bb
> +++ b/meta-python/recipes-devtools/python/python3-pyyaml-include_1.3.2.bb
> @@ -2,7 +2,7 @@ SUMMARY = "Extending PyYAML with a custom constructor for 
> including YAML files w
>  HOMEPAGE = "https://github.com/tanbro/pyyaml-include;
>  LICENSE = "GPL-3.0-only"
>  LIC_FILES_CHKSUM = "file://LICENSE;md5=d32239bcb673463ab874e80d47fae504"
> -DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
> +DEPENDS += "python3-setuptools-scm-native"
>  SRCREV = "36b6975aa8fc7a6cbf37de40aa2ed6d996b2f7be"
>
>  SRC_URI = " \
> @@ -20,9 +20,10 @@ do_install_ptest() {
>  }
>
>  RDEPENDS:${PN} += " \
> -${PYTHON_PN}-pyyaml \
> +python3-pyyaml \
>  "
>  RDEPENDS:${PN}-ptest += " \
> -${PYTHON_PN}-pytest \
> +python3-pytest \
> +python3-unittest-automake-output \
>  "

This was now merged to meta-oe kirkstone, but the
python3-unittest-automake-output isn't available in oe-core kirkstone,
causing:
ERROR: Nothing RPROVIDES 'python3-unittest-automake-output' (but
meta-oe/meta-python/recipes-devtools/python/python3-pyyaml-include_1.4.1.bb
RDEPENDS on or otherwise requires it)

python3-unittest-automake-output was added to oe-core in mickledore:

openembedded-core $ git log --oneline --
./meta/recipes-devtools/python/python3-unittest-automake-output_0.1.bb
db0e82135c python3-unittest-automake-output: upgrade to 0.2
961e4f3fc7 python3-unittest-automake-output: add new recipe for ptest
integration

Please revert this (if the newer python3-pyyaml-include works without
this change) or add python3-unittest-automake-output to kirkstone as
well.

Cheers,

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110191): 
https://lists.openembedded.org/g/openembedded-devel/message/110191
Mute This Topic: https://lists.openembedded.org/mt/105173183/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-oe][scarthgap][master][PATCH] aravis: fix LICENSE and enable viewer PACKAGECONFIG only with GTK3DISTROFEATURES

2024-04-22 Thread Martin Jansa
* fixes:
  ERROR: Nothing PROVIDES 'gtk+3' (but 
meta-oe/meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb DEPENDS on 
or otherwise requires it)
  gtk+3 was skipped: one of 'wayland x11' needs to be in DISTRO_FEATURES

  and

  ERROR: QA Issue: Recipe LICENSE includes obsolete licenses LGPL-2.1 
[obsolete-license]

Signed-off-by: Martin Jansa 
---
 meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb 
b/meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb
index b5d7772e79..a4386e809c 100644
--- a/meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb
+++ b/meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb
@@ -6,7 +6,7 @@ DESCRIPTION = "\
 "
 AUTHOR = "Emmanuel Pacaud"
 HOMEPAGE = "https://github.com/AravisProject/aravis;
-LICENSE = "LGPL-2.1"
+LICENSE = "LGPL-2.1-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
 
 DEPENDS += "\
@@ -29,7 +29,7 @@ GIDOCGEN_MESON_DISABLE_FLAG = "disabled"
 
 inherit meson pkgconfig gi-docgen gobject-introspection
 
-PACKAGECONFIG ?= "gstreamer usb viewer"
+PACKAGECONFIG ?= "gstreamer usb ${@bb.utils.contains_any('DISTRO_FEATURES', 
'${GTK3DISTROFEATURES}', 'viewer', '', d)}"
 PACKAGECONFIG[gstreamer] = "-Dgst-plugin=enabled, 
-Dgst-plugin=disabled,gstreamer1.0 gstreamer1.0-plugins-base,"
 PACKAGECONFIG[usb] = "-Dusb=enabled, -Dusb=disabled, libusb1,"
 PACKAGECONFIG[viewer] = "-Dviewer=enabled, -Dviewer=disabled, gtk+3 
gstreamer1.0-plugins-base,"
-- 
2.44.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110083): 
https://lists.openembedded.org/g/openembedded-devel/message/110083
Mute This Topic: https://lists.openembedded.org/mt/105666399/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-multimedia][scarthgap][master][PATCH] gst-instruments: enable ui PACKAGECONFIG only with GTK3DISTROFEATURES

2024-04-22 Thread Martin Jansa
* fixes:
  ERROR: Nothing PROVIDES 'gtk+3' (but 
meta-oe/meta-multimedia/recipes-support/gst-instruments/gst-instruments_git.bb 
DEPENDS on or otherwise requires it)
  gtk+3 was skipped: one of 'wayland x11' needs to be in DISTRO_FEATURES

Signed-off-by: Martin Jansa 
---
 .../recipes-support/gst-instruments/gst-instruments_git.bb  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/meta-multimedia/recipes-support/gst-instruments/gst-instruments_git.bb 
b/meta-multimedia/recipes-support/gst-instruments/gst-instruments_git.bb
index df688bbcda..04d16ffe11 100644
--- a/meta-multimedia/recipes-support/gst-instruments/gst-instruments_git.bb
+++ b/meta-multimedia/recipes-support/gst-instruments/gst-instruments_git.bb
@@ -19,5 +19,5 @@ FILES:${PN} += "${libdir}/*"
 
 INSANE_SKIP:${PN}-dev = "dev-elf"
 
-PACKAGECONFIG ??= "ui"
+PACKAGECONFIG ??= "${@bb.utils.contains_any('DISTRO_FEATURES', 
'${GTK3DISTROFEATURES}', 'ui', '', d)}"
 PACKAGECONFIG[ui] = "-Dui=enabled,-Dui=disabled,gtk+3"
-- 
2.44.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110082): 
https://lists.openembedded.org/g/openembedded-devel/message/110082
Mute This Topic: https://lists.openembedded.org/mt/105666388/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-multimedia][PATCH] aravis: new recipe aravis is a vision library for genicam based cameras. aravis project allows to stream from genicam and GigE cameras

2024-04-22 Thread Martin Jansa
There is also:

ERROR: Nothing PROVIDES 'gtk+3' (but
meta-oe/meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb
DEPENDS on or otherwise requires it)
gtk+3 was skipped: one of 'wayland x11' needs to be in DISTRO_FEATURES

so this recipe should have REQUIRED_DISTRO_FEATURES matching gtk+3 or
enable viewer PACKAGECONFIG only when wayland or x11 is in
DISTRO_FEATURES.

On Mon, Apr 22, 2024 at 8:17 AM Martin Jansa via
lists.openembedded.org 
wrote:
>
> This is now triggering:
> ERROR: QA Issue: Recipe LICENSE includes obsolete licenses LGPL-2.1
> [obsolete-license]
>
> Looks like it should be LGPL-2.1-only, please send follow-up fix.
>
> On Fri, Apr 19, 2024 at 7:21 PM Perceval via lists.openembedded.org
>  wrote:
> >
> > From: Perceval Arenou 
> >
> >
> > ---
> >  .../aravis/aravis_0.8.31.bb   | 40 +++
> >  1 file changed, 40 insertions(+)
> >  create mode 100644 
> > meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb
> >
> > diff --git a/meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb 
> > b/meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb
> > new file mode 100644
> > index 0..52e276c7b
> > --- /dev/null
> > +++ b/meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb
> > @@ -0,0 +1,40 @@
> > +SUMMARY = "A vision library for genicam based cameras"
> > +DESCRIPTION = "\
> > +Aravis is a glib/gobject based library for video acquisition using 
> > Genicam cameras.\
> > +It currently implements the gigabit ethernet and USB3 protocols used 
> > by industrial cameras.\
> > +It also provides a basic ethernet camera simulator and a simple video 
> > viewer.\
> > +"
> > +AUTHOR = "Emmanuel Pacaud"
> > +HOMEPAGE = "https://github.com/AravisProject/aravis;
> > +LICENSE = "LGPL-2.1"
> > +LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
> > +
> > +DEPENDS += "\
> > +glib-2.0 \
> > +glib-2.0-native \
> > +libxml2 \
> > +zlib \
> > +"
> > +
> > +SRC_URI = 
> > "https://github.com/AravisProject/aravis/releases/download/${PV}/${BPN}-${PV}.tar.xz;
> > +SRC_URI[sha256sum] = 
> > "9c4ebe6273ed3abe466cb6ed8fa5c132bdd7e9a9298ca43fa0212c4311a084da"
> > +
> > +EXTRA_OEMESON += "-Dtests=false"
> > +
> > +GIR_MESON_ENABLE_FLAG = 'enabled'
> > +GIR_MESON_DISABLE_FLAG = 'disabled'
> > +GIDOCGEN_MESON_OPTION = "documentation"
> > +GIDOCGEN_MESON_ENABLE_FLAG = "enabled"
> > +GIDOCGEN_MESON_DISABLE_FLAG = "disabled"
> > +
> > +inherit meson pkgconfig gi-docgen gobject-introspection
> > +
> > +PACKAGECONFIG ?= "gstreamer usb viewer"
> > +PACKAGECONFIG[gstreamer] = "-Dgst-plugin=enabled, -Dgst-plugin=disabled, 
> > gstreamer1.0 gstreamer1.0-plugins-base,"
> > +PACKAGECONFIG[usb] = "-Dusb=enabled, -Dusb=disabled, libusb1,"
> > +PACKAGECONFIG[viewer] = "-Dviewer=enabled, -Dviewer=disabled, gtk+3 
> > gstreamer1.0-plugins-base,"
> > +
> > +FILES:${PN} += "\
> > +${datadir} \
> > +${libdir}/gstreamer-1.0/libgstaravis.0.8.so \
> > +"
> > --
> > 2.43.0
> >
> >
> > On Fri, Apr 19, 2024 at 5:40 PM Ross Burton  wrote:
> >>
> >> On 19 Apr 2024, at 15:58, Perceval via lists.openembedded.org 
> >>  wrote:
> >> > +# These options are found in AravisProject/aravis meson_options.txt
> >>
> >> No need to comment where they came from, this is the only place they can 
> >> be defined.
> >>
> >> > +EXTRA_OEMESON += "\
> >> > +-Ddocumentation=disabled \
> >>
> >> If would be good to use the gi-docgen class and respect the 
> >> api-documentation DISTRO_FEATURE instead of just turning this off.
> >>
> >> > +-Dfast-heartbeat=false \
> >>
> >> Default value, remove.
> >>
> >> > +-Dpacket-socket=enabled \
> >>
> >> Can’t you leave this as the default and let Meson detect?
> >>
> >> > +inherit_defer meson pkgconfig ${@bb.utils.contains('PACKAGECONFIG', 
> >> > 'introspection', 'gobject-introspection', '', d)}
> >>
> >> Only defer gobject-introspection, not the others.
> >>
> >> > +PACKAGECONFIG[introspection] = "-Dintrospection=enabled, 
> >> > -Dintrospection=disabled, gobject-introspection,”
> >>
> >> The gobject-introspection class will do this for you, remove this line.
> >>
> >> Ross
> >
> >
> >
> > --
> > Perceval ARENOU
> > Embedded Operating System Engineer
> > PTxTrimble formerly Bilberry
> >
> >
> >
> >
> >
> >
> >
>
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110081): 
https://lists.openembedded.org/g/openembedded-devel/message/110081
Mute This Topic: https://lists.openembedded.org/mt/105577746/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-multimedia][PATCH] aravis: new recipe aravis is a vision library for genicam based cameras. aravis project allows to stream from genicam and GigE cameras

2024-04-22 Thread Martin Jansa
This is now triggering:
ERROR: QA Issue: Recipe LICENSE includes obsolete licenses LGPL-2.1
[obsolete-license]

Looks like it should be LGPL-2.1-only, please send follow-up fix.

On Fri, Apr 19, 2024 at 7:21 PM Perceval via lists.openembedded.org
 wrote:
>
> From: Perceval Arenou 
>
>
> ---
>  .../aravis/aravis_0.8.31.bb   | 40 +++
>  1 file changed, 40 insertions(+)
>  create mode 100644 meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb
>
> diff --git a/meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb 
> b/meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb
> new file mode 100644
> index 0..52e276c7b
> --- /dev/null
> +++ b/meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb
> @@ -0,0 +1,40 @@
> +SUMMARY = "A vision library for genicam based cameras"
> +DESCRIPTION = "\
> +Aravis is a glib/gobject based library for video acquisition using 
> Genicam cameras.\
> +It currently implements the gigabit ethernet and USB3 protocols used by 
> industrial cameras.\
> +It also provides a basic ethernet camera simulator and a simple video 
> viewer.\
> +"
> +AUTHOR = "Emmanuel Pacaud"
> +HOMEPAGE = "https://github.com/AravisProject/aravis;
> +LICENSE = "LGPL-2.1"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
> +
> +DEPENDS += "\
> +glib-2.0 \
> +glib-2.0-native \
> +libxml2 \
> +zlib \
> +"
> +
> +SRC_URI = 
> "https://github.com/AravisProject/aravis/releases/download/${PV}/${BPN}-${PV}.tar.xz;
> +SRC_URI[sha256sum] = 
> "9c4ebe6273ed3abe466cb6ed8fa5c132bdd7e9a9298ca43fa0212c4311a084da"
> +
> +EXTRA_OEMESON += "-Dtests=false"
> +
> +GIR_MESON_ENABLE_FLAG = 'enabled'
> +GIR_MESON_DISABLE_FLAG = 'disabled'
> +GIDOCGEN_MESON_OPTION = "documentation"
> +GIDOCGEN_MESON_ENABLE_FLAG = "enabled"
> +GIDOCGEN_MESON_DISABLE_FLAG = "disabled"
> +
> +inherit meson pkgconfig gi-docgen gobject-introspection
> +
> +PACKAGECONFIG ?= "gstreamer usb viewer"
> +PACKAGECONFIG[gstreamer] = "-Dgst-plugin=enabled, -Dgst-plugin=disabled, 
> gstreamer1.0 gstreamer1.0-plugins-base,"
> +PACKAGECONFIG[usb] = "-Dusb=enabled, -Dusb=disabled, libusb1,"
> +PACKAGECONFIG[viewer] = "-Dviewer=enabled, -Dviewer=disabled, gtk+3 
> gstreamer1.0-plugins-base,"
> +
> +FILES:${PN} += "\
> +${datadir} \
> +${libdir}/gstreamer-1.0/libgstaravis.0.8.so \
> +"
> --
> 2.43.0
>
>
> On Fri, Apr 19, 2024 at 5:40 PM Ross Burton  wrote:
>>
>> On 19 Apr 2024, at 15:58, Perceval via lists.openembedded.org 
>>  wrote:
>> > +# These options are found in AravisProject/aravis meson_options.txt
>>
>> No need to comment where they came from, this is the only place they can be 
>> defined.
>>
>> > +EXTRA_OEMESON += "\
>> > +-Ddocumentation=disabled \
>>
>> If would be good to use the gi-docgen class and respect the 
>> api-documentation DISTRO_FEATURE instead of just turning this off.
>>
>> > +-Dfast-heartbeat=false \
>>
>> Default value, remove.
>>
>> > +-Dpacket-socket=enabled \
>>
>> Can’t you leave this as the default and let Meson detect?
>>
>> > +inherit_defer meson pkgconfig ${@bb.utils.contains('PACKAGECONFIG', 
>> > 'introspection', 'gobject-introspection', '', d)}
>>
>> Only defer gobject-introspection, not the others.
>>
>> > +PACKAGECONFIG[introspection] = "-Dintrospection=enabled, 
>> > -Dintrospection=disabled, gobject-introspection,”
>>
>> The gobject-introspection class will do this for you, remove this line.
>>
>> Ross
>
>
>
> --
> Perceval ARENOU
> Embedded Operating System Engineer
> PTxTrimble formerly Bilberry
>
>
>
>
>
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110080): 
https://lists.openembedded.org/g/openembedded-devel/message/110080
Mute This Topic: https://lists.openembedded.org/mt/105577746/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-oe][PATCH] freediameter: fix dependency from libidn to libidn2

2024-04-19 Thread Martin Jansa
* it's used since:
  
https://github.com/freeDiameter/freeDiameter/commit/da679d27c546e11f6e41ad8882699f726e58a9f7
  included with the upgrade to 1.5.0 in:
  
https://git.openembedded.org/meta-openembedded/commit/?id=47ccb88d94852e327f3bdd45425f33e56983b50c

* libidn2 is usually pulled into the RSS by the dependency from gnutls
  but when gnutls doesn't depend on it, the build fails with:
-- Checking for module 'libidn2'
--   No package 'libidn2' found
CMake Error at include/freeDiameter/CMakeLists.txt:144 (MESSAGE):
  Unable to find libidn2, please install libidn2-dev or equivalent, or set
  DIAMID_IDNA_IGNORE or DIAMID_IDNA_REJECT

Signed-off-by: Martin Jansa 
---
 .../recipes-protocols/freediameter/freediameter_1.5.0.bb| 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/meta-networking/recipes-protocols/freediameter/freediameter_1.5.0.bb 
b/meta-networking/recipes-protocols/freediameter/freediameter_1.5.0.bb
index 36854c75bc..b3282d273b 100644
--- a/meta-networking/recipes-protocols/freediameter/freediameter_1.5.0.bb
+++ b/meta-networking/recipes-protocols/freediameter/freediameter_1.5.0.bb
@@ -7,7 +7,7 @@ Accounting needs."
 
 HOMEPAGE = "http://www.freediameter.net;
 
-DEPENDS = "flex bison cmake-native libgcrypt gnutls libidn lksctp-tools 
virtual/kernel bison-native"
+DEPENDS = "flex bison cmake-native libgcrypt gnutls libidn2 lksctp-tools 
virtual/kernel bison-native"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-- 
2.44.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110060): 
https://lists.openembedded.org/g/openembedded-devel/message/110060
Mute This Topic: https://lists.openembedded.org/mt/105618110/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-python] obsolete distutils3-base.bbclass error

2024-04-17 Thread Martin Jansa
See https://github.com/openembedded/meta-openembedded/pull/811

On Wed, Apr 17, 2024 at 12:13 AM Mark Hatle via lists.openembedded.org
 wrote:
>
> In scarthgap/master, I still have a couple of recipes that haven't been moved 
> to
> using the proper setuptools3-base class yet.  However, including 
> distutils3-base
> fails.
>
> The code meta-python/classes/distutils3-base.bbclass is missing the close "}".
>
> --Mark
>
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110037): 
https://lists.openembedded.org/g/openembedded-devel/message/110037
Mute This Topic: https://lists.openembedded.org/mt/105566562/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-python2][PATCH] layer.conf: update LAYERSERIES_COMPAT for scarthgap

2024-04-16 Thread Martin Jansa
Target python recipes are already blacklisted since
https://github.com/shr-project/meta-python2/commit/10c65fc18998d302f34634ffceaf31ab335056dd
so meta-python2 already provides just python-native and necessary
bbclasses (as pythonnative.bbclass and few others).

So I don't want to add another identical python2 recipe in meta-qt5
(which will be included for all meta-qt5 users) while now only a few
recipes in meta-qt5 need meta-python2 layer to be included:

./recipes-qt/qt-kiosk-browser/qt-kiosk-browser_git.bb:if
'meta-python2' not in d.getVar('BBFILE_COLLECTIONS').split():
./recipes-qt/qt-kiosk-browser/qt-kiosk-browser_git.bb:raise
bb.parse.SkipRecipe('qtwebengine dependency requires meta-python2 to
be present.')
./recipes-qt/qt5/qtpdf_git.bb:# still depends on python2
./recipes-qt/qt5/qtpdf_git.bb:# First patch skips "python2" dependency
checks for the pdf module
./recipes-qt/qt5/qtpdf_git.bb:
file://0001-configure.json-remove-python2-dependency.patch \
./recipes-qt/qt5/qtpdf_git.bb:PACKAGECONFIG[webengine-pdf] =
"-feature-webengine-python2,-no-feature-webengine-python2,python3-native"
./recipes-qt/qt5/qtpdf/0001-configure.json-remove-python2-dependency.patch:Subject:
[PATCH] configure.json: remove python2 dependency
./recipes-qt/qt5/qtpdf/0001-configure.json-remove-python2-dependency.patch:-
&& features.webengine-python2
./recipes-qt/qt5/qtwebengine_git.bb:inherit
${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2",
"pythonnative", "", d)}
./recipes-qt/qt5/qtwebengine_git.bb:if 'meta-python2' not in
d.getVar('BBFILE_COLLECTIONS').split():
./recipes-qt/qt5/qtwebengine_git.bb:raise
bb.parse.SkipRecipe('Requires meta-python2 to be present.')
./recipes-qt/qt5/qt5-creator_git.bb:if 'meta-python2' not in
d.getVar('BBFILE_COLLECTIONS').split():
./recipes-qt/qt5/qt5-creator_git.bb:raise
bb.parse.SkipRecipe('Requires meta-python2 to be present.')
./recipes-qt/qt5/qtwebview_git.bb:if 'meta-python2' not in
d.getVar('BBFILE_COLLECTIONS').split():
./recipes-qt/qt5/qtwebview_git.bb:raise
bb.parse.SkipRecipe('Requires meta-python2 to be present.')

That's why I've included scarthgap compatibility in my fork of meta-python2.

As there is strong opinion against declaring scarthgap compatibility
in official meta-python2 from Timo, Alex and Jose, I don't plan to
merge Marek's change (nor my version with additional fixes for
Upstream-Status etc).

Maybe usable compromise would be to delete all (already blacklisted)
target recipes from existing meta-python2 and leave only the
python-native to make it even more clear what this layer is
temporarily used for (maybe even with another blacklist by default
like I_REALLY_SWEAR_TO_MIGRATE_TO_PYTHON3_OR_DIE_TRYING) which IMHO
makes better sense than importing this old unsupported python-native
to meta-qt5.

Cheers,

On Tue, Apr 16, 2024 at 4:27 PM Alexander Kanavin
 wrote:
>
> On Tue, 16 Apr 2024 at 16:19, Peter Marko via lists.openembedded.org
>  wrote:
> > Following works for yocto kirkstone + meta-lts-mixin kirkstone/go + 
> > meta-lts-mixin kirkstone/rust + meta-virtualization master
> > LAYERSERIES_COMPAT_virtualization-layer += "kirkstone"
> >
> > meta-qt5 should be able to do something similar with meta-python2 if 
> > meta-python2 is frozen...
>
> If I remember right, meta-qt5 does not need target python2, it need
> only native python2 because the qt5 web widget contains a badly
> outdated chromium. So meta-qt5 could just copy the python2 recipe
> directly into the layer perhaps and drop meta-python2 dependency.
>
> Alex

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109982): 
https://lists.openembedded.org/g/openembedded-devel/message/109982
Mute This Topic: https://lists.openembedded.org/mt/105535514/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-oe][PATCH] libjxl: drop -mfp16-format=ieee

2024-04-16 Thread Martin Jansa
* causes qemuarm failure as shown in:
  http://errors.yoctoproject.org/Errors/Details/761504/
  and reported in:
  https://lists.openembedded.org/g/openembedded-devel/message/109812

Signed-off-by: Martin Jansa 
---
 meta-oe/recipes-multimedia/libjxl/libjxl_0.10.2.bb | 4 
 1 file changed, 4 deletions(-)

diff --git a/meta-oe/recipes-multimedia/libjxl/libjxl_0.10.2.bb 
b/meta-oe/recipes-multimedia/libjxl/libjxl_0.10.2.bb
index 142b283614..eced6c7726 100644
--- a/meta-oe/recipes-multimedia/libjxl/libjxl_0.10.2.bb
+++ b/meta-oe/recipes-multimedia/libjxl/libjxl_0.10.2.bb
@@ -37,7 +37,3 @@ PACKAGECONFIG[gimp] = 
"-DJPEGXL_ENABLE_PLUGIN_GIMP210=ON,-DJPEGXL_ENABLE_PLUGIN_
 PACKAGECONFIG[mime] = 
"-DJPEGXL_ENABLE_PLUGIN_MIME=ON,-DJPEGXL_ENABLE_PLUGIN_MIME=OFF"
 
 FILES:${PN} += "${libdir}/gdk-pixbuf-2.0 ${datadir}"
-
-CXXFLAGS:append:arm = " -mfp16-format=ieee"
-# Option not supported with clang and its default format for __fp16 anyway 
with clang
-CXXFLAGS:remove:toolchain-clang = "-mfp16-format=ieee"
-- 
2.44.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109976): 
https://lists.openembedded.org/g/openembedded-devel/message/109976
Mute This Topic: https://lists.openembedded.org/mt/105554789/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-python2][PATCH] layer.conf: update LAYERSERIES_COMPAT for scarthgap

2024-04-15 Thread Martin Jansa
If you need it just for some experiments than feel free to use:
https://github.com/shr-project/meta-python2/commits/jansa/master/
which I've already updated (for built time benchmark which
historically included qtwebengine as well
https://github.com/shr-project/test-oe-build-time).

But for anything more serious work with your customer to switch to
something more supported, there are still minor upgrades to meta-qt5
(last in https://github.com/meta-qt5/meta-qt5/pull/556), but it's a
dead end and switch to something else should have higher priority than
switch to scarthgap (e.g. switching to meta-qt6).

Cheers,

On Mon, Apr 15, 2024 at 3:15 PM Marek Vasut  wrote:
>
> Support both kirkstone and scarthgap as that seems to work well.
>
> Signed-off-by: Marek Vasut 
> ---
>  conf/layer.conf | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/conf/layer.conf b/conf/layer.conf
> index 38ef579..0f228ca 100644
> --- a/conf/layer.conf
> +++ b/conf/layer.conf
> @@ -14,7 +14,7 @@ LAYERVERSION_meta-python2 = "1"
>
>  LAYERDEPENDS_meta-python2 = "core openembedded-layer"
>
> -LAYERSERIES_COMPAT_meta-python2 = "kirkstone"
> +LAYERSERIES_COMPAT_meta-python2 = "kirkstone scarthgap"
>
>  LICENSE_PATH += "${LAYERDIR}/licenses"
>
> --
> 2.43.0
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109966): 
https://lists.openembedded.org/g/openembedded-devel/message/109966
Mute This Topic: https://lists.openembedded.org/mt/105535514/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe][meta-oe][PATCH] composefs: add a new recipe

2024-04-08 Thread Martin Jansa
> > >
> > > I couldn't reproduce the build failure. What am I missing?
> >
> > removing meta-filesystems from your bblayers.conf
>
> no, I'm asking about the musl basename() related build failure.
>
> The build failure about fuse3 dependency is quite obvious.
> In my local build, I moved the recipe to
> meta-filesystems/recipes-support/composefs/
> I'll submit a v2 for the latter but if I can reproduce the musl issue
> and get it fixed for v2 that would be great.

Hi Fathi,

I'm sorry, I've realized it just after sending the reply, gmail was
showing your mail as a reply to the one about meta-filesystem and I
didn't notice the musl issue before sending the reply, will fix that
with another (6th) coffee :).

Cheers,

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109867): 
https://lists.openembedded.org/g/openembedded-devel/message/109867
Mute This Topic: https://lists.openembedded.org/mt/105351850/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe][meta-oe][PATCH] composefs: add a new recipe

2024-04-08 Thread Martin Jansa
On Mon, Apr 8, 2024 at 3:50 PM Fathi Boudra  wrote:
>
> Hi Khem,
>
> On Sat, 6 Apr 2024 at 03:04, Khem Raj  wrote:
> >
> > fails with latest musl
> >
> > https://errors.yoctoproject.org/Errors/Details/761688/
>
> I tried to reproduce:
>
> local.conf:
> MACHINE = "qemuarm64"
> TCLIBC = "musl"
> TOOLCHAIN = "clang"
>
> $ bitbake -e musl |grep "^PV="
> PV="1.2.4+git"
>
> Build Configuration:
> BB_VERSION   = "2.7.3"
> BUILD_SYS= "x86_64-linux"
> NATIVELSBSTRING  = "debian"
> TARGET_SYS   = "aarch64-oe-linux-musl"
> MACHINE  = "qemuarm64"
> DISTRO   = "nodistro"
> DISTRO_VERSION   = "nodistro.0"
> TUNE_FEATURES= "aarch64 crc cortexa57"
> TARGET_FPU   = ""
> meta = "master:486ed69939f1b7572f121960c2dde246032686e7"
> meta-clang   = "master:13dcab852c5bcd51fd75ae84ace9eddd99254653"
> meta-filesystems
> meta-networking
> meta-oe
> meta-python  = "master:5a02b76b82d1f48986212c33dddf7986385c79ef"
>
> I couldn't reproduce the build failure. What am I missing?

removing meta-filesystems from your bblayers.conf

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109865): 
https://lists.openembedded.org/g/openembedded-devel/message/109865
Mute This Topic: https://lists.openembedded.org/mt/105351850/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-oe][PATCHv2] libjxl: add recipe

2024-04-06 Thread Martin Jansa
On Fri, Apr 5, 2024 at 5:18 PM Khem Raj  wrote:
>
> Can you try to comment out
>
>CXXFLAGS:append:arm = " -mfp16-format=ieee"
>
> for a test ?

Yes, that fixes the build on qemuarm.

> On Fri, Apr 5, 2024 at 12:13 AM Martin Jansa  wrote:
> >
> > qemuarm build log:
> > http://errors.yoctoproject.org/Errors/Details/761504/
> >
> > shows -mfpu=neon was already used.
> >
> > FAILED: lib/CMakeFiles/jxl_cms.dir/__/third_party/skcms/skcms.cc.o
> > TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/recipe-sysroot-native/usr/bin/arm-oe-linux-gnueabi/arm-oe-linux-gnueabi-g++
> > --sysroot=TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/recipe-sysroot
> > -DFJXL_ENABLE_AVX512=0
> > -DHWY_DISABLED_TARGETS="(HWY_SSSE3|HWY_AVX3|HWY_AVX3_SPR|HWY_AVX3_ZEN4)"
> > -D__DATE__=\"redacted\" -D__TIMESTAMP__=\"redacted\"
> > -D__TIME__=\"redacted\" -Djxl_cms_EXPORTS
> > -ITOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/git
> > -ITOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/git/third_party/skcms
> > -isystem 
> > TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/build/lib/include
> > -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a15 -D_TIME_BITS=64
> > -D_FILE_OFFSET_BITS=64
> > --sysroot=TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/recipe-sysroot
> >  -O2 -pipe -g -feliminate-unused-debug-types -fcanon-prefix-map
> > -fmacro-prefix-map=TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/git=/usr/src/debug/libjxl/0.10.2
> >  
> > -fdebug-prefix-map=TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/git=/usr/src/debug/libjxl/0.10.2
> >  
> > -fmacro-prefix-map=TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/build=/usr/src/debug/libjxl/0.10.2
> >  
> > -fdebug-prefix-map=TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/build=/usr/src/debug/libjxl/0.10.2
> >  
> > -fdebug-prefix-map=TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/recipe-sysroot=
> >  
> > -fmacro-prefix-map=TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/recipe-sysroot=
> >  
> > -fdebug-prefix-map=TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/recipe-sysroot-native=
> >  -fvisibility-inlines-hidden -mfp16-format=ieee -fno-rtti -DNDEBUG
> > -std=c++11 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden
> > -fmacro-prefix-map=TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/git=.
> > -funwind-tables -fno-omit-frame-pointer -Wno-builtin-macro-redefined
> > -Wall -fmerge-all-constants -fno-builtin-fwrite -fno-builtin-fread
> > -Wextra -Wc++11-compat -Warray-bounds -Wformat-security
> > -Wimplicit-fallthrough -Wno-register -Wno-unused-function
> > -Wno-unused-parameter -Wnon-virtual-dtor -Woverloaded-virtual -Wvla
> > -fsized-deallocation -fno-exceptions -fmath-errno
> > -DJPEGXL_ENABLE_SKCMS=1 -DHWY_STATIC_DEFINE -Wno-psabi -MD -MT
> > lib/CMakeFiles/jxl_cms.dir/__/third_party/skcms/skcms.cc.o -MF
> > lib/CMakeFiles/jxl_cms.dir/__/third_party/skcms/skcms.cc.o.d -o
> > lib/CMakeFiles/jxl_cms.dir/__/third_party/skcms/skcms.cc.o -c
> > TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/git/third_party/skcms/skcms.cc
> > In file included from
> > TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/git/third_party/skcms/skcms.cc:18:
> > TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/recipe-sysroot-native/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/14.0.1/include/arm_neon.h:
> > In function 'baseline::F baseline::F_from_Half(U16)':
> > TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/recipe-sysroot-native/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/14.0.1/include/arm_neon.h:7526:1:
> > error: inlining failed in call to 'always_inline' 'float32x4_t
> > vcvt_f32_f16(float16x4_t)': target specific option mismatch
> >  7526 | vcvt_f32_f16 (float16x4_t __a)
> >   | ^~~~
> > In file included from
> > TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/git/third_party/skcms/skcms.cc:2315:
> > TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/git/third_party/skcms/src/Transform_inl.h:155:24:
> > note: called from here
> >   155 | return vcvt_f32_f16((float16x4_t)half);
> >   |^~~
> >
> &g

Re: [oe] [meta-oe][PATCHv2] libjxl: add recipe

2024-04-05 Thread Martin Jansa
qemuarm build log:
http://errors.yoctoproject.org/Errors/Details/761504/

shows -mfpu=neon was already used.

FAILED: lib/CMakeFiles/jxl_cms.dir/__/third_party/skcms/skcms.cc.o
TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/recipe-sysroot-native/usr/bin/arm-oe-linux-gnueabi/arm-oe-linux-gnueabi-g++
--sysroot=TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/recipe-sysroot
-DFJXL_ENABLE_AVX512=0
-DHWY_DISABLED_TARGETS="(HWY_SSSE3|HWY_AVX3|HWY_AVX3_SPR|HWY_AVX3_ZEN4)"
-D__DATE__=\"redacted\" -D__TIMESTAMP__=\"redacted\"
-D__TIME__=\"redacted\" -Djxl_cms_EXPORTS
-ITOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/git
-ITOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/git/third_party/skcms
-isystem 
TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/build/lib/include
-mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a15 -D_TIME_BITS=64
-D_FILE_OFFSET_BITS=64
--sysroot=TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/recipe-sysroot
 -O2 -pipe -g -feliminate-unused-debug-types -fcanon-prefix-map
-fmacro-prefix-map=TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/git=/usr/src/debug/libjxl/0.10.2
 
-fdebug-prefix-map=TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/git=/usr/src/debug/libjxl/0.10.2
 
-fmacro-prefix-map=TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/build=/usr/src/debug/libjxl/0.10.2
 
-fdebug-prefix-map=TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/build=/usr/src/debug/libjxl/0.10.2
 
-fdebug-prefix-map=TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/recipe-sysroot=
 
-fmacro-prefix-map=TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/recipe-sysroot=
 
-fdebug-prefix-map=TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/recipe-sysroot-native=
 -fvisibility-inlines-hidden -mfp16-format=ieee -fno-rtti -DNDEBUG
-std=c++11 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden
-fmacro-prefix-map=TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/git=.
-funwind-tables -fno-omit-frame-pointer -Wno-builtin-macro-redefined
-Wall -fmerge-all-constants -fno-builtin-fwrite -fno-builtin-fread
-Wextra -Wc++11-compat -Warray-bounds -Wformat-security
-Wimplicit-fallthrough -Wno-register -Wno-unused-function
-Wno-unused-parameter -Wnon-virtual-dtor -Woverloaded-virtual -Wvla
-fsized-deallocation -fno-exceptions -fmath-errno
-DJPEGXL_ENABLE_SKCMS=1 -DHWY_STATIC_DEFINE -Wno-psabi -MD -MT
lib/CMakeFiles/jxl_cms.dir/__/third_party/skcms/skcms.cc.o -MF
lib/CMakeFiles/jxl_cms.dir/__/third_party/skcms/skcms.cc.o.d -o
lib/CMakeFiles/jxl_cms.dir/__/third_party/skcms/skcms.cc.o -c
TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/git/third_party/skcms/skcms.cc
In file included from
TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/git/third_party/skcms/skcms.cc:18:
TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/recipe-sysroot-native/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/14.0.1/include/arm_neon.h:
In function 'baseline::F baseline::F_from_Half(U16)':
TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/recipe-sysroot-native/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/14.0.1/include/arm_neon.h:7526:1:
error: inlining failed in call to 'always_inline' 'float32x4_t
vcvt_f32_f16(float16x4_t)': target specific option mismatch
 7526 | vcvt_f32_f16 (float16x4_t __a)
  | ^~~~
In file included from
TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/git/third_party/skcms/skcms.cc:2315:
TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libjxl/0.10.2/git/third_party/skcms/src/Transform_inl.h:155:24:
note: called from here
  155 | return vcvt_f32_f16((float16x4_t)half);
  |^~~

On Fri, Apr 5, 2024 at 8:48 AM  wrote:
>
> Does this also happen if you add '-mfpu=neon' to CXXFLAGS ?
>
> On Fri, Apr 5 2024 at 07:54:47 AM +02:00:00, Martin Jansa 
>  wrote:
>
> I'm seeing build failure in 32bit arm builds (with multilib): 
> lib32-libjxl/0.10.2/recipe-sysroot-native/usr/lib/arm-oemllib32-linux-gnueabi/gcc/arm-oemllib32-linux-gnueabi/13.2.0/include/arm_neon.h:7526:1:
>  error: inlining failed in call to 'always_inline' 'float32x4_t 
> vcvt_f32_f16(float16x4_t)': target specific option mismatch 7526 | 
> vcvt_f32_f16 (float16x4_t __a) | ^~~~ In file included from 
> TOPDIR/BUILD/work/mach-oemllib32-linux-gnueabi/lib32-libjxl/0.10.2/git/third_party/skcms/skcms.cc:2315:
>  
> TOPDIR/BUILD/work/mach-oemllib32-linux-gnueabi/lib32-libjxl/0.10.2/git/third_party/skcms/src/Transform_inl.h:155:24:
>  note: called from here 155 | return vcvt_f32_f

Re: [oe] [meta-oe][PATCHv2] libjxl: add recipe

2024-04-05 Thread Martin Jansa
> btw what is your 32bit multilib defaultltune in this failing case

none of the public ones, that's why I wanted to reproduce it with
generic qemuarm first, will trigger the build and report back

On Fri, Apr 5, 2024 at 8:54 AM Khem Raj  wrote:
>
> On Thu, Apr 4, 2024 at 10:55 PM Martin Jansa  wrote:
> >
> > I'm seeing build failure in 32bit arm builds (with multilib):
> >
> > lib32-libjxl/0.10.2/recipe-sysroot-native/usr/lib/arm-oemllib32-linux-gnueabi/gcc/arm-oemllib32-linux-gnueabi/13.2.0/include/arm_neon.h:7526:1:
> > error: inlining failed in call to 'always_inline' 'float32x4_t
> > vcvt_f32_f16(float16x4_t)': target specific option mismatch
> >  7526 | vcvt_f32_f16 (float16x4_t __a)
> >   | ^~~~
> > In file included from
> > TOPDIR/BUILD/work/mach-oemllib32-linux-gnueabi/lib32-libjxl/0.10.2/git/third_party/skcms/skcms.cc:2315:
> > TOPDIR/BUILD/work/mach-oemllib32-linux-gnueabi/lib32-libjxl/0.10.2/git/third_party/skcms/src/Transform_inl.h:155:24:
> > note: called from here
> >   155 | return vcvt_f32_f16((float16x4_t)half);
> >   |^~~
> >
> > should I try to reproduce on some publicly available arm MACHINE (like
> > qemuarm) or is someone else seeing this as well?
>
> This is not seen at least in my CI jobs even for qemuarm but then it
> was with clang
> so it will be good to reproduce it with gcc/qemuarm perhaps. btw what is your
> 32bit multilib defaultltune in this failing case
>
> >
> > On Tue, Apr 2, 2024 at 7:50 AM Markus Volk  wrote:
> > >
> > > Import this recipe from meta-wayland, because it is a prerequisite
> > > for the Gnome desktop. The recently updated gnome-backgrounds package
> > > has converted most of the backgrounds to jxl and to keep them usable
> > > the gdk-pixbuf-loader for jpegxl must be provided. This is included
> > > in the libjxl package itself.
> > >
> > > Signed-off-by: Markus Volk 
> > > ---
> > >  .../libjxl/libjxl_2.10.0.bb   | 42 +++
> > >  1 file changed, 42 insertions(+)
> > >  create mode 100644 meta-oe/recipes-multimedia/libjxl/libjxl_2.10.0.bb
> > >
> > > diff --git a/meta-oe/recipes-multimedia/libjxl/libjxl_2.10.0.bb 
> > > b/meta-oe/recipes-multimedia/libjxl/libjxl_2.10.0.bb
> > > new file mode 100644
> > > index 0..0c4f79fdb
> > > --- /dev/null
> > > +++ b/meta-oe/recipes-multimedia/libjxl/libjxl_2.10.0.bb
> > > @@ -0,0 +1,42 @@
> > > +SUMMARY = "Reference implementation of JPEG XL (encoder and decoder)"
> > > +HOMEPAGE = "https://github.com/libjxl/libjxl/;
> > > +
> > > +LICENSE = "BSD-3-Clause"
> > > +LIC_FILES_CHKSUM = "file://LICENSE;md5=6a905a337cc228a1f68f0b5416f52a7f"
> > > +
> > > +inherit cmake pkgconfig mime
> > > +
> > > +DEPENDS = "highway brotli"
> > > +
> > > +SRC_URI = 
> > > "gitsm://github.com/libjxl/libjxl.git;protocol=https;nobranch=1"
> > > +
> > > +SRCREV = "e1489592a770b989303b0edc5cc1dc447bbe0515"
> > > +S = "${WORKDIR}/git"
> > > +
> > > +EXTRA_OECMAKE = " \
> > > +   -DCMAKE_BUILD_TYPE=Release \
> > > +   -DJPEGXL_ENABLE_PLUGINS=ON \
> > > +   -DBUILD_TESTING=OFF \
> > > +   -DJPEGXL_WARNINGS_AS_ERRORS=OFF \
> > > +   -DJPEGXL_ENABLE_SIZELESS_VECTORS=ON \
> > > +   -DJPEGXL_ENABLE_SJPEG=OFF \
> > > +   -DJPEGXL_ENABLE_BENCHMARK=OFF \
> > > +   -DJPEGXL_ENABLE_EXAMPLES=OFF \
> > > +   -DJPEGXL_ENABLE_MANPAGES=OFF \
> > > +   -DJPEGXL_ENABLE_SKCMS=ON \
> > > +   -DJPEGXL_FORCE_SYSTEM_BROTLI=ON \
> > > +   -DJPEGXL_FORCE_SYSTEM_HWY=ON \
> > > +   -DJPEGXL_ENABLE_JNI=OFF \
> > > +   -DJPEGXL_ENABLE_TCMALLOC=OFF \
> > > +   -DJPEGXL_ENABLE_TOOLS=OFF \
> > > +"
> > > +
> > > +PACKAGECONFIG ?= "mime gdk-pixbuf-loader"
> > > +PACKAGECONFIG[gdk-pixbuf-loader] = 
> > > "-DJPEGXL_ENABLE_PLUGIN_GDKPIXBUF=ON,-DJPEGXL_ENABLE_PLUGIN_GDKPIXBUF=OFF,gdk-pixbuf"
> > > +PACKAGECONFIG[gimp] = 
> > > "-DJPEGXL_ENABLE_PLUGIN_GIMP210=ON,-DJPEGXL_ENABLE_PLUGIN_GIMP210=OFF,gimp"
> > > +PACKAGECONFIG[mime] = 
> > > "-DJPEGXL_ENABLE_PLUGIN_MIME=ON,-DJPEGXL_ENABLE_PLUGIN_MIME=OFF"
> > > +
> > > +FILES:${PN} += "${libdir}/gdk-pixbuf-2.0 ${datadir}"
> > > +
> > > +CXXFLAGS:append:arm = " -mfp16-format=ieee"
> > > +
> > > --
> > > 2.44.0
> > >
> > >
> > >
> > >
> >
> > 
> >

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109815): 
https://lists.openembedded.org/g/openembedded-devel/message/109815
Mute This Topic: https://lists.openembedded.org/mt/105282918/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-oe][PATCHv2] libjxl: add recipe

2024-04-04 Thread Martin Jansa
I'm seeing build failure in 32bit arm builds (with multilib):

lib32-libjxl/0.10.2/recipe-sysroot-native/usr/lib/arm-oemllib32-linux-gnueabi/gcc/arm-oemllib32-linux-gnueabi/13.2.0/include/arm_neon.h:7526:1:
error: inlining failed in call to 'always_inline' 'float32x4_t
vcvt_f32_f16(float16x4_t)': target specific option mismatch
 7526 | vcvt_f32_f16 (float16x4_t __a)
  | ^~~~
In file included from
TOPDIR/BUILD/work/mach-oemllib32-linux-gnueabi/lib32-libjxl/0.10.2/git/third_party/skcms/skcms.cc:2315:
TOPDIR/BUILD/work/mach-oemllib32-linux-gnueabi/lib32-libjxl/0.10.2/git/third_party/skcms/src/Transform_inl.h:155:24:
note: called from here
  155 | return vcvt_f32_f16((float16x4_t)half);
  |^~~

should I try to reproduce on some publicly available arm MACHINE (like
qemuarm) or is someone else seeing this as well?

On Tue, Apr 2, 2024 at 7:50 AM Markus Volk  wrote:
>
> Import this recipe from meta-wayland, because it is a prerequisite
> for the Gnome desktop. The recently updated gnome-backgrounds package
> has converted most of the backgrounds to jxl and to keep them usable
> the gdk-pixbuf-loader for jpegxl must be provided. This is included
> in the libjxl package itself.
>
> Signed-off-by: Markus Volk 
> ---
>  .../libjxl/libjxl_2.10.0.bb   | 42 +++
>  1 file changed, 42 insertions(+)
>  create mode 100644 meta-oe/recipes-multimedia/libjxl/libjxl_2.10.0.bb
>
> diff --git a/meta-oe/recipes-multimedia/libjxl/libjxl_2.10.0.bb 
> b/meta-oe/recipes-multimedia/libjxl/libjxl_2.10.0.bb
> new file mode 100644
> index 0..0c4f79fdb
> --- /dev/null
> +++ b/meta-oe/recipes-multimedia/libjxl/libjxl_2.10.0.bb
> @@ -0,0 +1,42 @@
> +SUMMARY = "Reference implementation of JPEG XL (encoder and decoder)"
> +HOMEPAGE = "https://github.com/libjxl/libjxl/;
> +
> +LICENSE = "BSD-3-Clause"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=6a905a337cc228a1f68f0b5416f52a7f"
> +
> +inherit cmake pkgconfig mime
> +
> +DEPENDS = "highway brotli"
> +
> +SRC_URI = "gitsm://github.com/libjxl/libjxl.git;protocol=https;nobranch=1"
> +
> +SRCREV = "e1489592a770b989303b0edc5cc1dc447bbe0515"
> +S = "${WORKDIR}/git"
> +
> +EXTRA_OECMAKE = " \
> +   -DCMAKE_BUILD_TYPE=Release \
> +   -DJPEGXL_ENABLE_PLUGINS=ON \
> +   -DBUILD_TESTING=OFF \
> +   -DJPEGXL_WARNINGS_AS_ERRORS=OFF \
> +   -DJPEGXL_ENABLE_SIZELESS_VECTORS=ON \
> +   -DJPEGXL_ENABLE_SJPEG=OFF \
> +   -DJPEGXL_ENABLE_BENCHMARK=OFF \
> +   -DJPEGXL_ENABLE_EXAMPLES=OFF \
> +   -DJPEGXL_ENABLE_MANPAGES=OFF \
> +   -DJPEGXL_ENABLE_SKCMS=ON \
> +   -DJPEGXL_FORCE_SYSTEM_BROTLI=ON \
> +   -DJPEGXL_FORCE_SYSTEM_HWY=ON \
> +   -DJPEGXL_ENABLE_JNI=OFF \
> +   -DJPEGXL_ENABLE_TCMALLOC=OFF \
> +   -DJPEGXL_ENABLE_TOOLS=OFF \
> +"
> +
> +PACKAGECONFIG ?= "mime gdk-pixbuf-loader"
> +PACKAGECONFIG[gdk-pixbuf-loader] = 
> "-DJPEGXL_ENABLE_PLUGIN_GDKPIXBUF=ON,-DJPEGXL_ENABLE_PLUGIN_GDKPIXBUF=OFF,gdk-pixbuf"
> +PACKAGECONFIG[gimp] = 
> "-DJPEGXL_ENABLE_PLUGIN_GIMP210=ON,-DJPEGXL_ENABLE_PLUGIN_GIMP210=OFF,gimp"
> +PACKAGECONFIG[mime] = 
> "-DJPEGXL_ENABLE_PLUGIN_MIME=ON,-DJPEGXL_ENABLE_PLUGIN_MIME=OFF"
> +
> +FILES:${PN} += "${libdir}/gdk-pixbuf-2.0 ${datadir}"
> +
> +CXXFLAGS:append:arm = " -mfp16-format=ieee"
> +
> --
> 2.44.0
>
>
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109812): 
https://lists.openembedded.org/g/openembedded-devel/message/109812
Mute This Topic: https://lists.openembedded.org/mt/105282918/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-oe][PATCHv2] webkitgtk3: update 2.42.5 -> 2.44.0

2024-04-02 Thread Martin Jansa
openembedded-core/scripts/contrib/patchreview.py shows:

Malformed Upstream-Status 'Malformed Upstream-Status in patch
Upstream-Status:
Backport[https://github.com/WebKit/WebKit/commit/2922af379dc70b4b1a63b01d67179eb431f03ac4]'
(/OE/layers/meta-openembedded/meta-oe/recipes-support/webkitgtk/webkitgtk3/2922af379dc70b4b1a63b01d67179eb431f03ac4.patch)

Please add the space.

On Mon, Apr 1, 2024 at 5:01 PM Markus Volk  wrote:
>
> Sorry, should have read better. Missed that this is a 32bit issue and was 
> able to reproduce it
>
> On Mon, Apr 1 2024 at 03:38:01 PM +02:00:00, Markus Volk  
> wrote:
>
> Hi Khem,
>
>  I was unable to reproduce the issue for clang + qemux86  but got the error 
> for qemuriscv64
>
> Have sent a v3 with a fix for it
>
> On Mon, Apr 1 2024 at 12:50:06 AM -07:00:00, Khem Raj  
> wrote:
>
> fails to build with clang on riscv64 and x86 
> https://errors.yoctoproject.org/Errors/Details/761343/ 
> https://errors.yoctoproject.org/Errors/Details/761342/ On Sun, Mar 31, 2024 
> at 10:08 AM Markus Volk  wrote:
>
> The webkitgtk3 variant already contains PACKAGECONFIG for gamepad. Remove the 
> duplicate On Sun, Mar 31 2024 at 07:07:06 PM +02:00:00, Markus Volk 
>  wrote: - add a PACKAGECONFIG for libbacktrace to avoid: | 
> -- Could NOT find LibBacktrace (missing: LIBBACKTRACE_INCLUDE_DIR 
> LIBBACKTRACE_LIBRARY) | CMake Error at Source/cmake/OptionsGTK.cmake:425 
> (message): | libbacktrace is required for USE_LIBBACKTRACE - remove submitted 
> patch. Issue seems to be fixed. Not entirely sure about that, but there has 
> been rework: [https://bugs.webkit.org/show_bug.cgi?id=267349] I also did a 
> test build with oe-core/poky for qemuarm. It completed without error - There 
> is an issue with creating the json files if CMAKE_EXPORT_COMPILE_COMMANDS is 
> enabled. Disable this for now to fix the build: FAILED: 
> CMakeFiles/RewriteCompileCommands DeveloperTools/compile_commands.json 
> /home/flk/poky/build-hypr/tmp/work/corei7-64-poky-linux/webkitgtk/2.44.0/build/CMakeFiles/RewriteCompileCommands
>  
> /home/flk/poky/build-hypr/tmp/work/corei7-64-poky-linux/webkitgtk/2.44.0/build/DeveloperTools/compile_commands.json
>  cd 
> /home/flk/poky/build-hypr/tmp/work/corei7-64-poky-linux/webkitgtk/2.44.0/build
>  && 
> /home/flk/poky/build-hypr/tmp/work/corei7-64-poky-linux/webkitgtk/2.44.0/recipe-sysroot-native/usr/bin/python3-native/python3
>  
> /home/flk/poky/build-hypr/tmp/work/corei7-64-poky-linux/webkitgtk/2.44.0/webkitgtk-2.44.0/Tools/Scripts/rewrite-compile-commands
>  
> /home/flk/poky/build-hypr/tmp/work/corei7-64-poky-linux/webkitgtk/2.44.0/build/compile_commands.json
>  
> /home/flk/poky/build-hypr/tmp/work/corei7-64-poky-linux/webkitgtk/2.44.0/build/DeveloperTools/compile_commands.json
>  
> /home/flk/poky/build-hypr/tmp/work/corei7-64-poky-linux/webkitgtk/2.44.0/webkitgtk-2.44.0
>  
> /home/flk/poky/build-hypr/tmp/work/corei7-64-poky-linux/webkitgtk/2.44.0/build
>  
> /home/flk/poky/build-hypr/tmp/work/corei7-64-poky-linux/webkitgtk/2.44.0/recipe-sysroot-native/usr/bin/python3-native/python3:
>  can't open file 
> '/home/flk/poky/build-hypr/tmp/work/corei7-64-poky-linux/webkitgtk/2.44.0/webkitgtk-2.44.0/Tools/Scripts/rewrite-compile-commands':
>  [Errno 2] No such file or directory - Explicitly disable gtk4 to avoid: | 
> CMake Error at 
> /home/flk/poky/build-hypr/tmp/work/corei7-64-poky-linux/webkitgtk3/2.44.0/recipe-sysroot-native/usr/shar>
>  | Could NOT find GTK (missing: GTK_VERSION) (Required is at least version | 
> "4.6.0")  WebKitGTK 2.44.0  What's new in 
> WebKitGTK 2.44.0? - Fix connection of UI and web process accessibility tree 
> in GTK4. - Add BubblewrapLauncher sandbox directory for the gstreamer user 
> registry cache directory. - Fix bug causing preferred language to not be 
> passed to NetworkProcess if set in WebContext before creating WebView. - Do 
> not use real time priority for the display link thread. - Use a shorter web 
> process cache lifetime. - Fix several crashes and rendering issues. - 
> Translation updates: German, Polish, Swedish, Turkish.  
> WebKitGTK 2.43.4  What's new in WebKitGTK 2.43.4? - Remove 
> key event reinjection in GTK4 to make keyboard shortcuts work in web sites. - 
> Use the new GTK API to create a GdkTexture from a DMA-BUF buffer when 
> available. - Fix rendering when GTK is using the vulkan renderer. - Fix 
> gamepads detection by correctly handling focused window in GTK4. - Fix 
> rendering after history navigation. - Write bwrapinfo.json to disk for 
> xdg-desktop-portal. - Fixed several memory leaks in media backend. - Fix 
> several crashes and rendering issues.  WebKitGTK 2.43.3 
>  What's new in WebKitGTK 2.43.3? - Show vblank monitor 
> information in webkit://gpu. - Fallback to timer based vblank monitor if 
> drmWaitVBlank fails. - Fix several memory leaks in media backend. - Fix 
> several crashes and rendering issues. 

Re: [oe] [meta-gnome][PATCH 1/2] gnome-control-center: update 45.3 -> 46.0

2024-04-02 Thread Martin Jansa
Please restore
Upstream-Status: Inappropriate [OE specific]

in the 
meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center/0001-Add-meson-option-to-pass-sysroot.patch

On Mon, Mar 18, 2024 at 6:11 PM Markus Volk  wrote:
>
> Signed-off-by: Markus Volk 
> ---
>  ...001-Add-meson-option-to-pass-sysroot.patch | 51 ---
>  ...r_45.3.bb => gnome-control-center_46.0.bb} |  2 +-
>  2 files changed, 23 insertions(+), 30 deletions(-)
>  rename 
> meta-gnome/recipes-gnome/gnome-control-center/{gnome-control-center_45.3.bb 
> => gnome-control-center_46.0.bb} (95%)
>
> diff --git 
> a/meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center/0001-Add-meson-option-to-pass-sysroot.patch
>  
> b/meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center/0001-Add-meson-option-to-pass-sysroot.patch
> index 7cd7c0469..a2c237c18 100644
> --- 
> a/meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center/0001-Add-meson-option-to-pass-sysroot.patch
> +++ 
> b/meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center/0001-Add-meson-option-to-pass-sysroot.patch
> @@ -1,57 +1,50 @@
> -From ba8aebe1259ae3f7f5a4827e5a47bb95c568b218 Mon Sep 17 00:00:00 2001
> -From: =?UTF-8?q?Andreas=20M=C3=BCller?= 
> -Date: Tue, 21 May 2019 16:07:46 +0200
> +From 1a48df2a8da44410bbd767c2420d363f6180c79a Mon Sep 17 00:00:00 2001
> +From: Markus Volk 
> +Date: Mon, 18 Mar 2024 05:50:21 +0100
>  Subject: [PATCH] Add meson option to pass sysroot
> -MIME-Version: 1.0
> -Content-Type: text/plain; charset=UTF-8
> -Content-Transfer-Encoding: 8bit
>
> -We need to pass this to meson to help it finding gdesktop-enums.h:
> -
> -| panels/background/meson.build:38:0: ERROR: File 
> /usr/include/gsettings-desktop-schemas/gdesktop-enums.h does not exist.
> -
> -Upstream-Status: Inappropriate [OE specific]
> -
> -Signed-off-by: Andreas Müller 
> +Signed-off-by: Markus Volk 
>  ---
>   meson_options.txt | 1 +
>   panels/background/meson.build | 2 +-
> - 2 files changed, 2 insertions(+), 1 deletion(-)
> + panels/system/meson.build | 2 +-
> + 3 files changed, 3 insertions(+), 2 deletions(-)
>
>  diff --git a/meson_options.txt b/meson_options.txt
> -index 8ee7b6e0e..7e6adc668 100644
> +index e53d6e3f3..8fae4c824 100644
>  --- a/meson_options.txt
>  +++ b/meson_options.txt
>  @@ -1,3 +1,4 @@
>  +option('oe_sysroot', type: 'string', value: '', description: 'Directory for 
> OE-sysroot')
> + option('deprecated-declarations', type: 'feature', value: 'disabled', 
> description: 'build with deprecated declaration warnings')
>   option('documentation', type: 'boolean', value: false, description: 'build 
> documentation')
>   option('ibus', type: 'boolean', value: true, description: 'build with IBus 
> support')
> - option('privileged_group', type: 'string', value: 'wheel', description: 
> 'name of group that has elevated permissions')
>  diff --git a/panels/background/meson.build b/panels/background/meson.build
> -index 9bf543538..97f1e0117 100644
> +index 6ced050f9..df1f80896 100644
>  --- a/panels/background/meson.build
>  +++ b/panels/background/meson.build
> -@@ -19,7 +19,7 @@ common_sources = []
> +@@ -24,7 +24,7 @@ common_sources += gnome.mkenums_simple(
>
>   enums = 'gdesktop-enums-types'
>   enums_header = files(
> --  gsettings_desktop_dep.get_variable(pkgconfig: 'prefix') + 
> '/include/gsettings-desktop-schemas/gdesktop-enums.h',
> -+  get_option('oe_sysroot') + gsettings_desktop_dep.get_variable(pkgconfig: 
> 'prefix') + '/include/gsettings-desktop-schemas/gdesktop-enums.h',
> -   'cc-background-item.h'
> +-  gsettings_desktop_dep.get_variable(pkgconfig: 'prefix') + 
> '/include/gsettings-desktop-schemas/gdesktop-enums.h'
> ++  get_option('oe_sysroot') + gsettings_desktop_dep.get_variable(pkgconfig: 
> 'prefix') + '/include/gsettings-desktop-schemas/gdesktop-enums.h'
>   )
>
> -diff --git a/panels/datetime/meson.build b/panels/datetime/meson.build
> -index 8cb3b63f0..8c5a45e7c 100644
>  a/panels/datetime/meson.build
> -+++ b/panels/datetime/meson.build
> -@@ -37,7 +37,7 @@ sources = files(
> + common_sources += gnome.mkenums(
> +diff --git a/panels/system/meson.build b/panels/system/meson.build
> +index 4fee82210..979332a0e 100644
> +--- a/panels/system/meson.build
>  b/panels/system/meson.build
> +@@ -73,7 +73,7 @@ sources += gnome.compile_resources(
> + )
>
> - enums = 'gdesktop-enums-types'
>   enums_header = files(
>  -  gsettings_desktop_dep.get_variable(pkgconfig: 'prefix') + 
> '/include/gsettings-desktop-schemas/gdesktop-enums.h',
>  +  get_option('oe_sysroot') + gsettings_desktop_dep.get_variable(pkgconfig: 
> 'prefix') + '/include/gsettings-desktop-schemas/gdesktop-enums.h',
> -   'cc-datetime-panel.h'
> +   'datetime/cc-datetime-page.h'
>   )
>
>  --
> -2.34.1
> +2.44.0
> +
> diff --git 
> a/meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center_45.3.bb 
> b/meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center_46.0.bb
> similarity index 95%

[oe] [meta-oe][RFC][PATCH] gtkmm4: add x11 to REQUIRED_DISTRO_FEATURES

2024-03-29 Thread Martin Jansa
* depends on pangomm-2.48 which has x11 in REQUIRED_DISTRO_FEATURES

* maybe pangomm-2.48 should be adjusted to use GTK3DISTROFEATURES
  like regular pangomm in :
  
https://git.openembedded.org/meta-openembedded/commit/?h=scarthgap=9abe74eb0bd53316b0bb3fe1d241c83e2674e72e

Signed-off-by: Martin Jansa 
---
 meta-oe/recipes-gnome/gtk+/gtkmm4_4.14.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-gnome/gtk+/gtkmm4_4.14.0.bb 
b/meta-oe/recipes-gnome/gtk+/gtkmm4_4.14.0.bb
index b0b51ed73f..d3a01e444c 100644
--- a/meta-oe/recipes-gnome/gtk+/gtkmm4_4.14.0.bb
+++ b/meta-oe/recipes-gnome/gtk+/gtkmm4_4.14.0.bb
@@ -12,7 +12,7 @@ BPN = "gtkmm"
 
 inherit gnomebase features_check
 
-REQUIRED_DISTRO_FEATURES = "opengl"
+REQUIRED_DISTRO_FEATURES = "opengl x11"
 
 SRC_URI[archive.sha256sum] = 
"9350a0444b744ca3dc69586ebd1b6707520922b6d9f4f232103ce603a271ecda"
 
-- 
2.44.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109682): 
https://lists.openembedded.org/g/openembedded-devel/message/109682
Mute This Topic: https://lists.openembedded.org/mt/105213143/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-filesystems][PATCH 2/2] xfstests: Fix build with musl >= 1.2.5

2024-03-25 Thread Martin Jansa
On Mon, Mar 25, 2024 at 6:57 PM Khem Raj  wrote:
>
> Signed-off-by: Khem Raj 
> ---
>  ...-libgen.h-for-basename-API-prototype.patch | 84 +++
>  ...X_ATTR_-defines-from-musl-sys-stat.h.patch | 42 ++
>  .../xfstests/xfstests_2024.03.03.bb   |  2 +
>  3 files changed, 128 insertions(+)
>  create mode 100644 
> meta-filesystems/recipes-utils/xfstests/xfstests/0001-include-libgen.h-for-basename-API-prototype.patch
>  create mode 100644 
> meta-filesystems/recipes-utils/xfstests/xfstests/0002-Add-missing-STATX_ATTR_-defines-from-musl-sys-stat.h.patch
>
> diff --git 
> a/meta-filesystems/recipes-utils/xfstests/xfstests/0001-include-libgen.h-for-basename-API-prototype.patch
>  
> b/meta-filesystems/recipes-utils/xfstests/xfstests/0001-include-libgen.h-for-basename-API-prototype.patch
> new file mode 100644
> index 00..1f7ae32f04
> --- /dev/null
> +++ 
> b/meta-filesystems/recipes-utils/xfstests/xfstests/0001-include-libgen.h-for-basename-API-prototype.patch
> @@ -0,0 +1,84 @@
> +From 37caab7a43da5ede0ff1eb700f0257a213ac4b18 Mon Sep 17 00:00:00 2001
> +From: Khem Raj 
> +Date: Mon, 25 Mar 2024 10:46:50 -0700
> +Subject: [PATCH 1/2] include libgen.h for basename API prototype
> +
> +basename prototype has been removed from string.h from latest musl [1]
> +compilers e.g. clang-18 flags the absense of prototype as error. therefore
> +include libgen.h for providing it.
> +
> +[1] 
> https://git.musl-libc.org/cgit/musl/commit/?id=725e17ed6dff4d0cd22487bb64470881e86a92e7
> +
> +Upstream-Status: 
> [https://lore.kernel.org/fstests/20240325175323.3450750-1-raj.k...@gmail.com/T/#t]

You forgot "Submitted" here.

> +Signed-off-by: Khem Raj 
> +---
> + src/splice-test.c   | 1 +
> + src/stat_test.c | 1 +
> + src/t_ext4_dax_inline_corruption.c  | 1 +
> + src/t_ext4_dax_journal_corruption.c | 1 +
> + src/t_mmap_collision.c  | 1 +
> + 5 files changed, 5 insertions(+)
> +
> +diff --git a/src/splice-test.c b/src/splice-test.c
> +index eb863673..7b7094f5 100644
> +--- a/src/splice-test.c
>  b/src/splice-test.c
> +@@ -11,6 +11,7 @@
> + #include 
> + #include 
> + #include 
> ++#include 
> +
> + #include 
> + #include 
> +diff --git a/src/stat_test.c b/src/stat_test.c
> +index 95cfdc4f..77e1acdd 100644
> +--- a/src/stat_test.c
>  b/src/stat_test.c
> +@@ -4,6 +4,7 @@
> +  * Written by David Howells (dhowe...@redhat.com)
> +  */
> +
> ++#include 
> + #include 
> + #include 
> + #include 
> +diff --git a/src/t_ext4_dax_inline_corruption.c 
> b/src/t_ext4_dax_inline_corruption.c
> +index e1a39a6c..a40c5df5 100644
> +--- a/src/t_ext4_dax_inline_corruption.c
>  b/src/t_ext4_dax_inline_corruption.c
> +@@ -2,6 +2,7 @@
> + /* Copyright (c) 2018 Intel Corporation. */
> + #include 
> + #include 
> ++#include 
> + #include 
> + #include 
> + #include 
> +diff --git a/src/t_ext4_dax_journal_corruption.c 
> b/src/t_ext4_dax_journal_corruption.c
> +index ba7a96e4..53be10c2 100644
> +--- a/src/t_ext4_dax_journal_corruption.c
>  b/src/t_ext4_dax_journal_corruption.c
> +@@ -2,6 +2,7 @@
> + /* Copyright (c) 2018 Intel Corporation. */
> + #include 
> + #include 
> ++#include 
> + #include 
> + #include 
> + #include 
> +diff --git a/src/t_mmap_collision.c b/src/t_mmap_collision.c
> +index c872f4e2..d9315fcf 100644
> +--- a/src/t_mmap_collision.c
>  b/src/t_mmap_collision.c
> +@@ -15,6 +15,7 @@
> +  */
> + #include 
> + #include 
> ++#include 
> + #include 
> + #include 
> + #include 
> +--
> +2.44.0
> +
> diff --git 
> a/meta-filesystems/recipes-utils/xfstests/xfstests/0002-Add-missing-STATX_ATTR_-defines-from-musl-sys-stat.h.patch
>  
> b/meta-filesystems/recipes-utils/xfstests/xfstests/0002-Add-missing-STATX_ATTR_-defines-from-musl-sys-stat.h.patch
> new file mode 100644
> index 00..20095c86ab
> --- /dev/null
> +++ 
> b/meta-filesystems/recipes-utils/xfstests/xfstests/0002-Add-missing-STATX_ATTR_-defines-from-musl-sys-stat.h.patch
> @@ -0,0 +1,42 @@
> +From 052818e91314b797d96d87672c60f6784160f935 Mon Sep 17 00:00:00 2001
> +From: Khem Raj 
> +Date: Mon, 25 Mar 2024 10:50:59 -0700
> +Subject: [PATCH 2/2] Add missing STATX_ATTR_* defines from musl sys/stat.h
> +
> +These defines are not provided by sys/stat.h on musl but are
> +in glibc's sys/stat.h, therefore to compile the tests on musl
> +based systems add the missing defines from linux/stat.h
> +if they are not provided
> +
> +Upstream-Status: Submitted 
> [https://lore.kernel.org/fstests/20240325175323.3450750-2-raj.k...@gmail.com/T/#u]
> +Signed-off-by: Khem Raj 
> +---
> + src/statx.h | 12 
> + 1 file changed, 12 insertions(+)
> +
> +diff --git a/src/statx.h b/src/statx.h
> +index 3f239d79..12599f5b 100644
> +--- a/src/statx.h
>  b/src/statx.h
> +@@ -12,6 +12,18 @@
> + #define AT_STATX_DONT_SYNC  0x4000  /* - Don't sync attributes with the 
> server */
> + #endif
> +
> ++#ifndef STATX_ATTR_COMPRESSED
> ++#define STATX_ATTR_COMPRESSED 0x0004 /* [I] 

[oe] [meta-filesystems][PATCH] xfstests: upgrade to v2024.03.03

2024-03-22 Thread Martin Jansa
* drop 0003-tests-Makefile-make-sure-group.list-DIRT-exists-befo.patch which
  was merged upstream

Signed-off-by: Martin Jansa 
---
 ...ake-sure-group.list-DIRT-exists-befo.patch | 239 --
 ...s_2024.01.14.bb => xfstests_2024.03.03.bb} |   3 +-
 2 files changed, 1 insertion(+), 241 deletions(-)
 delete mode 100644 
meta-filesystems/recipes-utils/xfstests/xfstests/0003-tests-Makefile-make-sure-group.list-DIRT-exists-befo.patch
 rename meta-filesystems/recipes-utils/xfstests/{xfstests_2024.01.14.bb => 
xfstests_2024.03.03.bb} (93%)

diff --git 
a/meta-filesystems/recipes-utils/xfstests/xfstests/0003-tests-Makefile-make-sure-group.list-DIRT-exists-befo.patch
 
b/meta-filesystems/recipes-utils/xfstests/xfstests/0003-tests-Makefile-make-sure-group.list-DIRT-exists-befo.patch
deleted file mode 100644
index 5e8bf0c606..00
--- 
a/meta-filesystems/recipes-utils/xfstests/xfstests/0003-tests-Makefile-make-sure-group.list-DIRT-exists-befo.patch
+++ /dev/null
@@ -1,239 +0,0 @@
-From b30d5690d7245aa8bd5ca2896e629e62ec97afda Mon Sep 17 00:00:00 2001
-From: Martin Jansa 
-Date: Thu, 8 Feb 2024 23:01:36 +0100
-Subject: [PATCH] tests/*/Makefile: make sure group.list DIRT exists before
- install
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-* sometimes make install was failing with:
-  cp: cannot stat 'group.list': No such file or directory
-  and bunch of non-fatal messages:
-  mv: failed to preserve ownership for 'group.list': Invalid argument
-
-* this was when tools/mkgroupfile did
-  mv -f "$new_groups" "$groupfile"
-  overwritting the group.list file while install-sh was already
-  copying it to output
-
-* in the end easily reproducible by
-  1) removing tests/*/group.list before each make install
-  2) adding some sleep in mkgroupfile before the mv call
-
-Upstream-Status: Submitted 
[https://lore.kernel.org/fstests/20240208225241.644701-1-martin.ja...@gmail.com/]
-
-Signed-off-by: Martin Jansa 

- tests/btrfs/Makefile| 2 +-
- tests/ceph/Makefile | 2 +-
- tests/cifs/Makefile | 2 +-
- tests/ext4/Makefile | 2 +-
- tests/f2fs/Makefile | 2 +-
- tests/generic/Makefile  | 2 +-
- tests/nfs/Makefile  | 2 +-
- tests/ocfs2/Makefile| 2 +-
- tests/overlay/Makefile  | 2 +-
- tests/perf/Makefile | 2 +-
- tests/selftest/Makefile | 2 +-
- tests/shared/Makefile   | 2 +-
- tests/tmpfs/Makefile| 2 +-
- tests/udf/Makefile  | 2 +-
- tests/xfs/Makefile  | 2 +-
- 15 files changed, 15 insertions(+), 15 deletions(-)
-
-diff --git a/tests/btrfs/Makefile b/tests/btrfs/Makefile
-index 1b72a1a1..6d9995b4 100644
 a/tests/btrfs/Makefile
-+++ b/tests/btrfs/Makefile
-@@ -14,7 +14,7 @@ default: $(DIRT)
- 
- include $(BUILDRULES)
- 
--install:
-+install: default
-   $(INSTALL) -m 755 -d $(TARGET_DIR)
-   $(INSTALL) -m 755 $(TESTS) $(TARGET_DIR)
-   $(INSTALL) -m 644 group.list $(TARGET_DIR)
-diff --git a/tests/ceph/Makefile b/tests/ceph/Makefile
-index 2761e1e9..5f24d518 100644
 a/tests/ceph/Makefile
-+++ b/tests/ceph/Makefile
-@@ -12,7 +12,7 @@ default: $(DIRT)
- 
- include $(BUILDRULES)
- 
--install:
-+install: default
-   $(INSTALL) -m 755 -d $(TARGET_DIR)
-   $(INSTALL) -m 755 $(TESTS) $(TARGET_DIR)
-   $(INSTALL) -m 644 group.list $(TARGET_DIR)
-diff --git a/tests/cifs/Makefile b/tests/cifs/Makefile
-index 62c48935..0b89a01d 100644
 a/tests/cifs/Makefile
-+++ b/tests/cifs/Makefile
-@@ -14,7 +14,7 @@ default: $(DIRT)
- 
- include $(BUILDRULES)
- 
--install:
-+install: default
-   $(INSTALL) -m 755 -d $(TARGET_DIR)
-   $(INSTALL) -m 755 $(TESTS) $(TARGET_DIR)
-   $(INSTALL) -m 644 group.list $(TARGET_DIR)
-diff --git a/tests/ext4/Makefile b/tests/ext4/Makefile
-index a2a0d561..296e3850 100644
 a/tests/ext4/Makefile
-+++ b/tests/ext4/Makefile
-@@ -14,7 +14,7 @@ default: $(DIRT)
- 
- include $(BUILDRULES)
- 
--install:
-+install: default
-   $(INSTALL) -m 755 -d $(TARGET_DIR)
-   $(INSTALL) -m 755 $(TESTS) $(TARGET_DIR)
-   $(INSTALL) -m 644 group.list $(TARGET_DIR)
-diff --git a/tests/f2fs/Makefile b/tests/f2fs/Makefile
-index 9d1ed3c6..0a90b465 100644
 a/tests/f2fs/Makefile
-+++ b/tests/f2fs/Makefile
-@@ -15,7 +15,7 @@ default: $(DIRT)
- 
- include $(BUILDRULES)
- 
--install:
-+install: default
-   $(INSTALL) -m 755 -d $(TARGET_DIR)
-   $(INSTALL) -m 755 $(TESTS) $(TARGET_DIR)
-   $(INSTALL) -m 644 group.list $(TARGET_DIR)
-diff --git a/tests/generic/Makefile b/tests/generic/Makefile
-index b464b22b..d6ed3e55 100644
 a/tests/generic/Makefile
-+++ b/tests/generic/Makefile
-@@ -14,7 +14,7 @@ default: $(DIRT)
- 
- include $(BUILDRULES)
- 
--install:
-+install: default
-   $(INSTALL) -m 755 -d $(TARGET_DIR)
-   $(INSTALL) -m 755 $(TESTS) $(TARGET_DIR)
-   $(INSTALL) -m 644 group.list $(TARGET_DIR)
-diff --git a/tests/nfs/Makefile b/tests/nfs/Makefile
-index 128d2a3a..51590b5c 100644
 a/tests/nfs/Makefile

[oe] [meta-oe][PATCH] freerdp3: disable shadow without x11

2024-03-22 Thread Martin Jansa
* add -DWITH_SHADOW=OFF to avoid build failure without x11 in DISTRO_FEATURES:

CMake Error at 
TOPDIR/BUILD/work/raspberrypi4_64-oe-linux/freerdp3/3.4.0/recipe-sysroot-native/usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:230
(message):
  Could NOT find X11 (missing: X11_X11_INCLUDE_PATH X11_X11_LIB)

Call Stack (most recent call first):
  
TOPDIR/BUILD/work/raspberrypi4_64-oe-linux/freerdp3/3.4.0/recipe-sysroot-native/usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:600
(_FPHSA_FAILURE_MESSAGE)
  
TOPDIR/BUILD/work/raspberrypi4_64-oe-linux/freerdp3/3.4.0/recipe-sysroot-native/usr/share/cmake-3.28/Modules/FindX11.cmake:665
(find_package_handle_standard_args)
  server/shadow/X11/CMakeLists.txt:1 (find_package)

Signed-off-by: Martin Jansa 
---
 meta-oe/recipes-support/freerdp/freerdp3_3.4.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/freerdp/freerdp3_3.4.0.bb 
b/meta-oe/recipes-support/freerdp/freerdp3_3.4.0.bb
index 55083d13c0..537d19263d 100644
--- a/meta-oe/recipes-support/freerdp/freerdp3_3.4.0.bb
+++ b/meta-oe/recipes-support/freerdp/freerdp3_3.4.0.bb
@@ -36,7 +36,7 @@ EXTRA_OECMAKE = " \
  "
 
 X11_DEPS = "virtual/libx11 libxinerama libxext libxcursor libxv libxi 
libxrender libxfixes libxdamage libxrandr libxkbfile"
-PACKAGECONFIG[x11] = "-DWITH_X11=ON -DWITH_XINERAMA=ON -DWITH_XEXT=ON 
-DWITH_XCURSOR=ON -DWITH_XV=ON -DWITH_XI=ON -DWITH_XRENDER=ON -DWITH_XFIXES=ON 
-DWITH_XDAMAGE=ON -DWITH_XRANDR=ON -DWITH_XKBFILE=ON,-DWITH_X11=OFF,${X11_DEPS}"
+PACKAGECONFIG[x11] = "-DWITH_X11=ON -DWITH_XINERAMA=ON -DWITH_XEXT=ON 
-DWITH_XCURSOR=ON -DWITH_XV=ON -DWITH_XI=ON -DWITH_XRENDER=ON -DWITH_XFIXES=ON 
-DWITH_XDAMAGE=ON -DWITH_XRANDR=ON -DWITH_XKBFILE=ON,-DWITH_X11=OFF 
-DWITH_SHADOW=OFF,${X11_DEPS}"
 PACKAGECONFIG[wayland] = "-DWITH_WAYLAND=ON,-DWITH_WAYLAND=OFF,wayland 
wayland-native libxkbcommon"
 PACKAGECONFIG[pam] = "-DWITH_PAM=ON,-DWITH_PAM=OFF,libpam"
 PACKAGECONFIG[pulseaudio] = 
"-DWITH_PULSEAUDIO=ON,-DWITH_PULSEAUDIO=OFF,pulseaudio"
-- 
2.44.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109514): 
https://lists.openembedded.org/g/openembedded-devel/message/109514
Mute This Topic: https://lists.openembedded.org/mt/105082010/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-gnome][PATCHv2] freerdp3: add recipe

2024-03-22 Thread Martin Jansa
The packageconfig for x11 doesn't seem to be enough to disable x11
when it's not in DISTRO_FEATURES.

CMake Error at 
TOPDIR/BUILD/work/raspberrypi4_64-oe-linux/freerdp3/3.4.0/recipe-sysroot-native/usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:230
(message):
  Could NOT find X11 (missing: X11_X11_INCLUDE_PATH X11_X11_LIB)

Call Stack (most recent call first):
  
TOPDIR/BUILD/work/raspberrypi4_64-oe-linux/freerdp3/3.4.0/recipe-sysroot-native/usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:600
(_FPHSA_FAILURE_MESSAGE)
  
TOPDIR/BUILD/work/raspberrypi4_64-oe-linux/freerdp3/3.4.0/recipe-sysroot-native/usr/share/cmake-3.28/Modules/FindX11.cmake:665
(find_package_handle_standard_args)
  server/shadow/X11/CMakeLists.txt:1 (find_package)

On Wed, Mar 20, 2024 at 7:10 PM Markus Volk  wrote:
>
> On Wed, Mar 20 2024 at 06:49:43 PM +01:00:00, Markus Volk  
> wrote:
>
> their dependencies are which are not yet in master branch of the core
>
>
> I tried to mention in the commit message, if an update requires a change to 
> oe-core.
>
> For now that would be
> gnome-settings-daemon, which requires gsettings-desktop-schemas 46.0
> gnome-calculator, which requires libsoup with vala support
> gnome-calendar, which requires libadwaita-1.5.0
>
> additionally to complete the gnome-46 port there would be
> nautilus, which will require glib-2.80
> gnome-console and gnome-terminal, which will require vte 0.76
>
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109511): 
https://lists.openembedded.org/g/openembedded-devel/message/109511
Mute This Topic: https://lists.openembedded.org/mt/105020833/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-multimedia][PATCH v2] spandsp: new telephony DSP library

2024-03-19 Thread Martin Jansa
On Sat, Mar 16, 2024 at 9:02 AM Martin Jansa via lists.openembedded.org
 wrote:

> I'm seeing the same errors with gcc :)
>
> libtool: compile:  ccache arm-oe-linux-gnueabi-gcc -mthumb -mfpu=neon
> -mfloat-abi=softfp -mcpu=cortex-a9 -mtune=cortex-a9
> -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security
> -Werror=format-security -Werror=return-type -funwind-tables -D_TIME_BITS=64
> -D_FILE_OFFSET_BITS=64
> --sysroot=TOPDIR/BUILD/work/mach-oe-linux-gnueabi/lib32-spandsp/3.0.0+git/lib32-recipe-sysroot
> -DHAVE_CONFIG_H -I. -I../../git/src -I.. -DNDEBUG -Wunused-but-set-variable
> -std=gnu99 -ffast-math -Wall -Wunused-variable -Wwrite-strings
> -Wstrict-prototypes -Wmissing-prototypes -fvisibility=hidden
> -DHAVE_VISIBILITY=1 -O2 -pipe -g -feliminate-unused-debug-types
> -fcanon-prefix-map
> -fmacro-prefix-map=TOPDIR/BUILD/work/mach-oe-linux-gnueabi/lib32-spandsp/3.0.0+git/git=/usr/src/debug/lib32-spandsp/3.0.0+git
> -fdebug-prefix-map=TOPDIR/BUILD/work/mach-oe-linux-gnueabi/lib32-spandsp/3.0.0+git/git=/usr/src/debug/lib32-spandsp/3.0.0+git
> -fmacro-prefix-map=TOPDIR/BUILD/work/mach-oe-linux-gnueabi/lib32-spandsp/3.0.0+git/build=/usr/src/debug/lib32-spandsp/3.0.0+git
> -fdebug-prefix-map=TOPDIR/BUILD/work/mach-oe-linux-gnueabi/lib32-spandsp/3.0.0+git/build=/usr/src/debug/lib32-spandsp/3.0.0+git
> -fdebug-prefix-map=TOPDIR/BUILD/work/mach-oe-linux-gnueabi/lib32-spandsp/3.0.0+git/lib32-recipe-sysroot=
> -fmacro-prefix-map=TOPDIR/BUILD/work/mach-oe-linux-gnueabi/lib32-spandsp/3.0.0+git/lib32-recipe-sysroot=
> -fdebug-prefix-map=TOPDIR/BUILD/work/mach-oe-linux-gnueabi/lib32-spandsp/3.0.0+git/recipe-sysroot-native=
> -c ../../git/src/t38_terminal.c  -fPIC -DPIC -o .libs/t38_terminal.o
> ../../git/src/ademco_contactid.c:449:110: error: expected ')' before ';'
> token
>   449 | static const int detection_threshold=
> goertzel_threshold_dbm0(GOERTZEL_SAMPLES_PER_BLOCK, -42.0f);
>   |
>^
> In file included from ../../git/src/ademco_contactid.c:66:
> ../../git/src/spandsp/tone_detect.h:63:55: note: to match this '('
>63 | #define goertzel_threshold_dbm0(len,thresh) (int)
> ((len*len*256.0*256.0/2.0*pow(10.0, (thresh - DBM0_MAX_SINE_POWER)/10.0))
>   |   ^
> ../../git/src/ademco_contactid.c:449:51: note: in expansion of macro
> 'goertzel_threshold_dbm0'
>   449 | static const int detection_threshold=
> goertzel_threshold_dbm0(GOERTZEL_SAMPLES_PER_BLOCK, -42.0f);
>   |
> ^~~
> ../../git/src/ademco_contactid.c:449:18: warning: 'detection_threshold'
> defined but not used [-Wunused-const-variable=]
>   449 | static const int detection_threshold=
> goertzel_threshold_dbm0(GOERTZEL_SAMPLES_PER_BLOCK, -42.0f);
>   |  ^~~
> ../../git/src/ademco_contactid.c:210:35: warning: 'ademco_codes' defined
> but not used [-Wunused-const-variable=]
>   210 | static const struct ademco_code_s ademco_codes[] =
>   |   ^~~~
> make[2]: *** [Makefile:1091: ademco_contactid.lo] Error 1
>
> This is with master-next meta-oe from yesterday in build with multilib
> (night not be important)
>

The failure on gcc was caused by arm build using SPANDSP_USE_FIXED_POINT
and missing ')' in one of the macros, see comments in:
https://github.com/freeswitch/spandsp/commit/5394b2cae6c482ccb835335b769469977e6802ae#commitcomment-139934289
and the fix:
https://github.com/freeswitch/spandsp/pull/75

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109473): 
https://lists.openembedded.org/g/openembedded-devel/message/109473
Mute This Topic: https://lists.openembedded.org/mt/104933829/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-oe][PATCH v4 6/7] lvgl: fix libdrm include

2024-03-17 Thread Martin Jansa
The extra -I flag won't harm even when libdrm isn't there.

lvgl-demo-fb also doesn't do it conditionally based on drm PACKAGECONFIG.

If someone want's to fix this properly then should also use pkg-config
(and tests/FindLibDRM.cmake in the lvgl repo), but lets not block this
fix based on that.

This whole issue is just revealed by the typo fix in
https://patchwork.yoctoproject.org/project/oe/patch/20240316100056.409758-1-chris.chap...@gmail.com/
which fixed lv-conf.inc to work for lvgl resulting in LV_USE_LINUX_DRM
being respected based on PACKAGECONFIG drm.

Acked-by: Martin Jansa 

On Sun, Mar 17, 2024 at 6:45 AM Marek Vasut  wrote:
>
> On 3/16/24 10:55 PM, Christophe Chapuis wrote:
> > It could be conditional eventually; I just took the line from lvgl-demo-fb,
> > where it wasn't.
> >
> > Ideally, both should be moved in lv-conf.inc, where the lvgl drm setting is
> > activated. But I didn't want to expand again the scope of this patchset,
> > initially focused simply on adding some variables to lv-conf.inc.
>
> I think I will just defer that decision to Khem.
>
> My concern is that a system with SDL or fbdev backend may not have
> libdrm available, so I think it should be conditional.
>
> I think this will handle that concern:
>
> TARGET_CFLAGS += "${@bb.utils.contains('PACKAGECONFIG', 'drm',
> '-I${STAGING_INCDIR}/libdrm', '', d)}"
>
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109377): 
https://lists.openembedded.org/g/openembedded-devel/message/109377
Mute This Topic: https://lists.openembedded.org/mt/104964303/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-multimedia][PATCH v2] spandsp: new telephony DSP library

2024-03-16 Thread Martin Jansa
I'm seeing the same errors with gcc :)

libtool: compile:  ccache arm-oe-linux-gnueabi-gcc -mthumb -mfpu=neon
-mfloat-abi=softfp -mcpu=cortex-a9 -mtune=cortex-a9
-fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security
-Werror=format-security -Werror=return-type -funwind-tables -D_TIME_BITS=64
-D_FILE_OFFSET_BITS=64
--sysroot=TOPDIR/BUILD/work/mach-oe-linux-gnueabi/lib32-spandsp/3.0.0+git/lib32-recipe-sysroot
-DHAVE_CONFIG_H -I. -I../../git/src -I.. -DNDEBUG -Wunused-but-set-variable
-std=gnu99 -ffast-math -Wall -Wunused-variable -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -fvisibility=hidden
-DHAVE_VISIBILITY=1 -O2 -pipe -g -feliminate-unused-debug-types
-fcanon-prefix-map
-fmacro-prefix-map=TOPDIR/BUILD/work/mach-oe-linux-gnueabi/lib32-spandsp/3.0.0+git/git=/usr/src/debug/lib32-spandsp/3.0.0+git
-fdebug-prefix-map=TOPDIR/BUILD/work/mach-oe-linux-gnueabi/lib32-spandsp/3.0.0+git/git=/usr/src/debug/lib32-spandsp/3.0.0+git
-fmacro-prefix-map=TOPDIR/BUILD/work/mach-oe-linux-gnueabi/lib32-spandsp/3.0.0+git/build=/usr/src/debug/lib32-spandsp/3.0.0+git
-fdebug-prefix-map=TOPDIR/BUILD/work/mach-oe-linux-gnueabi/lib32-spandsp/3.0.0+git/build=/usr/src/debug/lib32-spandsp/3.0.0+git
-fdebug-prefix-map=TOPDIR/BUILD/work/mach-oe-linux-gnueabi/lib32-spandsp/3.0.0+git/lib32-recipe-sysroot=
-fmacro-prefix-map=TOPDIR/BUILD/work/mach-oe-linux-gnueabi/lib32-spandsp/3.0.0+git/lib32-recipe-sysroot=
-fdebug-prefix-map=TOPDIR/BUILD/work/mach-oe-linux-gnueabi/lib32-spandsp/3.0.0+git/recipe-sysroot-native=
-c ../../git/src/t38_terminal.c  -fPIC -DPIC -o .libs/t38_terminal.o
../../git/src/ademco_contactid.c:449:110: error: expected ')' before ';'
token
  449 | static const int detection_threshold=
goertzel_threshold_dbm0(GOERTZEL_SAMPLES_PER_BLOCK, -42.0f);
  |
 ^
In file included from ../../git/src/ademco_contactid.c:66:
../../git/src/spandsp/tone_detect.h:63:55: note: to match this '('
   63 | #define goertzel_threshold_dbm0(len,thresh) (int)
((len*len*256.0*256.0/2.0*pow(10.0, (thresh - DBM0_MAX_SINE_POWER)/10.0))
  |   ^
../../git/src/ademco_contactid.c:449:51: note: in expansion of macro
'goertzel_threshold_dbm0'
  449 | static const int detection_threshold=
goertzel_threshold_dbm0(GOERTZEL_SAMPLES_PER_BLOCK, -42.0f);
  |
^~~
../../git/src/ademco_contactid.c:449:18: warning: 'detection_threshold'
defined but not used [-Wunused-const-variable=]
  449 | static const int detection_threshold=
goertzel_threshold_dbm0(GOERTZEL_SAMPLES_PER_BLOCK, -42.0f);
  |  ^~~
../../git/src/ademco_contactid.c:210:35: warning: 'ademco_codes' defined
but not used [-Wunused-const-variable=]
  210 | static const struct ademco_code_s ademco_codes[] =
  |   ^~~~
make[2]: *** [Makefile:1091: ademco_contactid.lo] Error 1

This is with master-next meta-oe from yesterday in build with multilib
(night not be important)

On Fri, Mar 15, 2024 at 8:19 AM Jörg Sommer via lists.openembedded.org
 wrote:

> Yes, I'm getting these errors, too, when compiling with clang; independent
> of the clang version up to 19. It seems to be a problem of `pow()`. gcc
> might have a built-in and can compute it at compile-time, while clang has
> no built-in of pow.
>
>
>
> Jörg Sommer
>
> Software Developer / Programmierer
> --
>
> Navimatix GmbH
>
> Tatzendpromenade 2
>
> 07745 Jena
>
> T: 03641 - 327 99 0
>
> F: 03641 - 526 306
>
> M: *joerg.som...@navimatix.de *
>
> *www.navimatix.de *
>
>
>
> Geschäftsführer: Steffen Späthe, Jan Rommeley
>
> Registergericht: Amtsgericht Jena, HRB 501480
>
> --
> *From:* Khem Raj 
> *Sent:* Friday, 15 March 2024 06:13
> *To:* Jörg Sommer 
> *Cc:* openembedded-devel@lists.openembedded.org <
> openembedded-devel@lists.openembedded.org>
> *Subject:* Re: [oe] [meta-multimedia][PATCH v2] spandsp: new telephony
> DSP library
>
> Not much to do with musl, it fails when I use clang on my desktop as
> well. you can see the same errors with clang on host
>
> CC=clang ./configure
> make
>
> On Thu, Mar 14, 2024 at 9:37 PM Khem Raj  wrote:
> >
> > fails to build with musl/clang
> >
> > https://snips.sh/f/qCR86Rwwz1
> >
> > On Thu, Mar 14, 2024 at 12:43 PM Jörg Sommer via
> > lists.openembedded.org
> >  wrote:
> > >
> > > From: Jörg Sommer 
> > >
> > > Signed-off-by: Jörg Sommer 
> > > ---
> > >  .../spandsp/spandsp/configure.patch   |  56 ++
> > >  .../spandsp/spandsp/makefile.patch| 161 ++
> > >  .../recipes-multimedia/spandsp/spandsp_git.bb |  47 +
> > >  3 files changed, 264 insertions(+)
> > >  create mode 100644
> meta-multimedia/recipes-multimedia/spandsp/spandsp/configure.patch
> > >  create mode 100644
> meta-multimedia/recipes-multimedia/spandsp/spandsp/makefile.patch
> > >  

[oe] [meta-oe][PATCH] recipes: Drop remaining PR values from recipes

2024-03-14 Thread Martin Jansa
* as oe-core did in:
  https://git.openembedded.org/openembedded-core/commit/?id=d4c346e8ab

* when people are have to maintain own PRs for recipes in oe-core, they
  might add them for meta-oe recipes at the same time when upgrading
  to next LTS

Signed-off-by: Martin Jansa 
---
 .../recipes-graphics/packagegroups/packagegroup-core-clutter.bb  | 1 -
 meta-networking/recipes-protocols/frr/frr_9.1.bb | 1 -
 meta-networking/recipes-protocols/rp-pppoe/rp-pppoe_3.15.bb  | 1 -
 meta-networking/recipes-protocols/zeroconf/zeroconf_0.9.bb   | 1 -
 meta-networking/recipes-support/netcat/netcat_0.7.1.bb   | 1 -
 .../dynamic-layers/meta-python/recipes-devtools/nanopb/nanopb.bb | 1 -
 meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb  | 1 -
 meta-oe/recipes-benchmark/tiobench/tiobench_0.3.3.bb | 1 -
 meta-oe/recipes-bsp/cpufrequtils/cpufrequtils_008.bb | 1 -
 meta-oe/recipes-bsp/pcmciautils/pcmciautils_018.bb   | 1 -
 meta-oe/recipes-bsp/pointercal/pointercal_0.0.bb | 1 -
 meta-oe/recipes-core/dbus/dbus-daemon-proxy_git.bb   | 1 -
 meta-oe/recipes-core/meta/distro-feed-configs.bb | 1 -
 meta-oe/recipes-core/packagegroups/packagegroup-basic.bb | 1 -
 meta-oe/recipes-core/packagegroups/packagegroup-boot.bb  | 1 -
 meta-oe/recipes-core/proxy-libintl/proxy-libintl_20100902.bb | 1 -
 meta-oe/recipes-dbs/libdbi/libdbi_0.9.0.bb   | 1 -
 .../recipes-devtools/packagegroups/packagegroup-sdk-target.bb| 1 -
 meta-oe/recipes-extended/libimobiledevice/libplist_2.3.0.bb  | 1 -
 meta-oe/recipes-extended/libwmf/libwmf_0.2.8.4.bb| 1 -
 meta-oe/recipes-extended/uml-utilities/uml-utilities_20040406.bb | 1 -
 meta-oe/recipes-extended/zram/zram_0.2.bb| 1 -
 meta-oe/recipes-graphics/dietsplash/dietsplash_git.bb| 1 -
 meta-oe/recipes-graphics/libsdl/libsdl_1.2.15.bb | 1 -
 .../packagegroups/packagegroup-fonts-truetype.bb | 1 -
 meta-oe/recipes-graphics/ttf-fonts/ttf-arphic-uming_20080216.bb  | 1 -
 meta-oe/recipes-graphics/ttf-fonts/ttf-dejavu_2.37.bb| 1 -
 meta-oe/recipes-graphics/ttf-fonts/ttf-droid_git.bb  | 1 -
 meta-oe/recipes-graphics/ttf-fonts/ttf-gentium_1.02.bb   | 1 -
 meta-oe/recipes-graphics/ttf-fonts/ttf-hunkyfonts_0.3.1.bb   | 1 -
 meta-oe/recipes-graphics/ttf-fonts/ttf-liberation_0.2.bb | 1 -
 meta-oe/recipes-graphics/ttf-fonts/ttf-mplus_027.bb  | 1 -
 meta-oe/recipes-graphics/ttf-fonts/ttf-sazanami_20040629.bb  | 1 -
 .../recipes-graphics/ttf-fonts/ttf-ubuntu-font-family_0.83.bb| 1 -
 meta-oe/recipes-graphics/xorg-driver/xf86-input-void_1.4.2.bb| 1 -
 meta-oe/recipes-graphics/xserver-common/xserver-common_1.34.bb   | 1 -
 meta-oe/recipes-kernel/crash/crash-cross-canadian_8.0.4.bb   | 1 -
 meta-oe/recipes-kernel/crash/crash_8.0.4.bb  | 1 -
 meta-oe/recipes-multimedia/id3lib/id3lib_3.8.3.bb| 1 -
 meta-oe/recipes-multimedia/libid3tag/libid3tag_0.15.1b.bb| 1 -
 meta-oe/recipes-multimedia/libmad/libmad_0.15.1b.bb  | 1 -
 meta-oe/recipes-multimedia/v4l2apps/yavta_git.bb | 1 -
 meta-oe/recipes-support/eject/eject_2.1.5.bb | 1 -
 meta-oe/recipes-support/fbset/fbset-modes.bb | 1 -
 meta-oe/recipes-support/fbset/fbset_2.1.bb   | 1 -
 meta-oe/recipes-support/gpm/gpm_git.bb   | 1 -
 meta-oe/recipes-support/hddtemp/hddtemp_0.3-beta15.bb| 1 -
 meta-oe/recipes-support/libtinyxml/libtinyxml_2.6.2.bb   | 1 -
 meta-oe/recipes-support/p910nd/p910nd_0.97.bb| 1 -
 meta-perl/recipes-perl/libmodule/libmodule-pluggable-perl_5.2.bb | 1 -
 .../recipes-connectivity/telepathy/telepathy-python3_0.15.19.bb  | 1 -
 meta-xfce/recipes-xfce/packagegroups/packagegroup-xfce-base.bb   | 1 -
 .../recipes-xfce/packagegroups/packagegroup-xfce-extended.bb | 1 -
 53 files changed, 53 deletions(-)

diff --git 
a/meta-gnome/recipes-graphics/packagegroups/packagegroup-core-clutter.bb 
b/meta-gnome/recipes-graphics/packagegroups/packagegroup-core-clutter.bb
index d4df611639..a3c274240a 100644
--- a/meta-gnome/recipes-graphics/packagegroups/packagegroup-core-clutter.bb
+++ b/meta-gnome/recipes-graphics/packagegroups/packagegroup-core-clutter.bb
@@ -4,7 +4,6 @@
 
 SUMMARY = "Clutter package groups"
 
-PR = "r6"
 
 # clutter-1.0 gets debian renamed to libclutter-1.0-0
 # clutter-gtk-1.0 gets debian renamed to libclutter-gtk-1.0-0
diff --git a/meta-networking/recipes-protocols/frr/frr_9.1.bb 
b/meta-networking/recipes-protocols/frr/frr_9.1.bb
index 0926f84214..8ea917afaa 100644
--- a/meta-networking/recipes-protocols/frr/frr_9.1.bb
+++ b/meta-networking/recipes-protocols/frr/frr_9.1.bb
@@ -9,7 +9,6 @@ LICENSE = "GPL

[oe] [meta-oe][PATCH] unionfs-fuse, dropwatch, postgresql, yasm, multipath-tools, python3-pybind11: add missing Upstream-Status

2024-03-14 Thread Martin Jansa
* add Pending to .patch files where it was accidentally droped
  with upgrades or modifications in:

  f88e5b146e postgresql: upgrade 15.5 -> 16.2
  c904e169db multipath-tools: upgrade 0.9.3 -> 0.9.8
  105be9b3d9 unionfs-fuse: upgrade 2.2 --> 3.4

  or new patches where the author didn't notice/care:

  2a7f74cdb0 dropwatch: Use header files from sysroot instead of build host
  f5cc9f272a yasm: improve reproducibility
  39028d0d9d python3-pybind11: Restore strip prevention patch

  authors of these added to CC, please be more careful with removing
  or not adding these or enable patch-status in ERROR_QA for your
  builds, see:
  https://lists.openembedded.org/g/openembedded-core/topic/104922136#197113

* added with:
  for p in `/OE/layers/openembedded-core/scripts/contrib/patchreview.py -v . | 
grep Missing.Upstream-Status.tag | sed 's/.*(//g;s/)$//g'`; do grep -q 
^Upstream-Status: $p || sed -i "s/^---$/\nUpstream-Status: Pending\n---/g" $p;  
   grep -q ^Upstream-Status: $p || sed -i "1iUpstream-Status: Pending\n" 
$p;     done

Signed-off-by: Martin Jansa 
---
 .../unionfs-fuse/files/0001-support-cross-compiling.patch   | 2 ++
 ...1-fix-bug-build-with-sysroot-head-file-instead-of-loca.patch | 2 ++
 .../postgresql/files/0001-Add-support-for-RISC-V.patch  | 2 ++
 .../yasm/0001-yasm-Set-build-date-to-SOURCE_DATE_EPOCH.patch| 2 ++
 .../yasm/0002-yasm-Use-BUILD_DATE-for-reproducibility.patch | 2 ++
 .../files/0001-RH-fixup-udev-rules-for-redhat.patch | 2 ++
 ...002-RH-Remove-the-property-blacklist-exception-builtin.patch | 2 ++
 .../files/0011-fix-bug-of-do_compile-and-do_install.patch   | 2 ++
 .../python/python3-pybind11/0001-Do-not-strip-binaries.patch| 2 ++
 9 files changed, 18 insertions(+)

diff --git 
a/meta-filesystems/recipes-filesystems/unionfs-fuse/files/0001-support-cross-compiling.patch
 
b/meta-filesystems/recipes-filesystems/unionfs-fuse/files/0001-support-cross-compiling.patch
index 13e782fa70..9b4d0f6cae 100644
--- 
a/meta-filesystems/recipes-filesystems/unionfs-fuse/files/0001-support-cross-compiling.patch
+++ 
b/meta-filesystems/recipes-filesystems/unionfs-fuse/files/0001-support-cross-compiling.patch
@@ -7,6 +7,8 @@ Do not override OE CMAKE variables
 
 Signed-off-by: Hongxu Jia 
 Signed-off-by: Alper Ak 
+
+Upstream-Status: Pending
 ---
  src/CMakeLists.txt | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 
a/meta-networking/recipes-support/dropwatch/dropwatch/0001-fix-bug-build-with-sysroot-head-file-instead-of-loca.patch
 
b/meta-networking/recipes-support/dropwatch/dropwatch/0001-fix-bug-build-with-sysroot-head-file-instead-of-loca.patch
index 33b72e05f0..d0baceb15b 100755
--- 
a/meta-networking/recipes-support/dropwatch/dropwatch/0001-fix-bug-build-with-sysroot-head-file-instead-of-loca.patch
+++ 
b/meta-networking/recipes-support/dropwatch/dropwatch/0001-fix-bug-build-with-sysroot-head-file-instead-of-loca.patch
@@ -5,6 +5,8 @@ Subject: [PATCH] fix bug: build with sysroot head file instead 
of local head
  file:net_dropmon.h
 
 Signed-off-by: chenheyun 
+
+Upstream-Status: Pending
 ---
  src/main.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 
a/meta-oe/recipes-dbs/postgresql/files/0001-Add-support-for-RISC-V.patch 
b/meta-oe/recipes-dbs/postgresql/files/0001-Add-support-for-RISC-V.patch
index 34d34ecad9..ebd3e03685 100644
--- a/meta-oe/recipes-dbs/postgresql/files/0001-Add-support-for-RISC-V.patch
+++ b/meta-oe/recipes-dbs/postgresql/files/0001-Add-support-for-RISC-V.patch
@@ -5,6 +5,8 @@ Subject: [PATCH 1/5] Add support for RISC-V.
 
 The architecture is sufficiently similar to aarch64 that simply
 extending the existing aarch64 macro works.
+
+Upstream-Status: Pending
 ---
  src/include/storage/s_lock.h | 5 +++--
  1 file changed, 3 insertions(+), 2 deletions(-)
diff --git 
a/meta-oe/recipes-devtools/yasm/yasm/0001-yasm-Set-build-date-to-SOURCE_DATE_EPOCH.patch
 
b/meta-oe/recipes-devtools/yasm/yasm/0001-yasm-Set-build-date-to-SOURCE_DATE_EPOCH.patch
index e65c9853e0..42f5559e3f 100644
--- 
a/meta-oe/recipes-devtools/yasm/yasm/0001-yasm-Set-build-date-to-SOURCE_DATE_EPOCH.patch
+++ 
b/meta-oe/recipes-devtools/yasm/yasm/0001-yasm-Set-build-date-to-SOURCE_DATE_EPOCH.patch
@@ -7,6 +7,8 @@ If SOURCE_DATE_EPOCH is set, use it to generate a reproducible
 string for BUILD_DATE.
 
 Signed-off-by: Oleh Matiusha 
+
+Upstream-Status: Pending
 ---
  configure.ac | 8 
  1 file changed, 8 insertions(+)
diff --git 
a/meta-oe/recipes-devtools/yasm/yasm/0002-yasm-Use-BUILD_DATE-for-reproducibility.patch
 
b/meta-oe/recipes-devtools/yasm/yasm/0002-yasm-Use-BUILD_DATE-for-reproducibility.patch
index 665f3afc9f..4b9c933d01 100644
--- 
a/meta-oe/recipes-devtools/yasm/yasm/0002-yasm-Use-BUILD_DATE-for-reproducibility.patch
+++ 
b/meta-oe/recipes-devtools/yasm/yasm/0002-yasm-Use-BUILD_DATE-for-reproducibility.patch
@@ -7,6 +7,8 @@ Use reproducible build date instead of compilation 

Re: [oe] [meta-oe] [PATCH V2] abseil-cpp: upgrade 20230802.1 -> 20240116.1

2024-03-11 Thread Martin Jansa
> No idea how that was not detected before the below patch was integrated 
> though.

You had the same chance to catch it on ML as me or khem..

On Mon, Mar 11, 2024 at 2:06 PM Peter Kjellerstedt
 wrote:
>
> > -Original Message-
> > From: openembedded-devel@lists.openembedded.org  > de...@lists.openembedded.org> On Behalf Of Martin Jansa
> > Sent: den 10 mars 2024 14:54
> > To: wan...@fujitsu.com; Peter Kjellerstedt 
> > Cc: openembedded-devel@lists.openembedded.org
> > Subject: Re: [oe] [meta-oe] [PATCH V2] abseil-cpp: upgrade 20230802.1 ->
> > 20240116.1
> >
> > Does this intentionally undo last 2 changes from Peter? The commit
> > message doesn't mention it
> >
> > https://git.openembedded.org/meta-openembedded/commit/?id=32eefcf1ca97a08ea85f62a72b676e447f1b79a0
> > https://git.openembedded.org/meta-openembedded/commit/?id=5c554c9b8cb63b5d0d5f434c28dd71c0f1843448
>
> I have no idea what happened there, but I assume they were somehow
> accidentally reverted. No idea how that was not detected before the below
> patch was integrated though.
>
> Anyway, I have sent updated patches to restore what was reverted.
>
> //Peter
>
> >
> > also looks like libabsl_flags is no longer provided by this version
> > (got failure from one recipe, will check if it's expected).
> >
> > Regards,
> >
> > On Fri, Mar 8, 2024 at 1:15 AM wangmy via lists.openembedded.org
> >  wrote:
> > >
> > > From: Wang Mingyu 
> > >
> > > 0004-Avoid-using-both-Win32Waiter-and-PthreadWaiter-on-Mi.patch
> > > revmoed since it's included in 20240116.1.
> > >
> > > Changelog:
> > > ===
> > > -Added absl::NoDestructor to simplify defining static types that do
> > not need
> > >  to be destructed upon program exit.
> > > -Added configurable verbose logging (also known as VLOG).
> > > -Added absl::Overload(), which returns a functor that provides overloads
> > based
> > >  on the functors passed to it.
> > > -Bzlmod is now officially supported (previously it was supported by the
> > community).
> > >
> > > Signed-off-by: Wang Mingyu 
> > > ---
> > >  ...-Win32Waiter-and-PthreadWaiter-on-Mi.patch | 62 ---
> > >  ...20230802.1.bb => abseil-cpp_20240116.1.bb} | 37 +++
> > >  2 files changed, 9 insertions(+), 90 deletions(-)
> > >  delete mode 100644 meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0004-
> > Avoid-using-both-Win32Waiter-and-PthreadWaiter-on-Mi.patch
> > >  rename meta-oe/recipes-devtools/abseil-cpp/{abseil-cpp_20230802.1.bb =>
> > abseil-cpp_20240116.1.bb} (59%)
> > >
> > > diff --git a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0004-Avoid-
> > using-both-Win32Waiter-and-PthreadWaiter-on-Mi.patch b/meta-oe/recipes-
> > devtools/abseil-cpp/abseil-cpp/0004-Avoid-using-both-Win32Waiter-and-
> > PthreadWaiter-on-Mi.patch
> > > deleted file mode 100644
> > > index db559bb16..0
> > > --- a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0004-Avoid-using-
> > both-Win32Waiter-and-PthreadWaiter-on-Mi.patch
> > > +++ /dev/null
> > > @@ -1,62 +0,0 @@
> > > -From cb7665f39e23e95e2466390c60ee5a410780a3ed Mon Sep 17 00:00:00 2001
> > > -From: Derek Mauro 
> > > -Date: Wed, 8 Nov 2023 09:55:31 -0800
> > > -Subject: [PATCH] Avoid using both Win32Waiter and PthreadWaiter on
> > MinGW, and
> > > - use StdcppWaiter instead.
> > > -
> > > -There are various flavors of MinGW, some of which support pthread,
> > > -and some of which support Win32. Instead of figuring out which
> > > -platform is being used, just use the generic implementation.
> > > -
> > > -PiperOrigin-RevId: 580565507
> > > -Change-Id: Ia85fd7496f1e6ebdeadb95202f0039e844826118
> > > -Upstream-Status: Backport
> > > 
> > > - absl/synchronization/internal/pthread_waiter.h | 4 ++--
> > > - absl/synchronization/internal/win32_waiter.h   | 6 --
> > > - 2 files changed, 6 insertions(+), 4 deletions(-)
> > > -
> > > -diff --git a/absl/synchronization/internal/pthread_waiter.h
> > b/absl/synchronization/internal/pthread_waiter.h
> > > -index 206aefa4..23db76ad 100644
> > >  a/absl/synchronization/internal/pthread_waiter.h
> > > -+++ b/absl/synchronization/internal/pthread_waiter.h
> > > -@@ -16,7 +16,7 @@
> > > - #ifndef ABSL_SYNCHRONIZATION_INTERNAL_PTHREAD_WAITER_H_
> > > - #define ABSL_SYNCHRONIZATION_INTE

Re: [oe] [meta-oe] [PATCH V2] abseil-cpp: upgrade 20230802.1 -> 20240116.1

2024-03-10 Thread Martin Jansa
On Sun, Mar 10, 2024 at 2:54 PM Martin Jansa via
lists.openembedded.org 
wrote:
>
> Does this intentionally undo last 2 changes from Peter? The commit
> message doesn't mention it
>
> https://git.openembedded.org/meta-openembedded/commit/?id=32eefcf1ca97a08ea85f62a72b676e447f1b79a0
> https://git.openembedded.org/meta-openembedded/commit/?id=5c554c9b8cb63b5d0d5f434c28dd71c0f1843448
>
> also looks like libabsl_flags is no longer provided by this version
> (got failure from one recipe, will check if it's expected).

this last part was expected, absl_flags was removed in:
https://github.com/abseil/abseil-cpp/commit/4038192a57cb75f7ee671f81a3378ff4c74c4f8e

Luckily the library wasn't really needed in our libedgetpu, so I could
just remove it from LDFLAGS as in:
https://github.com/shr-project/meta-webosose/commit/58c1ee08b35a5ffb3b3ef2fe142d1a78585aafcc

Regards,

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109258): 
https://lists.openembedded.org/g/openembedded-devel/message/109258
Mute This Topic: https://lists.openembedded.org/mt/104800225/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-oe] [PATCH V2] abseil-cpp: upgrade 20230802.1 -> 20240116.1

2024-03-10 Thread Martin Jansa
Does this intentionally undo last 2 changes from Peter? The commit
message doesn't mention it

https://git.openembedded.org/meta-openembedded/commit/?id=32eefcf1ca97a08ea85f62a72b676e447f1b79a0
https://git.openembedded.org/meta-openembedded/commit/?id=5c554c9b8cb63b5d0d5f434c28dd71c0f1843448

also looks like libabsl_flags is no longer provided by this version
(got failure from one recipe, will check if it's expected).

Regards,

On Fri, Mar 8, 2024 at 1:15 AM wangmy via lists.openembedded.org
 wrote:
>
> From: Wang Mingyu 
>
> 0004-Avoid-using-both-Win32Waiter-and-PthreadWaiter-on-Mi.patch
> revmoed since it's included in 20240116.1.
>
> Changelog:
> ===
> -Added absl::NoDestructor to simplify defining static types that do not 
> need
>  to be destructed upon program exit.
> -Added configurable verbose logging (also known as VLOG).
> -Added absl::Overload(), which returns a functor that provides overloads based
>  on the functors passed to it.
> -Bzlmod is now officially supported (previously it was supported by the 
> community).
>
> Signed-off-by: Wang Mingyu 
> ---
>  ...-Win32Waiter-and-PthreadWaiter-on-Mi.patch | 62 ---
>  ...20230802.1.bb => abseil-cpp_20240116.1.bb} | 37 +++
>  2 files changed, 9 insertions(+), 90 deletions(-)
>  delete mode 100644 
> meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0004-Avoid-using-both-Win32Waiter-and-PthreadWaiter-on-Mi.patch
>  rename meta-oe/recipes-devtools/abseil-cpp/{abseil-cpp_20230802.1.bb => 
> abseil-cpp_20240116.1.bb} (59%)
>
> diff --git 
> a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0004-Avoid-using-both-Win32Waiter-and-PthreadWaiter-on-Mi.patch
>  
> b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0004-Avoid-using-both-Win32Waiter-and-PthreadWaiter-on-Mi.patch
> deleted file mode 100644
> index db559bb16..0
> --- 
> a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0004-Avoid-using-both-Win32Waiter-and-PthreadWaiter-on-Mi.patch
> +++ /dev/null
> @@ -1,62 +0,0 @@
> -From cb7665f39e23e95e2466390c60ee5a410780a3ed Mon Sep 17 00:00:00 2001
> -From: Derek Mauro 
> -Date: Wed, 8 Nov 2023 09:55:31 -0800
> -Subject: [PATCH] Avoid using both Win32Waiter and PthreadWaiter on MinGW, and
> - use StdcppWaiter instead.
> -
> -There are various flavors of MinGW, some of which support pthread,
> -and some of which support Win32. Instead of figuring out which
> -platform is being used, just use the generic implementation.
> -
> -PiperOrigin-RevId: 580565507
> -Change-Id: Ia85fd7496f1e6ebdeadb95202f0039e844826118
> -Upstream-Status: Backport
> 
> - absl/synchronization/internal/pthread_waiter.h | 4 ++--
> - absl/synchronization/internal/win32_waiter.h   | 6 --
> - 2 files changed, 6 insertions(+), 4 deletions(-)
> -
> -diff --git a/absl/synchronization/internal/pthread_waiter.h 
> b/absl/synchronization/internal/pthread_waiter.h
> -index 206aefa4..23db76ad 100644
>  a/absl/synchronization/internal/pthread_waiter.h
> -+++ b/absl/synchronization/internal/pthread_waiter.h
> -@@ -16,7 +16,7 @@
> - #ifndef ABSL_SYNCHRONIZATION_INTERNAL_PTHREAD_WAITER_H_
> - #define ABSL_SYNCHRONIZATION_INTERNAL_PTHREAD_WAITER_H_
> -
> --#ifndef _WIN32
> -+#if !defined(_WIN32) && !defined(__MINGW32__)
> - #include 
> -
> - #include "absl/base/config.h"
> -@@ -55,6 +55,6 @@ class PthreadWaiter : public WaiterCrtp {
> - ABSL_NAMESPACE_END
> - }  // namespace absl
> -
> --#endif  // ndef _WIN32
> -+#endif  // !defined(_WIN32) && !defined(__MINGW32__)
> -
> - #endif  // ABSL_SYNCHRONIZATION_INTERNAL_PTHREAD_WAITER_H_
> -diff --git a/absl/synchronization/internal/win32_waiter.h 
> b/absl/synchronization/internal/win32_waiter.h
> -index 87eb617c..fdab264e 100644
>  a/absl/synchronization/internal/win32_waiter.h
> -+++ b/absl/synchronization/internal/win32_waiter.h
> -@@ -20,7 +20,8 @@
> - #include 
> - #endif
> -
> --#if defined(_WIN32) && _WIN32_WINNT >= _WIN32_WINNT_VISTA
> -+#if defined(_WIN32) && !defined(__MINGW32__) && \
> -+_WIN32_WINNT >= _WIN32_WINNT_VISTA
> -
> - #include "absl/base/config.h"
> - #include "absl/synchronization/internal/kernel_timeout.h"
> -@@ -65,6 +66,7 @@ class Win32Waiter : public WaiterCrtp {
> - ABSL_NAMESPACE_END
> - }  // namespace absl
> -
> --#endif  // defined(_WIN32) && _WIN32_WINNT >= _WIN32_WINNT_VISTA
> -+#endif  // defined(_WIN32) && !defined(__MINGW32__) &&
> -+// _WIN32_WINNT >= _WIN32_WINNT_VISTA
> -
> - #endif  // ABSL_SYNCHRONIZATION_INTERNAL_WIN32_WAITER_H_
> diff --git a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20230802.1.bb 
> b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20240116.1.bb
> similarity index 59%
> rename from meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20230802.1.bb
> rename to meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20240116.1.bb
> index 17db7b2e4..82b2d20e0 100644
> --- a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20230802.1.bb
> +++ b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20240116.1.bb
> @@ -1,24 +1,26 @@
>  SUMMARY = "Abseil is a 

[oe] [meta-oe][kirkstone][PATCH] opencv: fix reproducibility issues

2024-03-07 Thread Martin Jansa
From: Anuj Mittal 

Download and unpack contrib modules and other repositories in S instead
of WORKDIR so they don't escape file-prefix-map substitutions.

Fixes a number of reproducibility problems because of OpenCV check
macros that were embedding path to files in contrib/.

MJ: this is backport from langdale and fixes not only reproducibility
issues but also pseudo aborts in do_install when do_install
is executed again after do_package (in incremental builds):

  | DEBUG: Executing shell function do_install
  | NOTE: DESTDIR=opencv/4.5.5-r0/image VERBOSE=1 cmake --build 
opencv/4.5.5-r0/build --target install --
  | abort()ing pseudo client by server request. See 
https://wiki.yoctoproject.org/wiki/Pseudo_Abort for more details on this.
  | Check logfile: opencv/4.5.5-r0/pseudo//pseudo.log
  | Subprocess aborted

  and pseudo.log file shows:
  path mismatch [3 links]: ino 214373575 db 
'opencv/4.5.5-r0/package/usr/src/debug/lib32-opencv/4.5.5-r0/contrib/modules/intensity_transform/src/bimef.cpp'
 req 'opencv/4.5.5-r0/contrib/modules/intensity_transform/src/bimef.cpp'.

  easily reproducible with:
  bitbake -c cleansstate opencv; bitbake -c package opencv; bitbake -c install 
-f opencv

  unlike ${S} ${WORKDIR}/contrib isn't in default PSEUDO_IGNORE_PATHS

Signed-off-by: Anuj Mittal 
Signed-off-by: Khem Raj 
Signed-off-by: Martin Jansa 
---
 .../recipes-support/opencv/opencv_4.5.5.bb| 34 +--
 1 file changed, 17 insertions(+), 17 deletions(-)

diff --git a/meta-oe/recipes-support/opencv/opencv_4.5.5.bb 
b/meta-oe/recipes-support/opencv/opencv_4.5.5.bb
index a7700a3743..5b5685f990 100644
--- a/meta-oe/recipes-support/opencv/opencv_4.5.5.bb
+++ b/meta-oe/recipes-support/opencv/opencv_4.5.5.bb
@@ -39,12 +39,12 @@ IPP_MD5 = "${@ipp_md5sum(d)}"
 
 SRCREV_FORMAT = "opencv_contrib_ipp_boostdesc_vgg"
 SRC_URI = 
"git://github.com/opencv/opencv.git;name=opencv;branch=master;protocol=https \
-   
git://github.com/opencv/opencv_contrib.git;destsuffix=contrib;name=contrib;branch=master;protocol=https
 \
-   
git://github.com/opencv/opencv_3rdparty.git;branch=ippicv/master_20191018;destsuffix=ipp;name=ipp;protocol=https
 \
-   
git://github.com/opencv/opencv_3rdparty.git;branch=contrib_xfeatures2d_boostdesc_20161012;destsuffix=boostdesc;name=boostdesc;protocol=https
 \
-   
git://github.com/opencv/opencv_3rdparty.git;branch=contrib_xfeatures2d_vgg_20160317;destsuffix=vgg;name=vgg;protocol=https
 \
-   
git://github.com/opencv/opencv_3rdparty.git;branch=contrib_face_alignment_20170818;destsuffix=face;name=face;protocol=https
 \
-   
git://github.com/WeChatCV/opencv_3rdparty.git;branch=wechat_qrcode;destsuffix=wechat_qrcode;name=wechat-qrcode;protocol=https
 \
+   
git://github.com/opencv/opencv_contrib.git;destsuffix=git/contrib;name=contrib;branch=master;protocol=https
 \
+   
git://github.com/opencv/opencv_3rdparty.git;branch=ippicv/master_20191018;destsuffix=git/ipp;name=ipp;protocol=https
 \
+   
git://github.com/opencv/opencv_3rdparty.git;branch=contrib_xfeatures2d_boostdesc_20161012;destsuffix=git/boostdesc;name=boostdesc;protocol=https
 \
+   
git://github.com/opencv/opencv_3rdparty.git;branch=contrib_xfeatures2d_vgg_20160317;destsuffix=git/vgg;name=vgg;protocol=https
 \
+   
git://github.com/opencv/opencv_3rdparty.git;branch=contrib_face_alignment_20170818;destsuffix=git/face;name=face;protocol=https
 \
+   
git://github.com/WeChatCV/opencv_3rdparty.git;branch=wechat_qrcode;destsuffix=git/wechat_qrcode;name=wechat-qrcode;protocol=https
 \
file://0001-3rdparty-ippicv-Use-pre-downloaded-ipp.patch \
file://0003-To-fix-errors-as-following.patch \

file://0001-Temporarliy-work-around-deprecated-ffmpeg-RAW-functi.patch \
@@ -52,10 +52,10 @@ SRC_URI = 
"git://github.com/opencv/opencv.git;name=opencv;branch=master;protocol
file://download.patch \
file://0001-Make-ts-module-external.patch \
file://0001-core-vsx-update-vec_absd-workaround-condition.patch \
-   file://CVE-2023-2617.patch;patchdir=../contrib \
-   file://CVE-2023-2618.patch;patchdir=../contrib \
+   file://CVE-2023-2617.patch;patchdir=contrib \
+   file://CVE-2023-2618.patch;patchdir=contrib \
"
-SRC_URI:append:riscv64 = " 
file://0001-Use-Os-to-compile-tinyxml2.cpp.patch;patchdir=../contrib"
+SRC_URI:append:riscv64 = " 
file://0001-Use-Os-to-compile-tinyxml2.cpp.patch;patchdir=contrib"
 
 S = "${WORKDIR}/git"
 
@@ -64,7 +64,7 @@ S = "${WORKDIR}/git"
 OPENCV_DLDIR = "${WORKDIR}/downloads"
 
 do_unpack_extra() {
-tar xzf ${WORKDIR}/ipp/ippicv/${IPP_FILENAME} -C ${WORKDIR}
+tar xzf ${S}/ipp/ippicv/${IPP_FILENAME} -C ${S}
 
 md5() {
 # Return the MD5 of $1
@@ -79,22 +79,22 @@ do_unpack_extra() {
 test -e $D

Re: [oe][meta-oe][PATCH 0/2] glmark2: fix an issue with eglconfig scoring

2024-03-05 Thread Martin Jansa
The QA check in oe-core would tell you that (as well as that the 'S'
in Status needs to be uppercase).

On Tue, Mar 5, 2024 at 10:47 PM Randolph Sapp  wrote:
>
> On 3/5/24 15:42, Martin Jansa wrote:
> > Invalid format of Upstream-Status and please squash those 2 commits as
> > they don't make sense separately.
> >
> > On Tue, Mar 5, 2024 at 10:26 PM Randolph Sapp via
> > lists.openembedded.org  wrote:
> >>
> >> From: Randolph Sapp 
> >>
> >> Backport a patch from the upstream glmark2 package to fix 2 primary issues:
> >>
> >> 1. Configs with stencil components were ranked unnecessarily low.
> >> 2. If the target config was below 0 an optimal config may not be properly
> >> selected.
> >>
> >> Randolph Sapp (2):
> >>glmark2: add upstream patch to not care about stencil config
> >>glmark2: add the stencil config patch to the package
> >>
> >>   ...y-default-don-t-care-about-the-stenc.patch | 103 ++
> >>   .../recipes-benchmark/glmark2/glmark2_git.bb  |   1 +
> >>   2 files changed, 104 insertions(+)
> >>   create mode 100644 
> >> meta-oe/recipes-benchmark/glmark2/files/0003-GLVisualConfig-By-default-don-t-care-about-the-stenc.patch
> >>
> >> --
> >> 2.44.0
>
> Roger. Would the correct status be:
>
>  > Upstream-Status: Backport [5f23d540342ba69e12afeb6a1ac4f6fd36747975]
>
> (Reading the docs I was not aware the brackets were supposed to be
> included...)

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109139): 
https://lists.openembedded.org/g/openembedded-devel/message/109139
Mute This Topic: https://lists.openembedded.org/mt/104754322/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe][meta-oe][PATCH 0/2] glmark2: fix an issue with eglconfig scoring

2024-03-05 Thread Martin Jansa
Invalid format of Upstream-Status and please squash those 2 commits as
they don't make sense separately.

On Tue, Mar 5, 2024 at 10:26 PM Randolph Sapp via
lists.openembedded.org  wrote:
>
> From: Randolph Sapp 
>
> Backport a patch from the upstream glmark2 package to fix 2 primary issues:
>
> 1. Configs with stencil components were ranked unnecessarily low.
> 2. If the target config was below 0 an optimal config may not be properly
> selected.
>
> Randolph Sapp (2):
>   glmark2: add upstream patch to not care about stencil config
>   glmark2: add the stencil config patch to the package
>
>  ...y-default-don-t-care-about-the-stenc.patch | 103 ++
>  .../recipes-benchmark/glmark2/glmark2_git.bb  |   1 +
>  2 files changed, 104 insertions(+)
>  create mode 100644 
> meta-oe/recipes-benchmark/glmark2/files/0003-GLVisualConfig-By-default-don-t-care-about-the-stenc.patch
>
> --
> 2.44.0
>
>
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109135): 
https://lists.openembedded.org/g/openembedded-devel/message/109135
Mute This Topic: https://lists.openembedded.org/mt/104754322/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-filesystems][PATCH] fuse3: use 4 spaces for indentation

2024-03-01 Thread Martin Jansa
* instead of mix of 8, 9 and 4 spaces

Signed-off-by: Martin Jansa 
---
 .../recipes-support/fuse/fuse3_3.16.2.bb  | 56 ++-
 1 file changed, 29 insertions(+), 27 deletions(-)

diff --git a/meta-filesystems/recipes-support/fuse/fuse3_3.16.2.bb 
b/meta-filesystems/recipes-support/fuse/fuse3_3.16.2.bb
index 321851da5c..7964621b58 100644
--- a/meta-filesystems/recipes-support/fuse/fuse3_3.16.2.bb
+++ b/meta-filesystems/recipes-support/fuse/fuse3_3.16.2.bb
@@ -7,9 +7,11 @@ DESCRIPTION = "FUSE (Filesystem in Userspace) is a simple 
interface for userspac
 HOMEPAGE = "https://github.com/libfuse/libfuse;
 SECTION = "libs"
 LICENSE = "GPL-2.0-only & LGPL-2.0-only"
-LIC_FILES_CHKSUM = "file://GPL2.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
-file://LGPL2.txt;md5=4fbd65380cdd255951079008b364516c \
-file://LICENSE;md5=a55c12a2d7d742ecb41ca9ae0a6ddc66"
+LIC_FILES_CHKSUM = " \
+file://GPL2.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
+file://LGPL2.txt;md5=4fbd65380cdd255951079008b364516c \
+file://LICENSE;md5=a55c12a2d7d742ecb41ca9ae0a6ddc66 \
+"
 
 SRC_URI = 
"https://github.com/libfuse/libfuse/releases/download/fuse-${PV}/fuse-${PV}.tar.gz
 \
 "
@@ -25,7 +27,7 @@ CVE_PRODUCT = "fuse_project:fuse"
 inherit meson pkgconfig ptest
 
 SRC_URI += " \
-file://run-ptest \
+file://run-ptest \
 "
 
 RDEPENDS:${PN}-ptest += " \
@@ -36,29 +38,29 @@ RDEPENDS:${PN}-ptest += " \
 "
 
 do_install_ptest() {
-install -d ${D}${PTEST_PATH}/test
-install -d ${D}${PTEST_PATH}/example
-install -d ${D}${PTEST_PATH}/util
-cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/
-
-example_excutables=`find ${B}/example -type f -executable`
-util_excutables=`find ${B}/util -type f -executable`
-test_excutables=`find ${B}/test -type f -executable`
-
-for e in $example_excutables
-do
-cp -rf $e  ${D}${PTEST_PATH}/example/
- done
-
-for e in $util_excutables
-do
-cp -rf $e  ${D}${PTEST_PATH}/util/
-done
-
-for e in $test_excutables
-do
-cp -rf $e  ${D}${PTEST_PATH}/test
-done
+install -d ${D}${PTEST_PATH}/test
+install -d ${D}${PTEST_PATH}/example
+install -d ${D}${PTEST_PATH}/util
+cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/
+
+example_excutables=`find ${B}/example -type f -executable`
+util_excutables=`find ${B}/util -type f -executable`
+test_excutables=`find ${B}/test -type f -executable`
+
+for e in $example_excutables
+do
+cp -rf $e  ${D}${PTEST_PATH}/example/
+done
+
+for e in $util_excutables
+do
+cp -rf $e  ${D}${PTEST_PATH}/util/
+done
+
+for e in $test_excutables
+do
+cp -rf $e  ${D}${PTEST_PATH}/test
+done
 }
 
 DEPENDS = "udev"
-- 
2.44.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109078): 
https://lists.openembedded.org/g/openembedded-devel/message/109078
Mute This Topic: https://lists.openembedded.org/mt/104667062/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-filesystems][PATCH 1/4] fuse3: Add missing runtime deps for ptests

2024-03-01 Thread Martin Jansa
or is it typo cuse -> fuse?

On Fri, Mar 1, 2024 at 11:43 AM Martin Jansa  wrote:
>
> does it need virtual/kernel dependency now?
>
> in world build I've seen:
> ERROR: QA Issue: fuse3-ptest rdepends on kernel-module-cuse, but it
> isn't a build dependency? [build-deps]
>
> On Thu, Feb 22, 2024 at 9:58 PM Khem Raj  wrote:
> >
> > Signed-off-by: Khem Raj 
> > ---
> >  meta-filesystems/recipes-support/fuse/fuse3_3.16.2.bb | 6 --
> >  1 file changed, 4 insertions(+), 2 deletions(-)
> >
> > diff --git a/meta-filesystems/recipes-support/fuse/fuse3_3.16.2.bb 
> > b/meta-filesystems/recipes-support/fuse/fuse3_3.16.2.bb
> > index 5e532ba7ed..321851da5c 100644
> > --- a/meta-filesystems/recipes-support/fuse/fuse3_3.16.2.bb
> > +++ b/meta-filesystems/recipes-support/fuse/fuse3_3.16.2.bb
> > @@ -29,8 +29,10 @@ SRC_URI += " \
> >  "
> >
> >  RDEPENDS:${PN}-ptest += " \
> > -python3-pytest \
> > -   bash \
> > +python3-pytest \
> > +python3-looseversion \
> > +kernel-module-cuse \
> > +bash \
> >  "
> >
> >  do_install_ptest() {
> > --
> > 2.43.2
> >
> >
> > 
> >

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109075): 
https://lists.openembedded.org/g/openembedded-devel/message/109075
Mute This Topic: https://lists.openembedded.org/mt/104516894/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-filesystems][PATCH 1/4] fuse3: Add missing runtime deps for ptests

2024-03-01 Thread Martin Jansa
does it need virtual/kernel dependency now?

in world build I've seen:
ERROR: QA Issue: fuse3-ptest rdepends on kernel-module-cuse, but it
isn't a build dependency? [build-deps]

On Thu, Feb 22, 2024 at 9:58 PM Khem Raj  wrote:
>
> Signed-off-by: Khem Raj 
> ---
>  meta-filesystems/recipes-support/fuse/fuse3_3.16.2.bb | 6 --
>  1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/meta-filesystems/recipes-support/fuse/fuse3_3.16.2.bb 
> b/meta-filesystems/recipes-support/fuse/fuse3_3.16.2.bb
> index 5e532ba7ed..321851da5c 100644
> --- a/meta-filesystems/recipes-support/fuse/fuse3_3.16.2.bb
> +++ b/meta-filesystems/recipes-support/fuse/fuse3_3.16.2.bb
> @@ -29,8 +29,10 @@ SRC_URI += " \
>  "
>
>  RDEPENDS:${PN}-ptest += " \
> -python3-pytest \
> -   bash \
> +python3-pytest \
> +python3-looseversion \
> +kernel-module-cuse \
> +bash \
>  "
>
>  do_install_ptest() {
> --
> 2.43.2
>
>
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109074): 
https://lists.openembedded.org/g/openembedded-devel/message/109074
Mute This Topic: https://lists.openembedded.org/mt/104516894/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-xfce][PATCH 2/2] xfce4-notifyd: use python3native and depend on python3-packaging-native

2024-02-28 Thread Martin Jansa
* it uses gdbus-codegen from glib-2.0-native which depended
  on python3-distutils-native until
  https://lists.openembedded.org/g/openembedded-core/message/196136
  but distutils on host was enforced by sanity check only until mickledore with:
  
https://git.openembedded.org/openembedded-core/commit/?id=8e3a5b0709384f2b455a82ac1e8e212686fe4456

  so on hosts without distutils this was already failing
  and the glib-2.0-native change only changes the dependency from
  distutils to packaging which results in:
  https://errors.yoctoproject.org/Errors/Details/754995/

gdbus-codegen \
--interface-prefix org.xfce.Notifyd.Log \
--c-namespace Xfce \
--generate-c-code xfce-notify-log-gbus \
--glib-max-allowed 2.68 \
../../xfce4-notifyd-0.8.2/common/xfce-notify-log-dbus.xml
Traceback (most recent call last):
  File 
"TOPDIR/build/tmp/work/riscv64-yoe-linux/xfce4-notifyd/0.8.2/recipe-sysroot-native/usr/bin/gdbus-codegen",
 line 53, in 
from codegen import codegen_main
  File 
"TOPDIR/build/tmp/work/riscv64-yoe-linux/xfce4-notifyd/0.8.2/recipe-sysroot-native/usr/share/glib-2.0/codegen/codegen_main.py",
 line 29, in 
from . import dbustypes
  File 
"TOPDIR/build/tmp/work/riscv64-yoe-linux/xfce4-notifyd/0.8.2/recipe-sysroot-native/usr/share/glib-2.0/codegen/dbustypes.py",
 line 22, in 
from . import utils
  File 
"TOPDIR/build/tmp/work/riscv64-yoe-linux/xfce4-notifyd/0.8.2/recipe-sysroot-native/usr/share/glib-2.0/codegen/utils.py",
 line 22, in 
import packaging.version
ModuleNotFoundError: No module named 'packaging'

* packaging probably isn't as wide spread on host distros as old
  distutils was, so make sure it's available by using
  python3-native with python3-packaging-native from OE build

Signed-off-by: Martin Jansa 
---
 meta-xfce/recipes-apps/xfce4-notifyd/xfce4-notifyd_0.8.2.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-xfce/recipes-apps/xfce4-notifyd/xfce4-notifyd_0.8.2.bb 
b/meta-xfce/recipes-apps/xfce4-notifyd/xfce4-notifyd_0.8.2.bb
index 7dbd90c188..96cfd32f7b 100644
--- a/meta-xfce/recipes-apps/xfce4-notifyd/xfce4-notifyd_0.8.2.bb
+++ b/meta-xfce/recipes-apps/xfce4-notifyd/xfce4-notifyd_0.8.2.bb
@@ -10,9 +10,11 @@ DEPENDS = " \
 libxfce4ui \
 xfconf \
 xfce4-panel \
+python3-packaging-native \
 "
 
 inherit xfce-app
+inherit python3native
 
 SRC_URI:append = " file://xfce4-notifyd-get-var-abs-path.patch"
 
-- 
2.44.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109057): 
https://lists.openembedded.org/g/openembedded-devel/message/109057
Mute This Topic: https://lists.openembedded.org/mt/104629514/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-xfce][PATCH 1/2] ristretto: use python3native and depend on glib-2.0-native, python3-packaging-native

2024-02-28 Thread Martin Jansa
* it uses gdbus-codegen from glib-2.0-native which depended
  on python3-distutils-native until
  https://lists.openembedded.org/g/openembedded-core/message/196136
  but distutils on host was enforced by sanity check only until mickledore with:
  
https://git.openembedded.org/openembedded-core/commit/?id=8e3a5b0709384f2b455a82ac1e8e212686fe4456

  so on hosts without distutils this was already failing
  and the glib-2.0-native change only changes the dependency from
  distutils to packaging which results in:
  https://errors.yoctoproject.org/Errors/Details/754996/

gdbus-codegen \
--c-namespace=Tumbler \
--interface-prefix=org.freedesktop.thumbnails. \
--generate-c-code=tumbler \
tumbler-service-dbus.xml
Traceback (most recent call last):
  File 
"TOPDIR/build/tmp/work/riscv64-yoe-linux/ristretto/0.13.1/recipe-sysroot-native/usr/bin/gdbus-codegen",
 line 53, in 
from codegen import codegen_main
  File 
"TOPDIR/build/tmp/work/riscv64-yoe-linux/ristretto/0.13.1/recipe-sysroot-native/usr/share/glib-2.0/codegen/codegen_main.py",
 line 29, in 
from . import dbustypes
  File 
"TOPDIR/build/tmp/work/riscv64-yoe-linux/ristretto/0.13.1/recipe-sysroot-native/usr/share/glib-2.0/codegen/dbustypes.py",
 line 22, in 
from . import utils
  File 
"TOPDIR/build/tmp/work/riscv64-yoe-linux/ristretto/0.13.1/recipe-sysroot-native/usr/share/glib-2.0/codegen/utils.py",
 line 22, in 
import packaging.version
ModuleNotFoundError: No module named 'packaging'

* packaging probably isn't as wide spread on host distros as old
  distutils was, so make sure it's available by using
  python3-native with python3-packaging-native from OE build

Signed-off-by: Martin Jansa 
---
 meta-xfce/recipes-apps/ristretto/ristretto_0.13.1.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-xfce/recipes-apps/ristretto/ristretto_0.13.1.bb 
b/meta-xfce/recipes-apps/ristretto/ristretto_0.13.1.bb
index 4aac89fe79..dcae982cee 100644
--- a/meta-xfce/recipes-apps/ristretto/ristretto_0.13.1.bb
+++ b/meta-xfce/recipes-apps/ristretto/ristretto_0.13.1.bb
@@ -4,9 +4,9 @@ SECTION = "x11/application"
 LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=35d145429ad3cbf5308d1dc93f66376b"
 
-DEPENDS = "exo libexif libxfce4ui libxfce4util xfconf cairo file"
+DEPENDS = "exo libexif libxfce4ui libxfce4util xfconf cairo file 
glib-2.0-native python3-packaging-native"
 
-inherit xfce-app mime-xdg
+inherit xfce-app mime-xdg python3native
 
 RRECOMMENDS:${PN} += "tumbler"
 
-- 
2.44.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109056): 
https://lists.openembedded.org/g/openembedded-devel/message/109056
Mute This Topic: https://lists.openembedded.org/mt/104629513/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-oe][PATCH 2/2] networkmanager-fortisslvpn: use python3native and depend on python3-packaging-native

2024-02-27 Thread Martin Jansa
* it uses gdbus-codegen from glib-2.0-native which depended
  on python3-distutils-native until
  https://lists.openembedded.org/g/openembedded-core/message/196136
  but distutils on host was enforced by sanity check only until mickledore with:
  
https://git.openembedded.org/openembedded-core/commit/?id=8e3a5b0709384f2b455a82ac1e8e212686fe4456

  so on hosts without distutils this was already failing with:
  http://errors.yoctoproject.org/Errors/Details/754697/

gdbus-codegen \
--generate-c-code src/nm-fortisslvpn-pppd-service-dbus \
--c-namespace NMDBus \
--interface-prefix org.freedesktop.NetworkManager \
../NetworkManager-fortisslvpn-1.4.0/src/nm-fortisslvpn-pppd-service.xml
Traceback (most recent call last):
  File 
"TOPDIR/tmp-glibc/work/core2-64-oe-linux/networkmanager-fortisslvpn/1.4.0/recipe-sysroot-native/usr/bin/gdbus-codegen",
 line 53, in 
from codegen import codegen_main
  File 
"TOPDIR/tmp-glibc/work/core2-64-oe-linux/networkmanager-fortisslvpn/1.4.0/recipe-sysroot-native/usr/share/glib-2.0/codegen/codegen_main.py",
 line 29, in 
from . import dbustypes
  File 
"TOPDIR/tmp-glibc/work/core2-64-oe-linux/networkmanager-fortisslvpn/1.4.0/recipe-sysroot-native/usr/share/glib-2.0/codegen/dbustypes.py",
 line 22, in 
from . import utils
  File 
"TOPDIR/tmp-glibc/work/core2-64-oe-linux/networkmanager-fortisslvpn/1.4.0/recipe-sysroot-native/usr/share/glib-2.0/codegen/utils.py",
 line 22, in 
import distutils.version
ModuleNotFoundError: No module named 'distutils'
make: *** [Makefile:2081: src/nm-fortisslvpn-pppd-service-dbus.h] Error 1

  and the glib-2.0-native change only changes the dependency from
  distutils to packaging which results in:
  http://errors.yoctoproject.org/Errors/Details/754693/

gdbus-codegen \
--generate-c-code src/nm-fortisslvpn-pppd-service-dbus \
--c-namespace NMDBus \
--interface-prefix org.freedesktop.NetworkManager \
../NetworkManager-fortisslvpn-1.4.0/src/nm-fortisslvpn-pppd-service.xml
Traceback (most recent call last):
  File 
"TOPDIR/tmp-glibc/work/core2-64-oe-linux/networkmanager-fortisslvpn/1.4.0/recipe-sysroot-native/usr/bin/gdbus-codegen",
 line 53, in 
from codegen import codegen_main
  File 
"TOPDIR/tmp-glibc/work/core2-64-oe-linux/networkmanager-fortisslvpn/1.4.0/recipe-sysroot-native/usr/share/glib-2.0/codegen/codegen_main.py",
 line 29, in 
from . import dbustypes
  File 
"TOPDIR/tmp-glibc/work/core2-64-oe-linux/networkmanager-fortisslvpn/1.4.0/recipe-sysroot-native/usr/share/glib-2.0/codegen/dbustypes.py",
 line 22, in 
from . import utils
  File 
"TOPDIR/tmp-glibc/work/core2-64-oe-linux/networkmanager-fortisslvpn/1.4.0/recipe-sysroot-native/usr/share/glib-2.0/codegen/utils.py",
 line 22, in 
import packaging.version
ModuleNotFoundError: No module named 'packaging'
make: *** [Makefile:2081: src/nm-fortisslvpn-pppd-service-dbus.h] Error 1

* packaging probably isn't as wide spread on host distros as old
  distutils was, so make sure it's available by using
  python3-native with python3-packaging-native from OE build

Signed-off-by: Martin Jansa 
---
 .../networkmanager/networkmanager-fortisslvpn_1.4.0.bb| 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/meta-networking/recipes-connectivity/networkmanager/networkmanager-fortisslvpn_1.4.0.bb
 
b/meta-networking/recipes-connectivity/networkmanager/networkmanager-fortisslvpn_1.4.0.bb
index a15c69b601..48f50abaf1 100644
--- 
a/meta-networking/recipes-connectivity/networkmanager/networkmanager-fortisslvpn_1.4.0.bb
+++ 
b/meta-networking/recipes-connectivity/networkmanager/networkmanager-fortisslvpn_1.4.0.bb
@@ -4,10 +4,10 @@ SECTION = "net/misc"
 LICENSE = "GPL-2.0-or-later"
 LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
 
-DEPENDS = "glib-2.0-native libxml2-native networkmanager ppp"
+DEPENDS = "glib-2.0-native libxml2-native networkmanager ppp 
python3-packaging-native"
 
 GNOMEBASEBUILDCLASS = "autotools"
-inherit gnomebase gettext useradd
+inherit gnomebase gettext useradd python3native
 
 SRC_URI = " \
 
${GNOME_MIRROR}/NetworkManager-fortisslvpn/${@gnome_verdir("${PV}")}/NetworkManager-fortisslvpn-${PV}.tar.xz
 \
-- 
2.44.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109041): 
https://lists.openembedded.org/g/openembedded-devel/message/109041
Mute This Topic: https://lists.openembedded.org/mt/104600759/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-oe][PATCH 1/2] gattlib: use python3native and depend on python3-packaging-native

2024-02-27 Thread Martin Jansa
* it uses gdbus-codegen from glib-2.0-native which depended
  on python3-distutils-native until
  https://lists.openembedded.org/g/openembedded-core/message/196136
  but distutils on host was enforced by sanity check only until mickledore with:
  
https://git.openembedded.org/openembedded-core/commit/?id=8e3a5b0709384f2b455a82ac1e8e212686fe4456

  so on hosts without distutils this was already failing with:
  http://errors.yoctoproject.org/Errors/Details/754696/

cd TOPDIR/tmp-glibc/work/core2-64-oe-linux/gattlib/0.2+git/build/dbus && 
gdbus-codegen --pragma-once --interface-prefix org.bluez.Descriptor1. 
--generate-c-code 
TOPDIR/tmp-glibc/work/core2-64-oe-linux/gattlib/0.2+git/build/dbus/org-bluez-gattdescriptor1
 
TOPDIR/tmp-glibc/work/core2-64-oe-linux/gattlib/0.2+git/git/dbus/dbus-bluez-v5.48/org.bluez.GattDescriptor1.xml
Traceback (most recent call last):
  File 
"TOPDIR/tmp-glibc/work/core2-64-oe-linux/gattlib/0.2+git/recipe-sysroot-native/usr/bin/gdbus-codegen",
 line 53, in 
from codegen import codegen_main
  File 
"TOPDIR/tmp-glibc/work/core2-64-oe-linux/gattlib/0.2+git/recipe-sysroot-native/usr/share/glib-2.0/codegen/codegen_main.py",
 line 29, in 
from . import dbustypes
  File 
"TOPDIR/tmp-glibc/work/core2-64-oe-linux/gattlib/0.2+git/recipe-sysroot-native/usr/share/glib-2.0/codegen/dbustypes.py",
 line 22, in 
from . import utils
  File 
"TOPDIR/tmp-glibc/work/core2-64-oe-linux/gattlib/0.2+git/recipe-sysroot-native/usr/share/glib-2.0/codegen/utils.py",
 line 22, in 
import distutils.version
ModuleNotFoundError: No module named 'distutils'

  and the glib-2.0-native change only changes the dependency from
  distutils to packaging which results in:
  http://errors.yoctoproject.org/Errors/Details/754692/

FAILED: dbus/org-bluez-gattdescriptor1.c 
TOPDIR/tmp-glibc/work/core2-64-oe-linux/gattlib/0.2+git/build/dbus/org-bluez-gattdescriptor1.c
cd TOPDIR/tmp-glibc/work/core2-64-oe-linux/gattlib/0.2+git/build/dbus && 
gdbus-codegen --pragma-once --interface-prefix org.bluez.Descriptor1. 
--generate-c-code 
TOPDIR/tmp-glibc/work/core2-64-oe-linux/gattlib/0.2+git/build/dbus/org-bluez-gattdescriptor1
 
TOPDIR/tmp-glibc/work/core2-64-oe-linux/gattlib/0.2+git/git/dbus/dbus-bluez-v5.48/org.bluez.GattDescriptor1.xml
Traceback (most recent call last):
  File 
"TOPDIR/tmp-glibc/work/core2-64-oe-linux/gattlib/0.2+git/recipe-sysroot-native/usr/bin/gdbus-codegen",
 line 53, in 
from codegen import codegen_main
  File 
"TOPDIR/tmp-glibc/work/core2-64-oe-linux/gattlib/0.2+git/recipe-sysroot-native/usr/share/glib-2.0/codegen/codegen_main.py",
 line 29, in 
from . import dbustypes
  File 
"TOPDIR/tmp-glibc/work/core2-64-oe-linux/gattlib/0.2+git/recipe-sysroot-native/usr/share/glib-2.0/codegen/dbustypes.py",
 line 22, in 
from . import utils
  File 
"TOPDIR/tmp-glibc/work/core2-64-oe-linux/gattlib/0.2+git/recipe-sysroot-native/usr/share/glib-2.0/codegen/utils.py",
 line 22, in 
import packaging.version
ModuleNotFoundError: No module named 'packaging'

* packaging probably isn't as wide spread on host distros as old
  distutils was, so make sure it's available by using
  python3-native with python3-packaging-native from OE build

Signed-off-by: Martin Jansa 
---
 meta-oe/recipes-connectivity/gattlib/gattlib_git.bb | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/meta-oe/recipes-connectivity/gattlib/gattlib_git.bb 
b/meta-oe/recipes-connectivity/gattlib/gattlib_git.bb
index f54d833a01..7ad28d594d 100644
--- a/meta-oe/recipes-connectivity/gattlib/gattlib_git.bb
+++ b/meta-oe/recipes-connectivity/gattlib/gattlib_git.bb
@@ -4,8 +4,7 @@ SECTION = "libs/network"
 LICENSE = "GPL-2.0-or-later | BSD-3-Clause"
 LIC_FILES_CHKSUM = 
"file://CMakeLists.txt;beginline=1;endline=6;md5=a87ee154f005a6f035b8b34ac2191f3b"
 
-DEPENDS = "bluez5 glib-2.0"
-DEPENDS += "glib-2.0-native"
+DEPENDS = "bluez5 glib-2.0 glib-2.0-native python3-packaging-native"
 
 PV = "0.2+git"
 
@@ -26,7 +25,7 @@ PACKAGECONFIG[force-dbus] = 
"-DGATTLIB_FORCE_DBUS=TRUE,-DGATTLIB_FORCE_DBUS=FALS
 EXTRA_OECMAKE += "-DGATTLIB_PYTHON_INTERFACE=OFF"
 EXTRA_OECMAKE += "-DGATTLIB_BUILD_DOCS=OFF"
 
-inherit pkgconfig cmake
+inherit pkgconfig cmake python3native
 
 do_compile:append() {
 for f in org-bluez-gattdescriptor1.c org-bluez-battery1.c 
org-bluez-adaptater1.c \
-- 
2.44.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109040): 
https://lists.openembedded.org/g/openembedded-devel/message/109040
Mute This Topic: https://lists.openembedded.org/mt/104600758/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-openembedded][PATCH 2/2] snort3: fix snort.pc

2024-02-24 Thread Martin Jansa
* fixes:
  ERROR: lib32-snort3-3+git-r0 do_populate_sysroot: QA Issue: snort.pc failed 
sanity test (tmpdir) in path lib32-snort3/3+git/sysroot-destdir/usr/lib/pkg

* it's broken for non-multilib builds as well, the issue is that
  FLEX_CPPFLAGS points to native include dir, e.g.
  FLEX_CPPFLAGS=-I/OE/../lib32-snort3/3+git/recipe-sysroot-native/usr/include
  and the work around from:
  
https://github.com/openembedded/meta-openembedded/commit/973647848049abda6f2adbee0189720109863731
  sed -i "s#${RECIPE_SYSROOT}##g" ${D}${libdir}/pkgconfig/snort.pc
  strips the "/OE/../lib32-snort3/3+git/recipe-sysroot" part in non-multilib
  case, but leaves:
  FLEX_CPPFLAGS=-I-native/usr/include
  which is still wrong, but not detected by buildpaths QA check anymore
  and in multilib case, this didn't strip the first part because the
  target sysroot is:
  "/OE/../lib32-snort3/3+git/lib32-recipe-sysroot"
  so it didn't strip anything from native sysroot:
  "/OE/../lib32-snort3/3+git/recipe-sysroot-native"

Signed-off-by: Martin Jansa 
---
 meta-networking/recipes-connectivity/snort/snort3_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-networking/recipes-connectivity/snort/snort3_git.bb 
b/meta-networking/recipes-connectivity/snort/snort3_git.bb
index e9c37c8346..b8826b0682 100644
--- a/meta-networking/recipes-connectivity/snort/snort3_git.bb
+++ b/meta-networking/recipes-connectivity/snort/snort3_git.bb
@@ -21,7 +21,7 @@ PACKAGES =+ "${PN}-scripts"
 inherit cmake pkgconfig
 
 do_install:append() {
-sed -i "s#${RECIPE_SYSROOT}##g" ${D}${libdir}/pkgconfig/snort.pc
+sed -i "s#${RECIPE_SYSROOT_NATIVE}##g; s#${RECIPE_SYSROOT}##g" 
${D}${libdir}/pkgconfig/snort.pc
 }
 
 FILES:${PN} += "${libdir}/snort/daq/*.so"
-- 
2.43.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109024): 
https://lists.openembedded.org/g/openembedded-devel/message/109024
Mute This Topic: https://lists.openembedded.org/mt/104543797/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-openembedded][PATCH 1/2] snort3: drop SRCPV from PV

2024-02-24 Thread Martin Jansa
* as other recipes did in:
  
https://git.openembedded.org/meta-openembedded/commit/?id=21f956598ddb1bb08855fbc9a3293acf957154d1

Signed-off-by: Martin Jansa 
---
 meta-networking/recipes-connectivity/snort/snort3_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-networking/recipes-connectivity/snort/snort3_git.bb 
b/meta-networking/recipes-connectivity/snort/snort3_git.bb
index 4bc2395fae..e9c37c8346 100644
--- a/meta-networking/recipes-connectivity/snort/snort3_git.bb
+++ b/meta-networking/recipes-connectivity/snort/snort3_git.bb
@@ -5,7 +5,7 @@ SECTION = "net"
 LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=78fa8ef966b48fbf9095e13cc92377c5"
 
-PV = "3+git${SRCPV}"
+PV = "3+git"
 
 DEPENDS = "flex-native hwloc libdaq libdnet libpcap libpcre libtirpc libunwind 
luajit zlib"
 
-- 
2.43.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109023): 
https://lists.openembedded.org/g/openembedded-devel/message/109023
Mute This Topic: https://lists.openembedded.org/mt/104543796/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [OE-core][master][PATCH] android-tools: Enable position-independent executable

2024-02-22 Thread Martin Jansa
[OE-core] tag doesn't belong to subject for meta-oe patches, use [meta-oe]
instead.

Upstream-Status belongs to .patch files in the metadata, not to commit
message of metadata changes.

On Thu, Feb 22, 2024 at 1:56 PM Pawan Badganchi 
wrote:

> Enable position-independent executable security flag for adb
> and fastboot. Verified that flag is enabled by using checksec.py
>
> Upstream-Status: Pending
>
> Signed-off-by: Pawan 
> ---
>  .../recipes-devtool/android-tools/android-tools_29.0.6.r14.bb   | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/
> android-tools_29.0.6.r14.bb
> b/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/
> android-tools_29.0.6.r14.bb
> index fbad5e136..6ec90c2f5 100644
> --- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/
> android-tools_29.0.6.r14.bb
> +++ b/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/
> android-tools_29.0.6.r14.bb
> @@ -77,6 +77,8 @@ PREREQUISITE_core = "liblog libbase libsparse liblog
> libcutils"
>  TOOLS_TO_BUILD = "libcrypto_utils libadb libziparchive fastboot adb
> img2simg simg2img libbacktrace"
>  TOOLS_TO_BUILD:append:class-target = " adbd"
>
> +SECURITY_CFLAGS:append:aarch64 = " -pie -fPIE"
> +
>  do_compile() {
>
>  case "${HOST_ARCH}" in
> --
> 2.25.1
>
>
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#108985): 
https://lists.openembedded.org/g/openembedded-devel/message/108985
Mute This Topic: https://lists.openembedded.org/mt/104507422/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-python][PATCH] python3-httpx: respect libdir in packaging

2024-02-18 Thread Martin Jansa
* hardcoding /usr/lib is always wrong, doesn't match with libdir e.g.
  for multilib causing:
ERROR: QA Issue: python3-httpx: Files/directories were installed but not 
shipped in any package:
  /usr/lib64
  /usr/lib64/python3.12
  /usr/lib64/python3.12/site-packages
  /usr/lib64/python3.12/site-packages/httpx
...
  
/usr/lib64/python3.12/site-packages/httpx/__pycache__/__version__.cpython-312.pyc
  /usr/lib64/python3.12/site-packages/httpx-0.26.0.dist-info/entry_points.txt
  /usr/lib64/python3.12/site-packages/httpx-0.26.0.dist-info/WHEEL
  /usr/lib64/python3.12/site-packages/httpx-0.26.0.dist-info/METADATA
  /usr/lib64/python3.12/site-packages/httpx-0.26.0.dist-info/RECORD
  /usr/lib64/python3.12/site-packages/httpx-0.26.0.dist-info/licenses
  /usr/lib64/python3.12/site-packages/httpx-0.26.0.dist-info/licenses/LICENSE.md
Please set FILES such that these items are packaged. Alternatively if they are 
unneeded, avoid installing them or delete them within do_install.
python3-httpx: 63 installed and not shipped files. [installed-vs-shipped]

Signed-off-by: Martin Jansa 
---
 meta-python/recipes-devtools/python/python3-httpx_0.26.0.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python3-httpx_0.26.0.bb 
b/meta-python/recipes-devtools/python/python3-httpx_0.26.0.bb
index 9abd13e2be..50bff7f851 100644
--- a/meta-python/recipes-devtools/python/python3-httpx_0.26.0.bb
+++ b/meta-python/recipes-devtools/python/python3-httpx_0.26.0.bb
@@ -36,9 +36,9 @@ RDEPENDS:${PN}-cli += "\
 "
 
 FILES:${PN} = "\
-/usr/lib/python${PYTHON_BASEVERSION} \
+${libdir}/${PYTHON_DIR} \
 "
 
 FILES:${PN}-cli = "\
-/usr/bin/httpx \
+${bindir}/httpx \
 "
-- 
2.43.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#108839): 
https://lists.openembedded.org/g/openembedded-devel/message/108839
Mute This Topic: https://lists.openembedded.org/mt/104428248/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-oe][PATCH] jack: fix build with python3 on host

2024-01-26 Thread Martin Jansa
* first backport from waflib fixes:
| DEBUG: Executing shell function do_configure
| Traceback (most recent call last):
|   File 
"/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/jack/1.9.22/git/./waf", 
line 166, in 
| from waflib import Scripting
|   File 
"/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/jack/1.9.22/git/waflib/Scripting.py",
 line 10, in 
| from waflib import Utils, Configure, Logs, Options, ConfigSet, Context, 
Errors, Build, Node
|   File 
"/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/jack/1.9.22/git/waflib/Configure.py",
 line 16, in 
| from waflib import ConfigSet, Utils, Options, Logs, Context, Build, Errors
|   File 
"/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/jack/1.9.22/git/waflib/Options.py",
 line 14, in 
| from waflib import Logs, Utils, Context, Errors
|   File 
"/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/jack/1.9.22/git/waflib/Context.py",
 line 9, in 
| import os, re, imp, sys
| ModuleNotFoundError: No module named 'imp'

  the 2nd one avoids SyntaxWarning from waf --version which causes
  waf_preconfigure to fail, because SyntaxWarning ends in
waf_preconfigure to fail, because SyntaxWarning ends in 
bb.utils.vercmp_string_op:

jack/1.9.22/git $ python3 waf --version
/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/jack/1.9.22/git/waflib/Context.py:617:
 SyntaxWarning: invalid escape sequence '\_'
  """
/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/jack/1.9.22/git/waflib/Build.py:107:
 SyntaxWarning: invalid escape sequence '\*'
  """List of targets to build (default: \*)"""
/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/jack/1.9.22/git/waflib/Task.py:1047:
 SyntaxWarning: invalid escape sequence '\w'
  re_cond = re.compile('(?P\w+)|(?P\|)|(?P&)')
/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/jack/1.9.22/git/waflib/TaskGen.py:730:
 SyntaxWarning: invalid escape sequence '\w'
  re_m4 = re.compile('@(\w+)@', re.M)
waf 2.0.12 (54841218840ffa34fddf834680a5a17db69caa12)

As reported in
https://lists.openembedded.org/g/openembedded-core/message/194348

Signed-off-by: Martin Jansa 
---
 ...0001-Conceal-imp-warnings-in-Python3.patch |  34 +++
 ...ationWarning-invalid-escape-sequence.patch | 229 ++
 .../recipes-multimedia/jack/jack_1.9.22.bb|   5 +-
 3 files changed, 267 insertions(+), 1 deletion(-)
 create mode 100644 
meta-oe/recipes-multimedia/jack/jack/0001-Conceal-imp-warnings-in-Python3.patch
 create mode 100644 
meta-oe/recipes-multimedia/jack/jack/0002-Fix-all-DeprecationWarning-invalid-escape-sequence.patch

diff --git 
a/meta-oe/recipes-multimedia/jack/jack/0001-Conceal-imp-warnings-in-Python3.patch
 
b/meta-oe/recipes-multimedia/jack/jack/0001-Conceal-imp-warnings-in-Python3.patch
new file mode 100644
index 00..8411d12caf
--- /dev/null
+++ 
b/meta-oe/recipes-multimedia/jack/jack/0001-Conceal-imp-warnings-in-Python3.patch
@@ -0,0 +1,34 @@
+From f864a2aa29377a77c3aef61ce917cc03d099c430 Mon Sep 17 00:00:00 2001
+From: Thomas Nagy 
+Date: Wed, 14 Aug 2019 22:05:45 +0200
+Subject: [PATCH] Conceal imp warnings in Python3
+
+---
+Upstream-Status: Backport [from waflib not jack: 
https://gitlab.com/ita1024/waf/-/commit/d2060dfd8af4edb5824153ff24e207b39ecd67a2.patch]
+
+ waflib/Context.py | 9 -
+ 1 file changed, 8 insertions(+), 1 deletion(-)
+
+diff --git a/waflib/Context.py b/waflib/Context.py
+index 761b521f..38ab03f1 100644
+--- a/waflib/Context.py
 b/waflib/Context.py
+@@ -6,10 +6,17 @@
+ Classes and functions enabling the command system
+ """
+ 
+-import os, re, imp, sys
++import os, re, sys
+ from waflib import Utils, Errors, Logs
+ import waflib.Node
+ 
++if sys.hexversion > 0x304:
++  import types
++  class imp(object):
++  new_module = lambda x: types.ModuleType(x)
++else:
++  import imp
++
+ # the following 3 constants are updated on each new release (do not touch)
+ HEXVERSION=0x2000c00
+ """Constant updated on new releases"""
diff --git 
a/meta-oe/recipes-multimedia/jack/jack/0002-Fix-all-DeprecationWarning-invalid-escape-sequence.patch
 
b/meta-oe/recipes-multimedia/jack/jack/0002-Fix-all-DeprecationWarning-invalid-escape-sequence.patch
new file mode 100644
index 00..cbced56a67
--- /dev/null
+++ 
b/meta-oe/recipes-multimedia/jack/jack/0002-Fix-all-DeprecationWarning-invalid-escape-sequence.patch
@@ -0,0 +1,229 @@
+From bcba27168d99a3919b730e6a533cf79ab3b24eee Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Micka=C3=ABl=20Schoentgen?= 
+Date: Sat, 5 Jan 2019 12:02:42 +0100
+Subject: [PATCH] Fix all DeprecationWarning: invalid escape sequence
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Mickaël Schoentgen 
+---
+Upstream-Status: Backport [from waflib not jack: 
https://gitlab.com/ita1024/waf/-/commit/412a9b819e86a0061f990

[oe] [meta-oe][PATCH] libtalloc, libtevent, libtdb, libldb: set PYTHONARCHDIR for waf to respect python libdir

2024-01-22 Thread Martin Jansa
0/ldb-2.8.0/buildtools/wafsamba/samba_utils.py", line 
66, in fun
return f(*k, **kw)
   ^^^
  File "lib32-libldb/2.8.0/ldb-2.8.0/buildtools/wafsamba/samba_utils.py", line 
469, in RECURSE
return ctx.recurse(relpath)
   
  File "lib32-libldb/2.8.0/ldb-2.8.0/third_party/waf/waflib/Context.py", line 
296, in recurse
user_function(self)
  File "lib32-libldb/2.8.0/ldb-2.8.0/lib/tevent/wscript", line 51, in configure
conf.CHECK_BUNDLED_SYSTEM_PYTHON('pytevent', 'tevent', minversion=VERSION):
^^
  File "lib32-libldb/2.8.0/ldb-2.8.0/buildtools/wafsamba/samba_utils.py", line 
66, in fun
return f(*k, **kw)
   ^^^
  File "lib32-libldb/2.8.0/ldb-2.8.0/buildtools/wafsamba/samba_bundled.py", 
line 270, in CHECK_BUNDLED_SYSTEM_PYTHON
if not found and not conf.LIB_MAY_BE_BUNDLED(libname):
   ^
UnboundLocalError: cannot access local variable 'found' where it is not 
associated with a value

and then it needs PYTHONARCHDIR as well to fix:

ERROR: libldb-2.8.0-r0 do_package: QA Issue: libldb: Files/directories were 
installed but not shipped in any package:
  /usr/lib
  /usr/lib/python3.12
  /usr/lib/python3.12/site-packages
  /usr/lib/python3.12/site-packages/_ldb_text.py
  /usr/lib/python3.12/site-packages/ldb.so
  /usr/lib/python3.12/site-packages/.debug
  /usr/lib/python3.12/site-packages/.debug/ldb.so
Please set FILES such that these items are packaged. Alternatively if they are 
unneeded, avoid installing them or delete them within do_install.
libldb: 7 installed and not shipped files. [installed-vs-shipped]

Signed-off-by: Martin Jansa 
---
 meta-networking/recipes-support/libldb/libldb_2.8.0.bb| 1 +
 meta-networking/recipes-support/libtalloc/libtalloc_2.4.1.bb  | 1 +
 meta-networking/recipes-support/libtdb/libtdb_1.4.9.bb| 1 +
 meta-networking/recipes-support/libtevent/libtevent_0.16.0.bb | 1 +
 4 files changed, 4 insertions(+)

diff --git a/meta-networking/recipes-support/libldb/libldb_2.8.0.bb 
b/meta-networking/recipes-support/libldb/libldb_2.8.0.bb
index ec56eb0205..58d683eab4 100644
--- a/meta-networking/recipes-support/libldb/libldb_2.8.0.bb
+++ b/meta-networking/recipes-support/libldb/libldb_2.8.0.bb
@@ -7,6 +7,7 @@ DEPENDS += "libtdb libtalloc libtevent popt cmocka"
 RDEPENDS:pyldb += "python3"
 
 export PYTHONHASHSEED="1"
+export PYTHONARCHDIR = "${PYTHON_SITEPACKAGES_DIR}"
 
 SRC_URI = "http://samba.org/ftp/ldb/ldb-${PV}.tar.gz \
file://0001-do-not-import-target-module-while-cross-compile.patch \
diff --git a/meta-networking/recipes-support/libtalloc/libtalloc_2.4.1.bb 
b/meta-networking/recipes-support/libtalloc/libtalloc_2.4.1.bb
index bf7fbc8649..92da03e1a1 100644
--- a/meta-networking/recipes-support/libtalloc/libtalloc_2.4.1.bb
+++ b/meta-networking/recipes-support/libtalloc/libtalloc_2.4.1.bb
@@ -7,6 +7,7 @@ LIC_FILES_CHKSUM = 
"file://talloc.h;beginline=3;endline=27;md5=a301712782cad6dd6
 "
 
 export PYTHONHASHSEED="1"
+export PYTHONARCHDIR = "${PYTHON_SITEPACKAGES_DIR}"
 
 SRC_URI = "https://www.samba.org/ftp/talloc/talloc-${PV}.tar.gz \
file://0001-talloc-Add-configure-options-for-packages.patch \
diff --git a/meta-networking/recipes-support/libtdb/libtdb_1.4.9.bb 
b/meta-networking/recipes-support/libtdb/libtdb_1.4.9.bb
index 248b72967d..9367600351 100644
--- a/meta-networking/recipes-support/libtdb/libtdb_1.4.9.bb
+++ b/meta-networking/recipes-support/libtdb/libtdb_1.4.9.bb
@@ -7,6 +7,7 @@ LIC_FILES_CHKSUM = 
"file://tools/tdbdump.c;endline=18;md5=b59cd45aa8624578126a8c
 
file://include/tdb.h;endline=27;md5=f5bb544641d3081821bcc1dd58310be6"
 
 export PYTHONHASHSEED="1"
+export PYTHONARCHDIR = "${PYTHON_SITEPACKAGES_DIR}"
 
 SRC_URI = "https://samba.org/ftp/tdb/tdb-${PV}.tar.gz \
file://0001-tdb-Add-configure-options-for-packages.patch \
diff --git a/meta-networking/recipes-support/libtevent/libtevent_0.16.0.bb 
b/meta-networking/recipes-support/libtevent/libtevent_0.16.0.bb
index 0158f8bc74..67f36083bf 100644
--- a/meta-networking/recipes-support/libtevent/libtevent_0.16.0.bb
+++ b/meta-networking/recipes-support/libtevent/libtevent_0.16.0.bb
@@ -7,6 +7,7 @@ DEPENDS += "libtalloc libtirpc cmocka"
 RDEPENDS:python3-tevent = "python3"
 
 export PYTHONHASHSEED="1"
+export PYTHONARCHDIR = "${PYTHON_SITEPACKAGES_DIR}"
 
 SRC_URI = "https://samba.org/ftp/tevent/tevent-${PV}.tar.gz \
file://0001-Add-configure-options-for-packages.patch \
-- 
2.43.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#108371): 
https://lists.openembedded.org/g/openembedded-devel/message/108371
Mute This Topic: https://lists.openembedded.org/mt/103889813/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-oe][PATCHv2] libpwquality: respect PYTHONSITEDIR

2024-01-11 Thread Martin Jansa
* fixes installed-vs-shipped e.g. in multilib builds with libdir set to 
/usr/lib32:

ERROR: QA Issue: lib32-libpwquality: Files/directories were installed but not 
shipped in any package:
  /usr/lib/python3.11/site-packages/pwquality.cpython-311-arm-linux-gnueabi.so
  /usr/lib/python3.11/site-packages/pwquality-1.4.5-py3.11.egg-info
  /usr/lib/python3.11/site-packages/pwquality-1.4.5-py3.11.egg-info/SOURCES.txt
  /usr/lib/python3.11/site-packages/pwquality-1.4.5-py3.11.egg-info/PKG-INFO
  
/usr/lib/python3.11/site-packages/pwquality-1.4.5-py3.11.egg-info/dependency_links.txt
  
/usr/lib/python3.11/site-packages/pwquality-1.4.5-py3.11.egg-info/top_level.txt
Please set FILES such that these items are packaged. Alternatively if they are 
unneeded, avoid installing them or delete them within do_install.
lib32-libpwquality: 6 installed and not shipped files. [installed-vs-shipped]

Signed-off-by: Martin Jansa 
---
v2: Update Upstream-Status to Backport and use slightly updated
version already merged upstream

 ...02-Makefile.am-respect-PYTHONSITEDIR.patch | 26 +++
 .../libpwquality/libpwquality_1.4.5.bb|  5 ++--
 2 files changed, 29 insertions(+), 2 deletions(-)
 create mode 100644 
meta-oe/recipes-extended/libpwquality/files/0002-Makefile.am-respect-PYTHONSITEDIR.patch

diff --git 
a/meta-oe/recipes-extended/libpwquality/files/0002-Makefile.am-respect-PYTHONSITEDIR.patch
 
b/meta-oe/recipes-extended/libpwquality/files/0002-Makefile.am-respect-PYTHONSITEDIR.patch
new file mode 100644
index 00..cd59a6d887
--- /dev/null
+++ 
b/meta-oe/recipes-extended/libpwquality/files/0002-Makefile.am-respect-PYTHONSITEDIR.patch
@@ -0,0 +1,26 @@
+From edc51ba1b446913232cdf2945f485392bca72dc7 Mon Sep 17 00:00:00 2001
+From: Hongxu Jia 
+Date: Mon, 3 Aug 2015 13:43:14 +0800
+Subject: [PATCH] Makefile.am: respect ${PYTHONSITEDIR}
+
+Signed-off-by: Hongxu Jia 
+Signed-off-by: Martin Jansa 
+---
+Upstream-Status: Backport 
[https://github.com/libpwquality/libpwquality/commit/5192eab011ada47b0157f8d0524bf5b18bba3bd0]
+
+ python/Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/python/Makefile.am b/python/Makefile.am
+index 6e51744..0a3bad5 100644
+--- a/python/Makefile.am
 b/python/Makefile.am
+@@ -14,7 +14,7 @@ all-local:
+   CFLAGS="${CFLAGS} -fno-strict-aliasing" @PYTHONBINARY@ setup.py build 
--build-base py$(PYTHONREV)
+ 
+ install-exec-local:
+-  CFLAGS="${CFLAGS} -fno-strict-aliasing" @PYTHONBINARY@ setup.py build 
--build-base py$(PYTHONREV) install --root ${DESTDIR} --prefix=${prefix}
++  CFLAGS="${CFLAGS} -fno-strict-aliasing" @PYTHONBINARY@ setup.py build 
--build-base py$(PYTHONREV) install --root ${DESTDIR} --prefix=${prefix} 
--install-lib=$(pythonsitedir)
+ 
+ clean-local:
+   rm -rf py$(PYTHONREV)
diff --git a/meta-oe/recipes-extended/libpwquality/libpwquality_1.4.5.bb 
b/meta-oe/recipes-extended/libpwquality/libpwquality_1.4.5.bb
index 91afedcb67..4454496f6c 100644
--- a/meta-oe/recipes-extended/libpwquality/libpwquality_1.4.5.bb
+++ b/meta-oe/recipes-extended/libpwquality/libpwquality_1.4.5.bb
@@ -8,8 +8,9 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=6bd2f1386df813a459a0c34fde676fc2"
 DEPENDS = "cracklib python3-setuptools-native"
 
 SRC_URI = 
"git://github.com/libpwquality/libpwquality;branch=master;protocol=https \
-   file://0001-Use-setuptools-instead-of-distutils.patch \
-   "
+file://0001-Use-setuptools-instead-of-distutils.patch \
+file://0002-Makefile.am-respect-PYTHONSITEDIR.patch \
+"
 SRCREV = "5490e96a3dd6ed7371435ca5b3ccef98bdb48b5a"
 
 S = "${WORKDIR}/git"
-- 
2.43.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#108222): 
https://lists.openembedded.org/g/openembedded-devel/message/108222
Mute This Topic: https://lists.openembedded.org/mt/103659416/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-oe][PATCH] libpwquality: respect PYTHONSITEDIR

2024-01-10 Thread Martin Jansa
* fixes installed-vs-shipped e.g. in multilib builds with libdir set to 
/usr/lib32:

ERROR: QA Issue: lib32-libpwquality: Files/directories were installed but not 
shipped in any package:
  /usr/lib/python3.11/site-packages/pwquality.cpython-311-arm-linux-gnueabi.so
  /usr/lib/python3.11/site-packages/pwquality-1.4.5-py3.11.egg-info
  /usr/lib/python3.11/site-packages/pwquality-1.4.5-py3.11.egg-info/SOURCES.txt
  /usr/lib/python3.11/site-packages/pwquality-1.4.5-py3.11.egg-info/PKG-INFO
  
/usr/lib/python3.11/site-packages/pwquality-1.4.5-py3.11.egg-info/dependency_links.txt
  
/usr/lib/python3.11/site-packages/pwquality-1.4.5-py3.11.egg-info/top_level.txt
Please set FILES such that these items are packaged. Alternatively if they are 
unneeded, avoid installing them or delete them within do_install.
lib32-libpwquality: 6 installed and not shipped files. [installed-vs-shipped]

Signed-off-by: Martin Jansa 
---
 ...02-Makefile.am-respect-PYTHONSITEDIR.patch | 26 +++
 .../libpwquality/libpwquality_1.4.5.bb|  5 ++--
 2 files changed, 29 insertions(+), 2 deletions(-)
 create mode 100644 
meta-oe/recipes-extended/libpwquality/files/0002-Makefile.am-respect-PYTHONSITEDIR.patch

diff --git 
a/meta-oe/recipes-extended/libpwquality/files/0002-Makefile.am-respect-PYTHONSITEDIR.patch
 
b/meta-oe/recipes-extended/libpwquality/files/0002-Makefile.am-respect-PYTHONSITEDIR.patch
new file mode 100644
index 00..3e41c17cc0
--- /dev/null
+++ 
b/meta-oe/recipes-extended/libpwquality/files/0002-Makefile.am-respect-PYTHONSITEDIR.patch
@@ -0,0 +1,26 @@
+From edc51ba1b446913232cdf2945f485392bca72dc7 Mon Sep 17 00:00:00 2001
+From: Hongxu Jia 
+Date: Mon, 3 Aug 2015 13:43:14 +0800
+Subject: [PATCH] Makefile.am: respect ${PYTHONSITEDIR}
+
+Signed-off-by: Hongxu Jia 
+Signed-off-by: Martin Jansa 
+---
+Upstream-Status: Submitted 
[https://github.com/libpwquality/libpwquality/pull/80]
+
+ python/Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/python/Makefile.am b/python/Makefile.am
+index 6e51744..0a3bad5 100644
+--- a/python/Makefile.am
 b/python/Makefile.am
+@@ -14,7 +14,7 @@ all-local:
+   CFLAGS="${CFLAGS} -fno-strict-aliasing" @PYTHONBINARY@ setup.py build 
--build-base py$(PYTHONREV)
+ 
+ install-exec-local:
+-  CFLAGS="${CFLAGS} -fno-strict-aliasing" @PYTHONBINARY@ setup.py build 
--build-base py$(PYTHONREV) install --root ${DESTDIR} --prefix=${prefix}
++  CFLAGS="${CFLAGS} -fno-strict-aliasing" @PYTHONBINARY@ setup.py build 
--build-base py$(PYTHONREV) install --root ${DESTDIR} --prefix=${prefix} 
--install-lib=${PYTHONSITEDIR}
+ 
+ clean-local:
+   rm -rf py$(PYTHONREV)
diff --git a/meta-oe/recipes-extended/libpwquality/libpwquality_1.4.5.bb 
b/meta-oe/recipes-extended/libpwquality/libpwquality_1.4.5.bb
index 91afedcb67..4454496f6c 100644
--- a/meta-oe/recipes-extended/libpwquality/libpwquality_1.4.5.bb
+++ b/meta-oe/recipes-extended/libpwquality/libpwquality_1.4.5.bb
@@ -8,8 +8,9 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=6bd2f1386df813a459a0c34fde676fc2"
 DEPENDS = "cracklib python3-setuptools-native"
 
 SRC_URI = 
"git://github.com/libpwquality/libpwquality;branch=master;protocol=https \
-   file://0001-Use-setuptools-instead-of-distutils.patch \
-   "
+file://0001-Use-setuptools-instead-of-distutils.patch \
+file://0002-Makefile.am-respect-PYTHONSITEDIR.patch \
+"
 SRCREV = "5490e96a3dd6ed7371435ca5b3ccef98bdb48b5a"
 
 S = "${WORKDIR}/git"
-- 
2.43.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#108217): 
https://lists.openembedded.org/g/openembedded-devel/message/108217
Mute This Topic: https://lists.openembedded.org/mt/103643950/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [PATCH 05/23] libpwquality: backport a python 3.12 compatibility patch

2024-01-10 Thread Martin Jansa
It doesn't respect libdir now, causing installed-vs-shipped e.g. in
multilib builds with libdir set to /usr/lib32:

ERROR: QA Issue: lib32-libpwquality: Files/directories were installed but
not shipped in any package:
  /usr/lib/python3.11/site-packages/
pwquality.cpython-311-arm-linux-gnueabi.so
  /usr/lib/python3.11/site-packages/pwquality-1.4.5-py3.11.egg-info

/usr/lib/python3.11/site-packages/pwquality-1.4.5-py3.11.egg-info/SOURCES.txt
  /usr/lib/python3.11/site-packages/pwquality-1.4.5-py3.11.egg-info/PKG-INFO

/usr/lib/python3.11/site-packages/pwquality-1.4.5-py3.11.egg-info/dependency_links.txt

/usr/lib/python3.11/site-packages/pwquality-1.4.5-py3.11.egg-info/top_level.txt
Please set FILES such that these items are packaged. Alternatively if they
are unneeded, avoid installing them or delete them within do_install.
lib32-libpwquality: 6 installed and not shipped files.
[installed-vs-shipped]

On Sun, Dec 31, 2023 at 1:23 PM Alexander Kanavin 
wrote:

> This also allows dropping a previous patch.
>
> Signed-off-by: Alexander Kanavin 
> ---
>  ...-Use-setuptools-instead-of-distutils.patch | 78 +++
>  ...missing-python-include-dir-for-cross.patch | 43 --
>  .../libpwquality/libpwquality_1.4.5.bb|  6 +-
>  3 files changed, 81 insertions(+), 46 deletions(-)
>  create mode 100644
> meta-oe/recipes-extended/libpwquality/files/0001-Use-setuptools-instead-of-distutils.patch
>  delete mode 100644
> meta-oe/recipes-extended/libpwquality/files/add-missing-python-include-dir-for-cross.patch
>
> diff --git
> a/meta-oe/recipes-extended/libpwquality/files/0001-Use-setuptools-instead-of-distutils.patch
> b/meta-oe/recipes-extended/libpwquality/files/0001-Use-setuptools-instead-of-distutils.patch
> new file mode 100644
> index 0..7eaca66b5
> --- /dev/null
> +++
> b/meta-oe/recipes-extended/libpwquality/files/0001-Use-setuptools-instead-of-distutils.patch
> @@ -0,0 +1,78 @@
> +From ad95b7684365dea8335c34527d4c1463c1668af0 Mon Sep 17 00:00:00 2001
> +From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= 
> +Date: Fri, 31 Mar 2023 14:52:19 +0200
> +Subject: [PATCH] Use setuptools instead of distutils
> +
> +distutils is removed from Python 3.12+:
> +https://peps.python.org/pep-0632/
> +
> +Upstream-Status: Backport [
> https://github.com/libpwquality/libpwquality/commit/7b5e0f0097faebdcc6a8b783237bbba7a983147a
> ]
> +Signed-off-by: Alexander Kanavin 
> +---
> + libpwquality.spec.in | 11 ++-
> + python/Makefile.am   |  2 +-
> + python/setup.py.in   |  6 +++---
> + 3 files changed, 6 insertions(+), 13 deletions(-)
> +
> +diff --git a/libpwquality.spec.in b/libpwquality.spec.in
> +index 70a6f53..0809126 100644
> +--- a/libpwquality.spec.in
>  b/libpwquality.spec.in
> +@@ -33,9 +33,11 @@ BuildRequires: gettext
> + BuildRequires: pam-devel
> + %if %{with python2}
> + BuildRequires: python2-devel
> ++BuildRequires: python2-setuptools
> + %endif
> + %if %{with python3}
> + BuildRequires: python3-devel
> ++BuildRequires: python3-setuptools
> + %endif
> +
> + URL: https://github.com/libpwquality/libpwquality/
> +@@ -103,15 +105,6 @@ cp -a . %{py3dir}
> + pushd %{py3dir}
> + %endif
> + %if %{with python3}
> +-# setuptools >= 60 changes the environment to use its bundled copy of
> distutils
> +-# by default, not the Python-bundled one. To run the Python's standard
> library
> +-# distutils, the environment variable must be set.
> +-# Although technically setuptools is not needed for this package, if it's
> +-# pulled by another package, it changes the environment and consequently,
> +-# the build fails. This was reported in:
> +-# https://github.com/pypa/setuptools/issues/3143
> +-export SETUPTOOLS_USE_DISTUTILS=stdlib
> +-
> + %configure \
> +   --with-securedir=%{_moduledir} \
> +   --with-pythonsitedir=%{python3_sitearch} \
> +diff --git a/python/Makefile.am b/python/Makefile.am
> +index 1d00c0c..6e51744 100644
> +--- a/python/Makefile.am
>  b/python/Makefile.am
> +@@ -14,7 +14,7 @@ all-local:
> +   CFLAGS="${CFLAGS} -fno-strict-aliasing" @PYTHONBINARY@ setup.py
> build --build-base py$(PYTHONREV)
> +
> + install-exec-local:
> +-  CFLAGS="${CFLAGS} -fno-strict-aliasing" @PYTHONBINARY@ setup.py
> build --build-base py$(PYTHONREV) install --prefix=${DESTDIR}${prefix}
> ++  CFLAGS="${CFLAGS} -fno-strict-aliasing" @PYTHONBINARY@ setup.py
> build --build-base py$(PYTHONREV) install --root ${DESTDIR}
> --prefix=${prefix}
> +
> + clean-local:
> +   rm -rf py$(PYTHONREV)
> +diff --git a/python/setup.py.in b/python/setup.py.in
> +index a741b91..f934c50 100755
> +--- a/python/setup.py.in
>  b/python/setup.py.in
> +@@ -6,9 +6,9 @@
> +
> + import os
> +
> +-from distutils.core import setup, Extension
> +-from distutils.command.build_ext import build_ext as _build_ext
> +-from distutils.command.sdist import sdist as _sdist
> ++from setuptools import setup, Extension
> ++from setuptools.command.build_ext import build_ext as _build_ext
> ++from setuptools.command.sdist 

[oe] [meta-oe][PATCH] driverctl: fix installed-vs-shipped

2023-12-29 Thread Martin Jansa
* introduced in upgrade to 0.115 version:
  
https://git.openembedded.org/meta-openembedded/commit/?id=1f2c2ebcbcf5944225462f530e0d56b20f1b4630

* fixes:
ERROR: driverctl-0.115-r0 do_package: QA Issue: driverctl: Files/directories 
were installed but not shipped in any package:
  /usr/lib/systemd
  /usr/lib/systemd/system
  /usr/lib/systemd/system/driverctl@.service
Please set FILES such that these items are packaged. Alternatively if they are 
unneeded, avoid installing them or delete them within do_install.
driverctl: 3 installed and not shipped files. [installed-vs-shipped]

  when systemd_system_unitdir isn't subdirectory of libdir, e.g. with multilib 
using:
  export libdir="/usr/lib64"
  export systemd_system_unitdir="/usr/lib/systemd/system"

Signed-off-by: Martin Jansa 
---
 meta-oe/recipes-support/driverctl/driverctl_0.115.bb | 7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-support/driverctl/driverctl_0.115.bb 
b/meta-oe/recipes-support/driverctl/driverctl_0.115.bb
index d37563eda9..970844f982 100644
--- a/meta-oe/recipes-support/driverctl/driverctl_0.115.bb
+++ b/meta-oe/recipes-support/driverctl/driverctl_0.115.bb
@@ -18,6 +18,9 @@ do_install () {
oe_runmake install DESTDIR=${D}
 }
 
-FILES:${PN} += "${libdir}"
-FILES:${PN} += "${datadir}"
+FILES:${PN} += " \
+${libdir} \
+${datadir} \
+${systemd_system_unitdir} \
+"
 
-- 
2.43.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107877): 
https://lists.openembedded.org/g/openembedded-devel/message/107877
Mute This Topic: https://lists.openembedded.org/mt/103415285/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-oe][PATCH] wavpack: upgrade 5.1.0 -> 5.6.0

2023-12-22 Thread Martin Jansa
It's active, without it it was building only the static library.

But ${PN}-bin was removed, so the binaries are now packaged in ${PN} as
well (which doesn't look as improvement) and causes the package name not to
be renamed anymore with debian.bbclass.

And in the .patch I've used PROJECT_VERSION as SOVERSION for CMake to build
versioned library, but that means that the .so now has 5.6.0 version while
5.1.0 was using 1.2.0, so it would be better to discuss with upstream to
see if the missing library version in CMake is intentional difference from
autotools or just overlook.

Regards,

On Fri, Dec 22, 2023 at 3:39 PM Khem Raj  wrote:

> perhaps shared libs option is not getting effective. when you send a
> v3 please squash Martin's change into that as well.
>
> On Fri, Dec 22, 2023 at 6:10 AM Martin Jansa 
> wrote:
> >
> > Thanks for v2, I've sent additional fix for shared libraries, but there
> are still some probably unexpected side-effects from using CMake and
> dropping lib_package inherit (${PN}-bin removal) as buildhistory shows:
> >
> > diff --git a/packages/cortexa57-oe-linux/wavpack/sysroot
> b/packages/cortexa57-oe-linux/wavpack/sysroot
> > index e772d96dbb5..de2cfdb7b0f 100644
> > --- a/packages/cortexa57-oe-linux/wavpack/sysroot
> > +++ b/packages/cortexa57-oe-linux/wavpack/sysroot
> > @@ -7,10 +7,11 @@ drwxr-xr-x -  -4096
> ./usr/include/wavpack
> >  drwxr-xr-x -  -4096 ./usr/lib
> >  drwxr-xr-x -  -4096 ./usr/lib/cmake
> >  drwxr-xr-x -  -4096 ./usr/lib/cmake/WavPack
> > --rw-r--r-- -  -4917
> ./usr/lib/cmake/WavPack/wavpack-config.cmake
> > --rw-r--r-- -  -2470
> ./usr/lib/cmake/WavPack/wavpack-config-noconfig.cmake
> > +-rw-r--r-- -  -4678
> ./usr/lib/cmake/WavPack/wavpack-config.cmake
> > +-rw-r--r-- -  -2484
> ./usr/lib/cmake/WavPack/wavpack-config-noconfig.cmake
> >  -rw-r--r-- -  -3675
> ./usr/lib/cmake/WavPack/wavpack-config-version.cmake
> > --rw-r--r-- -  - 1006290 ./usr/lib/libwavpack.a
> > +-rwxr-xr-x -  -  199048
> ./usr/lib/libwavpack.so.5.6.0
> > +lrwxrwxrwx -  -  19 ./usr/lib/libwavpack.so ->
> libwavpack.so.5.6.0
> >  drwxr-xr-x -  -4096 ./usr/lib/pkgconfig
> >  -rw-r--r-- -  - 234
> ./usr/lib/pkgconfig/wavpack.pc
> >  drwxr-xr-x -  -4096 ./usr/share
> >
> >
> > diff --git a/packages/cortexa57-oe-linux/wavpack/wavpack/latest
> b/packages/cortexa57-oe-linux/wavpack/wavpack/latest
> > index d1d7db3e993..4e8fd7e2f20 100644
> > --- a/packages/cortexa57-oe-linux/wavpack/wavpack/latest
> > +++ b/packages/cortexa57-oe-linux/wavpack/wavpack/latest
> > @@ -1,10 +1,9 @@
> > -PV = 5.1.0
> > +PV = 5.6.0
> >  PR = r0
> > -PKG = libwavpack1
> > -PKGR = r0.0
> > -RPROVIDES = wavpack (=5.1.0)
> > +PKGR = r0.2
> > +RPROVIDES =
> >  RDEPENDS = glibc (>= 2.38+git0+1e04dcec49)
> >  RRECOMMENDS =
> > -PKGSIZE = 199171
> > +PKGSIZE = 608176
> >  FILES = /usr/bin/* /usr/sbin/* /usr/libexec/* /usr/lib/lib*.so.* /etc
> /com /var /usr/bin/* /usr/sbin/* /usr/lib/*.so.* /lib/udev /usr/lib/udev
> /usr/lib/udev /usr/lib/udev /usr/share/wavpack /usr/lib/wavpack/*
> /usr/share/pixmaps /usr/shar
> > e/applications /usr/share/idl /usr/share/omf /usr/share/sounds
> /usr/lib/bonobo/servers
> > -FILELIST = /usr/lib/libwavpack.so.1 /usr/lib/libwavpack.so.1.2.0
> > +FILELIST = /usr/bin/wavpack /usr/bin/wvgain /usr/bin/wvtag
> /usr/bin/wvunpack /usr/lib/libwavpack.so.5.6.0
> >
> > diff --git a/packages/cortexa57-oe-linux/wavpack/wavpack-bin/latest
> b/packages/cortexa57-oe-linux/wavpack/wavpack-bin/latest
> > deleted file mode 100644
> > index 3a1b182efce..000
> > --- a/packages/cortexa57-oe-linux/wavpack/wavpack-bin/latest
> > +++ /dev/null
> > @@ -1,10 +0,0 @@
> > -PV = 5.1.0
> > -PR = r0
> > -PKG = libwavpack-bin
> > -PKGR = r0.0
> > -RPROVIDES = wavpack-bin (=5.1.0)
> > -RDEPENDS = glibc (>= 2.38+git0+1e04dcec49) wavpack (>= 5.1.0)
> > -RRECOMMENDS =
> > -PKGSIZE = 408992
> > -FILES = /usr/bin/* /usr/sbin/*
> > -FILELIST = /usr/bin/wavpack /usr/bin/wvgain /usr/bin/wvtag
> /usr/bin/wvunpack
> >
> >
> >
> > On Thu, Dec 21, 2023 at 3:11 PM alper ak 
> wrote:
> >>
> >> Added openssl as a depends and sent v2 patch, thank you.
> >>
> >> Martin Jan

Re: [oe] [meta-oe][PATCH] wavpack: upgrade 5.1.0 -> 5.6.0

2023-12-22 Thread Martin Jansa
Thanks for v2, I've sent additional fix for shared libraries, but there are
still some probably unexpected side-effects from using CMake and dropping
lib_package inherit (${PN}-bin removal) as buildhistory shows:

diff --git a/packages/cortexa57-oe-linux/wavpack/sysroot
b/packages/cortexa57-oe-linux/wavpack/sysroot
index e772d96dbb5..de2cfdb7b0f 100644
--- a/packages/cortexa57-oe-linux/wavpack/sysroot
+++ b/packages/cortexa57-oe-linux/wavpack/sysroot
@@ -7,10 +7,11 @@ drwxr-xr-x -  -4096
./usr/include/wavpack
 drwxr-xr-x -  -4096 ./usr/lib
 drwxr-xr-x -  -4096 ./usr/lib/cmake
 drwxr-xr-x -  -4096 ./usr/lib/cmake/WavPack
--rw-r--r-- -  -4917
./usr/lib/cmake/WavPack/wavpack-config.cmake
--rw-r--r-- -  -2470
./usr/lib/cmake/WavPack/wavpack-config-noconfig.cmake
+-rw-r--r-- -  -4678
./usr/lib/cmake/WavPack/wavpack-config.cmake
+-rw-r--r-- -  -2484
./usr/lib/cmake/WavPack/wavpack-config-noconfig.cmake
 -rw-r--r-- -  -3675
./usr/lib/cmake/WavPack/wavpack-config-version.cmake
--rw-r--r-- -  - 1006290 ./usr/lib/libwavpack.a
+-rwxr-xr-x -  -  199048 ./usr/lib/libwavpack.so.5.6.0
+lrwxrwxrwx -  -  19 ./usr/lib/libwavpack.so ->
libwavpack.so.5.6.0
 drwxr-xr-x -  -4096 ./usr/lib/pkgconfig
 -rw-r--r-- -  - 234 ./usr/lib/pkgconfig/wavpack.pc
 drwxr-xr-x -  -4096 ./usr/share


diff --git a/packages/cortexa57-oe-linux/wavpack/wavpack/latest
b/packages/cortexa57-oe-linux/wavpack/wavpack/latest
index d1d7db3e993..4e8fd7e2f20 100644
--- a/packages/cortexa57-oe-linux/wavpack/wavpack/latest
+++ b/packages/cortexa57-oe-linux/wavpack/wavpack/latest
@@ -1,10 +1,9 @@
-PV = 5.1.0
+PV = 5.6.0
 PR = r0
-PKG = libwavpack1
-PKGR = r0.0
-RPROVIDES = wavpack (=5.1.0)
+PKGR = r0.2
+RPROVIDES =
 RDEPENDS = glibc (>= 2.38+git0+1e04dcec49)
 RRECOMMENDS =
-PKGSIZE = 199171
+PKGSIZE = 608176
 FILES = /usr/bin/* /usr/sbin/* /usr/libexec/* /usr/lib/lib*.so.* /etc /com
/var /usr/bin/* /usr/sbin/* /usr/lib/*.so.* /lib/udev /usr/lib/udev
/usr/lib/udev /usr/lib/udev /usr/share/wavpack /usr/lib/wavpack/*
/usr/share/pixmaps /usr/shar
e/applications /usr/share/idl /usr/share/omf /usr/share/sounds
/usr/lib/bonobo/servers
-FILELIST = /usr/lib/libwavpack.so.1 /usr/lib/libwavpack.so.1.2.0
+FILELIST = /usr/bin/wavpack /usr/bin/wvgain /usr/bin/wvtag
/usr/bin/wvunpack /usr/lib/libwavpack.so.5.6.0

diff --git a/packages/cortexa57-oe-linux/wavpack/wavpack-bin/latest
b/packages/cortexa57-oe-linux/wavpack/wavpack-bin/latest
deleted file mode 100644
index 3a1b182efce..000
--- a/packages/cortexa57-oe-linux/wavpack/wavpack-bin/latest
+++ /dev/null
@@ -1,10 +0,0 @@
-PV = 5.1.0
-PR = r0
-PKG = libwavpack-bin
-PKGR = r0.0
-RPROVIDES = wavpack-bin (=5.1.0)
-RDEPENDS = glibc (>= 2.38+git0+1e04dcec49) wavpack (>= 5.1.0)
-RRECOMMENDS =
-PKGSIZE = 408992
-FILES = /usr/bin/* /usr/sbin/*
-FILELIST = /usr/bin/wavpack /usr/bin/wvgain /usr/bin/wvtag
/usr/bin/wvunpack



On Thu, Dec 21, 2023 at 3:11 PM alper ak  wrote:

> Added openssl as a depends and sent v2 patch, thank you.
>
> Martin Jansa , 21 Ara 2023 Per, 15:30
> tarihinde şunu yazdı:
> >
> > Adding the dependency on target openssl allows the build to finish OK.
> >
> > On Thu, Dec 21, 2023 at 1:06 PM Martin Jansa via lists.openembedded.org
>  wrote:
> >>
> >> Hi,
> >>
> >> it seems to be trying to link with native libcrypto in some builds:
> >>
> >> lib32-wavpack/5.6.0/recipe-sysroot-native/usr/lib/libcrypto.so: file
> not recognized: file format not recognized
> >> collect2: error: ld returned 1 exit status
> >>
> >> have you tried to build it e.g. for aarch64 or arm on x86_64 build host?
> >>
> >> On Wed, Dec 20, 2023 at 7:25 AM Alper Ak 
> wrote:
> >>>
> >>> License-Update: Copyright year changes
> >>>
> >>> Changelog:
> >>>
> >>> * added: AIFF file import/export support
> >>> * added: WATCOM compiler and OS/2 support
> >>> * added: cmake support for mingw, builds Cooledit + Winamp plugins
> >>> * added: --force-even-byte-depth option for rounding up bit depths
> >>> * fixed: detect and report PCM files having non-zero padding bits
> >>> * fixed: possible crash when displaying long channel assignments
> >>> * fixed: big-endian-sourced "raw" files gave big-endian "wav"s
> >>> * fixed: numerous minor issues
> >>> * fixed: CVE-2021-44269 (encoding crafted DSD file triggers OOB read
> crash)
> >>> * fixed: very lo

[oe] [meta-oe][PATCHv2] wavpack: add PACKAGECONFIG for shared and enable it by default

2023-12-22 Thread Martin Jansa
* fixes gstreamer1.0-plugins-good build with wavpack enabled:
  PACKAGECONFIG:append:pn-gstreamer1.0-plugins-good = " wavpack"

* 5.1.0 built shared libs by default, 5.6.0 build with CMake doesn't, causing:
  http://errors.yoctoproject.org/Errors/Details/748247/

TOPDIR/tmp-glibc/work/cortexa57-oe-linux/gstreamer1.0-plugins-good/1.22.7/recipe-sysroot-native/usr/bin/aarch64-oe-linux/../../libexec/aarch64-oe-linux/gcc/aarch64-oe-linux/13.2.0/ld:
 
TOPDIR/tmp-glibc/work/cortexa57-oe-linux/gstreamer1.0-plugins-good/1.22.7/recipe-sysroot/usr/lib/libwavpack.a(read_words.c.o):
 relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `bitset' which may bind 
externally can not be used when making a shared object; recompile with -fPIC
/usr/src/debug/wavpack/5.6.0/src/read_words.c:592:(.text+0xb88): dangerous 
relocation: unsupported relocation
collect2: error: ld returned 1 exit status

Signed-off-by: Martin Jansa 
---
 ...reate-wavpack-as-versioned-shared-li.patch | 26 +++
 .../wavpack/wavpack_5.6.0.bb  |  7 -
 2 files changed, 32 insertions(+), 1 deletion(-)
 create mode 100644 
meta-oe/recipes-multimedia/wavpack/wavpack/0001-CMakeLists.txt-create-wavpack-as-versioned-shared-li.patch

diff --git 
a/meta-oe/recipes-multimedia/wavpack/wavpack/0001-CMakeLists.txt-create-wavpack-as-versioned-shared-li.patch
 
b/meta-oe/recipes-multimedia/wavpack/wavpack/0001-CMakeLists.txt-create-wavpack-as-versioned-shared-li.patch
new file mode 100644
index 00..145483d05c
--- /dev/null
+++ 
b/meta-oe/recipes-multimedia/wavpack/wavpack/0001-CMakeLists.txt-create-wavpack-as-versioned-shared-li.patch
@@ -0,0 +1,26 @@
+From 0cebb83c7bccf990aaec446d021b697eaeef9f7e Mon Sep 17 00:00:00 2001
+From: Martin Jansa 
+Date: Fri, 22 Dec 2023 14:57:20 +0100
+Subject: [PATCH] CMakeLists.txt: create wavpack as versioned shared library
+
+* as autotools build does
+
+Signed-off-by: Martin Jansa 
+---
+Upstream-Status: Pending
+
+ CMakeLists.txt | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 2597e98..7ca9bab 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -371,6 +371,7 @@ endif()
+ 
+ set_target_properties(wavpack PROPERTIES EXPORT_NAME WavPack)
+ set_target_properties(wavpack PROPERTIES PUBLIC_HEADER include/wavpack.h)
++set_target_properties(wavpack PROPERTIES SOVERSION ${PROJECT_VERSION})
+ 
+ if(WAVPACK_BUILD_PROGRAMS)
+ 
diff --git a/meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb 
b/meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb
index ebbc59dde8..dc5dab7626 100644
--- a/meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb
+++ b/meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb
@@ -4,8 +4,13 @@ LIC_FILES_CHKSUM = 
"file://license.txt;md5=bb5d037e3ad41a3c84c9f2d8bb65a7b4"
 
 DEPENDS = "openssl"
 
-SRC_URI = "git://github.com/dbry/WavPack.git;branch=master;protocol=https"
+SRC_URI = "git://github.com/dbry/WavPack.git;branch=master;protocol=https \
+file://0001-CMakeLists.txt-create-wavpack-as-versioned-shared-li.patch \
+"
 SRCREV = "e03e8e29dc618e08e7baba9636e57ba1254874ce"
 S = "${WORKDIR}/git"
 
 inherit cmake pkgconfig
+
+PACKAGECONFIG = "shared"
+PACKAGECONFIG[shared] = "-DBUILD_SHARED_LIBS=ON,-DBUILD_SHARED_LIBS=OFF,,"
-- 
2.43.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107750): 
https://lists.openembedded.org/g/openembedded-devel/message/107750
Mute This Topic: https://lists.openembedded.org/mt/103318635/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-oe][PATCH] wavpack: add PACKAGECONFIG for shared and enable it by default

2023-12-22 Thread Martin Jansa
Sorry, ignore this one.

Something is still wrong, sent too soon (after do_compile finished), but
later there was:

ERROR: gstreamer1.0-plugins-good-1.22.7-r0 do_package_qa: QA Issue:
gstreamer1.0-plugins-good-wavpack rdepends on wavpack-dev [dev-deps]

so it's packaged incorrectly, because now it built unversioned .so:

tmp-glibc/work/cortexa57-oe-linux/wavpack/5.1.0-old/image/usr/lib/:
total 1528
drwxr-xr-x 3 martin martin   4096 Dec 22 14:27 ./
drwxr-xr-x 6 martin martin   4096 Dec 22 14:27 ../
-rw-r--r-- 2 martin martin 988636 Dec 22 14:27 libwavpack.a
lrwxrwxrwx 1 martin martin 19 Dec 22 14:27 libwavpack.so ->
libwavpack.so.1.2.0*
lrwxrwxrwx 1 martin martin 19 Dec 22 14:27 libwavpack.so.1 ->
libwavpack.so.1.2.0*
-rwxr-xr-x 1 martin martin 601320 Dec 22 14:27 libwavpack.so.1.2.0*
drwxr-xr-x 2 martin martin   4096 Dec 22 14:27 pkgconfig/

tmp-glibc/work/cortexa57-oe-linux/wavpack/5.6.0-shared/image/usr/lib/:
total 616
drwxr-xr-x 4 martin martin   4096 Dec 22 14:45 ./
drwxr-xr-x 6 martin martin   4096 Dec 22 14:45 ../
drwxr-xr-x 3 martin martin   4096 Dec 22 14:45 cmake/
-rwxr-xr-x 1 martin martin 608120 Dec 22 14:45 libwavpack.so*
drwxr-xr-x 2 martin martin   4096 Dec 22 14:45 pkgconfig/

will send v2 later

On Fri, Dec 22, 2023 at 2:46 PM Martin Jansa via lists.openembedded.org
 wrote:

> * fixes gstreamer1.0-plugins-good build with wavpack enabled:
>   PACKAGECONFIG:append:pn-gstreamer1.0-plugins-good = " wavpack"
>
> * 5.1.0 built shared libs by default, 5.6.0 build with CMake doesn't,
> causing:
>   http://errors.yoctoproject.org/Errors/Details/748247/
>
> TOPDIR/tmp-glibc/work/cortexa57-oe-linux/gstreamer1.0-plugins-good/1.22.7/recipe-sysroot-native/usr/bin/aarch64-oe-linux/../../libexec/aarch64-oe-linux/gcc/aarch64-oe-linux/13.2.0/ld:
> TOPDIR/tmp-glibc/work/cortexa57-oe-linux/gstreamer1.0-plugins-good/1.22.7/recipe-sysroot/usr/lib/libwavpack.a(read_words.c.o):
> relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `bitset' which may
> bind externally can not be used when making a shared object; recompile with
> -fPIC
> /usr/src/debug/wavpack/5.6.0/src/read_words.c:592:(.text+0xb88): dangerous
> relocation: unsupported relocation
> collect2: error: ld returned 1 exit status
>
> Signed-off-by: Martin Jansa 
> ---
>  meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb
> b/meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb
> index ebbc59dde8..1011cd4c03 100644
> --- a/meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb
> +++ b/meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb
> @@ -9,3 +9,6 @@ SRCREV = "e03e8e29dc618e08e7baba9636e57ba1254874ce"
>  S = "${WORKDIR}/git"
>
>  inherit cmake pkgconfig
> +
> +PACKAGECONFIG = "shared"
> +PACKAGECONFIG[shared] = "-DBUILD_SHARED_LIBS=ON,-DBUILD_SHARED_LIBS=OFF,,"
> --
> 2.43.0
>
>
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107749): 
https://lists.openembedded.org/g/openembedded-devel/message/107749
Mute This Topic: https://lists.openembedded.org/mt/103318396/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-oe][PATCH] wavpack: add PACKAGECONFIG for shared and enable it by default

2023-12-22 Thread Martin Jansa
* fixes gstreamer1.0-plugins-good build with wavpack enabled:
  PACKAGECONFIG:append:pn-gstreamer1.0-plugins-good = " wavpack"

* 5.1.0 built shared libs by default, 5.6.0 build with CMake doesn't, causing:
  http://errors.yoctoproject.org/Errors/Details/748247/

TOPDIR/tmp-glibc/work/cortexa57-oe-linux/gstreamer1.0-plugins-good/1.22.7/recipe-sysroot-native/usr/bin/aarch64-oe-linux/../../libexec/aarch64-oe-linux/gcc/aarch64-oe-linux/13.2.0/ld:
 
TOPDIR/tmp-glibc/work/cortexa57-oe-linux/gstreamer1.0-plugins-good/1.22.7/recipe-sysroot/usr/lib/libwavpack.a(read_words.c.o):
 relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `bitset' which may bind 
externally can not be used when making a shared object; recompile with -fPIC
/usr/src/debug/wavpack/5.6.0/src/read_words.c:592:(.text+0xb88): dangerous 
relocation: unsupported relocation
collect2: error: ld returned 1 exit status

Signed-off-by: Martin Jansa 
---
 meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb 
b/meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb
index ebbc59dde8..1011cd4c03 100644
--- a/meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb
+++ b/meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb
@@ -9,3 +9,6 @@ SRCREV = "e03e8e29dc618e08e7baba9636e57ba1254874ce"
 S = "${WORKDIR}/git"
 
 inherit cmake pkgconfig
+
+PACKAGECONFIG = "shared"
+PACKAGECONFIG[shared] = "-DBUILD_SHARED_LIBS=ON,-DBUILD_SHARED_LIBS=OFF,,"
-- 
2.43.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107748): 
https://lists.openembedded.org/g/openembedded-devel/message/107748
Mute This Topic: https://lists.openembedded.org/mt/103318396/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-oe][PATCH] wavpack: upgrade 5.1.0 -> 5.6.0

2023-12-21 Thread Martin Jansa
Adding the dependency on target openssl allows the build to finish OK.

On Thu, Dec 21, 2023 at 1:06 PM Martin Jansa via lists.openembedded.org
 wrote:

> Hi,
>
> it seems to be trying to link with native libcrypto in some builds:
>
> lib32-wavpack/5.6.0/recipe-sysroot-native/usr/lib/libcrypto.so: file not
> recognized: file format not recognized
> collect2: error: ld returned 1 exit status
>
> have you tried to build it e.g. for aarch64 or arm on x86_64 build host?
>
> On Wed, Dec 20, 2023 at 7:25 AM Alper Ak  wrote:
>
>> License-Update: Copyright year changes
>>
>> Changelog:
>>
>> * added: AIFF file import/export support
>> * added: WATCOM compiler and OS/2 support
>> * added: cmake support for mingw, builds Cooledit + Winamp plugins
>> * added: --force-even-byte-depth option for rounding up bit depths
>> * fixed: detect and report PCM files having non-zero padding bits
>> * fixed: possible crash when displaying long channel assignments
>> * fixed: big-endian-sourced "raw" files gave big-endian "wav"s
>> * fixed: numerous minor issues
>> * fixed: CVE-2021-44269 (encoding crafted DSD file triggers OOB read
>> crash)
>> * fixed: very long filenames cause stack-overflow crash in all CLI
>> programs
>> * fixed: the length stored in WAV headers not always corrected when using
>> -i
>> * fixed: attempting to encode raw DSD audio from stdin sometimes causes
>> crash
>> * fixed: DSD to PCM decimation: small clicks between tracks and tiny DC
>> offset
>> * fixed: length update in library-generated WAV headers on big-endian
>> machines
>> * fixed: sanitize custom extensions read from WavPack files to be
>> alphanumeric
>> * added: accepting brace-delimited options in the wavpack executable
>> filename
>> * added: "--drop" option to Windows executables for multi-file
>> "drag-and-drop"
>> * added" "--raw-pcm" option to wvunpack executable (does DSD --> 24-bit
>> PCM)
>> * added: "--no-overwrite" option to wavpack executable (to resume
>> sessions)
>> * improved: build system clean-up including switch to non-recursive "make"
>> * fixed: potential security issue CVE-2020-35738
>> * fixed: disable A32 asm code when building for Apple silicon
>> * fixed: issues with Adobe-style floating-point WAV files
>> * added: -vv option to wvunpack to quickly verify using just
>>  block checksums (ideal for detecting corrupted files)
>> * added: --normalize-floats option to wvunpack for correctly
>>  exporting un-normalized floating-point files
>> * updated: Visual Studio 2019 for Windows builds
>> * dropped: WinXP support in official binaries
>> * fixed: OSS-Fuzz issues 19925, 19928, 20060, 20448
>>   (no CVEs or vulnerabilities)
>> * fixed: trailing garbage characters on imported ID3v2 TXXX tags
>> * fixed: various minor undefined behavior and memory access issues
>> * fixed: sanitize tag extraction names for length and path inclusion
>> * improved: reformat wvunpack "help" and split into long + short versions
>> * added: regression testing to Travis CI for OSS-Fuzz crashers
>> * fixed: potential security issues including the following CVEs:
>>  CVE-2018-19840 CVE-2018-19841 CVE-2018-10536
>>  CVE-2018-10537 CVE-2018-10538 CVE-2018-10539
>>  CVE-2018-10540 CVE-2018-7254  CVE-2018-7253
>>  CVE-2018-6767
>> * added: support for CMake, Travis CI, and Google's OSS-fuzz
>> * fixed: use correction file for encode verify (pipe input, Windows)
>> * fixed: correct WAV header with actual length (pipe input, -i option)
>> * fixed: thumb interworking and not needing v6 architecture (ARM asm)
>> * added: handle more ID3v2.3 tag items and from all file types
>> * fixed: coredump on Sparc64 (changed MD5 implementation)
>> * fixed: handle invalid ID3v2.3 tags from sacd-ripper
>> * fixed: several corner-case memory leaks
>>
>> Signed-off-by: alperak 
>> ---
>>  .../wavpack/{wavpack_5.1.0.bb => wavpack_5.6.0.bb}  | 6 +++---
>>  1 file changed, 3 insertions(+), 3 deletions(-)
>>  rename meta-oe/recipes-multimedia/wavpack/{wavpack_5.1.0.bb =>
>> wavpack_5.6.0.bb} (63%)
>>
>> diff --git a/meta-oe/recipes-multimedia/wavpack/wavpack_5.1.0.bb
>> b/meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb
>> similarity index 63%
>> rename from meta-oe/recipes-multimedia/wavpack/wavpack_5.1.0.bb
>> rename to meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb
>> index 909612393..80671896c 100644
>> --- a/meta-oe/recipes-multime

Re: [oe] [meta-oe][PATCH] wavpack: upgrade 5.1.0 -> 5.6.0

2023-12-21 Thread Martin Jansa
Hi,

it seems to be trying to link with native libcrypto in some builds:

lib32-wavpack/5.6.0/recipe-sysroot-native/usr/lib/libcrypto.so: file not
recognized: file format not recognized
collect2: error: ld returned 1 exit status

have you tried to build it e.g. for aarch64 or arm on x86_64 build host?

On Wed, Dec 20, 2023 at 7:25 AM Alper Ak  wrote:

> License-Update: Copyright year changes
>
> Changelog:
>
> * added: AIFF file import/export support
> * added: WATCOM compiler and OS/2 support
> * added: cmake support for mingw, builds Cooledit + Winamp plugins
> * added: --force-even-byte-depth option for rounding up bit depths
> * fixed: detect and report PCM files having non-zero padding bits
> * fixed: possible crash when displaying long channel assignments
> * fixed: big-endian-sourced "raw" files gave big-endian "wav"s
> * fixed: numerous minor issues
> * fixed: CVE-2021-44269 (encoding crafted DSD file triggers OOB read crash)
> * fixed: very long filenames cause stack-overflow crash in all CLI programs
> * fixed: the length stored in WAV headers not always corrected when using
> -i
> * fixed: attempting to encode raw DSD audio from stdin sometimes causes
> crash
> * fixed: DSD to PCM decimation: small clicks between tracks and tiny DC
> offset
> * fixed: length update in library-generated WAV headers on big-endian
> machines
> * fixed: sanitize custom extensions read from WavPack files to be
> alphanumeric
> * added: accepting brace-delimited options in the wavpack executable
> filename
> * added: "--drop" option to Windows executables for multi-file
> "drag-and-drop"
> * added" "--raw-pcm" option to wvunpack executable (does DSD --> 24-bit
> PCM)
> * added: "--no-overwrite" option to wavpack executable (to resume sessions)
> * improved: build system clean-up including switch to non-recursive "make"
> * fixed: potential security issue CVE-2020-35738
> * fixed: disable A32 asm code when building for Apple silicon
> * fixed: issues with Adobe-style floating-point WAV files
> * added: -vv option to wvunpack to quickly verify using just
>  block checksums (ideal for detecting corrupted files)
> * added: --normalize-floats option to wvunpack for correctly
>  exporting un-normalized floating-point files
> * updated: Visual Studio 2019 for Windows builds
> * dropped: WinXP support in official binaries
> * fixed: OSS-Fuzz issues 19925, 19928, 20060, 20448
>   (no CVEs or vulnerabilities)
> * fixed: trailing garbage characters on imported ID3v2 TXXX tags
> * fixed: various minor undefined behavior and memory access issues
> * fixed: sanitize tag extraction names for length and path inclusion
> * improved: reformat wvunpack "help" and split into long + short versions
> * added: regression testing to Travis CI for OSS-Fuzz crashers
> * fixed: potential security issues including the following CVEs:
>  CVE-2018-19840 CVE-2018-19841 CVE-2018-10536
>  CVE-2018-10537 CVE-2018-10538 CVE-2018-10539
>  CVE-2018-10540 CVE-2018-7254  CVE-2018-7253
>  CVE-2018-6767
> * added: support for CMake, Travis CI, and Google's OSS-fuzz
> * fixed: use correction file for encode verify (pipe input, Windows)
> * fixed: correct WAV header with actual length (pipe input, -i option)
> * fixed: thumb interworking and not needing v6 architecture (ARM asm)
> * added: handle more ID3v2.3 tag items and from all file types
> * fixed: coredump on Sparc64 (changed MD5 implementation)
> * fixed: handle invalid ID3v2.3 tags from sacd-ripper
> * fixed: several corner-case memory leaks
>
> Signed-off-by: alperak 
> ---
>  .../wavpack/{wavpack_5.1.0.bb => wavpack_5.6.0.bb}  | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>  rename meta-oe/recipes-multimedia/wavpack/{wavpack_5.1.0.bb =>
> wavpack_5.6.0.bb} (63%)
>
> diff --git a/meta-oe/recipes-multimedia/wavpack/wavpack_5.1.0.bb
> b/meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb
> similarity index 63%
> rename from meta-oe/recipes-multimedia/wavpack/wavpack_5.1.0.bb
> rename to meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb
> index 909612393..80671896c 100644
> --- a/meta-oe/recipes-multimedia/wavpack/wavpack_5.1.0.bb
> +++ b/meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb
> @@ -1,9 +1,9 @@
>  DESCRIPTION = "WavPack is a completely open audio compression format
> providing lossless, high-quality lossy, and a unique hybrid compression
> mode."
>  LICENSE = "BSD-3-Clause"
> -LIC_FILES_CHKSUM =
> "file://license.txt;md5=8c1a910e5c2a8b30ec8ffb2ffa63d9b2"
> +LIC_FILES_CHKSUM =
> "file://license.txt;md5=bb5d037e3ad41a3c84c9f2d8bb65a7b4"
>
>  SRC_URI = "git://github.com/dbry/WavPack.git;branch=master;protocol=https
> "
> -SRCREV = "9ccc3fe4a37d069137ceabe513a4dd9b0a09c1c2"
> +SRCREV = "e03e8e29dc618e08e7baba9636e57ba1254874ce"
>  S = "${WORKDIR}/git"
>
> -inherit autotools lib_package
> +inherit cmake pkgconfig
> --
> 2.25.1
>
>
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107708): 

Re: [oe] [PATCH 1/2] lemon: upgrade to 3.44.2

2023-12-20 Thread Martin Jansa
On Wed, Dec 20, 2023 at 10:42 PM Khem Raj  wrote:

> On Wed, Dec 20, 2023 at 7:53 AM Ross Burton  wrote:
> >
> > From: Ross Burton 
> >
> > Lemon is packaged as part of sqlite, and sqlite 3.7.3 was released back
> > in 2010[1].
> >
> > As the small source tarballs no longer include the tools, fetch the
> > sqlite github mirror instead.
> >
> > Don't bother installing a pretty minimal manpage, as very few projects
> > use lemon (sqlite itself, and libpbnjson).
> >
> > [1] https://www.sqlite.org/releaselog/3_7_3.html
> >
> ...

> diff --git a/meta-oe/recipes-devtools/lemon/lemon.inc
> b/meta-oe/recipes-devtools/lemon/lemon.inc
> > deleted file mode 100644
> > index 57b9fb710e..00
> > --- a/meta-oe/recipes-devtools/lemon/lemon.inc
> > +++ /dev/null
> > @@ -1,25 +0,0 @@
> > -DESCRIPTION = "The Lemon Parser Generator"
> > -HOMEPAGE = "http://www.hwaci.com/sw/lemon/;
> > -LICENSE = "PD"
> > -SECTION = "devel"
> > -
> > -SRC_URI = "http://www.sqlite.org/sqlite-${PV}.tar.gz \
> > -   file://lemon.1"
> > -
> > -S = "${WORKDIR}/sqlite-${PV}/tool"
> > -
> > -do_compile() {
> > -${CC} ${CFLAGS} lemon.c -c -o lemon.o
> > -${CCLD} ${LDFLAGS} lemon.o -o lemon
> > -}
> > -
> > -do_install() {
> > -install -d ${D}${bindir}
> > -install -m 0755 lemon ${D}${bindir}
> > -install -m 0644 lempar.c ${D}${bindir}
> > -install -d ${D}${mandir}/man1
> > -install -m 0644 ${WORKDIR}/lemon.1 ${D}${mandir}/man1/
> > -}
> > -
> > -BBCLASSEXTEND = "native"
> > -
> > diff --git a/meta-oe/recipes-devtools/lemon/lemon_3.44.2.bb
> b/meta-oe/recipes-devtools/lemon/lemon_3.44.2.bb
> > new file mode 100644
> > index 00..1b849922a6
> > --- /dev/null
> > +++ b/meta-oe/recipes-devtools/lemon/lemon_3.44.2.bb
> > @@ -0,0 +1,24 @@
> > +DESCRIPTION = "The Lemon Parser Generator"
> > +HOMEPAGE = "https://sqlite.org/src/file/doc/lemon.html;
> > +LICENSE = "PD"
> > +SECTION = "devel"
> > +
> > +LIC_FILES_CHKSUM =
> "file://tool/lemon.c;endline=8;md5=c7551a78fa3fdecd96d1ad6761d205ee"
> > +
> > +SRC_URI = "git://
> github.com/sqlite/sqlite;protocol=https;branch=branch-3.44"
> > +
> > +SRCREV = "c8f9803dc32bfee78a9ca2b1abbe39499729219b"
> > +
> > +S = "${WORKDIR}/git"
> > +
> > +do_compile() {
> > +${CC} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} tool/lemon.c -o lemon
>
> why do we need CPPFLAGS here ?
>
> > +}
> > +
> > +do_install() {
> > +install -d ${D}${bindir}
> > +install -m 0755 lemon ${D}${bindir}
> > +install -m 0644 tool/lempar.c ${D}${bindir}
>
> .c file in bindir seems odd.
>

I was wondering about it as well, but looks like lemon binary looks for
this as a default template next to lemon binary in:
https://github.com/sqlite/sqlite/blob/master/tool/lemon.c#L3654

that's why it's in bindir and was there before this upgrade as well.

> +}
> > +
> > +BBCLASSEXTEND = "native nativesdk"
> > diff --git a/meta-oe/recipes-devtools/lemon/lemon_3.7.3.bb
> b/meta-oe/recipes-devtools/lemon/lemon_3.7.3.bb
> > deleted file mode 100644
> > index 354db17e6e..00
> > --- a/meta-oe/recipes-devtools/lemon/lemon_3.7.3.bb
> > +++ /dev/null
> > @@ -1,7 +0,0 @@
> > -require lemon.inc
> > -
> > -LIC_FILES_CHKSUM =
> "file://lemon.c;endline=8;md5=c7551a78fa3fdecd96d1ad6761d205ee"
> > -
> > -SRC_URI[md5sum] = "5437978aae90350cf984993091e0d695"
> > -SRC_URI[sha256sum] =
> "dbf352e8fbb74829f5e7a88f9f6ceeb80a709537f668c36e4b6cdfb271309ef6"
> > -
> > --
> > 2.34.1
> >
> >
> >
> >
>
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107677): 
https://lists.openembedded.org/g/openembedded-devel/message/107677
Mute This Topic: https://lists.openembedded.org/mt/103283009/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-oe][nanbield][PATCHv2] poco: fix branch

2023-12-20 Thread Martin Jansa
From: Alexandre Belloni 

The current SRCREV is not on any branch anymore, switch to the 1.12.4
branch HEAD which is similar and the only change is irrelevant.

Signed-off-by: Alexandre Belloni 
Signed-off-by: Martin Jansa 
---
v2: fix branch again, now it has "poco-" prefix

 meta-oe/recipes-support/poco/poco_1.12.4.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-support/poco/poco_1.12.4.bb 
b/meta-oe/recipes-support/poco/poco_1.12.4.bb
index 12532e4ef1..dc73497257 100644
--- a/meta-oe/recipes-support/poco/poco_1.12.4.bb
+++ b/meta-oe/recipes-support/poco/poco_1.12.4.bb
@@ -8,13 +8,13 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=4267f48fc738f50380cbeeb76f95cebc"
 # These dependencies are required by Foundation
 DEPENDS = "libpcre2 zlib"
 
-SRC_URI = "git://github.com/pocoproject/poco.git;branch=master;protocol=https \
+SRC_URI = 
"git://github.com/pocoproject/poco.git;branch=poco-1.12.4;protocol=https \
file://0001-Use-std-atomic-int-instead-of-std-atomic-bool.patch \
file://0001-cppignore.lnx-Ignore-PKCS12-and-testLaunch-test.patch \
file://0001-Fix-data-race-when-create-POSIX-thread.patch \
file://run-ptest \
"
-SRCREV = "1211613642269b7d53bea58b02de7fcd25ece3b9"
+SRCREV = "3572a1fb981672e2cd1d2533ffd836da7db0f414"
 
 UPSTREAM_CHECK_GITTAGREGEX = "poco-(?P\d+(\.\d+)+)"
 
-- 
2.43.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107660): 
https://lists.openembedded.org/g/openembedded-devel/message/107660
Mute This Topic: https://lists.openembedded.org/mt/103281720/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-oe][mickledore][PATCHv2] poco: fix branch

2023-12-20 Thread Martin Jansa
From: Alexandre Belloni 

The current SRCREV is not on any branch anymore, switch to the 1.12.4
branch HEAD which is similar and the only change is irrelevant.

Signed-off-by: Alexandre Belloni 
Signed-off-by: Martin Jansa 
---
v2: fix branch again, now it has "poco-" prefix

 meta-oe/recipes-support/poco/poco_1.12.4.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-support/poco/poco_1.12.4.bb 
b/meta-oe/recipes-support/poco/poco_1.12.4.bb
index 51bd5611fb..5fef774576 100644
--- a/meta-oe/recipes-support/poco/poco_1.12.4.bb
+++ b/meta-oe/recipes-support/poco/poco_1.12.4.bb
@@ -8,11 +8,11 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=4267f48fc738f50380cbeeb76f95cebc"
 # These dependencies are required by Foundation
 DEPENDS = "libpcre2 zlib"
 
-SRC_URI = "git://github.com/pocoproject/poco.git;branch=master;protocol=https \
+SRC_URI = 
"git://github.com/pocoproject/poco.git;branch=poco-1.12.4;protocol=https \
file://0001-Use-std-atomic-int-instead-of-std-atomic-bool.patch \
file://run-ptest \
"
-SRCREV = "1211613642269b7d53bea58b02de7fcd25ece3b9"
+SRCREV = "3572a1fb981672e2cd1d2533ffd836da7db0f414"
 
 UPSTREAM_CHECK_GITTAGREGEX = "poco-(?P\d+(\.\d+)+)"
 
-- 
2.43.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107659): 
https://lists.openembedded.org/g/openembedded-devel/message/107659
Mute This Topic: https://lists.openembedded.org/mt/103281718/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-oe][langdale][PATCHv2] poco: fix branch

2023-12-20 Thread Martin Jansa
From: Alexandre Belloni 

The current SRCREV is not on any branch anymore, switch to the 1.12.4
branch HEAD which is similar and the only change is irrelevant.

The SRCREV is still referenced from the tag so we could use nobranch here:
github/poco $ git tag --contains f1aefe34a46891b09230422bbc37465bc6d0a0d1
poco-1.12.3-release
poco-1.12.4-release

but the only difference in "new" branch HEAD is .github/FUNDING.ym file
(don't know why they force pushed all the branches just to remove this)

github/poco $ git diff f1aefe34a46891b09230422bbc37465bc6d0a0d1 
9fc117d585e552ae3327b56900df9cc40653d574
  diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml
  deleted file mode 100644
  index b2884d85e..0
  --- a/.github/FUNDING.yml
  +++ /dev/null
  @@ -1,13 +0,0 @@
  -# These are supported funding model platforms
  -
  -github: [aleks-f]
  -patreon: # Replace with a single Patreon username
  -open_collective: # Replace with a single Open Collective username
  -ko_fi: # Replace with a single Ko-fi username
  -tidelift: # Replace with a single Tidelift platform-name/package-name e.g., 
npm/babel
  -community_bridge: # Replace with a single Community Bridge project-name 
e.g., cloud-foundry
  -liberapay: # Replace with a single Liberapay username
  -issuehunt: # Replace with a single IssueHunt username
  -otechie: # Replace with a single Otechie username
  -lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name 
e.g., cloud-foundry
  -custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 
'link2']

Signed-off-by: Alexandre Belloni 
Signed-off-by: Martin Jansa 
---
v2: fix branch again, now it has "poco-" prefix

 meta-oe/recipes-support/poco/poco_1.12.3.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-support/poco/poco_1.12.3.bb 
b/meta-oe/recipes-support/poco/poco_1.12.3.bb
index 32c57ce978..55988a6f55 100644
--- a/meta-oe/recipes-support/poco/poco_1.12.3.bb
+++ b/meta-oe/recipes-support/poco/poco_1.12.3.bb
@@ -8,10 +8,10 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=4267f48fc738f50380cbeeb76f95cebc"
 # These dependencies are required by Foundation
 DEPENDS = "libpcre2 zlib"
 
-SRC_URI = "git://github.com/pocoproject/poco.git;branch=master;protocol=https \
+SRC_URI = 
"git://github.com/pocoproject/poco.git;branch=poco-1.12.3;protocol=https \
file://run-ptest \
"
-SRCREV = "f1aefe34a46891b09230422bbc37465bc6d0a0d1"
+SRCREV = "9fc117d585e552ae3327b56900df9cc40653d574"
 
 UPSTREAM_CHECK_GITTAGREGEX = "poco-(?P\d+(\.\d+)+)"
 
-- 
2.43.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107658): 
https://lists.openembedded.org/g/openembedded-devel/message/107658
Mute This Topic: https://lists.openembedded.org/mt/103281717/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] Crash cross canadian?

2023-12-19 Thread Martin Jansa
Maybe you don't see them because they are already applied:
https://git.openembedded.org/meta-openembedded/commit/?id=1f9ad22b28c24a289636b1eb049c491e4529337d

and marked as such in patchwork, see:
https://patchwork.yoctoproject.org/project/oe/list/?series===*=crash=both=

There was even reply from Khem saying they are applied, see:
https://patchwork.yoctoproject.org/project/oe/patch/cover.1702798681.git.frederic.martins...@gmail.com/

Regards,


On Tue, Dec 19, 2023 at 3:55 PM Frederic Martinsons <
frederic.martins...@gmail.com> wrote:

> Hello,
>
> I sent a series for adding cross canadian crash two days ago.
>
> But I didn't see these in patchwork:
> https://patchwork.yoctoproject.org/project/oe/list/
> I thought that was automatic, did I miss something?
>
> Has someone in this list saw my patches or should I resent them ?
>
> On Wed, 6 Dec 2023 at 19:26, Frederic Martinsons via
> lists.openembedded.org  gmail@lists.openembedded.org> wrote:
>
>> Ok great, I'll rebase these on master on the coming days. The problem is
>> that my hardware (pretty specifics) just have been upgraded with Kirkstone
>> and since I will not be able to test those on master branch. At least I can
>> make it compile, have you some advices to non regressed crash utility
>> (without involving real target test)?
>>
>> Le mer. 6 déc. 2023, 19:11, Khem Raj  a écrit :
>>
>>>
>>>
>>> On Wed, Dec 6, 2023 at 10:02 AM Frédéric Martinsons <
>>> frederic.martins...@gmail.com> wrote:
>>>
 Hello list,

 Since some times (back to warrior branch I think), I have in my custom
 layer a cross canadian version from the crash tool, I personnally used it
 for analysing vmcore from an arm target (cortex a53) offline within the 
 sdk.

 I recently upgraded to kirsktone and the update of this version was a
 little tricky (must have played with LDFLAGS, gdb target build and host and
 so on...)

 I finally managed to get crash working for all my hardware (both
 include aarch64 and x86-64 arch).

 I would like to know if it would be acceptable to have a cross canadian
 arch in meta-openembedded (from what I see, there is only native and target
 flavor)?

>>>
>>> It’s fine. I guess there were no such recipe needing it so far. Please
>>> submit your patches
>>>
>>>
 If you think it is accurate, I'll work to push some patches against
 master.

 Please tell me, thanks!

>>>
>>
>>
>>
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107632): 
https://lists.openembedded.org/g/openembedded-devel/message/107632
Mute This Topic: https://lists.openembedded.org/mt/103018278/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-oe][langdale][PATCH] poco: fix branch

2023-12-16 Thread Martin Jansa
From: Alexandre Belloni 

The current SRCREV is not on any branch anymore, switch to the 1.12.4
branch HEAD which is similar and the only change is irrelevant.

The SRCREV is still referenced from the tag so we could use nobranch here:
github/poco $ git tag --contains f1aefe34a46891b09230422bbc37465bc6d0a0d1
poco-1.12.3-release
poco-1.12.4-release

but the only difference in "new" branch HEAD is .github/FUNDING.ym file
(don't know why they force pushed all the branches just to remove this)

github/poco $ git diff f1aefe34a46891b09230422bbc37465bc6d0a0d1 
9fc117d585e552ae3327b56900df9cc40653d574
  diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml
  deleted file mode 100644
  index b2884d85e..0
  --- a/.github/FUNDING.yml
  +++ /dev/null
  @@ -1,13 +0,0 @@
  -# These are supported funding model platforms
  -
  -github: [aleks-f]
  -patreon: # Replace with a single Patreon username
  -open_collective: # Replace with a single Open Collective username
  -ko_fi: # Replace with a single Ko-fi username
  -tidelift: # Replace with a single Tidelift platform-name/package-name e.g., 
npm/babel
  -community_bridge: # Replace with a single Community Bridge project-name 
e.g., cloud-foundry
  -liberapay: # Replace with a single Liberapay username
  -issuehunt: # Replace with a single IssueHunt username
  -otechie: # Replace with a single Otechie username
  -lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name 
e.g., cloud-foundry
  -custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 
'link2']

Signed-off-by: Alexandre Belloni 
Signed-off-by: Martin Jansa 
---
 meta-oe/recipes-support/poco/poco_1.12.3.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-support/poco/poco_1.12.3.bb 
b/meta-oe/recipes-support/poco/poco_1.12.3.bb
index 32c57ce978..5bd029a6d9 100644
--- a/meta-oe/recipes-support/poco/poco_1.12.3.bb
+++ b/meta-oe/recipes-support/poco/poco_1.12.3.bb
@@ -8,10 +8,10 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=4267f48fc738f50380cbeeb76f95cebc"
 # These dependencies are required by Foundation
 DEPENDS = "libpcre2 zlib"
 
-SRC_URI = "git://github.com/pocoproject/poco.git;branch=master;protocol=https \
+SRC_URI = "git://github.com/pocoproject/poco.git;branch=1.12.3;protocol=https \
file://run-ptest \
"
-SRCREV = "f1aefe34a46891b09230422bbc37465bc6d0a0d1"
+SRCREV = "9fc117d585e552ae3327b56900df9cc40653d574"
 
 UPSTREAM_CHECK_GITTAGREGEX = "poco-(?P\d+(\.\d+)+)"
 
-- 
2.43.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107533): 
https://lists.openembedded.org/g/openembedded-devel/message/107533
Mute This Topic: https://lists.openembedded.org/mt/103206256/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-oe][nanbield][PATCH] poco: fix branch

2023-12-16 Thread Martin Jansa
From: Alexandre Belloni 

The current SRCREV is not on any branch anymore, switch to the 1.12.4
branch HEAD which is similar and the only change is irrelevant.

Signed-off-by: Alexandre Belloni 
---
 meta-oe/recipes-support/poco/poco_1.12.4.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-support/poco/poco_1.12.4.bb 
b/meta-oe/recipes-support/poco/poco_1.12.4.bb
index 12532e4ef1..96817c140e 100644
--- a/meta-oe/recipes-support/poco/poco_1.12.4.bb
+++ b/meta-oe/recipes-support/poco/poco_1.12.4.bb
@@ -8,13 +8,13 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=4267f48fc738f50380cbeeb76f95cebc"
 # These dependencies are required by Foundation
 DEPENDS = "libpcre2 zlib"
 
-SRC_URI = "git://github.com/pocoproject/poco.git;branch=master;protocol=https \
+SRC_URI = "git://github.com/pocoproject/poco.git;branch=1.12.4;protocol=https \
file://0001-Use-std-atomic-int-instead-of-std-atomic-bool.patch \
file://0001-cppignore.lnx-Ignore-PKCS12-and-testLaunch-test.patch \
file://0001-Fix-data-race-when-create-POSIX-thread.patch \
file://run-ptest \
"
-SRCREV = "1211613642269b7d53bea58b02de7fcd25ece3b9"
+SRCREV = "3572a1fb981672e2cd1d2533ffd836da7db0f414"
 
 UPSTREAM_CHECK_GITTAGREGEX = "poco-(?P\d+(\.\d+)+)"
 
-- 
2.43.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107532): 
https://lists.openembedded.org/g/openembedded-devel/message/107532
Mute This Topic: https://lists.openembedded.org/mt/103206228/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-oe][mickledore][PATCH] poco: fix branch

2023-12-16 Thread Martin Jansa
From: Alexandre Belloni 

The current SRCREV is not on any branch anymore, switch to the 1.12.4
branch HEAD which is similar and the only change is irrelevant.

Signed-off-by: Alexandre Belloni 
Signed-off-by: Martin Jansa 
---
 meta-oe/recipes-support/poco/poco_1.12.4.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-support/poco/poco_1.12.4.bb 
b/meta-oe/recipes-support/poco/poco_1.12.4.bb
index 51bd5611fb..5794a3beee 100644
--- a/meta-oe/recipes-support/poco/poco_1.12.4.bb
+++ b/meta-oe/recipes-support/poco/poco_1.12.4.bb
@@ -8,11 +8,11 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=4267f48fc738f50380cbeeb76f95cebc"
 # These dependencies are required by Foundation
 DEPENDS = "libpcre2 zlib"
 
-SRC_URI = "git://github.com/pocoproject/poco.git;branch=master;protocol=https \
+SRC_URI = "git://github.com/pocoproject/poco.git;branch=1.12.4;protocol=https \
file://0001-Use-std-atomic-int-instead-of-std-atomic-bool.patch \
file://run-ptest \
"
-SRCREV = "1211613642269b7d53bea58b02de7fcd25ece3b9"
+SRCREV = "3572a1fb981672e2cd1d2533ffd836da7db0f414"
 
 UPSTREAM_CHECK_GITTAGREGEX = "poco-(?P\d+(\.\d+)+)"
 
-- 
2.43.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107531): 
https://lists.openembedded.org/g/openembedded-devel/message/107531
Mute This Topic: https://lists.openembedded.org/mt/103206227/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-oe][PATCH] poco: fix branch

2023-12-16 Thread Martin Jansa
On Wed, Dec 13, 2023 at 7:47 PM Khem Raj  wrote:

> Hi Alex,
>
> Thanks for the patch. I did not take it since there already was
> another upgrade patch [1] proposed which fixed this issue as well.
> Please report if this issue still persists


1211613642269b7d53bea58b02de7fcd25ece3b9 is still being used in nanbield
and mickledore where this patch would be useful, Adding armin to the thread.

langdale has the same issue but
with f1aefe34a46891b09230422bbc37465bc6d0a0d1 which also isn't in any
branch anymore

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107530): 
https://lists.openembedded.org/g/openembedded-devel/message/107530
Mute This Topic: https://lists.openembedded.org/mt/103108195/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-multimedia][PATCH 1/2] rygel: fix build with gtk+3 PACKAGECONFIG disabled

2023-12-12 Thread Martin Jansa
* fixes:
  rygel-0.42.4/meson.build:1:0: ERROR: Value "false" (of type "string") for 
combo option "gtk" is not one of the choices. Possible choices are (as string): 
"enabled", "disabled", "auto".

* possibly changed since:
  https://github.com/GNOME/rygel/commit/7e1819d9e49084c9dc55064a6f21d0f7caa90da6

Signed-off-by: Martin Jansa 
---
 meta-multimedia/recipes-connectivity/rygel/rygel_0.42.4.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-multimedia/recipes-connectivity/rygel/rygel_0.42.4.bb 
b/meta-multimedia/recipes-connectivity/rygel/rygel_0.42.4.bb
index 9662296399..5212e78333 100644
--- a/meta-multimedia/recipes-connectivity/rygel/rygel_0.42.4.bb
+++ b/meta-multimedia/recipes-connectivity/rygel/rygel_0.42.4.bb
@@ -37,7 +37,7 @@ PACKAGECONFIG[media-export] = ""
 PACKAGECONFIG[gst-launch] = ""
 PACKAGECONFIG[lms] = ""
 PACKAGECONFIG[tracker3] = ""
-PACKAGECONFIG[gtk+3] = ",-Dgtk=false,gtk+3"
+PACKAGECONFIG[gtk+3] = ",-Dgtk=disabled,gtk+3"
 
 RYGEL_PLUGINS = ""
 RYGEL_PLUGINS:append ="${@bb.utils.contains('PACKAGECONFIG', 'external', 
',external', '', d)}"
-- 
2.43.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107332): 
https://lists.openembedded.org/g/openembedded-devel/message/107332
Mute This Topic: https://lists.openembedded.org/mt/103128854/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-multimedia][PATCH 2/2] rygel: add x11 to DISTRO_FEATURES

2023-12-12 Thread Martin Jansa
* it was added in rygel-0.41.0 with:
  https://github.com/GNOME/rygel/commit/18cd2cff6f64b7a54156ac97e5c4f50eb8fd8d67

* it might need libx11 dependency as well which would probably
  be pulled by gtk+3 already when x11 is in DISTRO_FEATURES

* as shown in:
  http://errors.yoctoproject.org/Errors/Details/746017/
  it requires x11 even when gtk support is disabled, meson-log.txt:

Determining dependency 'x11' with pkg-config executable 
'/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/rygel/0.42.4/recipe-sysroot-native/usr/bin/pkg-config'
env[PKG_CONFIG_DIR]: 
/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/rygel/0.42.4/recipe-sysroot/usr/lib/pkgconfig
env[PKG_CONFIG_PATH]: 
/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/rygel/0.42.4/recipe-sysroot/usr/lib/pkgconfig:/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/rygel/0.42.4/recipe-sysroot/usr/share/pkgconfig
env[PKG_CONFIG_LIBDIR]: 
/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/rygel/0.42.4/recipe-sysroot/usr/lib/pkgconfig
env[PKG_CONFIG_DISABLE_UNINSTALLED]: yes
env[PKG_CONFIG_SYSROOT_DIR]: 
/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/rygel/0.42.4/recipe-sysroot
env[PKG_CONFIG_SYSTEM_LIBRARY_PATH]: /usr/lib:/usr/lib
env[PKG_CONFIG_SYSTEM_INCLUDE_PATH]: /usr/include
env[PKG_CONFIG]: 
/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/rygel/0.42.4/recipe-sysroot-native/usr/bin/pkg-config
---
Called: 
`/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/rygel/0.42.4/recipe-sysroot-native/usr/bin/pkg-config
 --modversion x11` -> 1
stderr:
Package x11 was not found in the pkg-config search path.
Perhaps you should add the directory containing `x11.pc'
to the PKG_CONFIG_PATH environment variable
No package 'x11' found
---
CMake binary for host machine is cached as not found
Dependency lookup for x11 with method 'cmake' failed: CMake binary for machine 
host machine not found. Giving up.
Run-time dependency x11 found: NO (tried pkgconfig)

../rygel-0.42.4/src/rygel/meson.build:9:80: ERROR: Dependency "x11" not found, 
tried pkgconfig

Signed-off-by: Martin Jansa 
---
 meta-multimedia/recipes-connectivity/rygel/rygel_0.42.4.bb  | 2 +-
 .../packagegroups/packagegroup-meta-multimedia.bb   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-multimedia/recipes-connectivity/rygel/rygel_0.42.4.bb 
b/meta-multimedia/recipes-connectivity/rygel/rygel_0.42.4.bb
index 5212e78333..4fbdce0867 100644
--- a/meta-multimedia/recipes-connectivity/rygel/rygel_0.42.4.bb
+++ b/meta-multimedia/recipes-connectivity/rygel/rygel_0.42.4.bb
@@ -18,7 +18,7 @@ RRECOMMENDS:${PN} = "rygel-plugin-media-export"
 inherit gnomebase features_check vala gobject-introspection gettext systemd
 
 # gobject-introspection is mandatory for libmediaart-2.0 and cannot be 
configured
-REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
+REQUIRED_DISTRO_FEATURES = "gobject-introspection-data x11"
 
 SRC_URI[archive.sha256sum] = 
"6310dfaa2d332b66119b9b020fad6a4bd27d9bc61faf780ca5ca0b62813303f7"
 
diff --git 
a/meta-multimedia/recipes-multimedia/packagegroups/packagegroup-meta-multimedia.bb
 
b/meta-multimedia/recipes-multimedia/packagegroups/packagegroup-meta-multimedia.bb
index b18ad6ad1b..672c8abc9a 100644
--- 
a/meta-multimedia/recipes-multimedia/packagegroups/packagegroup-meta-multimedia.bb
+++ 
b/meta-multimedia/recipes-multimedia/packagegroups/packagegroup-meta-multimedia.bb
@@ -62,7 +62,7 @@ RDEPENDS:packagegroup-meta-multimedia-connectivity = "\
 gupnp-dlna \
 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "gupnp-tools", "", d)} \
 libupnp \
-${@bb.utils.contains("DISTRO_FEATURES", "gobject-introspection-data", 
"rygel", "", d)} \
+${@bb.utils.contains("DISTRO_FEATURES", "x11", 
bb.utils.contains("DISTRO_FEATURES", "gobject-introspection-data", "rygel", "", 
d), "", d)} \
 "
 RDEPENDS:packagegroup-meta-multimedia-dvb = "\
 oscam \
-- 
2.43.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107333): 
https://lists.openembedded.org/g/openembedded-devel/message/107333
Mute This Topic: https://lists.openembedded.org/mt/103128855/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-oe][PATCH] monocypher: pass LIBDIR to fix installed-vs-shipped QA issue with multilib

2023-12-06 Thread Martin Jansa
* fixes:
ERROR: monocypher-4.0.2-r0 do_package: QA Issue: monocypher: Files/directories 
were installed but not shipped in any package:
  /usr/lib/libmonocypher.so
  /usr/lib/libmonocypher.so.4
  /usr/lib/libmonocypher.a
  /usr/lib/pkgconfig
  /usr/lib/pkgconfig/monocypher.pc
Please set FILES such that these items are packaged. Alternatively if they are 
unneeded, avoid installing them or delete them within do_install.
monocypher: 5 installed and not shipped files. [installed-vs-shipped]

this only fixes the above issues, to make it usable with other
libdir values the .pc files would need to be fixed to respect passed
LIBDIR value as well as now they expect just lib:
monocypher.pc:libdir=${exec_prefix}/lib
tests/speed/libhydrogen.pc:libdir=${exec_prefix}/lib

Signed-off-by: Martin Jansa 
---
 meta-oe/recipes-crypto/monocypher/monocypher_4.0.2.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-crypto/monocypher/monocypher_4.0.2.bb 
b/meta-oe/recipes-crypto/monocypher/monocypher_4.0.2.bb
index 899638161a..e6380d9a20 100644
--- a/meta-oe/recipes-crypto/monocypher/monocypher_4.0.2.bb
+++ b/meta-oe/recipes-crypto/monocypher/monocypher_4.0.2.bb
@@ -11,8 +11,8 @@ SRCREV = "0d85f98c9d9b0227e42cf795cb527dff372b40a4"
 
 S = "${WORKDIR}/git"
 
-CFLAGS+="-pedantic -Wall -Wextra -O3"
-EXTRA_OEMAKE = "'PREFIX=${prefix}' 'DESTDIR=${D}' 'CFLAGS=${CFLAGS}'"
+CFLAGS += "-pedantic -Wall -Wextra -O3"
+EXTRA_OEMAKE = "'PREFIX=${prefix}' 'DESTDIR=${D}' 'CFLAGS=${CFLAGS}' 
'LIBDIR=${libdir}'"
 
 do_compile() {
 oe_runmake library
-- 
2.43.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107260): 
https://lists.openembedded.org/g/openembedded-devel/message/107260
Mute This Topic: https://lists.openembedded.org/mt/103018099/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-oe][kirkstone][PATCH] glmark2: inherit python3native to fix build with python-3.12 on build host

2023-11-30 Thread Martin Jansa
* fixes:
| WARNING: Unable to execute waf --version, exit code 1. Assuming waf version 
without bindir/libdir support.
| DEBUG: Python function waf_preconfigure finished
| DEBUG: Executing shell function do_configure
| Traceback (most recent call last):
|   File 
"/OE/build/luneos-kirkstone/tmp-glibc/work/core2-64-webos-linux/glmark2/2021.12-r0/git/./waf",
 line 163, in 
| from waflib import Scripting
|   File 
"/OE/build/luneos-kirkstone/tmp-glibc/work/core2-64-webos-linux/glmark2/2021.12-r0/git/waflib/Scripting.py",
 line 6, in 
| from waflib import 
Utils,Configure,Logs,Options,ConfigSet,Context,Errors,Build,Node
|   File 
"/OE/build/luneos-kirkstone/tmp-glibc/work/core2-64-webos-linux/glmark2/2021.12-r0/git/waflib/Configure.py",
 line 6, in 
| from waflib import ConfigSet,Utils,Options,Logs,Context,Build,Errors
|   File 
"/OE/build/luneos-kirkstone/tmp-glibc/work/core2-64-webos-linux/glmark2/2021.12-r0/git/waflib/Options.py",
 line 6, in 
| from waflib import Logs,Utils,Context,Errors
|   File 
"/OE/build/luneos-kirkstone/tmp-glibc/work/core2-64-webos-linux/glmark2/2021.12-r0/git/waflib/Context.py",
 line 5, in 
| import os,re,imp,sys
| ModuleNotFoundError: No module named 'imp'
| WARNING: 
/OE/build/luneos-kirkstone/tmp-glibc/work/core2-64-webos-linux/glmark2/2021.12-r0/temp/run.do_configure.1263276:146
 exit 1 from 'waf_do_configure'

* this first issue can be fixed easily by backporting:
  
https://gitlab.com/ita1024/waf/-/commit/d2060dfd8af4edb5824153ff24e207b39ecd67a2

* but then it still fails a bit later, because of SyntaxWarning in waf --version
  output:

ERROR: glmark2-2021.12-r0 do_configure: Error executing a python function in 
exec_func_python() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_func_python() autogenerated', lineno: 2, function: 
 0001:
 *** 0002:waf_preconfigure(d)
 0003:
File: '/OE/build/luneos-kirkstone/openembedded-core/meta/classes/waf.bbclass', 
lineno: 52, function: waf_preconfigure
 0048:wafbin = os.path.join(subsrcdir, 'waf')
 0049:try:
 0050:result = subprocess.check_output([python, wafbin, 
'--version'], cwd=subsrcdir, stderr=subprocess.STDOUT)
 0051:version = result.decode('utf-8').split()[1]
 *** 0052:if bb.utils.vercmp_string_op(version, "1.8.7", ">="):
 0053:d.setVar("WAF_EXTRA_CONF", "--bindir=${bindir} 
--libdir=${libdir}")
 0054:except subprocess.CalledProcessError as e:
 0055:bb.warn("Unable to execute waf --version, exit code %d. 
Assuming waf version without bindir/libdir support." % e.returncode)
 0056:except FileNotFoundError:
File: '/OE/build/luneos-kirkstone/bitbake/lib/bb/utils.py', lineno: 148, 
function: vercmp_string_op
 0144:Compare two versions and check if the specified comparison 
operator matches the result of the comparison.
 0145:This function is fairly liberal about what operators it will 
accept since there are a variety of styles
 0146:depending on the context.
 0147:"""
 *** 0148:res = vercmp_string(a, b)
 0149:if op in ('=', '=='):
 0150:return res == 0
 0151:elif op == '<=':
 0152:return res <= 0
File: '/OE/build/luneos-kirkstone/bitbake/lib/bb/utils.py', lineno: 138, 
function: vercmp_string
 0134:return r
 0135:
 0136:def vercmp_string(a, b):
 0137:""" Split version strings and compare them """
 *** 0138:ta = split_version(a)
 0139:tb = split_version(b)
 0140:return vercmp(ta, tb)
 0141:
 0142:def vercmp_string_op(a, b, op):
File: '/OE/build/luneos-kirkstone/bitbake/lib/bb/utils.py', lineno: 89, 
function: split_version
 0085:"""Split a version string into its constituent parts (PE, PV, 
PR)"""
 0086:s = s.strip(" <>=")
 0087:e = 0
 0088:if s.count(':'):
 *** 0089:e = int(s.split(":")[0])
 0090:s = s.split(":")[1]
 0091:r = ""
 0092:if s.count('-'):
 0093:r = s.rsplit("-", 1)[1]
Exception: ValueError: invalid literal for int() with base 10: 'SyntaxWarning'

ERROR: Logfile of failure stored in: 
/OE/build/luneos-kirkstone/tmp-glibc/work/core2-64-webos-linux/glmark2/2021.12-r0/temp/log.do_configure.1264918

  so it's safer to just use python3-native everywhere, instead of more patches 
for waf

Signed-off-by: Martin Jansa 
---
 meta-oe/recipes-benchmark/glmark2/glmark2_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb 
b/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb
index 188d4e5bdf..68c42b329a 100644
--- a/meta-oe/recipes-benchmark/glmark2/g

Re: [oe] [meta-oe][PATCH 1/8] android-tools: drop ${PE}, ${PR} from /usr/src/debug paths

2023-11-17 Thread Martin Jansa
All these depend on TARGET_DBGSRC_DIR variable added in pending oe-core
change:
https://lists.openembedded.org/g/openembedded-core/message/190815

On Fri, Nov 17, 2023 at 9:51 AM Martin Jansa  wrote:

> Signed-off-by: Martin Jansa 
> ---
>  .../recipes-devtools/android-tools/android-tools_5.1.1.r37.bb   | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta-oe/recipes-devtools/android-tools/
> android-tools_5.1.1.r37.bb b/meta-oe/recipes-devtools/android-tools/
> android-tools_5.1.1.r37.bb
> index 9278146702..1c66ea4997 100644
> --- a/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb
> +++ b/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb
> @@ -92,7 +92,7 @@ do_compile() {
>
>  # Setting both variables below causing our makefiles to not work with
>  # implicit make rules
> -
> CFLAGS="-ffile-prefix-map=${S}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}"
> +CFLAGS="-ffile-prefix-map=${S}=${TARGET_DBGSRC_DIR}"
>  unset CPPFLAGS
>
>  export SRCDIR=${S}
> --
> 2.42.1
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#106858): 
https://lists.openembedded.org/g/openembedded-devel/message/106858
Mute This Topic: https://lists.openembedded.org/mt/102644158/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-oe][PATCH 8/8] evince, gnome-calendar, tracker: drop ${PE}, ${PR} from /usr/src/debug paths

2023-11-17 Thread Martin Jansa
Signed-off-by: Martin Jansa 
---
 meta-gnome/recipes-gnome/evince/evince_45.0.bb| 4 ++--
 .../recipes-gnome/gnome-calendar/gnome-calendar_45.1.bb   | 4 ++--
 meta-gnome/recipes-gnome/tracker/tracker_3.6.0.bb | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/meta-gnome/recipes-gnome/evince/evince_45.0.bb 
b/meta-gnome/recipes-gnome/evince/evince_45.0.bb
index e2c6b3b826..8b40241751 100644
--- a/meta-gnome/recipes-gnome/evince/evince_45.0.bb
+++ b/meta-gnome/recipes-gnome/evince/evince_45.0.bb
@@ -46,8 +46,8 @@ RRECOMMENDS:${PN} = "adwaita-icon-theme"
 PACKAGES =+ "${PN}-nautilus-extension"
 
 do_install:prepend() {
-sed -i -e 's|${B}/../${PN}-${PV}|/usr/src/debug/${PN}/${PV}-${PR}|g' 
${B}/libview/ev-view-type-builtins.c
-sed -i -e 's|${B}/../${PN}-${PV}|/usr/src/debug/${PN}/${PV}-${PR}|g' 
${B}/libdocument/ev-document-type-builtins.c
+sed -i -e 's|${B}/../${PN}-${PV}|${TARGET_DBGSRC_DIR}|g' 
${B}/libview/ev-view-type-builtins.c
+sed -i -e 's|${B}/../${PN}-${PV}|${TARGET_DBGSRC_DIR}|g' 
${B}/libdocument/ev-document-type-builtins.c
 }
 
 FILES:${PN} += "${datadir}/dbus-1 \
diff --git a/meta-gnome/recipes-gnome/gnome-calendar/gnome-calendar_45.1.bb 
b/meta-gnome/recipes-gnome/gnome-calendar/gnome-calendar_45.1.bb
index bcc19fbedd..99cb9f67e7 100644
--- a/meta-gnome/recipes-gnome/gnome-calendar/gnome-calendar_45.1.bb
+++ b/meta-gnome/recipes-gnome/gnome-calendar/gnome-calendar_45.1.bb
@@ -25,8 +25,8 @@ REQUIRED_DISTRO_FEATURES = "x11 opengl"
 SRC_URI[archive.sha256sum] = 
"7fa8507543865aa7432bb5319830c87158b5447ca09cca45b607dc6796c71008"
 
 do_install:prepend() {
-sed -i -e 's|${S}/src|/usr/src/debug/${PN}/${PV}-${PR}/src|g' 
${B}/src/gcal-enum-types.h
-sed -i -e 's|${S}/src|/usr/src/debug/${PN}/${PV}-${PR}/src|g' 
${B}/src/gcal-enum-types.c
+sed -i -e 's|${S}/src|${TARGET_DBGSRC_DIR}/src|g' 
${B}/src/gcal-enum-types.h
+sed -i -e 's|${S}/src|${TARGET_DBGSRC_DIR}/src|g' 
${B}/src/gcal-enum-types.c
 }
 
 FILES:${PN} += " \
diff --git a/meta-gnome/recipes-gnome/tracker/tracker_3.6.0.bb 
b/meta-gnome/recipes-gnome/tracker/tracker_3.6.0.bb
index e7f0beb02e..c5b5c4eabc 100644
--- a/meta-gnome/recipes-gnome/tracker/tracker_3.6.0.bb
+++ b/meta-gnome/recipes-gnome/tracker/tracker_3.6.0.bb
@@ -44,8 +44,8 @@ EXTRA_OEMESON = " \
 "
 
 do_install:prepend() {
-sed -i -e 's|${B}/../${PN}-${PV}|/usr/src/debug/${PN}/${PV}-${PR}|g' 
${B}/src/libtracker-sparql/tracker-sparql-enum-types.c
-sed -i -e 's|${B}/../${PN}-${PV}|/usr/src/debug/${PN}/${PV}-${PR}|g' 
${B}/src/libtracker-sparql/core/tracker-data-enum-types.c
+sed -i -e 's|${B}/../${PN}-${PV}|${TARGET_DBGSRC_DIR}|g' 
${B}/src/libtracker-sparql/tracker-sparql-enum-types.c
+sed -i -e 's|${B}/../${PN}-${PV}|${TARGET_DBGSRC_DIR}|g' 
${B}/src/libtracker-sparql/core/tracker-data-enum-types.c
 }
 
 GIR_MESON_ENABLE_FLAG = 'enabled'
-- 
2.42.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#106857): 
https://lists.openembedded.org/g/openembedded-devel/message/106857
Mute This Topic: https://lists.openembedded.org/mt/102644165/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-oe][PATCH 5/8] ntpsec, net-snmp: drop ${PE}, ${PR} from /usr/src/debug paths

2023-11-17 Thread Martin Jansa
Signed-off-by: Martin Jansa 
---
 meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.3.bb | 2 +-
 meta-networking/recipes-support/ntpsec/ntpsec_1.2.2a.bb  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.3.bb 
b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.3.bb
index f40fb8bbd6..6f1c114177 100644
--- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.3.bb
+++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.3.bb
@@ -178,7 +178,7 @@ do_install_ptest() {
 }
 
 SYSROOT_PREPROCESS_FUNCS += "net_snmp_sysroot_preprocess"
-SNMP_DBGDIR = "/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}"
+SNMP_DBGDIR = "${TARGET_DBGSRC_DIR}"
 
 net_snmp_sysroot_preprocess () {
 if [ -e ${D}${bindir}/net-snmp-config ]; then
diff --git a/meta-networking/recipes-support/ntpsec/ntpsec_1.2.2a.bb 
b/meta-networking/recipes-support/ntpsec/ntpsec_1.2.2a.bb
index af41d4989d..9ad97e7689 100644
--- a/meta-networking/recipes-support/ntpsec/ntpsec_1.2.2a.bb
+++ b/meta-networking/recipes-support/ntpsec/ntpsec_1.2.2a.bb
@@ -70,7 +70,7 @@ EXTRA_OEWAF_BUILD ?= "-v"
 
 NTP_USER_HOME ?= "/var/lib/ntp"
 
-BISONFLAGS = 
"--file-prefix-map=${WORKDIR}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}"
+BISONFLAGS = "--file-prefix-map=${WORKDIR}=${TARGET_DBGSRC_DIR}"
 
 do_configure:prepend() {
export BISONFLAGS="${BISONFLAGS}"
-- 
2.42.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#106854): 
https://lists.openembedded.org/g/openembedded-devel/message/106854
Mute This Topic: https://lists.openembedded.org/mt/102644162/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-oe][PATCH 6/8] aom, x265: drop ${PE}, ${PR} from /usr/src/debug paths

2023-11-17 Thread Martin Jansa
Signed-off-by: Martin Jansa 
---
 meta-multimedia/recipes-multimedia/aom/aom_3.7.0.bb   | 2 +-
 meta-multimedia/recipes-multimedia/x265/x265_3.2.1.bb | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-multimedia/recipes-multimedia/aom/aom_3.7.0.bb 
b/meta-multimedia/recipes-multimedia/aom/aom_3.7.0.bb
index 4d69b03987..776dfa8783 100644
--- a/meta-multimedia/recipes-multimedia/aom/aom_3.7.0.bb
+++ b/meta-multimedia/recipes-multimedia/aom/aom_3.7.0.bb
@@ -23,5 +23,5 @@ CFLAGS:append:libc-musl = " -D_GNU_SOURCE"
 EXTRA_OECMAKE:append:arm = " -DENABLE_NEON=OFF"
 
 do_generate_toolchain_file:append() {
-echo "set(AOM_AS_FLAGS --debug-prefix-map 
${S}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR})" >> ${WORKDIR}/toolchain.cmake
+echo "set(AOM_AS_FLAGS --debug-prefix-map ${S}=${TARGET_DBGSRC_DIR})" >> 
${WORKDIR}/toolchain.cmake
 }
diff --git a/meta-multimedia/recipes-multimedia/x265/x265_3.2.1.bb 
b/meta-multimedia/recipes-multimedia/x265/x265_3.2.1.bb
index 250af58e17..2d4f389e34 100644
--- a/meta-multimedia/recipes-multimedia/x265/x265_3.2.1.bb
+++ b/meta-multimedia/recipes-multimedia/x265/x265_3.2.1.bb
@@ -18,7 +18,7 @@ SRC_URI[sha256sum] = 
"fb9badcf92364fd3567f8b5aa0e5e952aeea7a39a2b864387cec31e3b5
 inherit lib_package pkgconfig cmake
 
 do_generate_toolchain_file:append() {
-echo "set(CMAKE_ASM_NASM_FLAGS --debug-prefix-map 
${S}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR})" >> ${WORKDIR}/toolchain.cmake
+echo "set(CMAKE_ASM_NASM_FLAGS --debug-prefix-map 
${S}=${TARGET_DBGSRC_DIR})" >> ${WORKDIR}/toolchain.cmake
 }
 
 EXTRA_OECMAKE:append:x86 = " -DENABLE_ASSEMBLY=OFF"
-- 
2.42.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#106855): 
https://lists.openembedded.org/g/openembedded-devel/message/106855
Mute This Topic: https://lists.openembedded.org/mt/102644163/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-oe][PATCH 7/8] python3-{h5py,pandas}: drop ${PE}, ${PR} from /usr/src/debug paths

2023-11-17 Thread Martin Jansa
Signed-off-by: Martin Jansa 
---
 meta-python/recipes-devtools/python/python3-h5py_3.10.0.bb  | 2 +-
 meta-python/recipes-devtools/python/python3-pandas_2.0.3.bb | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python3-h5py_3.10.0.bb 
b/meta-python/recipes-devtools/python/python3-h5py_3.10.0.bb
index 400233e64a..e772106857 100644
--- a/meta-python/recipes-devtools/python/python3-h5py_3.10.0.bb
+++ b/meta-python/recipes-devtools/python/python3-h5py_3.10.0.bb
@@ -24,7 +24,7 @@ DEPENDS = "python3-pkgconfig-native \
 PACKAGESPLITFUNCS =+ "fix_cythonized_sources"
 
 fix_cythonized_sources() {
-   for f in `grep -l -r -e '\/* Generated by Cython.*/$' 
${PKGD}/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}`; do
+   for f in `grep -l -r -e '\/* Generated by Cython.*/$' 
${PKGD}${TARGET_DBGSRC_DIR}`; do
if [ -e $f ]; then
sed -i -e 's#${RECIPE_SYSROOT_NATIVE}##g' $f
fi
diff --git a/meta-python/recipes-devtools/python/python3-pandas_2.0.3.bb 
b/meta-python/recipes-devtools/python/python3-pandas_2.0.3.bb
index 87a173c8a2..5e69fea6c1 100644
--- a/meta-python/recipes-devtools/python/python3-pandas_2.0.3.bb
+++ b/meta-python/recipes-devtools/python/python3-pandas_2.0.3.bb
@@ -19,7 +19,7 @@ DEPENDS += " \
 PACKAGESPLITFUNCS =+ "fix_cythonized_sources"
 
 fix_cythonized_sources() {
-   for f in `grep -l -r -e '\/* Generated by Cython.*/$' 
${PKGD}/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}`; do
+   for f in `grep -l -r -e '\/* Generated by Cython.*/$' 
${PKGD}${TARGET_DBGSRC_DIR}`; do
if [ -e $f ]; then
sed -i -e 's#${RECIPE_SYSROOT_NATIVE}##g' $f
fi
-- 
2.42.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#106856): 
https://lists.openembedded.org/g/openembedded-devel/message/106856
Mute This Topic: https://lists.openembedded.org/mt/102644164/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-oe][PATCH 3/8] xmlrcp-c: drop ${PE}, ${PR} from /usr/src/debug paths

2023-11-17 Thread Martin Jansa
Signed-off-by: Martin Jansa 
---
 meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.59.01.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.59.01.bb 
b/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.59.01.bb
index 278db6dc84..5d5152b834 100644
--- a/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.59.01.bb
+++ b/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.59.01.bb
@@ -41,7 +41,7 @@ do_configure() {
 }
 
 do_install:append:class-target() {
-sed -i 's,${WORKDIR},/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR},g' 
${D}${bindir}/xmlrpc-c-config
+sed -i 's,${WORKDIR},${TARGET_DBGSRC_DIR},g' 
${D}${bindir}/xmlrpc-c-config
 }
 
 BBCLASSEXTEND = "native"
-- 
2.42.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#106852): 
https://lists.openembedded.org/g/openembedded-devel/message/106852
Mute This Topic: https://lists.openembedded.org/mt/102644160/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-oe][PATCH 4/8] fluentbit: drop ${PE}, ${PR} from /usr/src/debug paths

2023-11-17 Thread Martin Jansa
Signed-off-by: Martin Jansa 
---
 meta-oe/recipes-extended/fluentbit/fluentbit_1.9.7.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-extended/fluentbit/fluentbit_1.9.7.bb 
b/meta-oe/recipes-extended/fluentbit/fluentbit_1.9.7.bb
index 26238e51f1..fc06095475 100644
--- a/meta-oe/recipes-extended/fluentbit/fluentbit_1.9.7.bb
+++ b/meta-oe/recipes-extended/fluentbit/fluentbit_1.9.7.bb
@@ -45,7 +45,7 @@ DEPENDS:append:libc-musl = " fts "
 
 # flex hardcodes the input file in #line directives leading to TMPDIR 
contamination of debug sources.
 do_compile:append() {
-find ${B} -name '*.c' -or -name '*.h' | xargs sed -i -e 
's|${TMPDIR}|/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}/|g'
+find ${B} -name '*.c' -or -name '*.h' | xargs sed -i -e 
's|${TMPDIR}|${TARGET_DBGSRC_DIR}/|g'
 }
 
 PACKAGECONFIG ?= "yaml"
@@ -88,5 +88,5 @@ inherit cmake systemd pkgconfig
 
 SYSTEMD_SERVICE:${PN} = "td-agent-bit.service"
 
-EXTRA_OECMAKE += 
"-DCMAKE_DEBUG_SRCDIR=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}/"
+EXTRA_OECMAKE += "-DCMAKE_DEBUG_SRCDIR=${TARGET_DBGSRC_DIR}/"
 TARGET_CC_ARCH += " ${SELECTED_OPTIMIZATION}"
-- 
2.42.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#106853): 
https://lists.openembedded.org/g/openembedded-devel/message/106853
Mute This Topic: https://lists.openembedded.org/mt/102644161/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-oe][PATCH 1/8] android-tools: drop ${PE}, ${PR} from /usr/src/debug paths

2023-11-17 Thread Martin Jansa
Signed-off-by: Martin Jansa 
---
 .../recipes-devtools/android-tools/android-tools_5.1.1.r37.bb   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb 
b/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb
index 9278146702..1c66ea4997 100644
--- a/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb
+++ b/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb
@@ -92,7 +92,7 @@ do_compile() {
 
 # Setting both variables below causing our makefiles to not work with
 # implicit make rules
-CFLAGS="-ffile-prefix-map=${S}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}"
+CFLAGS="-ffile-prefix-map=${S}=${TARGET_DBGSRC_DIR}"
 unset CPPFLAGS
 
 export SRCDIR=${S}
-- 
2.42.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#106850): 
https://lists.openembedded.org/g/openembedded-devel/message/106850
Mute This Topic: https://lists.openembedded.org/mt/102644158/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-oe][PATCH 2/8] minifi-cpp: drop ${PE}, ${PR} from /usr/src/debug paths

2023-11-17 Thread Martin Jansa
Signed-off-by: Martin Jansa 
---
 meta-oe/recipes-extended/minifi-cpp/minifi-cpp_0.7.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-extended/minifi-cpp/minifi-cpp_0.7.0.bb 
b/meta-oe/recipes-extended/minifi-cpp/minifi-cpp_0.7.0.bb
index b75a336955..67a2d9fa5f 100644
--- a/meta-oe/recipes-extended/minifi-cpp/minifi-cpp_0.7.0.bb
+++ b/meta-oe/recipes-extended/minifi-cpp/minifi-cpp_0.7.0.bb
@@ -66,7 +66,7 @@ EXTRA_OECMAKE += " \
 -DGCC_RANLIB=${STAGING_BINDIR_TOOLCHAIN}/${RANLIB} \
 -DDISABLE_PYTHON_SCRIPTING=ON \
 -DFLEX_TARGET_ARG_COMPILE_FLAGS='--noline' \
--DBISON_TARGET_ARG_COMPILE_FLAGS='--no-lines 
--file-prefix-map=${S}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}' \
+-DBISON_TARGET_ARG_COMPILE_FLAGS='--no-lines 
--file-prefix-map=${S}=${TARGET_DBGSRC_DIR}' \
 -DOPENSSLDIR=${sysconfdir}/libressl \
 "
 
-- 
2.42.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#106851): 
https://lists.openembedded.org/g/openembedded-devel/message/106851
Mute This Topic: https://lists.openembedded.org/mt/102644159/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-multimedia][PATCH] libebml: upgrade 1.3.0 -> 1.4.4

2023-11-15 Thread Martin Jansa
On Wed, Nov 15, 2023 at 12:10 PM Hains van den Bosch 
wrote:

> Uncomment:
>
> EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON"
>
> libebml_1.4.4.
>
>
> https://git.openembedded.org/meta-openembedded/tree/meta-multimedia/recipes-mkv/libebml/libebml_1.4.4.bb#n14
>
> Did for me the trick to fix build Gerbera.


Can you send a patch with that?

I don't know why it was commented out during the upgrade and I don't use
neither libebml, libmatroska nor gerbera (other than them being included in
world builds).

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#106754): 
https://lists.openembedded.org/g/openembedded-devel/message/106754
Mute This Topic: https://lists.openembedded.org/mt/102541696/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



  1   2   3   4   5   6   7   8   9   10   >