Skip to contentSkip to conversation

expat: use .tar.gz instead of .tar.bz2 in SRC_URI

PATCH Superseded Ross Burton 2 participants 8 messages Oct 27

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

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.

---
 meta/recipes-core/expat/expat_2.9.0.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-core/expat/expat_2.9.0.bb +2 -2
index e9bb21bd55c..9b337648390 100644
@@ -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"
 
Signature · 1 line
2.43.0
#1 lore raw

PATCH 2/6 nasm: use .tar.gz instead of .tar.bz2 in SRC_URI

.xz files are significantly smaller than .bz2, so download that instead.

---
 meta/recipes-devtools/nasm/nasm_3.02.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-devtools/nasm/nasm_3.02.bb +2 -2
index 2d2778fd88f..a0ced1486f1 100644
@@ -7,13 +7,13 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=6178dc4f5355e40552448080e67a214b"
 
 DEPENDS = "zlib"
 
-SRC_URI = "http://www.nasm.us/pub/nasm/releasebuilds/${PV}/nasm-${PV}.tar.bz2 \
+SRC_URI = "http://www.nasm.us/pub/nasm/releasebuilds/${PV}/nasm-${PV}.tar.xz \
            file://0001-stdlib-Add-strlcat.patch \
            file://0002-Add-debug-prefix-map-option.patch \
            file://CVE-2026-6067.patch \
            "
 
-SRC_URI[sha256sum] = "ce7ed93281615379e4a9d4e76503c64a79c1d5ca696dbe148f16cf0b93e239af"
+SRC_URI[sha256sum] = "87336eba53b4acfe917424ab5d500d2b0054d9f5148d35c2273ccf2cfb712f0d"
 
 EXTRA_AUTORECONF:append = " -I autoconf/m4"
 
Signature · 1 line
2.43.0
#2 lore raw

PATCH 3/6 mc: use .tar.gz instead of .tar.bz2 in SRC_URI

In reply to Ross Burton

.xz files are significantly smaller than .bz2, so download that instead.

---
 meta/recipes-extended/mc/mc_4.8.33.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-extended/mc/mc_4.8.33.bb +2 -2
index 0682ae4bb6a..b09416415ab 100644
@@ -8,10 +8,10 @@ DEPENDS = "ncurses glib-2.0 util-linux file-replacement-native"
 RDEPENDS:${PN} = "ncurses-terminfo-base"
 RRECOMMENDS:${PN} = "ncurses-terminfo"
 
-SRC_URI = "http://ftp.midnight-commander.org/${BPN}-${PV}.tar.bz2 \
+SRC_URI = "http://ftp.midnight-commander.org/${BPN}-${PV}.tar.xz \
            file://nomandate.patch \
            "
-SRC_URI[sha256sum] = "a3ceb0af84226fedfe5f339464ff2849c3f6bf0321b72027c47b2c10e66a6dba"
+SRC_URI[sha256sum] = "cae149d42f844e5185d8c81d7db3913a8fa214c65f852200a9d896b468af164c"
 
 inherit autotools gettext pkgconfig
 
Signature · 1 line
2.43.0
#3 lore raw

PATCH 4/6 tar: use .tar.gz instead of .tar.bz2 in SRC_URI

In reply to Ross Burton

.xz files are significantly smaller than .bz2, so download that instead.

---
 meta/recipes-extended/tar/tar_1.35.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-extended/tar/tar_1.35.bb +2 -2
index eb71863231a..a826c530869 100644
@@ -6,7 +6,7 @@ SECTION = "base"
 LICENSE = "GPL-3.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464"
 
-SRC_URI = "${GNU_MIRROR}/tar/tar-${PV}.tar.bz2 \
+SRC_URI = "${GNU_MIRROR}/tar/tar-${PV}.tar.xz \
            file://run-ptest \
            file://0001-tests-fix-TESTSUITE_AT.patch \
            file://0002-tests-check-for-recently-fixed-bug.patch \
@@ -18,7 +18,7 @@ SRC_URI = "${GNU_MIRROR}/tar/tar-${PV}.tar.bz2 \
            file://0001-Avoid-acl_-prefix-for-functions.patch \
            "
 
-SRC_URI[sha256sum] = "7edb8886a3dc69420a1446e1e2d061922b642f1cf632d2cd0f9ee7e690775985"
+SRC_URI[sha256sum] = "4d62ff37342ec7aed748535323930c7cf94acf71c3591882b26a7ea50f3edc16"
 
 inherit autotools gettext texinfo
 
