Skip to contentSkip to conversation

libmodulemd: put version in recipe filename

PATCH New Ross Burton 1 participant 16 messages Jun 9, 2025

lore
Share & tools
lore
#0 lore raw

PATCH v4 1/16 libmodulemd: put version in recipe filename

A recipe that fetches from git but is otherwise a released version should not be using _git.bb recipe names.

Put the version in the filename, and drop the explicit PV.

---
 .../libmodulemd/{libmodulemd_git.bb => libmodulemd_2.15.1.bb}    | 1 -
 1 file changed, 1 deletion(-)
 rename meta/recipes-devtools/libmodulemd/{libmodulemd_git.bb => libmodulemd_2.15.1.bb} (98%)
meta/recipes-devtools/libmodulemd/libmodulemd_2.15.1.bb renamed from meta/recipes-devtools/libmodulemd/libmodulemd_git.bb +0 -1
similarity index 98%
rename from meta/recipes-devtools/libmodulemd/libmodulemd_git.bb
rename to meta/recipes-devtools/libmodulemd/libmodulemd_2.15.1.bb
index 0c730329230..4bdc587f4f9 100644
@@ -6,7 +6,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=25a3927bff3ee4f5b21bcb0ed3fcd6bb"
 
 SRC_URI = "git://github.com/fedora-modularity/libmodulemd;protocol=https;branch=main"
 
-PV = "2.15.1"
 SRCREV = "e7f179eeeb6eee1403f090fc43a3c80bb08b5bfd"
 
 S = "${WORKDIR}/git"
Signature · 1 line
2.43.0
#1 lore raw

PATCH v4 2/16 libmodulemd: remove libmagic option

Meson shows this warning in do_configure:

WARNING: libmagic option is obsolete. libmodulemd can detect compression formats without a magic library now. Please stop using this option. It will be removed in the future and will cause a meson failure.

Remove the option as it's now redundant.

---
 meta/recipes-devtools/libmodulemd/libmodulemd_2.15.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/libmodulemd/libmodulemd_2.15.1.bb +1 -1
index 4bdc587f4f9..79fabfc8683 100644
@@ -12,7 +12,7 @@ S = "${WORKDIR}/git"
 
 inherit meson gobject-introspection pkgconfig
 
-EXTRA_OEMESON = "-Dwith_py3=false -Dwith_docs=false -Drpmio=disabled -Dlibmagic=disabled -Dwith_manpages=disabled -Dgobject_overrides_dir_py3=${PYTHON_SITEPACKAGES_DIR}/gi/overrides"
+EXTRA_OEMESON = "-Dwith_py3=false -Dwith_docs=false -Drpmio=disabled -Dwith_manpages=disabled -Dgobject_overrides_dir_py3=${PYTHON_SITEPACKAGES_DIR}/gi/overrides"
 
 DEPENDS += "glib-2.0 libyaml glib-2.0-native"
 
Signature · 1 line
2.43.0
#2 lore raw

PATCH v4 3/16 libmodulemd: add manpages

In reply to Ross Burton

Inherit manpages and optionally enable the manpages. They're in the repository so don't need more tools to build.

---
 meta/recipes-devtools/libmodulemd/libmodulemd_2.15.1.bb | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
meta/recipes-devtools/libmodulemd/libmodulemd_2.15.1.bb +5 -2
index 79fabfc8683..c31fc44ce4f 100644
@@ -10,9 +10,9 @@ SRCREV = "e7f179eeeb6eee1403f090fc43a3c80bb08b5bfd"
 
 S = "${WORKDIR}/git"
 
-inherit meson gobject-introspection pkgconfig
+inherit meson gobject-introspection pkgconfig manpages
 
-EXTRA_OEMESON = "-Dwith_py3=false -Dwith_docs=false -Drpmio=disabled -Dwith_manpages=disabled -Dgobject_overrides_dir_py3=${PYTHON_SITEPACKAGES_DIR}/gi/overrides"
+EXTRA_OEMESON = "-Dwith_py3=false -Dwith_docs=false -Drpmio=disabled -Dgobject_overrides_dir_py3=${PYTHON_SITEPACKAGES_DIR}/gi/overrides"
 
 DEPENDS += "glib-2.0 libyaml glib-2.0-native"
 
@@ -21,3 +21,6 @@ BBCLASSEXTEND = "native nativesdk"
 GIR_MESON_OPTION = 'skip_introspection'
 GIR_MESON_ENABLE_FLAG = 'false'
 GIR_MESON_DISABLE_FLAG = 'true'
+
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[manpages] = "-Dwith_manpages=enabled,-Dwith_manpages=disabled"
Signature · 1 line
2.43.0
#3 lore raw

PATCH v4 4/16 libsass: put version in recipe filename

In reply to Ross Burton

A recipe that fetches from git but is otherwise a released version should not be using _git.bb recipe names.

Put the version in the filename and drop the explicit PV.

---
 meta/recipes-support/sass/{libsass_git.bb => libsass_3.6.6.bb} | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
 rename meta/recipes-support/sass/{libsass_git.bb => libsass_3.6.6.bb} (80%)
