Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 458872 - sys-fs/f2fs-tools - Userland tools for the f2fs filesystem
Summary: sys-fs/f2fs-tools - Userland tools for the f2fs filesystem
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL: http://git.kernel.org/?p=linux/kernel...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-23 16:47 UTC by Marcin Sporysz
Modified: 2013-04-02 11:23 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Sporysz 2013-02-23 16:47:50 UTC
F2FS Tool is are of tools for managing "Flash Friendly File System" aka F2FS. File system made its first appearance in linux-3.8 and its dedicated for flash based storage like media cards, SSDs etc.
Comment 1 Marcin Sporysz 2013-02-23 16:48:59 UTC
sources can be found at http://git.kernel.org/?p=linux/kernel/git/jaegeuk/f2fs-tools.git;a=summary
Comment 2 Anthony Basile gentoo-dev 2013-02-24 17:52:25 UTC
Okay guys, I was in the middle of writing an ebuild when I thought, I bet someone else has done this.

I'll maintain it.
Comment 3 Anthony Basile gentoo-dev 2013-02-24 18:25:20 UTC
I saw some ebuilds around on overlays, but this package is so raw that upstream's build system is still very unstable.  Since the sourceforge page isn't pushing out tarballs, I'm building tarballs using `make distcheck` and distributing them through my devspace:

    http://dev.gentoo.org/~blueness/f2fs-tools/

Here's the patch against v1.1.0 to make it cleanly build:


diff --git a/Makefile.am b/Makefile.am
index 88f9f6a..5a64ee3 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,3 +3,5 @@
 ACLOCAL_AMFLAGS = -I m4
 
 SUBDIRS = man mkfs
+
+EXTRA_DIST = version.h
diff --git a/configure.ac b/configure.ac
index dfcfc98..bb77e75 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,7 +2,7 @@
 # Process this file with autoconf to produce a configure script.
 
 AC_PREREQ([2.68])
-AC_INIT([F2FS tools], [1.0.0], [http://sourceforge.net/projects/f2fs-tools/])
+AC_INIT([F2FS tools], [1.1.0], [http://sourceforge.net/projects/f2fs-tools/])
 AM_INIT_AUTOMAKE
 AC_CONFIG_SRCDIR([mkfs/f2fs_format.c])
 AC_CHECK_HEADERS_ONCE(m4_flatten([
diff --git a/mkfs/Makefile.am b/mkfs/Makefile.am
index b5a6cd2..b47c4a4 100644
--- a/mkfs/Makefile.am
+++ b/mkfs/Makefile.am
@@ -1,6 +1,7 @@
 ## Makefile.am
 
+AM_CPPFLAGS = -I$(top_srcdir)
 AM_CFLAGS = -Wall
 LDADD = -luuid
-bin_PROGRAMS = mkfs.f2fs
+sbin_PROGRAMS = mkfs.f2fs
 mkfs_f2fs_SOURCES = f2fs_format.c f2fs_format.h
diff --git a/mkfs/f2fs_format.c b/mkfs/f2fs_format.c
index 22c8380..5b51309 100644
--- a/mkfs/f2fs_format.c
+++ b/mkfs/f2fs_format.c
@@ -28,7 +28,7 @@
 #include <uuid/uuid.h>
 
 #include "f2fs_format.h"
-#include "../version.h"
+#include "version.h"
 
 struct f2fs_global_parameters f2fs_params;
 struct f2fs_super_block super_block;