Gentoo Archives: gentoo-commits

From: "Daniel Black (dragonheart)" <dragonheart@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-admin/testdisk: testdisk-6.8-r1.ebuild ChangeLog testdisk-6.5.ebuild testdisk-6.9.ebuild testdisk-6.8.ebuild testdisk-6.6.ebuild testdisk-6.7-r1.ebuild
Date: Tue, 01 Apr 2008 23:54:28
Message-Id: E1JgqJ7-0002LN-Pf@stork.gentoo.org
1 dragonheart 08/04/01 23:54:25
2
3 Modified: testdisk-6.8-r1.ebuild ChangeLog
4 testdisk-6.5.ebuild
5 Added: testdisk-6.9.ebuild
6 Removed: testdisk-6.8.ebuild testdisk-6.6.ebuild
7 testdisk-6.7-r1.ebuild
8 Log:
9 fixed compile of 6.8 with USE=-jpeg as per bug #201710 thanks to Florian Philipp for the bug report and Christophe GRENIER for the fix. Version bump to 6.9 as per bug #212094. + QA fixes
10 (Portage version: 2.1.4.4)
11
12 Revision Changes Path
13 1.3 app-admin/testdisk/testdisk-6.8-r1.ebuild
14
15 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/testdisk/testdisk-6.8-r1.ebuild?rev=1.3&view=markup
16 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/testdisk/testdisk-6.8-r1.ebuild?rev=1.3&content-type=text/plain
17 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/testdisk/testdisk-6.8-r1.ebuild?r1=1.2&r2=1.3
18
19 Index: testdisk-6.8-r1.ebuild
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/app-admin/testdisk/testdisk-6.8-r1.ebuild,v
22 retrieving revision 1.2
23 retrieving revision 1.3
24 diff -u -r1.2 -r1.3
25 --- testdisk-6.8-r1.ebuild 10 Feb 2008 14:17:26 -0000 1.2
26 +++ testdisk-6.8-r1.ebuild 1 Apr 2008 23:54:25 -0000 1.3
27 @@ -1,10 +1,10 @@
28 # Copyright 1999-2008 Gentoo Foundation
29 # Distributed under the terms of the GNU General Public License v2
30 -# $Header: /var/cvsroot/gentoo-x86/app-admin/testdisk/testdisk-6.8-r1.ebuild,v 1.2 2008/02/10 14:17:26 maekke Exp $
31 +# $Header: /var/cvsroot/gentoo-x86/app-admin/testdisk/testdisk-6.8-r1.ebuild,v 1.3 2008/04/01 23:54:25 dragonheart Exp $
32
33 inherit eutils flag-o-matic
34
35 -DESCRIPTION="Multi-platform tool to check and undelete partition, supports reiserfs, ntfs, fat32, ext2/3 and many others. Also includes PhotoRec to recover pictures from digital camera memory."
36 +DESCRIPTION="Checks and undeletes partitions + PhotoRec, signature based recovery tool"
37 HOMEPAGE="http://www.cgsecurity.org/wiki/TestDisk"
38 SRC_URI="http://www.cgsecurity.org/${P}.tar.bz2"
39 LICENSE="GPL-2"
40 @@ -23,7 +23,8 @@
41 src_unpack() {
42 unpack ${A}
43
44 - epatch "${FILESDIR}"/${P}-ntfsprogs2.patch
45 + epatch "${DISTDIR}"/${P}-ntfsprogs2.patch.bz2
46 + epatch "${FILESDIR}"/${P}-jpeg.patch
47 }
48
49 src_compile() {
50
51
52
53 1.30 app-admin/testdisk/ChangeLog
54
55 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/testdisk/ChangeLog?rev=1.30&view=markup
56 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/testdisk/ChangeLog?rev=1.30&content-type=text/plain
57 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/testdisk/ChangeLog?r1=1.29&r2=1.30
58
59 Index: ChangeLog
60 ===================================================================
61 RCS file: /var/cvsroot/gentoo-x86/app-admin/testdisk/ChangeLog,v
62 retrieving revision 1.29
63 retrieving revision 1.30
64 diff -u -r1.29 -r1.30
65 --- ChangeLog 10 Feb 2008 14:17:26 -0000 1.29
66 +++ ChangeLog 1 Apr 2008 23:54:25 -0000 1.30
67 @@ -1,6 +1,16 @@
68 # ChangeLog for app-admin/testdisk
69 # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
70 -# $Header: /var/cvsroot/gentoo-x86/app-admin/testdisk/ChangeLog,v 1.29 2008/02/10 14:17:26 maekke Exp $
71 +# $Header: /var/cvsroot/gentoo-x86/app-admin/testdisk/ChangeLog,v 1.30 2008/04/01 23:54:25 dragonheart Exp $
72 +
73 +*testdisk-6.9 (01 Apr 2008)
74 +
75 + 01 Apr 2008; Daniel Black <dragonheart@g.o>
76 + +files/testdisk-6.8-jpeg.patch, -files/testdisk-6.8-ntfsprogs2.patch,
77 + testdisk-6.5.ebuild, -testdisk-6.6.ebuild, -testdisk-6.7-r1.ebuild,
78 + -testdisk-6.8.ebuild, testdisk-6.8-r1.ebuild, +testdisk-6.9.ebuild:
79 + fixed compile of 6.8 with USE=-jpeg as per bug #201710 thanks to Florian
80 + Philipp for the bug report and Christophe GRENIER for the fix. Version bump
81 + to 6.9 as per bug #212094. + QA fixes
82
83 10 Feb 2008; Markus Meier <maekke@g.o> testdisk-6.8-r1.ebuild:
84 x86 stable, bug #208918
85
86
87
88 1.5 app-admin/testdisk/testdisk-6.5.ebuild
89
90 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/testdisk/testdisk-6.5.ebuild?rev=1.5&view=markup
91 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/testdisk/testdisk-6.5.ebuild?rev=1.5&content-type=text/plain
92 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/testdisk/testdisk-6.5.ebuild?r1=1.4&r2=1.5
93
94 Index: testdisk-6.5.ebuild
95 ===================================================================
96 RCS file: /var/cvsroot/gentoo-x86/app-admin/testdisk/testdisk-6.5.ebuild,v
97 retrieving revision 1.4
98 retrieving revision 1.5
99 diff -u -r1.4 -r1.5
100 --- testdisk-6.5.ebuild 13 Jul 2007 06:07:38 -0000 1.4
101 +++ testdisk-6.5.ebuild 1 Apr 2008 23:54:25 -0000 1.5
102 @@ -1,8 +1,8 @@
103 -# Copyright 1999-2007 Gentoo Foundation
104 +# Copyright 1999-2008 Gentoo Foundation
105 # Distributed under the terms of the GNU General Public License v2
106 -# $Header: /var/cvsroot/gentoo-x86/app-admin/testdisk/testdisk-6.5.ebuild,v 1.4 2007/07/13 06:07:38 mr_bones_ Exp $
107 +# $Header: /var/cvsroot/gentoo-x86/app-admin/testdisk/testdisk-6.5.ebuild,v 1.5 2008/04/01 23:54:25 dragonheart Exp $
108
109 -DESCRIPTION="Multi-platform tool to check and undelete partition, supports reiserfs, ntfs, fat32, ext2/3 and many others. Also includes PhotoRec to recover pictures from digital camera memory."
110 +DESCRIPTION="Checks and undeletes partitions + PhotoRec, signature based recovery tool"
111 HOMEPAGE="http://www.cgsecurity.org/wiki/TestDisk"
112 SRC_URI="http://www.cgsecurity.org/${P}.tar.bz2"
113 LICENSE="GPL-2"
114 @@ -30,13 +30,13 @@
115 econf ${myconf} || die
116
117 # perform safety checks for NTFS and REISERFS
118 - if useq ntfs && egrep -q 'undef HAVE_LIBNTFS\>' ${S}/config.h ; then
119 + if useq ntfs && egrep -q 'undef HAVE_LIBNTFS\>' "${S}"/config.h ; then
120 die "Failed to find NTFS library."
121 fi
122 - if useq reiserfs && egrep -q 'undef HAVE_LIBREISERFS\>' ${S}/config.h ; then
123 + if useq reiserfs && egrep -q 'undef HAVE_LIBREISERFS\>' "${S}"/config.h ; then
124 die "Failed to find reiserfs library."
125 fi
126 - if useq jpeg && egrep -q 'undef HAVE_LIBJPEG\>' ${S}/config.h ; then
127 + if useq jpeg && egrep -q 'undef HAVE_LIBJPEG\>' "${S}"/config.h ; then
128 die "Failed to find jpeg library."
129 fi
130
131 @@ -49,5 +49,5 @@
132
133 src_install() {
134 emake DESTDIR="${D}" install || die
135 - [ "$PF" != "$P" ] && mv ${D}/usr/share/doc/${P} ${D}/usr/share/doc/${PF}
136 + [ "$PF" != "$P" ] && mv "${D}"/usr/share/doc/${P} "${D}"/usr/share/doc/${PF}
137 }
138
139
140
141 1.1 app-admin/testdisk/testdisk-6.9.ebuild
142
143 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/testdisk/testdisk-6.9.ebuild?rev=1.1&view=markup
144 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/testdisk/testdisk-6.9.ebuild?rev=1.1&content-type=text/plain
145
146 Index: testdisk-6.9.ebuild
147 ===================================================================
148 # Copyright 1999-2008 Gentoo Foundation
149 # Distributed under the terms of the GNU General Public License v2
150 # $Header: /var/cvsroot/gentoo-x86/app-admin/testdisk/testdisk-6.9.ebuild,v 1.1 2008/04/01 23:54:25 dragonheart Exp $
151
152 inherit eutils flag-o-matic
153
154 DESCRIPTION="Checks and undeletes partitions + PhotoRec, signature based recovery tool"
155 HOMEPAGE="http://www.cgsecurity.org/wiki/TestDisk"
156 SRC_URI="http://www.cgsecurity.org/${P}.tar.bz2"
157 LICENSE="GPL-2"
158 SLOT="0"
159 KEYWORDS="~amd64 ~ppc ~x86"
160 IUSE="static reiserfs ntfs jpeg"
161 # WARNING: reiserfs support does NOT work with reiserfsprogs
162 # you MUST use progsreiserfs-0.3.1_rc8 (the last version ever released).
163 DEPEND=">=sys-libs/ncurses-5.2
164 jpeg? ( media-libs/jpeg )
165 ntfs? ( >=sys-fs/ntfsprogs-2.0.0 )
166 reiserfs? ( >=sys-fs/progsreiserfs-0.3.1_rc8 )
167 >=sys-fs/e2fsprogs-1.35"
168 RDEPEND="!static? ( ${DEPEND} )"
169
170 src_compile() {
171 local myconf="--without-ewf --enable-sudo"
172 # --with-foo are broken, any use of --with/--without disable the
173 # functionality.
174 # The following variation must be used.
175 use reiserfs || myconf="${myconf} --without-reiserfs"
176 use ntfs || myconf="${myconf} --without-ntfs"
177 use jpeg || myconf="${myconf} --without-jpeg"
178
179 # this is static method is the same used by upstream for their 'static' make
180 # target, but better, as it doesn't break.
181 use static && append-ldflags -static
182
183 econf ${myconf} || die
184
185 # perform safety checks for NTFS and REISERFS
186 if useq ntfs && egrep -q 'undef HAVE_LIBNTFS\>' "${S}"/config.h ; then
187 die "Failed to find NTFS library."
188 fi
189 if useq reiserfs && egrep -q 'undef HAVE_LIBREISERFS\>' "${S}"/config.h ; then
190 die "Failed to find reiserfs library."
191 fi
192 if useq jpeg && egrep -q 'undef HAVE_LIBJPEG\>' "${S}"/config.h ; then
193 die "Failed to find jpeg library."
194 fi
195
196 emake || die
197 }
198
199 src_install() {
200 emake DESTDIR="${D}" install || die
201 [ "$PF" != "$P" ] && mv "${D}"/usr/share/doc/${P} "${D}"/usr/share/doc/${PF}
202 }
203
204
205
206 --
207 gentoo-commits@l.g.o mailing list