meta/recipes-support/sass/libsass_3.6.6.bb renamed from meta/recipes-support/sass/libsass_git.bb +1 -2
similarity index 80%
rename from meta/recipes-support/sass/libsass_git.bb
rename to meta/recipes-support/sass/libsass_3.6.6.bb
index 890cbf8e631..3878072cf19 100644
@@ -5,11 +5,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=8f34396ca205f5e119ee77aae91fa27d"
 
 inherit autotools
 
-SRC_URI = "git://github.com/sass/libsass.git;branch=master;protocol=https \
+SRC_URI = "git://github.com/sass/libsass.git;protocol=https;branch=master \
            file://0001-Remove-version.h-from-source-directory.patch"
 
 SRCREV = "7037f03fabeb2b18b5efa84403f5a6d7a990f460"
-PV = "3.6.6"
 
 S = "${WORKDIR}/git"
 
Signature · 1 line
2.43.0
#4 lore raw

PATCH v4 5/16 sassc: put version in recipe filename

In reply to Ross Burton

A recipe that fetches from git but is otherwise a released version should not be using _git.bb recipe names.

Put the version in the filename and drop the explicit PV.

---
 meta/recipes-support/sass/{sassc_git.bb => sassc_3.6.2.bb} | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
 rename meta/recipes-support/sass/{sassc_git.bb => sassc_3.6.2.bb} (84%)
meta/recipes-support/sass/sassc_3.6.2.bb renamed from meta/recipes-support/sass/sassc_git.bb +1 -2
similarity index 84%
rename from meta/recipes-support/sass/sassc_git.bb
rename to meta/recipes-support/sass/sassc_3.6.2.bb
index 64e92f48cfd..4d4dbc03fe2 100644
@@ -7,12 +7,11 @@ DEPENDS = "libsass"
 
 inherit autotools pkgconfig
 
-SRC_URI = "git://github.com/sass/sassc.git;branch=master;protocol=https \
+SRC_URI = "git://github.com/sass/sassc.git;protocol=https;branch=master \
            file://0001-Remove-sassc_version.h-from-source-directory.patch"
 
 SRCREV = "66f0ef37e7f0ad3a65d2f481eff09d09408f42d0"
 S = "${WORKDIR}/git"
-PV = "3.6.2"
 
 CVE_STATUS[CVE-2022-43357] = "cpe-incorrect: this is CVE for libsass, not sassc wrapper"
 
Signature · 1 line
2.43.0
#5 lore raw

PATCH v4 6/16 blktrace: put version in recipe filename

In reply to Ross Burton

A recipe that fetches from git but is otherwise a released version should not be using _git.bb recipe names.

Put the version in the filename and drop the explicit PV.

---
 .../blktrace/{blktrace_git.bb => blktrace_1.3.0.bb}        | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
 rename meta/recipes-kernel/blktrace/{blktrace_git.bb => blktrace_1.3.0.bb} (94%)
meta/recipes-kernel/blktrace/blktrace_1.3.0.bb renamed from meta/recipes-kernel/blktrace/blktrace_git.bb +3 -4
similarity index 94%
rename from meta/recipes-kernel/blktrace/blktrace_git.bb
rename to meta/recipes-kernel/blktrace/blktrace_1.3.0.bb
index 8fc30d74fd6..061a7b97846 100644
@@ -10,14 +10,13 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833"
 
 DEPENDS = "libaio"
 
-SRCREV = "366d30b9cdb20345c5d064af850d686da79b89eb"
 
-PV = "1.3.0+git"
-
-SRC_URI = "git://git.kernel.dk/blktrace.git;branch=master;protocol=https \
+SRC_URI = "git://git.kernel.dk/blktrace.git;protocol=https;branch=master \
            file://0001-bno_plot.py-btt_plot.py-Ask-for-python3-specifically.patch \
           "
 
+SRCREV = "366d30b9cdb20345c5d064af850d686da79b89eb"
+
 S = "${WORKDIR}/git"
 
 EXTRA_OEMAKE = "\
Signature · 1 line
2.43.0
#6 lore raw

PATCH v4 7/16 mobile-broadband-provider-info: put version in recipe filename

In reply to Ross Burton

A recipe that fetches from git but is otherwise a released version should not be using _git.bb recipe names.

Put the version in the filename and drop the explicit PV.

---
 ...info_git.bb => mobile-broadband-provider-info_20240407.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-connectivity/mobile-broadband-provider-info/{mobile-broadband-provider-info_git.bb => mobile-broadband-provider-info_20240407.bb} (97%)
meta/recipes-connectivity/mobile-broadband-provider-info/mobile-broadband-provider-info_20240407.bb renamed from meta/recipes-connectivity/mobile-broadband-provider-info/mobile-broadband-provider-info_git.bb +2 -2
similarity index 97%
rename from meta/recipes-connectivity/mobile-broadband-provider-info/mobile-broadband-provider-info_git.bb
rename to meta/recipes-connectivity/mobile-broadband-provider-info/mobile-broadband-provider-info_20240407.bb
index 06ded459344..e07b93d6955 100644
@@ -5,11 +5,11 @@ SECTION = "network"
 LICENSE = "PD"
 LIC_FILES_CHKSUM = "file://COPYING;md5=87964579b2a8ece4bc6744d2dc9a8b04"
 
