summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/davl/davl-1.2.4-r2.ebuild35
-rw-r--r--sys-fs/davl/files/davl-1.2.1-asneeded.patch8
-rw-r--r--sys-fs/davl/files/davl-1.2.4-fragment.patch4
-rw-r--r--sys-fs/davl/metadata.xml1
4 files changed, 42 insertions, 6 deletions
diff --git a/sys-fs/davl/davl-1.2.4-r2.ebuild b/sys-fs/davl/davl-1.2.4-r2.ebuild
new file mode 100644
index 000000000000..75b61c72361c
--- /dev/null
+++ b/sys-fs/davl/davl-1.2.4-r2.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit toolchain-funcs
+
+DESCRIPTION="Visualizes the fragmentation status of ext2/3 filesystems"
+HOMEPAGE="http://davl.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=x11-libs/gtk+-2.6:2"
+DEPEND="${RDEPEND}
+ >=sys-fs/e2fsprogs-1.41.7-r1
+ virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.2.1-asneeded.patch
+ "${FILESDIR}"/${P}-fragment.patch
+)
+
+src_compile() {
+ emake CC="$(tc-getCC)"
+}
+
+src_install() {
+ dobin src/{cdavl/cdavl,gdavl/gdavl}
+ dodoc README
+ doman doc/*.8
+}
diff --git a/sys-fs/davl/files/davl-1.2.1-asneeded.patch b/sys-fs/davl/files/davl-1.2.1-asneeded.patch
index e7c1c925bbac..819d16d09e75 100644
--- a/sys-fs/davl/files/davl-1.2.1-asneeded.patch
+++ b/sys-fs/davl/files/davl-1.2.1-asneeded.patch
@@ -1,5 +1,5 @@
---- src/cdavl/Makefile
-+++ src/cdavl/Makefile
+--- a/src/cdavl/Makefile
++++ b/src/cdavl/Makefile
@@ -4,10 +4,6 @@
include $(PATH_LIST)
@@ -11,8 +11,8 @@
HEADERS = cdavl.h ../common/util.h ../drv/liveinfo_app.h
OBJS = ../common/util.o
CDAVL = cdavl
---- src/gdavl/Makefile
-+++ src/gdavl/Makefile
+--- a/src/gdavl/Makefile
++++ b/src/gdavl/Makefile
@@ -4,22 +4,14 @@
include $(PATH_LIST)
diff --git a/sys-fs/davl/files/davl-1.2.4-fragment.patch b/sys-fs/davl/files/davl-1.2.4-fragment.patch
index 2b5e9338700c..a6b2e40b240a 100644
--- a/sys-fs/davl/files/davl-1.2.4-fragment.patch
+++ b/sys-fs/davl/files/davl-1.2.4-fragment.patch
@@ -3,8 +3,8 @@ cdavl.c:105:53: error: ‘struct ext2_super_block’ has no member named ‘s_fr
http://bugs.gentoo.org/425820
---- src/cdavl/cdavl.c
-+++ src/cdavl/cdavl.c
+--- a/src/cdavl/cdavl.c
++++ b/src/cdavl/cdavl.c
@@ -98,9 +98,11 @@
PRINT4("s_free_inodes_count: ", le32_to_cpu(sb->s_free_inodes_count));
PRINT4("s_first_data_block: ", le32_to_cpu(sb->s_first_data_block));
diff --git a/sys-fs/davl/metadata.xml b/sys-fs/davl/metadata.xml
index dfefefa4ac08..6b0782c2e5c4 100644
--- a/sys-fs/davl/metadata.xml
+++ b/sys-fs/davl/metadata.xml
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
+ <!-- maintainer-needed -->
<upstream>
<remote-id type="sourceforge">davl</remote-id>
</upstream>