commit: 88a947e2209e20cc3dace936f42093d9e660f0bb Author: Austin English <wizardedit <AT> gentoo <DOT> org> AuthorDate: Thu Jul 7 19:26:34 2016 +0000 Commit: Austin English <wizardedit <AT> gentoo <DOT> org> CommitDate: Thu Jul 7 19:47:00 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88a947e2
sys-fs/davl: bump to EAPI 6, add maintainer-needed Package-Manager: portage-2.2.28 sys-fs/davl/davl-1.2.4-r2.ebuild | 35 +++++++++++++++++++++++++++++ sys-fs/davl/files/davl-1.2.1-asneeded.patch | 8 +++---- sys-fs/davl/files/davl-1.2.4-fragment.patch | 4 ++-- sys-fs/davl/metadata.xml | 1 + 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 0000000..75b61c7 --- /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 e7c1c92..819d16d 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 2b5e933..a6b2e40 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 dfefefa..6b0782c 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>