-SRCREV = "55ba955d53305df96123534488fd160ea882b4dd"
-PV = "20240407"
 PE = "1"
 
 SRC_URI = "git://gitlab.gnome.org/GNOME/mobile-broadband-provider-info.git;protocol=https;branch=main"
+SRCREV = "55ba955d53305df96123534488fd160ea882b4dd"
+
 S = "${WORKDIR}/git"
 
 inherit meson
Signature · 1 line
2.43.0
#7 lore raw

PATCH v4 8/16 squashfs-tools: put version in recipe filename

In reply to Ross Burton

A recipe that fetches from git but is otherwise a released version should not be using _git.bb recipe names.

Put the version in the filename, drop the explicit PV, and set the tag name in the SRC_URI to verify the SHA.

---
 .../{squashfs-tools_git.bb => squashfs-tools_4.6.1.bb}        | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-devtools/squashfs-tools/{squashfs-tools_git.bb => squashfs-tools_4.6.1.bb} (99%)
meta/recipes-devtools/squashfs-tools/squashfs-tools_4.6.1.bb renamed from meta/recipes-devtools/squashfs-tools/squashfs-tools_git.bb +2 -2
similarity index 99%
rename from meta/recipes-devtools/squashfs-tools/squashfs-tools_git.bb
rename to meta/recipes-devtools/squashfs-tools/squashfs-tools_4.6.1.bb
index 982a43f8899..51a2fbdb934 100644
@@ -7,9 +7,9 @@ SECTION = "base"
 LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 
-PV = "4.6.1"
-SRCREV = "d8cb82d9840330f9344ec37b992595b5d7b44184"
 SRC_URI = "git://github.com/plougher/squashfs-tools.git;protocol=https;branch=v6.1.1"
+SRCREV = "d8cb82d9840330f9344ec37b992595b5d7b44184"
+
 UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))"
 
 S = "${WORKDIR}/git"
Signature · 1 line
2.43.0
#8 lore raw

PATCH v4 9/16 squashfs-tools: update to 4.7

In reply to Ross Burton

The REPRODUCIBLE_DEFAULT option was removed in 4.7[1].

Backport a patch to fix missing pthread typedefs, and a patch to fix missing pid_t typedefs.

Also clean up the tasks to be neater and more concise.

[1] squash-tools ae9914d15293af7c596148aedd997b3058e35d9e

---
 .../squashfs-tools/squashfs-tools/pid.patch   | 40 +++++++++++++++++++
 .../squashfs-tools/thread.patch               | 33 +++++++++++++++
 ...s-tools_4.6.1.bb => squashfs-tools_4.7.bb} | 16 ++++----
 3 files changed, 81 insertions(+), 8 deletions(-)
 create mode 100644 meta/recipes-devtools/squashfs-tools/squashfs-tools/pid.patch
 create mode 100644 meta/recipes-devtools/squashfs-tools/squashfs-tools/thread.patch
 rename meta/recipes-devtools/squashfs-tools/{squashfs-tools_4.6.1.bb => squashfs-tools_4.7.bb} (77%)
