diff mbox series

[1/6] expat: use .tar.gz instead of .tar.bz2 in SRC_URI

Message ID 20261027113048.1086884-1-ross.burton@arm.com
State Superseded
Headers show
Series [1/6] expat: use .tar.gz instead of .tar.bz2 in SRC_URI | expand

Commit Message

Ross Burton Oct. 27, 2026, 11:30 a.m. UTC
.xz files are significantly smaller than .bz2, so download that instead.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/recipes-core/expat/expat_2.9.0.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Peter Marko Oct. 27, 2026, 11:33 a.m. UTC | #1
The commit messages in this series should be corrected to xz.

Peter

> -----Original Message-----
> From: openembedded-core@lists.openembedded.org <openembedded-
> core@lists.openembedded.org> On Behalf Of Ross Burton via
> lists.openembedded.org
> Sent: Tuesday, October 27, 2026 12:31 PM
> To: openembedded-core@lists.openembedded.org
> Subject: [OE-core] [PATCH 1/6] expat: use .tar.gz instead of .tar.bz2 in SRC_URI
> 
> .xz files are significantly smaller than .bz2, so download that instead.
> 
> Signed-off-by: Ross Burton <ross.burton@arm.com>
> ---
>  meta/recipes-core/expat/expat_2.9.0.bb | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/meta/recipes-core/expat/expat_2.9.0.bb b/meta/recipes-
> core/expat/expat_2.9.0.bb
> index e9bb21bd55c..9b337648390 100644
> --- a/meta/recipes-core/expat/expat_2.9.0.bb
> +++ b/meta/recipes-core/expat/expat_2.9.0.bb
> @@ -8,14 +8,14 @@ LIC_FILES_CHKSUM =
> "file://COPYING;md5=f4fedd6116da0e171f7cb4d2923d7ac2"
> 
>  VERSION_TAG = "${@d.getVar('PV').replace('.', '_')}"
> 
> -SRC_URI = "${GITHUB_BASE_URI}/download/R_${VERSION_TAG}/expat-
> ${PV}.tar.bz2  \
> +SRC_URI = "${GITHUB_BASE_URI}/download/R_${VERSION_TAG}/expat-
> ${PV}.tar.xz  \
>             file://run-ptest \
>             "
> 
>  GITHUB_BASE_URI = "https://github.com/libexpat/libexpat/releases/"
>  UPSTREAM_CHECK_REGEX = "releases/tag/R_(?P<pver>.+)"
> 
> -SRC_URI[sha256sum] =
> "775e8a68f81a748a401dc3168318d4a39484eb4f954726f21517c8f42c0ba984"
> +SRC_URI[sha256sum] =
> "1e6371862cc31999b368c3b89b49994f0677e1bab5f1b2b85ae3741f5d803051"
> 
>  EXTRA_OECMAKE:class-native += "-DEXPAT_BUILD_DOCS=OFF"
> 
> --
> 2.43.0
Ross Burton Oct. 27, 2026, 11:35 a.m. UTC | #2
<argh>

> On 27 Oct 2026, at 11:33, Marko, Peter <Peter.Marko@siemens.com> wrote:
> 
> The commit messages in this series should be corrected to xz.
> 
> Peter
> 
>> -----Original Message-----
>> From: openembedded-core@lists.openembedded.org <openembedded-
>> core@lists.openembedded.org> On Behalf Of Ross Burton via
>> lists.openembedded.org
>> Sent: Tuesday, October 27, 2026 12:31 PM
>> To: openembedded-core@lists.openembedded.org
>> Subject: [OE-core] [PATCH 1/6] expat: use .tar.gz instead of .tar.bz2 in SRC_URI
>> 
>> .xz files are significantly smaller than .bz2, so download that instead.
>> 
>> Signed-off-by: Ross Burton <ross.burton@arm.com>
>> ---
>> meta/recipes-core/expat/expat_2.9.0.bb | 4 ++--
>> 1 file changed, 2 insertions(+), 2 deletions(-)
>> 
>> diff --git a/meta/recipes-core/expat/expat_2.9.0.bb b/meta/recipes-
>> core/expat/expat_2.9.0.bb
>> index e9bb21bd55c..9b337648390 100644
>> --- a/meta/recipes-core/expat/expat_2.9.0.bb
>> +++ b/meta/recipes-core/expat/expat_2.9.0.bb
>> @@ -8,14 +8,14 @@ LIC_FILES_CHKSUM =
>> "file://COPYING;md5=f4fedd6116da0e171f7cb4d2923d7ac2"
>> 
>> VERSION_TAG = "${@d.getVar('PV').replace('.', '_')}"
>> 
>> -SRC_URI = "${GITHUB_BASE_URI}/download/R_${VERSION_TAG}/expat-
>> ${PV}.tar.bz2  \
>> +SRC_URI = "${GITHUB_BASE_URI}/download/R_${VERSION_TAG}/expat-
>> ${PV}.tar.xz  \
>>            file://run-ptest \
>>            "
>> 
>> GITHUB_BASE_URI = "https://github.com/libexpat/libexpat/releases/"
>> UPSTREAM_CHECK_REGEX = "releases/tag/R_(?P<pver>.+)"
>> 
>> -SRC_URI[sha256sum] =
>> "775e8a68f81a748a401dc3168318d4a39484eb4f954726f21517c8f42c0ba984"
>> +SRC_URI[sha256sum] =
>> "1e6371862cc31999b368c3b89b49994f0677e1bab5f1b2b85ae3741f5d803051"
>> 
>> EXTRA_OECMAKE:class-native += "-DEXPAT_BUILD_DOCS=OFF"
>> 
>> --
>> 2.43.0
>
diff mbox series

Patch

diff --git a/meta/recipes-core/expat/expat_2.9.0.bb b/meta/recipes-core/expat/expat_2.9.0.bb
index e9bb21bd55c..9b337648390 100644
--- a/meta/recipes-core/expat/expat_2.9.0.bb
+++ b/meta/recipes-core/expat/expat_2.9.0.bb
@@ -8,14 +8,14 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=f4fedd6116da0e171f7cb4d2923d7ac2"
 
 VERSION_TAG = "${@d.getVar('PV').replace('.', '_')}"
 
-SRC_URI = "${GITHUB_BASE_URI}/download/R_${VERSION_TAG}/expat-${PV}.tar.bz2  \
+SRC_URI = "${GITHUB_BASE_URI}/download/R_${VERSION_TAG}/expat-${PV}.tar.xz  \
            file://run-ptest \
            "
 
 GITHUB_BASE_URI = "https://github.com/libexpat/libexpat/releases/"
 UPSTREAM_CHECK_REGEX = "releases/tag/R_(?P<pver>.+)"
 
-SRC_URI[sha256sum] = "775e8a68f81a748a401dc3168318d4a39484eb4f954726f21517c8f42c0ba984"
+SRC_URI[sha256sum] = "1e6371862cc31999b368c3b89b49994f0677e1bab5f1b2b85ae3741f5d803051"
 
 EXTRA_OECMAKE:class-native += "-DEXPAT_BUILD_DOCS=OFF"