1 |
commit: 88a947e2209e20cc3dace936f42093d9e660f0bb |
2 |
Author: Austin English <wizardedit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jul 7 19:26:34 2016 +0000 |
4 |
Commit: Austin English <wizardedit <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 7 19:47:00 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88a947e2 |
7 |
|
8 |
sys-fs/davl: bump to EAPI 6, add maintainer-needed |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
|
12 |
sys-fs/davl/davl-1.2.4-r2.ebuild | 35 +++++++++++++++++++++++++++++ |
13 |
sys-fs/davl/files/davl-1.2.1-asneeded.patch | 8 +++---- |
14 |
sys-fs/davl/files/davl-1.2.4-fragment.patch | 4 ++-- |
15 |
sys-fs/davl/metadata.xml | 1 + |
16 |
4 files changed, 42 insertions(+), 6 deletions(-) |
17 |
|
18 |
diff --git a/sys-fs/davl/davl-1.2.4-r2.ebuild b/sys-fs/davl/davl-1.2.4-r2.ebuild |
19 |
new file mode 100644 |
20 |
index 0000000..75b61c7 |
21 |
--- /dev/null |
22 |
+++ b/sys-fs/davl/davl-1.2.4-r2.ebuild |
23 |
@@ -0,0 +1,35 @@ |
24 |
+# Copyright 1999-2016 Gentoo Foundation |
25 |
+# Distributed under the terms of the GNU General Public License v2 |
26 |
+# $Id$ |
27 |
+ |
28 |
+EAPI=6 |
29 |
+inherit toolchain-funcs |
30 |
+ |
31 |
+DESCRIPTION="Visualizes the fragmentation status of ext2/3 filesystems" |
32 |
+HOMEPAGE="http://davl.sourceforge.net/" |
33 |
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" |
34 |
+ |
35 |
+LICENSE="GPL-2" |
36 |
+SLOT="0" |
37 |
+KEYWORDS="~amd64 ~x86" |
38 |
+IUSE="" |
39 |
+ |
40 |
+RDEPEND=">=x11-libs/gtk+-2.6:2" |
41 |
+DEPEND="${RDEPEND} |
42 |
+ >=sys-fs/e2fsprogs-1.41.7-r1 |
43 |
+ virtual/pkgconfig" |
44 |
+ |
45 |
+PATCHES=( |
46 |
+ "${FILESDIR}"/${PN}-1.2.1-asneeded.patch |
47 |
+ "${FILESDIR}"/${P}-fragment.patch |
48 |
+) |
49 |
+ |
50 |
+src_compile() { |
51 |
+ emake CC="$(tc-getCC)" |
52 |
+} |
53 |
+ |
54 |
+src_install() { |
55 |
+ dobin src/{cdavl/cdavl,gdavl/gdavl} |
56 |
+ dodoc README |
57 |
+ doman doc/*.8 |
58 |
+} |
59 |
|
60 |
diff --git a/sys-fs/davl/files/davl-1.2.1-asneeded.patch b/sys-fs/davl/files/davl-1.2.1-asneeded.patch |
61 |
index e7c1c92..819d16d 100644 |
62 |
--- a/sys-fs/davl/files/davl-1.2.1-asneeded.patch |
63 |
+++ b/sys-fs/davl/files/davl-1.2.1-asneeded.patch |
64 |
@@ -1,5 +1,5 @@ |
65 |
---- src/cdavl/Makefile |
66 |
-+++ src/cdavl/Makefile |
67 |
+--- a/src/cdavl/Makefile |
68 |
++++ b/src/cdavl/Makefile |
69 |
@@ -4,10 +4,6 @@ |
70 |
include $(PATH_LIST) |
71 |
|
72 |
@@ -11,8 +11,8 @@ |
73 |
HEADERS = cdavl.h ../common/util.h ../drv/liveinfo_app.h |
74 |
OBJS = ../common/util.o |
75 |
CDAVL = cdavl |
76 |
---- src/gdavl/Makefile |
77 |
-+++ src/gdavl/Makefile |
78 |
+--- a/src/gdavl/Makefile |
79 |
++++ b/src/gdavl/Makefile |
80 |
@@ -4,22 +4,14 @@ |
81 |
include $(PATH_LIST) |
82 |
|
83 |
|
84 |
diff --git a/sys-fs/davl/files/davl-1.2.4-fragment.patch b/sys-fs/davl/files/davl-1.2.4-fragment.patch |
85 |
index 2b5e933..a6b2e40 100644 |
86 |
--- a/sys-fs/davl/files/davl-1.2.4-fragment.patch |
87 |
+++ b/sys-fs/davl/files/davl-1.2.4-fragment.patch |
88 |
@@ -3,8 +3,8 @@ cdavl.c:105:53: error: ‘struct ext2_super_block’ has no member named ‘s_fr |
89 |
|
90 |
http://bugs.gentoo.org/425820 |
91 |
|
92 |
---- src/cdavl/cdavl.c |
93 |
-+++ src/cdavl/cdavl.c |
94 |
+--- a/src/cdavl/cdavl.c |
95 |
++++ b/src/cdavl/cdavl.c |
96 |
@@ -98,9 +98,11 @@ |
97 |
PRINT4("s_free_inodes_count: ", le32_to_cpu(sb->s_free_inodes_count)); |
98 |
PRINT4("s_first_data_block: ", le32_to_cpu(sb->s_first_data_block)); |
99 |
|
100 |
diff --git a/sys-fs/davl/metadata.xml b/sys-fs/davl/metadata.xml |
101 |
index dfefefa..6b0782c 100644 |
102 |
--- a/sys-fs/davl/metadata.xml |
103 |
+++ b/sys-fs/davl/metadata.xml |
104 |
@@ -1,6 +1,7 @@ |
105 |
<?xml version="1.0" encoding="UTF-8"?> |
106 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
107 |
<pkgmetadata> |
108 |
+ <!-- maintainer-needed --> |
109 |
<upstream> |
110 |
<remote-id type="sourceforge">davl</remote-id> |
111 |
</upstream> |