meta/recipes-devtools/squashfs-tools/squashfs-tools/pid.patch new file +40 -0
new file mode 100644
index 00000000000..a15b6211248
@@ -0,0 +1,40 @@
+From 05a895b3f996d1ac157d95b04980f5f047e7dbf7 Mon Sep 17 00:00:00 2001
+From: Ross Burton <[email protected]>
+Date: Fri, 6 Jun 2025 15:23:07 +0100
+Subject: [PATCH] print_pager: add missing includes
+
+When building with musl:
+
+  print_pager.h:33:25: error: unknown type name 'pid_t'
+     33 | extern void wait_to_die(pid_t process);
+        |                         ^~~~~
+  print_pager.h:34:25: error: unknown type name 'pid_t'
+     34 | extern FILE *exec_pager(pid_t *process);
+        |                         ^~~~~
+
+print_pager.h uses pid_t and FILE, so add the required #includes to
+ensure that these are defined.
+
+Upstream-Status: Submitted [https://github.com/plougher/squashfs-tools/pull/314]
+Signed-off-by: Ross Burton <[email protected]>
+---
+ squashfs-tools/print_pager.h | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/squashfs-tools/print_pager.h b/squashfs-tools/print_pager.h
+index c33d4d2e..f3e0da6c 100644
+--- a/squashfs-tools/print_pager.h
++++ b/squashfs-tools/print_pager.h
+@@ -30,6 +30,9 @@
+ #define MORE_PAGER 2
+ #define UNKNOWN_PAGER 3
+ 
++#include <stdio.h>
++#include <sys/types.h>
++
+ extern void wait_to_die(pid_t process);
+ extern FILE *exec_pager(pid_t *process);
+ extern int get_column_width();
+-- 
+2.43.0
+
meta/recipes-devtools/squashfs-tools/squashfs-tools/thread.patch new file +33 -0
new file mode 100644
index 00000000000..01741639c03
@@ -0,0 +1,33 @@
+From b6e9f4b62cc3e762ceeddc0fc099f7d65f7b7361 Mon Sep 17 00:00:00 2001
+From: Shiji Yang <[email protected]>
+Date: Wed, 4 Jun 2025 19:53:39 +0800
+Subject: [PATCH] thread: add the missing pthread.h header
+
+Fix build error on macos:
+
+In file included from mksquashfs_help.c:35:
+./thread.h:46:39: error: unknown type name 'pthread_mutex_t'; did you mean 'pthread_attr_t'?
+   46 | extern void wait_thread_idle(int tid, pthread_mutex_t *mutex);
+      |                                       ^~~~~~~~~~~~~~~
+      |                                       pthread_attr_t
+
+Signed-off-by: Shiji Yang <[email protected]>
+
+Upstream-Status: Backport [b6e9f4b62cc3e762ceeddc0fc099f7d65f7b7361]
+Signed-off-by: Ross Burton <[email protected]>
+---
+ squashfs-tools/thread.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/squashfs-tools/thread.h b/squashfs-tools/thread.h
+index 5a22fc43..e56a58cf 100644
+--- a/squashfs-tools/thread.h
++++ b/squashfs-tools/thread.h
+@@ -22,6 +22,7 @@
+  *
+  * thread.h
+  */
++#include <pthread.h>
+ 
+ #define TRUE 1
+ #define FALSE 0
meta/recipes-devtools/squashfs-tools/squashfs-tools_4.7.bb renamed from meta/recipes-devtools/squashfs-tools/squashfs-tools_4.6.1.bb +8 -8
similarity index 77%
rename from meta/recipes-devtools/squashfs-tools/squashfs-tools_4.6.1.bb
rename to meta/recipes-devtools/squashfs-tools/squashfs-tools_4.7.bb
index 51a2fbdb934..3eb7ad46e94 100644
@@ -7,8 +7,10 @@ SECTION = "base"
 LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 
-SRC_URI = "git://github.com/plougher/squashfs-tools.git;protocol=https;branch=v6.1.1"
-SRCREV = "d8cb82d9840330f9344ec37b992595b5d7b44184"
+SRC_URI = "git://github.com/plougher/squashfs-tools.git;protocol=https;branch=master;tag=${PV} \
+           file://pid.patch \
+           file://thread.patch"
+SRCREV = "2e87d42ed089dc31990d83eeb07437b9d085d6d1"
 
 UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))"
 
@@ -16,7 +18,7 @@ S = "${WORKDIR}/git"
 
 EXTRA_OEMAKE = "${PACKAGECONFIG_CONFARGS}"
 
-PACKAGECONFIG ??= "gzip xz lzo lz4 lzma xattr zstd reproducible"
+PACKAGECONFIG ??= "gzip xz lzo lz4 lzma xattr zstd"
 PACKAGECONFIG[gzip] = "GZIP_SUPPORT=1,GZIP_SUPPORT=0,zlib"
 PACKAGECONFIG[xz] = "XZ_SUPPORT=1,XZ_SUPPORT=0,xz"
 PACKAGECONFIG[lzo] = "LZO_SUPPORT=1,LZO_SUPPORT=0,lzo"
@@ -24,17 +26,15 @@ PACKAGECONFIG[lz4] = "LZ4_SUPPORT=1,LZ4_SUPPORT=0,lz4"
 PACKAGECONFIG[lzma] = "LZMA_XZ_SUPPORT=1,LZMA_XZ_SUPPORT=0,xz"
 PACKAGECONFIG[xattr] = "XATTR_SUPPORT=1,XATTR_SUPPORT=0,attr"
 PACKAGECONFIG[zstd] = "ZSTD_SUPPORT=1,ZSTD_SUPPORT=0,zstd"
-PACKAGECONFIG[reproducible] = "REPRODUCIBLE_DEFAULT=1,REPRODUCIBLE_DEFAULT=0,"
 
 do_compile() {
-        cd ${S}/squashfs-tools
-	oe_runmake all
+	oe_runmake -C ${S}/squashfs-tools all
 }
 
 do_install() {
-        cd ${S}/squashfs-tools
+	oe_runmake -C ${S}/squashfs-tools install INSTALL_PREFIX=${D}${prefix} INSTALL_MANPAGES_DIR=${D}${datadir}/man/man1
+
 	install -d "${D}${includedir}"
-	oe_runmake install INSTALL_PREFIX=${D}${prefix} INSTALL_MANPAGES_DIR=${D}${datadir}/man/man1
 	install -m 0644 "${S}"/squashfs-tools/squashfs_fs.h "${D}${includedir}"
 }
 
Signature · 1 line
2.43.0
#9 lore raw

PATCH v4 10/16 squashfs-tools: clean up PACKAGECONFIG

In reply to Ross Burton

LZMA isn't supported by the mainline kernel driver, so there's no real point in enabling it.

Disable LZO by default, as LZO is very obsolete (last released in 2017) and there are better algorithms available.

Move xattr to the end so it's separate from the compression algorithms.

---
 meta/recipes-devtools/squashfs-tools/squashfs-tools_4.7.bb | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