Signature · 1 line
2.43.0
#4 lore raw

PATCH 5/6 gmp: use .tar.gz instead of .tar.bz2 in SRC_URI

In reply to Ross Burton

.xz files are significantly smaller than .bz2, so download that instead.

---
 meta/recipes-support/gmp/gmp_6.3.0.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-support/gmp/gmp_6.3.0.bb +2 -2
index 579e112fc26..1e1884e1114 100644
@@ -10,14 +10,14 @@ LIC_FILES_CHKSUM = "\
 "
 
 REVISION = ""
-SRC_URI = "https://gmplib.org/download/${BPN}/${BP}${REVISION}.tar.bz2 \
+SRC_URI = "https://gmplib.org/download/${BPN}/${BP}${REVISION}.tar.xz \
            file://use-includedir.patch \
            file://0001-Append-the-user-provided-flags-to-the-auto-detected-.patch \
            file://0001-confiure.ac-Believe-the-cflags-from-environment.patch \
            file://0001-Complete-function-prototype-in-acinclude.m4-for-C23-.patch \
            file://0001-acinclude.m4-Add-parameter-names-in-prototype-for-g.patch \
            "
-SRC_URI[sha256sum] = "ac28211a7cfb609bae2e2c8d6058d66c8fe96434f740cf6fe2e47b000d1c20cb"
+SRC_URI[sha256sum] = "a3c2b80201b89e68616f4ad30bc66aee4927c3ce50e33929ca819d5c43538898"
 
 EXTRA_OECONF += " --enable-cxx=detect"
 EXTRA_OECONF:append:mipsarchr6 = " --disable-assembly"
Signature · 1 line
2.43.0
#5 lore raw

PATCH 6/6 libexif: use .tar.gz instead of .tar.bz2 in SRC_URI

In reply to Ross Burton

.xz files are significantly smaller than .bz2, so download that instead.

---
 meta/recipes-support/libexif/libexif_0.6.26.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-support/libexif/libexif_0.6.26.bb +2 -2
index 56b2e1e168b..d0d313e96ce 100644
@@ -7,12 +7,12 @@ SECTION = "libs"
 LICENSE = "LGPL-2.1-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=243b725d71bb5df4a1e5920b344b86ad"
 
-SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/libexif-${PV}.tar.bz2 \
+SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/libexif-${PV}.tar.xz \
            file://0001-Add-serial-tests-config-needed-by-ptest.patch \
            file://run-ptest \
            "
 
-SRC_URI[sha256sum] = "0830ed253fceeb60444fb309598bc8a9491d3007dc054aad3a50a347c5597c57"
+SRC_URI[sha256sum] = "4a055ed6575e61ca46c3172be3c753cc16c9becd0f99ec71d58dd0e471476c0c"
 
 inherit autotools gettext github-releases ptest
 
Signature · 1 line
2.43.0
#6 lore raw
In reply to Ross Burton

The commit messages in this series should be corrected to xz.

Peter

Quoted 44 lines

-----Original Message-----
From: [email protected] <openembedded- [email protected]> On Behalf Of Ross Burton via lists.openembedded.org
Sent: Tuesday, October 27, 2026 12:31 PM
To: [email protected]
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.

---
 meta/recipes-core/expat/expat_2.9.0.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes- renamed from meta/recipes-core/expat/expat_2.9.0.bb +0 -0

core/expat/expat_2.9.0.bb
index e9bb21bd55c..9b337648390 100644

meta/recipes-core/expat/expat_2.9.0.bb +0 -0
@@ -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

#7 lore raw

<argh>

Quoted 51 lines · Peter

The commit messages in this series should be corrected to xz.

Peter

Quoted 44 lines

-----Original Message-----
From: [email protected] <openembedded- [email protected]> On Behalf Of Ross Burton via lists.openembedded.org
Sent: Tuesday, October 27, 2026 12:31 PM
To: [email protected]
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.

---
meta/recipes-core/expat/expat_2.9.0.bb | 4 ++--

1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes- renamed from meta/recipes-core/expat/expat_2.9.0.bb +0 -0

core/expat/expat_2.9.0.bb
index e9bb21bd55c..9b337648390 100644

meta/recipes-core/expat/expat_2.9.0.bb +0 -0
@@ -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