f2fs-tools: Update to Version 1.04
PATCH 1/1 f2fs-tools: Update to Version 1.04
Signed-off-by Sven Ebenfeld <[email protected]>
--- .../recipes-utils/f2fs-tools/f2fs-tools_1.4.0.bb | 17 ++++++++++++ ...emove-AC_CHECK_FILE-for-cross-compilation.patch | 32 ++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 meta-filesystems/recipes-utils/f2fs-tools/f2fs-tools_1.4.0.bb create mode 100644 meta-filesystems/recipes-utils/f2fs-tools/files/0001-Remove-AC_CHECK_FILE-for-cross-compilation.patch
meta-filesystems/recipes-utils/f2fs-tools/f2fs-tools_1.4.0.bb new file +17 -0
@@ -0,0 +1,17 @@ +SUMMARY = "Tools for Flash-Friendly File System (F2FS)" +HOMEPAGE = "http://sourceforge.net/projects/f2fs-tools/" + +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=362b4b2594cd362b874a97718faa51d3" + +# to provide libuuid +DEPENDS = "util-linux" + +SRCREV = "baac4b4e6f41ceb02511da49dd3707674f3fea21" +SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git \ + file://0001-Remove-AC_CHECK_FILE-for-cross-compilation.patch" +S = "${WORKDIR}/git" + +inherit pkgconfig autotools + +BBCLASSEXTEND = "native"
meta-filesystems/recipes-utils/f2fs-tools/files/0001-Remove-AC_CHECK_FILE-for-cross-compilation.patch new file +32 -0
@@ -0,0 +1,32 @@ +From 3b3c6e6376babcd9a0b0db312b0e1e3bb3ab833e Mon Sep 17 00:00:00 2001 +From: Sven Ebenfeld <[email protected]> +Date: Wed, 26 Nov 2014 10:36:44 +0100 +Subject: [PATCH] Remove AC_CHECK_FILE for cross compilation + +--- + configure.ac | 7 +------ + 1 file changed, 1 insertion(+), 6 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 0111e72..8c286d4 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -20,14 +20,9 @@ AC_DEFINE([F2FS_MINOR_VERSION], m4_bpatsubst(f2fs_tools_version, + [\([0-9]*\).\([0-9]*\)\(\w\|\W\)*], [\2]), + [Minor version for f2fs-tools]) + +-AC_CHECK_FILE(.git, +- AC_DEFINE([F2FS_TOOLS_DATE], +- "m4_bpatsubst(f2fs_tools_gitdate, +- [\([0-9-]*\)\(\w\|\W\)*], [\1])", +- [f2fs-tools date based on Git commits]), + AC_DEFINE([F2FS_TOOLS_DATE], + "f2fs_tools_date", +- [f2fs-tools date based on Source releases])) ++ [f2fs-tools date based on Source releases]) + + AC_CONFIG_SRCDIR([config.h.in]) + AC_CONFIG_HEADER([config.h]) +-- +1.8.1.rc3 +
Signature · 1 line
1.8.1.rc3
Quoted 2 lines · Sven Ebenfeld
Signed-off-by Sven Ebenfeld <[email protected]>---
The subject says 1.04 and recipe 1.4.0.
Also next time remove old version (1.1.0).
And use f2fs-tools instead of "files" directory for slightly faster lookup.
I've updated all 3 when cherry-picking to master-next.
Quoted 75 lines
.../recipes-utils/f2fs-tools/f2fs-tools_1.4.0.bb | 17 ++++++++++++ ...emove-AC_CHECK_FILE-for-cross-compilation.patch | 32 ++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 meta-filesystems/recipes-utils/f2fs-tools/f2fs-tools_1.4.0.bb create mode 100644 meta-filesystems/recipes-utils/f2fs-tools/files/0001-Remove-AC_CHECK_FILE-for-cross-compilation.patchmeta-filesystems/recipes-utils/f2fs-tools/f2fs-tools_1.4.0.bb new file +17
-0@@ -0,0 +1,17 @@ +SUMMARY = "Tools for Flash-Friendly File System (F2FS)" +HOMEPAGE = "http://sourceforge.net/projects/f2fs-tools/" + +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=362b4b2594cd362b874a97718faa51d3" + +# to provide libuuid +DEPENDS = "util-linux" + +SRCREV = "baac4b4e6f41ceb02511da49dd3707674f3fea21" +SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git \ + file://0001-Remove-AC_CHECK_FILE-for-cross-compilation.patch" +S = "${WORKDIR}/git" + +inherit pkgconfig autotools + +BBCLASSEXTEND = "native"meta-filesystems/recipes-utils/f2fs-tools/files/0001-Remove-AC_CHECK_FILE-for-cross-compilation.patch new file +32
-0@@ -0,0 +1,32 @@ +From 3b3c6e6376babcd9a0b0db312b0e1e3bb3ab833e Mon Sep 17 00:00:00 2001 +From: Sven Ebenfeld <[email protected]> +Date: Wed, 26 Nov 2014 10:36:44 +0100 +Subject: [PATCH] Remove AC_CHECK_FILE for cross compilation + +--- + configure.ac | 7 +------ + 1 file changed, 1 insertion(+), 6 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 0111e72..8c286d4 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -20,14 +20,9 @@ AC_DEFINE([F2FS_MINOR_VERSION], m4_bpatsubst(f2fs_tools_version, + [\([0-9]*\).\([0-9]*\)\(\w\|\W\)*], [\2]), + [Minor version for f2fs-tools]) + +-AC_CHECK_FILE(.git, +- AC_DEFINE([F2FS_TOOLS_DATE], +- "m4_bpatsubst(f2fs_tools_gitdate, +- [\([0-9-]*\)\(\w\|\W\)*], [\1])", +- [f2fs-tools date based on Git commits]), + AC_DEFINE([F2FS_TOOLS_DATE], + "f2fs_tools_date", +- [f2fs-tools date based on Source releases])) ++ [f2fs-tools date based on Source releases]) + + AC_CONFIG_SRCDIR([config.h.in]) + AC_CONFIG_HEADER([config.h]) +-- +1.8.1.rc3 +Signature · 7 lines
1.8.1.rc3 -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Am 03.12.2014 um 19:06 schrieb Martin Jansa:
Quoted 7 lines · Sven Ebenfeld
Quoted 2 lines
Signed-off-by Sven Ebenfeld <[email protected]>---
The subject says 1.04 and recipe 1.4.0.
Also next time remove old version (1.1.0).
I were not really sure what is "best practice". Next time, I will remove the old version as well.
Quoted 5 lines
And use f2fs-tools instead of "files" directory for slightly faster lookup.
I've updated all 3 when cherry-picking to master-next.
Thanks for updating! I will use this feedback for my future patches.