meta/recipes-devtools/squashfs-tools/squashfs-tools_4.7.bb +2 -4
index 3eb7ad46e94..930439e2d26 100644
@@ -1,5 +1,3 @@
-# Note, we can probably remove the lzma option as it has be replaced with xz,
-# and I don't think the kernel supports it any more.
 SUMMARY = "Tools for manipulating SquashFS filesystems"
 HOMEPAGE = "https://github.com/plougher/squashfs-tools"
 DESCRIPTION = "Tools to create and extract Squashfs filesystems."
@@ -18,14 +16,14 @@ S = "${WORKDIR}/git"
 
 EXTRA_OEMAKE = "${PACKAGECONFIG_CONFARGS}"
 
-PACKAGECONFIG ??= "gzip xz lzo lz4 lzma xattr zstd"
+PACKAGECONFIG ??= "gzip lz4 xz zstd xattr"
 PACKAGECONFIG[gzip] = "GZIP_SUPPORT=1,GZIP_SUPPORT=0,zlib"
 PACKAGECONFIG[xz] = "XZ_SUPPORT=1,XZ_SUPPORT=0,xz"
 PACKAGECONFIG[lzo] = "LZO_SUPPORT=1,LZO_SUPPORT=0,lzo"
 PACKAGECONFIG[lz4] = "LZ4_SUPPORT=1,LZ4_SUPPORT=0,lz4"
 PACKAGECONFIG[lzma] = "LZMA_XZ_SUPPORT=1,LZMA_XZ_SUPPORT=0,xz"
-PACKAGECONFIG[xattr] = "XATTR_SUPPORT=1,XATTR_SUPPORT=0,attr"
 PACKAGECONFIG[zstd] = "ZSTD_SUPPORT=1,ZSTD_SUPPORT=0,zstd"
