sys-fs/davl: bump to EAPI 6, add maintainer-needed
authorAustin English <wizardedit@gentoo.org>
Thu, 7 Jul 2016 19:26:34 +0000 (14:26 -0500)
committerAustin English <wizardedit@gentoo.org>
Thu, 7 Jul 2016 19:47:00 +0000 (14:47 -0500)
Package-Manager: portage-2.2.28

sys-fs/davl/davl-1.2.4-r2.ebuild [new file with mode: 0644]
sys-fs/davl/files/davl-1.2.1-asneeded.patch
sys-fs/davl/files/davl-1.2.4-fragment.patch
sys-fs/davl/metadata.xml

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 (file)
index 0000000..75b61c7
--- /dev/null
@@ -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
+}
index e7c1c925bbacf1c84af5f2183f1872667c91b2f1..819d16d09e7531c36f41c4ea92486ece0db7121d 100644 (file)
@@ -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)
  
index 2b5e9338700c0df2b360f1915f832223d1aea6f3..a6b2e40b240af11c0dbbab47d8d97aaab0bb18f8 100644 (file)
@@ -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));
index dfefefa4ac0826ef15de6aa94bca957216872594..6b0782c2e5c40772c3d22f86868c4246c9fdb30a 100644 (file)
@@ -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>