summaryrefslogtreecommitdiffstats
path: root/meta-filesystems
diff options
context:
space:
mode:
Diffstat (limited to 'meta-filesystems')
-rw-r--r--meta-filesystems/recipes-support/physfs/physfs/0001-allow-build-with-cmake-4.patch43
-rw-r--r--meta-filesystems/recipes-support/physfs/physfs_3.0.2.bb3
-rw-r--r--meta-filesystems/recipes-utils/e2tools/e2tools_0.1.2.bb7
-rw-r--r--meta-filesystems/recipes-utils/fatcat/fatcat/0003-allow-build-with-cmake-4.patch40
-rw-r--r--meta-filesystems/recipes-utils/fatcat/fatcat_1.1.1.bb2
-rw-r--r--meta-filesystems/recipes-utils/nilfs-utils/nilfs-utils/0001-configure.ac-Add-knob-to-define-base-sbindir.patch35
-rw-r--r--meta-filesystems/recipes-utils/nilfs-utils/nilfs-utils_v2.2.11.bb6
-rw-r--r--meta-filesystems/recipes-utils/ufs-utils/ufs-utils_7.14.11.bb (renamed from meta-filesystems/recipes-utils/ufs-utils/ufs-utils_6.14.11.bb)5
8 files changed, 133 insertions, 8 deletions
diff --git a/meta-filesystems/recipes-support/physfs/physfs/0001-allow-build-with-cmake-4.patch b/meta-filesystems/recipes-support/physfs/physfs/0001-allow-build-with-cmake-4.patch
new file mode 100644
index 0000000000..1584921e65
--- /dev/null
+++ b/meta-filesystems/recipes-support/physfs/physfs/0001-allow-build-with-cmake-4.patch
@@ -0,0 +1,43 @@
1From 09f8ca5776f5265571d95454b7307bbee56474da Mon Sep 17 00:00:00 2001
2From: Alper Ak <alperyasinak1@gmail.com>
3Date: Thu, 10 Jul 2025 13:19:24 +0300
4Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+
5 compatibility
6
7Fix:
8
9| CMake Error at CMakeLists.txt:12 (cmake_minimum_required):
10| Compatibility with CMake < 3.5 has been removed from CMake.
11|
12| Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
13| to tell CMake that the project requires at least <min> but has been updated
14| to work with policies introduced by <max> or earlier.
15|
16| Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
17|
18|
19| -- Configuring incomplete, errors occurred!
20
21Upstream-Status: Backport [https://github.com/icculus/physfs/commit/f7d24ce8486d9229207cca1ff98858fe60ffe583]
22
23Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
24---
25 CMakeLists.txt | 2 +-
26 1 file changed, 1 insertion(+), 1 deletion(-)
27
28diff --git a/CMakeLists.txt b/CMakeLists.txt
29index 4a67c27..f0f0183 100644
30--- a/CMakeLists.txt
31+++ b/CMakeLists.txt
32@@ -9,7 +9,7 @@
33 # compile, using preprocessor checks for platform-specific bits instead of
34 # testing in here.
35
36-cmake_minimum_required(VERSION 2.8.4)
37+cmake_minimum_required(VERSION 3.5)
38
39 project(PhysicsFS)
40 set(PHYSFS_VERSION 3.0.2)
41--
422.43.0
43
diff --git a/meta-filesystems/recipes-support/physfs/physfs_3.0.2.bb b/meta-filesystems/recipes-support/physfs/physfs_3.0.2.bb
index 57cfdcdf82..2571d3f6a0 100644
--- a/meta-filesystems/recipes-support/physfs/physfs_3.0.2.bb
+++ b/meta-filesystems/recipes-support/physfs/physfs_3.0.2.bb
@@ -8,7 +8,8 @@ inherit cmake
8 8
9PE = "1" 9PE = "1"
10 10
11SRC_URI = "http://icculus.org/${BPN}/downloads/${BP}.tar.bz2" 11SRC_URI = "http://icculus.org/${BPN}/downloads/${BP}.tar.bz2 \
12 file://0001-allow-build-with-cmake-4.patch"
12SRC_URI[md5sum] = "dc751294aaf59d1359bbe34e693d1d87" 13SRC_URI[md5sum] = "dc751294aaf59d1359bbe34e693d1d87"
13SRC_URI[sha256sum] = "304df76206d633df5360e738b138c94e82ccf086e50ba84f456d3f8432f9f863" 14SRC_URI[sha256sum] = "304df76206d633df5360e738b138c94e82ccf086e50ba84f456d3f8432f9f863"
14 15
diff --git a/meta-filesystems/recipes-utils/e2tools/e2tools_0.1.2.bb b/meta-filesystems/recipes-utils/e2tools/e2tools_0.1.2.bb
index a60fbec821..38fa8b439e 100644
--- a/meta-filesystems/recipes-utils/e2tools/e2tools_0.1.2.bb
+++ b/meta-filesystems/recipes-utils/e2tools/e2tools_0.1.2.bb
@@ -35,10 +35,11 @@ do_install_ptest() {
35 cp -r ../build "${D}${PTEST_PATH}" 35 cp -r ../build "${D}${PTEST_PATH}"
36 cp -r "${S}/build-aux" "${D}${PTEST_PATH}/build" 36 cp -r "${S}/build-aux" "${D}${PTEST_PATH}/build"
37 cp -r "${S}" "${D}${PTEST_PATH}" 37 cp -r "${S}" "${D}${PTEST_PATH}"
38 rm -rf ${D}${PTEST_PATH}/build/config.log ${D}${PTEST_PATH}/build/autom4te.cache \ 38 rm -rf ${D}${PTEST_PATH}/build/config.log \
39 ${D}${PTEST_PATH}/git/.git ${D}${PTEST_PATH}/git/autom4te.cache 39 ${D}${PTEST_PATH}/build/autom4te.cache \
40 ${D}${PTEST_PATH}/*/.git ${D}${PTEST_PATH}/*/.github \
41 ${D}${PTEST_PATH}/*/autom4te.cache
40 sed -i -e 's;${TMPDIR};;g' ${D}${PTEST_PATH}/build/config.status 42 sed -i -e 's;${TMPDIR};;g' ${D}${PTEST_PATH}/build/config.status
41 sed -i -e 's;${STAGING_DIR_NATIVE};;g' ${D}${PTEST_PATH}/${BP}/autom4te.cache/*
42} 43}
43 44
44RDEPENDS:${PN}-ptest += "bash coreutils e2fsprogs e2tools gawk make perl" 45RDEPENDS:${PN}-ptest += "bash coreutils e2fsprogs e2tools gawk make perl"
diff --git a/meta-filesystems/recipes-utils/fatcat/fatcat/0003-allow-build-with-cmake-4.patch b/meta-filesystems/recipes-utils/fatcat/fatcat/0003-allow-build-with-cmake-4.patch
new file mode 100644
index 0000000000..1baa9c7e87
--- /dev/null
+++ b/meta-filesystems/recipes-utils/fatcat/fatcat/0003-allow-build-with-cmake-4.patch
@@ -0,0 +1,40 @@
1From a2a3d85d44fc27edfee5c4d9667b2c315dfacd23 Mon Sep 17 00:00:00 2001
2From: Alper Ak <alperyasinak1@gmail.com>
3Date: Wed, 9 Jul 2025 19:38:06 +0300
4Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+
5 compatibility
6
7Fix:
8
9| CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
10| Compatibility with CMake < 3.5 has been removed from CMake.
11|
12| Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
13| to tell CMake that the project requires at least <min> but has been updated
14| to work with policies introduced by <max> or earlier.
15|
16| Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
17|
18|
19| -- Configuring incomplete, errors occurred!
20
21Upstream-Status: Submitted [https://github.com/Gregwar/fatcat/pull/46]
22
23Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
24---
25 CMakeLists.txt | 2 +-
26 1 file changed, 1 insertion(+), 1 deletion(-)
27
28diff --git a/CMakeLists.txt b/CMakeLists.txt
29index d6a2649..8f3eadc 100644
30--- a/CMakeLists.txt
31+++ b/CMakeLists.txt
32@@ -1,4 +1,4 @@
33-cmake_minimum_required(VERSION 2.8)
34+cmake_minimum_required(VERSION 3.5)
35 project(fatcat)
36
37 OPTION(DEFINE_WIN "Compiling windows" OFF)
38--
392.43.0
40
diff --git a/meta-filesystems/recipes-utils/fatcat/fatcat_1.1.1.bb b/meta-filesystems/recipes-utils/fatcat/fatcat_1.1.1.bb
index bdde0d311a..876e8618eb 100644
--- a/meta-filesystems/recipes-utils/fatcat/fatcat_1.1.1.bb
+++ b/meta-filesystems/recipes-utils/fatcat/fatcat_1.1.1.bb
@@ -11,9 +11,9 @@ SRC_URI = "git://github.com/Gregwar/fatcat.git;branch=master;protocol=https \
11 file://0001-Use-unistd.h-not-argp.h-for-all-POSIX-systems.patch \ 11 file://0001-Use-unistd.h-not-argp.h-for-all-POSIX-systems.patch \
12 file://0002-Enable-64bit-off_t.patch \ 12 file://0002-Enable-64bit-off_t.patch \
13 file://0001-Replace-std-ptr_fun-for-c-17.patch \ 13 file://0001-Replace-std-ptr_fun-for-c-17.patch \
14 file://0003-allow-build-with-cmake-4.patch \
14 " 15 "
15 16
16SRCREV = "99cb99fc86eb1601ac7ae27f5bba23add04d2543" 17SRCREV = "99cb99fc86eb1601ac7ae27f5bba23add04d2543"
17 18
18
19inherit cmake 19inherit cmake
diff --git a/meta-filesystems/recipes-utils/nilfs-utils/nilfs-utils/0001-configure.ac-Add-knob-to-define-base-sbindir.patch b/meta-filesystems/recipes-utils/nilfs-utils/nilfs-utils/0001-configure.ac-Add-knob-to-define-base-sbindir.patch
new file mode 100644
index 0000000000..e53d2bdc8b
--- /dev/null
+++ b/meta-filesystems/recipes-utils/nilfs-utils/nilfs-utils/0001-configure.ac-Add-knob-to-define-base-sbindir.patch
@@ -0,0 +1,35 @@
1From 1b8f420ec8852355580dd925c0316798d4fa7449 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 3 Jul 2025 19:32:12 -0700
4Subject: [PATCH] configure.ac: Add knob to define base sbindir
5
6This helps when distros use converged directories with usrmerge
7set --with-base-sbindir=DIR accordingly so it respects the
8distro policy
9
10Upstream-Status: Pending
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13 configure.ac | 9 ++++++++-
14 1 file changed, 8 insertions(+), 1 deletion(-)
15
16diff --git a/configure.ac b/configure.ac
17index 9a2f5ff..ce2c853 100644
18--- a/configure.ac
19+++ b/configure.ac
20@@ -186,7 +186,14 @@ AC_SYS_LARGEFILE
21 AC_PREFIX_DEFAULT([/usr])
22 test "x$prefix" = "xNONE" && prefix="/usr"
23 test "x$exec_prefix" = "xNONE" && exec_prefix="${prefix}"
24-AC_SUBST([root_sbindir], [/sbin])
25+
26+AC_ARG_WITH([base-sbindir],
27+ [AS_HELP_STRING([--with-base-sbindir=DIR],
28+ [specify root system binary directory @<:@default=/sbin@:>@])],
29+ [root_sbindir="$withval"],
30+ [root_sbindir="/sbin"])
31+
32+AC_SUBST([root_sbindir])
33 AC_SUBST([sbindir], [${exec_prefix}/sbin])
34 AC_SUBST([sysconfdir], [/etc])
35 AC_SUBST([localstatedir], [/var])
diff --git a/meta-filesystems/recipes-utils/nilfs-utils/nilfs-utils_v2.2.11.bb b/meta-filesystems/recipes-utils/nilfs-utils/nilfs-utils_v2.2.11.bb
index 507684a395..a09f01282f 100644
--- a/meta-filesystems/recipes-utils/nilfs-utils/nilfs-utils_v2.2.11.bb
+++ b/meta-filesystems/recipes-utils/nilfs-utils/nilfs-utils_v2.2.11.bb
@@ -3,10 +3,14 @@ HOMEPAGE = "https://nilfs.sourceforge.io/"
3 3
4LICENSE = "GPL-2.0-only & LGPL-2.1-only" 4LICENSE = "GPL-2.0-only & LGPL-2.1-only"
5LIC_FILES_CHKSUM = "file://COPYING;md5=385034ac639a62b8415db9814582ee98" 5LIC_FILES_CHKSUM = "file://COPYING;md5=385034ac639a62b8415db9814582ee98"
6SRC_URI = "git://github.com/nilfs-dev/nilfs-utils.git;protocol=https;branch=v2.2.y;tag=${PV}" 6SRC_URI = "git://github.com/nilfs-dev/nilfs-utils.git;protocol=https;branch=v2.2.y;tag=${PV} \
7 file://0001-configure.ac-Add-knob-to-define-base-sbindir.patch"
7 8
8SRCREV = "507064bb3604d0fd88f5e3f6422d9ade73a26120" 9SRCREV = "507064bb3604d0fd88f5e3f6422d9ade73a26120"
9 10
10DEPENDS = "util-linux util-linux-libuuid" 11DEPENDS = "util-linux util-linux-libuuid"
11 12
12inherit autotools 13inherit autotools
14
15# make install is trying to run ldconfig, not suitable for cross builds
16EXTRA_OECONF += "LDCONFIG=true --with-base-sbindir=${base_sbindir}"
diff --git a/meta-filesystems/recipes-utils/ufs-utils/ufs-utils_6.14.11.bb b/meta-filesystems/recipes-utils/ufs-utils/ufs-utils_7.14.11.bb
index a22e54e24c..50b6b5a16c 100644
--- a/meta-filesystems/recipes-utils/ufs-utils/ufs-utils_6.14.11.bb
+++ b/meta-filesystems/recipes-utils/ufs-utils/ufs-utils_7.14.11.bb
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
4 4
5BRANCH ?= "dev" 5BRANCH ?= "dev"
6 6
7SRCREV = "5539a8ad8e1a9b7ea8b62213ed72eb939c5381b7" 7SRCREV = "92c8e4d732c34f8d0754d0e076879ca7008bace4"
8 8
9SRC_URI = "git://github.com/westerndigitalcorporation/ufs-utils.git;protocol=https;branch=${BRANCH} \ 9SRC_URI = "git://github.com/westerndigitalcorporation/ufs-utils.git;protocol=https;branch=${BRANCH} \
10 " 10 "
@@ -14,7 +14,8 @@ UPSTREAM_CHECK_COMMITS = "1"
14 14
15EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} CC="${CC}" CFLAGS="${CFLAGS}"" 15EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} CC="${CC}" CFLAGS="${CFLAGS}""
16 16
17CFLAGS:append:mipsarchn64 = " -D__SANE_USERSPACE_TYPES__ -D_GNU_SOURCE" 17CFLAGS:append = " -D_GNU_SOURCE"
18CFLAGS:append:mipsarchn64 = " -D__SANE_USERSPACE_TYPES__"
18 19
19do_configure() { 20do_configure() {
20 sed -i -e "s|-static$||g" ${S}/Makefile 21 sed -i -e "s|-static$||g" ${S}/Makefile