+PACKAGECONFIG[xattr] = "XATTR_SUPPORT=1,XATTR_SUPPORT=0,attr"
 
 do_compile() {
 	oe_runmake -C ${S}/squashfs-tools all
Signature · 1 line
2.43.0
#10 lore raw

PATCH v4 11/16 unfs3: put version in recipe filename

In reply to Ross Burton

A recipe that fetches from git but is otherwise a released version should not be using _git.bb recipe names.

Put the version in the filename, and drop the explicit PV.

---
 meta/recipes-devtools/unfs3/{unfs3_git.bb => unfs3_0.10.0.bb} | 2 --
 1 file changed, 2 deletions(-)
 rename meta/recipes-devtools/unfs3/{unfs3_git.bb => unfs3_0.10.0.bb} (98%)
meta/recipes-devtools/unfs3/unfs3_0.10.0.bb renamed from meta/recipes-devtools/unfs3/unfs3_git.bb +0 -2
similarity index 98%
rename from meta/recipes-devtools/unfs3/unfs3_git.bb
rename to meta/recipes-devtools/unfs3/unfs3_0.10.0.bb
index 0a274d6ffd4..045e496ccdb 100644
@@ -22,8 +22,6 @@ SRC_URI = "git://github.com/unfs3/unfs3.git;protocol=https;branch=master \
 SRCREV = "c8f2d2cd4529955419bad0e163f88d47ff176b8d"
 UPSTREAM_CHECK_GITTAGREGEX = "unfs3\-(?P<pver>\d+(\.\d+)+)"
 
-PV = "0.10.0"
-
 BBCLASSEXTEND = "native nativesdk"
 
 inherit autotools pkgconfig
Signature · 1 line
2.43.0
#11 lore raw

PATCH v4 12/16 unfs3: clean up DEPENDS

In reply to Ross Burton

flex-nativesdk is both the wrong name (should be nativesdk-flex), and in nativesdk builds it will be a dependency anyway thanks to the DEPENDS remapping.

Merge multiple assignments into a single line.

---
 meta/recipes-devtools/unfs3/unfs3_0.10.0.bb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
meta/recipes-devtools/unfs3/unfs3_0.10.0.bb +1 -3
index 045e496ccdb..d5c2a03371c 100644
@@ -7,9 +7,7 @@ SECTION = "console/network"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=9475885294e17c0cc0067820d042792e"
 
-DEPENDS = "flex-native bison-native flex"
-DEPENDS += "libtirpc"
-DEPENDS:append:class-nativesdk = " flex-nativesdk"
+DEPENDS = "flex-native bison-native flex libtirpc"
 
 S = "${WORKDIR}/git"
 SRC_URI = "git://github.com/unfs3/unfs3.git;protocol=https;branch=master \
Signature · 1 line
2.43.0
#12 lore raw

PATCH v4 13/16 unfs3: upgrade to 0.11

In reply to Ross Burton

Drop all of the patches that have been merged upstream.

The build no longer needs the flex runtime library so remove flex from DEPENDS.

License-Update: contributor list updated.

---
 ...4_t-to-off_t-on-linux-if-not-defined.patch | 28 ------
 .../0001-attr-fix-utime-for-symlink.patch     | 88 -------------------
 ...e-window-for-writing-of-the-pid-file.patch | 68 --------------
 .../unfs3/0001-fix-building-on-macOS.patch    | 27 ------
 .../unfs3/0001-locate.c-Include-attr.h.patch  | 28 ------
 .../{unfs3_0.10.0.bb => unfs3_0.11.0.bb}      | 19 ++--
 6 files changed, 7 insertions(+), 251 deletions(-)
 delete mode 100644 meta/recipes-devtools/unfs3/unfs3/0001-Alias-off64_t-to-off_t-on-linux-if-not-defined.patch
 delete mode 100644 meta/recipes-devtools/unfs3/unfs3/0001-attr-fix-utime-for-symlink.patch
 delete mode 100644 meta/recipes-devtools/unfs3/unfs3/0001-daemon.c-Fix-race-window-for-writing-of-the-pid-file.patch
 delete mode 100644 meta/recipes-devtools/unfs3/unfs3/0001-fix-building-on-macOS.patch
 delete mode 100644 meta/recipes-devtools/unfs3/unfs3/0001-locate.c-Include-attr.h.patch
 rename meta/recipes-devtools/unfs3/{unfs3_0.10.0.bb => unfs3_0.11.0.bb} (54%)
meta/recipes-devtools/unfs3/unfs3/0001-Alias-off64_t-to-off_t-on-linux-if-not-defined.patch deleted +0 -28
deleted file mode 100644
index 91909fa2369..00000000000
@@ -1,28 +0,0 @@
-From 949db882e487d728c44bb68139682b38396dd275 Mon Sep 17 00:00:00 2001
-From: Khem Raj <[email protected]>
-Date: Wed, 14 Dec 2022 14:50:10 -0800
-Subject: [PATCH] Alias off64_t to off_t on linux if not defined
-
-Musl C library does not define off64_t and has 64-bit default off_t
-therefore define off64_t as an alias on linux as well when configure
-detects that off64_t is not provided by a linux system
-
-Upstream-Status: Submitted [https://github.com/unfs3/unfs3/pull/29]
-Signed-off-by: Khem Raj <[email protected]>
----
- nfs.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/nfs.h b/nfs.h
-index aded011..7996c67 100644
---- a/nfs.h
-+++ b/nfs.h
-@@ -62,7 +62,7 @@ typedef int32_t int32;
- #endif
- 
- #ifndef HAVE_OFF64_T
--#ifdef __APPLE__
-+#if defined(__APPLE__) || defined(__linux__)
- typedef off_t off64_t;
- #endif
- #endif
meta/recipes-devtools/unfs3/unfs3/0001-attr-fix-utime-for-symlink.patch deleted +0 -88

88 lines not on this page · raw message

meta/recipes-devtools/unfs3/unfs3/0001-daemon.c-Fix-race-window-for-writing-of-the-pid-file.patch deleted +0 -68

68 lines not on this page · raw message

meta/recipes-devtools/unfs3/unfs3/0001-fix-building-on-macOS.patch deleted +0 -27
deleted file mode 100644
index f18ffd37110..00000000000
@@ -1,27 +0,0 @@
-From 989b87ae46b3183a742031373fbb3e912ab9b666 Mon Sep 17 00:00:00 2001
-From: Andrey Filipenkov <[email protected]>
-Date: Wed, 2 Nov 2022 13:38:40 +0300
-Subject: [PATCH] fix building on macOS
-
-Signed-off-by: Khem Raj <[email protected]>
-Upstream-Status: Backport [https://github.com/unfs3/unfs3/commit/989b87ae46b3183a742031373fbb3e912ab9b666]
----
- attr.c | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/attr.c b/attr.c
-index 6253e84..0ce9375 100644
---- a/attr.c
-+++ b/attr.c
-@@ -18,6 +18,8 @@
- #include <utime.h>
- #include <errno.h>
- #include <dirent.h>
-+#include <stdlib.h>
-+#include <string.h>
- 
- #include "backend.h"
- #include "nfs.h"
--- 
-2.39.1
-
meta/recipes-devtools/unfs3/unfs3/0001-locate.c-Include-attr.h.patch deleted +0 -28
deleted file mode 100644
index 076e08fadc7..00000000000
@@ -1,28 +0,0 @@
-From 63e0785bb379a8f2c41f34f5cd938ca38555e605 Mon Sep 17 00:00:00 2001
-From: Khem Raj <[email protected]>
-Date: Fri, 13 Jan 2023 23:41:01 -0800
-Subject: [PATCH] locate.c: Include attr.h
-
-Its needed for fix_dir_times() API declarations
-
-Upstream-Status: Submitted [https://github.com/unfs3/unfs3/pull/32]
-Signed-off-by: Khem Raj <[email protected]>
----
- locate.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/locate.c b/locate.c
-index 6bbe71f..84e0fe5 100644
---- a/locate.c
-+++ b/locate.c
-@@ -27,6 +27,7 @@
- #include "nfs.h"
- #include "fh.h"
- #include "daemon.h"
-+#include "attr.h"
- 
- /*
-  * these are the brute-force file searching routines that are used
--- 
-2.39.0
-
meta/recipes-devtools/unfs3/unfs3_0.11.0.bb renamed from meta/recipes-devtools/unfs3/unfs3_0.10.0.bb +7 -12
similarity index 54%
rename from meta/recipes-devtools/unfs3/unfs3_0.10.0.bb
rename to meta/recipes-devtools/unfs3/unfs3_0.11.0.bb
index d5c2a03371c..da5ca45277d 100644
@@ -5,22 +5,17 @@ are used by NFS clients for accessing files on the server."
 HOMEPAGE = "https://github.com/unfs3/unfs3"
 SECTION = "console/network"
 LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=9475885294e17c0cc0067820d042792e"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=c1c621cd2786a3a1344a60a0d608c910"
 
-DEPENDS = "flex-native bison-native flex libtirpc"
+DEPENDS = "bison-native flex-native libtirpc"
 
 S = "${WORKDIR}/git"
-SRC_URI = "git://github.com/unfs3/unfs3.git;protocol=https;branch=master \
-           file://0001-daemon.c-Fix-race-window-for-writing-of-the-pid-file.patch \
-           file://0001-Alias-off64_t-to-off_t-on-linux-if-not-defined.patch \
-           file://0001-locate.c-Include-attr.h.patch \
-           file://0001-fix-building-on-macOS.patch \
-           file://0001-attr-fix-utime-for-symlink.patch \
-           "
-SRCREV = "c8f2d2cd4529955419bad0e163f88d47ff176b8d"
+SRC_URI = "git://github.com/unfs3/unfs3.git;protocol=https;branch=master;tag=${BP}"
+SRCREV = "ec1660ba33c80d5c67131e163e68834c1a10e243"
 UPSTREAM_CHECK_GITTAGREGEX = "unfs3\-(?P<pver>\d+(\.\d+)+)"
 
-BBCLASSEXTEND = "native nativesdk"
-
 inherit autotools pkgconfig
+
 EXTRA_OECONF:append:class-native = " --sbindir=${bindir}"
+
+BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.43.0
#13 lore raw

PATCH v4 14/16 tcf-agent: put version in recipe filename

In reply to Ross Burton

A recipe that fetches from git but is otherwise a released version should not be using _git.bb recipe names.

Put the version in the filename and drop the explicit PV.

---
 .../tcf-agent/{tcf-agent_git.bb => tcf-agent_1.8.0.bb}           | 1 -
 1 file changed, 1 deletion(-)
 rename meta/recipes-devtools/tcf-agent/{tcf-agent_git.bb => tcf-agent_1.8.0.bb} (99%)
meta/recipes-devtools/tcf-agent/tcf-agent_1.8.0.bb renamed from meta/recipes-devtools/tcf-agent/tcf-agent_git.bb +0 -1
similarity index 99%
rename from meta/recipes-devtools/tcf-agent/tcf-agent_git.bb
rename to meta/recipes-devtools/tcf-agent/tcf-agent_1.8.0.bb
index 235936288ba..b02fcb9cad1 100644
@@ -7,7 +7,6 @@ LICENSE = "EPL-1.0 | BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://edl-v10.html;md5=522a390a83dc186513f0500543ad3679"
 
 SRCREV = "1f11747e83ebf4f53e8d17f430136f92ec378709"
-PV = "1.8.0+git"
 
 UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))"
 SRC_URI = "git://gitlab.eclipse.org/eclipse/tcf/tcf.agent.git;protocol=https;branch=master \
Signature · 1 line
2.43.0
#14 lore raw

PATCH v4 15/16 systemtap: put version in recipe filename

In reply to Ross Burton

A recipe that fetches from git but is otherwise a released version should not be using _git.bb recipe names.

Put the version in the filename and drop the explicit PV.

---
 .../{systemtap-native_git.bb => systemtap-native_5.2.bb}    | 3 +--
 .../systemtap/{systemtap_git.bb => systemtap_5.2.bb}        | 0
 meta/recipes-kernel/systemtap/systemtap_git.inc             | 6 +++---
 3 files changed, 4 insertions(+), 5 deletions(-)
 rename meta/recipes-kernel/systemtap/{systemtap-native_git.bb => systemtap-native_5.2.bb} (77%)
 rename meta/recipes-kernel/systemtap/{systemtap_git.bb => systemtap_5.2.bb} (100%)
meta/recipes-kernel/systemtap/systemtap-native_5.2.bb renamed from meta/recipes-kernel/systemtap/systemtap-native_git.bb +1 -2
similarity index 77%
rename from meta/recipes-kernel/systemtap/systemtap-native_git.bb
rename to meta/recipes-kernel/systemtap/systemtap-native_5.2.bb
index 2690b259c8b..8befa7a7eac 100644
@@ -1,5 +1,4 @@
-
-require systemtap_git.bb
+require systemtap_${PV}.bb
 
 inherit_defer native
 
meta/recipes-kernel/systemtap/systemtap_5.2.bb renamed from meta/recipes-kernel/systemtap/systemtap_git.bb +0 -0
similarity index 100%
rename from meta/recipes-kernel/systemtap/systemtap_git.bb
rename to meta/recipes-kernel/systemtap/systemtap_5.2.bb
meta/recipes-kernel/systemtap/systemtap_git.inc +3 -3
index bbb2105b5ac..a6688f26042 100644
@@ -1,14 +1,14 @@
 LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
-SRCREV = "3a92ffe673c1621309a0b60892114495b651c9de"
-PV = "5.2"
 
-SRC_URI = "git://sourceware.org/git/systemtap.git;branch=master;protocol=https \
+SRC_URI = "git://sourceware.org/git/systemtap.git;protocol=https;branch=master \
            file://0001-Do-not-let-configure-write-a-python-location-into-th.patch \
            file://0001-Install-python-modules-to-correct-library-dir.patch \
            file://0001-staprun-stapbpf-don-t-support-installing-a-non-root.patch \
            "
 
+SRCREV = "3a92ffe673c1621309a0b60892114495b651c9de"
+
 COMPATIBLE_HOST = '(x86_64|i.86|powerpc|arm|aarch64|microblazeel|mips|riscv64).*-linux'
 COMPATIBLE_HOST:libc-musl = 'null'
 
Signature · 1 line
2.43.0
#15 lore raw

PATCH v4 16/16 xinput-calibrator: upgrade to 0.8.0

In reply to Ross Burton

Development has moved to freedesktop.org, so switch SRC_URI.

Drop an upstreamed patch.

---
 ....hh-Include-string-to-get-std-string.patch | 28 -------------------
 ...ibrator_pointercal.sh-to-be-run-as-n.patch |  2 +-
 ...ator_git.bb => xinput-calibrator_0.8.0.bb} | 10 ++-----
 3 files changed, 4 insertions(+), 36 deletions(-)
 delete mode 100644 meta/recipes-graphics/xinput-calibrator/xinput-calibrator/0001-calibrator.hh-Include-string-to-get-std-string.patch
 rename meta/recipes-graphics/xinput-calibrator/{xinput-calibrator_git.bb => xinput-calibrator_0.8.0.bb} (78%)
meta/recipes-graphics/xinput-calibrator/xinput-calibrator/0001-calibrator.hh-Include-string-to-get-std-string.patch deleted +0 -28
deleted file mode 100644
index 37617600d5d..00000000000
@@ -1,28 +0,0 @@
-From 79bc507b48d4acd3dec8a85ab6b341b872d44a05 Mon Sep 17 00:00:00 2001
-From: Khem Raj <[email protected]>
-Date: Tue, 29 Jan 2019 22:40:24 -0800
-Subject: [PATCH] calibrator.hh: Include <string> to get std::string
-
-Found with libc++
-
-Upstream-Status: Submitted [https://github.com/tias/xinput_calibrator/pull/76]
-Signed-off-by: Khem Raj <[email protected]>
----
- src/calibrator.hh | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/src/calibrator.hh b/src/calibrator.hh
-index a6f9504..e75bcef 100644
---- a/src/calibrator.hh
-+++ b/src/calibrator.hh
-@@ -29,6 +29,7 @@
- #include <X11/Xlib.h>
- #include <stdio.h>
- #include <vector>
-+#include <string>
- 
- // XXX: we currently don't handle lines that are longer than this
- #define MAX_LINE_LEN 1024
--- 
-2.20.1
-
meta/recipes-graphics/xinput-calibrator/xinput-calibrator/Allow-xinput_calibrator_pointercal.sh-to-be-run-as-n.patch +1 -1
index de0862599d7..86982924a81 100644
@@ -1,4 +1,4 @@
-Upstream-Status: Inactive-Upstream [last commits over a decade ago]
+Upstream-Status: Pending
 
 From 14734a93bd3fc323325459e24b04795422e395e6 Mon Sep 17 00:00:00 2001
 From: Laurentiu Palcu <[email protected]>
meta/recipes-graphics/xinput-calibrator/xinput-calibrator_0.8.0.bb renamed from meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb +3 -7
similarity index 78%
rename from meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb
rename to meta/recipes-graphics/xinput-calibrator/xinput-calibrator_0.8.0.bb
index 0516928a76b..c37b36897b6 100644
@@ -4,22 +4,18 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://src/calibrator.cpp;endline=22;md5=1bcba08f67cdb56f34021557898e4b5a"
 DEPENDS = "virtual/libx11 libxi libxrandr"
 
-PV = "0.7.5+git"
-
 inherit autotools pkgconfig features_check
-# depends on virtual/libx11
 REQUIRED_DISTRO_FEATURES = "x11"
 
-SRCREV = "18ec53f1cada39f905614ebfaffed5c7754ecf46"
-SRC_URI = "git://github.com/kreijack/xinput_calibrator.git;branch=libinput;protocol=https \
+SRCREV = "970b574b8f7b0d6f2613d343191f47814f2dfaa4"
+
+SRC_URI = "git://gitlab.freedesktop.org/xorg/app/xinput-calibrator;protocol=https;branch=master;tag=v${PV} \
            file://30xinput_calibrate.sh \
            file://Allow-xinput_calibrator_pointercal.sh-to-be-run-as-n.patch \
-           file://0001-calibrator.hh-Include-string-to-get-std-string.patch \
            "
 
 S = "${WORKDIR}/git"
 
-# force native X11 ui as we don't have gtk+ in DEPENDS
 EXTRA_OECONF += "--with-gui=x11"
 
 do_install:append() {
Signature · 1 line
2.43.0