Gentoo Archives: gentoo-commits

From: "Maxim Koltsov (maksbotan)" <maksbotan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-emulation/libguestfs: libguestfs-1.16.15.ebuild libguestfs-1.17.26.ebuild ChangeLog libguestfs-1.16.11.ebuild libguestfs-1.16.12.ebuild
Date: Sun, 08 Apr 2012 18:24:32
Message-Id: 20120408182412.A9B302004B@flycatcher.gentoo.org
1 maksbotan 12/04/08 18:24:12
2
3 Modified: ChangeLog
4 Added: libguestfs-1.16.15.ebuild libguestfs-1.17.26.ebuild
5 Removed: libguestfs-1.16.11.ebuild libguestfs-1.16.12.ebuild
6 Log:
7 Cleanup old versions, bump to 1.16.15 and 1.17.26, thanks to slepnoga
8
9 (Portage version: 2.1.10.56/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.14 app-emulation/libguestfs/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/libguestfs/ChangeLog?rev=1.14&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/libguestfs/ChangeLog?rev=1.14&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/libguestfs/ChangeLog?r1=1.13&r2=1.14
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/app-emulation/libguestfs/ChangeLog,v
21 retrieving revision 1.13
22 retrieving revision 1.14
23 diff -u -r1.13 -r1.14
24 --- ChangeLog 27 Mar 2012 07:41:29 -0000 1.13
25 +++ ChangeLog 8 Apr 2012 18:24:12 -0000 1.14
26 @@ -1,6 +1,14 @@
27 # ChangeLog for app-emulation/libguestfs
28 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/libguestfs/ChangeLog,v 1.13 2012/03/27 07:41:29 maksbotan Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/libguestfs/ChangeLog,v 1.14 2012/04/08 18:24:12 maksbotan Exp $
31 +
32 +*libguestfs-1.17.26 (08 Apr 2012)
33 +*libguestfs-1.16.15 (08 Apr 2012)
34 +
35 + 08 Apr 2012; Maxim Koltsov <maksbotan@g.o> +libguestfs-1.16.15.ebuild,
36 + +libguestfs-1.17.26.ebuild, -libguestfs-1.16.11.ebuild,
37 + -libguestfs-1.16.12.ebuild:
38 + Cleanup old versions, bump to 1.16.15 and 1.17.26, thanks to slepnoga
39
40 27 Mar 2012; Maxim Koltsov <maksbotan@g.o> -libguestfs-1.17.14.ebuild,
41 -libguestfs-1.17.18.ebuild:
42
43
44
45 1.1 app-emulation/libguestfs/libguestfs-1.16.15.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/libguestfs/libguestfs-1.16.15.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/libguestfs/libguestfs-1.16.15.ebuild?rev=1.1&content-type=text/plain
49
50 Index: libguestfs-1.16.15.ebuild
51 ===================================================================
52 # Copyright 1999-2012 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/app-emulation/libguestfs/libguestfs-1.16.15.ebuild,v 1.1 2012/04/08 18:24:12 maksbotan Exp $
55
56 EAPI="4"
57
58 APLANCE_PV="1.17.14"
59 APPL_P="appliance-${APLANCE_PV}"
60
61 AUTOTOOLS_AUTORECONF=1
62 AUTOTOOLS_IN_SOURCE_BUILD=1
63
64 inherit check-reqs bash-completion-r1 autotools-utils versionator eutils \
65 multilib linux-info perl-module
66
67 MY_PV_1="$(get_version_component_range 1-2)"
68 MY_PV_2="$(get_version_component_range 2)"
69
70 [[ $(( $(get_version_component_range 2) % 2 )) -eq 0 ]] && SD="stable" || SD="development"
71
72 DESCRIPTION="Tools for accessing, inspect and modifying virtual machine (VM) disk images"
73 HOMEPAGE="http://libguestfs.org/"
74 SRC_URI="http://libguestfs.org/download/${MY_PV_1}-${SD}/${P}.tar.gz
75 http://rion-overlay.googlecode.com/files/${APPL_P}.tar.xz"
76
77 LICENSE="GPL-2 LGPL-2"
78 SLOT="0"
79 # Upstream NOT supported 32-bit version, keyword in own risk
80 KEYWORDS="~amd64"
81 IUSE="bash-completion erlang +fuse debug ocaml doc +perl nls ruby static-libs selinux systemtap introspection"
82
83 # Failires - doc
84
85 COMMON_DEPEND="
86 >=app-misc/hivex-1.3.1
87 dev-libs/libpcre
88 app-arch/cpio
89 dev-lang/perl
90 app-cdr/cdrkit
91 >=app-emulation/qemu-kvm-1.0[qemu_user_targets_x86_64,qemu_softmmu_targets_x86_64]
92 sys-apps/fakeroot
93 sys-apps/file
94 app-emulation/libvirt
95 dev-libs/libxml2:2
96 >=sys-apps/fakechroot-2.8
97 >=app-admin/augeas-0.7.1
98 sys-fs/squashfs-tools
99 dev-libs/libconfig
100 dev-libs/libpcre
101 sys-libs/readline
102 >=sys-libs/db-4.6
103 perl? ( virtual/perl-ExtUtils-MakeMaker
104 >=dev-perl/Sys-Virt-0.2.4
105 virtual/perl-Getopt-Long
106 virtual/perl-Data-Dumper
107 dev-perl/libintl-perl
108 >=app-misc/hivex-1.3.1[perl?]
109 dev-perl/String-ShellQuote
110 )
111 fuse? ( sys-fs/fuse )
112 introspection? (
113 >=dev-libs/gobject-introspection-1.30.0
114 dev-libs/gjs
115 )
116 selinux? ( sys-libs/libselinux sys-libs/libsemanage )
117 systemtap? ( dev-util/systemtap )
118 ocaml? ( dev-lang/ocaml[ocamlopt] dev-ml/findlib[ocamlopt] )
119 erlang? ( dev-lang/erlang )
120 "
121
122 DEPEND="${COMMON_DEPEND}
123 dev-util/gperf
124 doc? ( app-text/po4a )
125 ruby? ( dev-lang/ruby virtual/rubygems dev-ruby/rake )
126 "
127 RDEPEND="${COMMON_DEPEND}"
128
129 PATCHES=(${FILESDIR}/1.17/*.patch)
130
131 DOCS=(AUTHORS BUGS HACKING README RELEASE-NOTES ROADMAP TODO)
132
133 pkg_pretend() {
134 CHECKREQS_DISK_BUILD="5G"
135 CHECKREQS_DISK_USR="5G"
136 check-reqs_pkg_pretend
137 }
138
139 pkg_setup () {
140 CONFIG_CHECK="~KVM ~VIRTIO"
141 [ -n "${CONFIG_CHECK}" ] && check_extra_config;
142 }
143
144 src_prepare() {
145 autotools-utils_src_prepare
146 }
147
148 src_configure() {
149
150 # Disable feature test for kvm for more reason
151 # i.e: not loaded module in __build__ time,
152 # build server not supported kvm, etc. ...
153 #
154 # In fact, this feature is virtio support and requires
155 # configured kernel.
156 export vmchannel_test=no
157
158 local myeconfargs=(
159 --disable-appliance
160 --disable-daemon
161 --with-drive-if=virtio
162 --with-net-if=virtio-net-pci
163 --with-extra="-gentoo"
164 --with-readline
165 --disable-php
166 --disable-python
167 --disable-java
168 $(use_enable nls)
169 $(use_enable perl)
170 $(use_enable fuse)
171 $(use_enable ocaml)
172 $(use_enable ruby)
173 --disable-haskell
174 $(use_enable doc)
175 $(use_enable introspection gobject)
176 $(use_enable erlang)
177 )
178 autotools-utils_src_configure
179 }
180
181 src_compile() {
182 autotools-utils_src_compile
183
184 }
185
186 src_test() {
187 autotools-utils_src_test
188 }
189
190 src_install() {
191 strip-linguas -i po
192 autotools-utils_src_install "LINGUAS=""${LINGUAS}"""
193
194 use bash-completion && dobashcomp "${D}/etc"/bash_completion.d/guestfish-bash-completion.sh
195
196 rm -fr "${D}/etc"/bash* || die
197
198 insinto /usr/share/guestfs/
199 doins -r "${WORKDIR}"/appliance
200 newenvd "${FILESDIR}"/env.file 99"${PN}"
201
202 use perl && fixlocalpod
203 }
204
205
206
207 1.1 app-emulation/libguestfs/libguestfs-1.17.26.ebuild
208
209 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/libguestfs/libguestfs-1.17.26.ebuild?rev=1.1&view=markup
210 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/libguestfs/libguestfs-1.17.26.ebuild?rev=1.1&content-type=text/plain
211
212 Index: libguestfs-1.17.26.ebuild
213 ===================================================================
214 # Copyright 1999-2012 Gentoo Foundation
215 # Distributed under the terms of the GNU General Public License v2
216 # $Header: /var/cvsroot/gentoo-x86/app-emulation/libguestfs/libguestfs-1.17.26.ebuild,v 1.1 2012/04/08 18:24:12 maksbotan Exp $
217
218 EAPI="4"
219
220 APLANCE_PV="1.17.14"
221 APPL_P="appliance-${APLANCE_PV}"
222
223 AUTOTOOLS_AUTORECONF=1
224 AUTOTOOLS_IN_SOURCE_BUILD=1
225
226 inherit check-reqs bash-completion-r1 autotools-utils versionator eutils \
227 multilib linux-info perl-module
228
229 MY_PV_1="$(get_version_component_range 1-2)"
230 MY_PV_2="$(get_version_component_range 2)"
231
232 [[ $(( $(get_version_component_range 2) % 2 )) -eq 0 ]] && SD="stable" || SD="development"
233
234 DESCRIPTION="Tools for accessing, inspect and modifying virtual machine (VM) disk images"
235 HOMEPAGE="http://libguestfs.org/"
236 SRC_URI="http://libguestfs.org/download/${MY_PV_1}-${SD}/${P}.tar.gz
237 http://rion-overlay.googlecode.com/files/${APPL_P}.tar.xz"
238
239 LICENSE="GPL-2 LGPL-2"
240 SLOT="0"
241 # Upstream NOT supported 32-bit version, keyword in own risk
242 KEYWORDS="~amd64"
243 IUSE="bash-completion erlang +fuse debug ocaml doc +perl nls ruby static-libs selinux systemtap introspection"
244
245 # Failires - doc
246
247 COMMON_DEPEND="
248 >=app-misc/hivex-1.3.1
249 dev-libs/libpcre
250 app-arch/cpio
251 dev-lang/perl
252 app-cdr/cdrkit
253 >=app-emulation/qemu-kvm-1.0[qemu_user_targets_x86_64,qemu_softmmu_targets_x86_64]
254 sys-apps/fakeroot
255 sys-apps/file
256 app-emulation/libvirt
257 dev-libs/libxml2:2
258 >=sys-apps/fakechroot-2.8
259 >=app-admin/augeas-0.7.1
260 sys-fs/squashfs-tools
261 dev-libs/libconfig
262 dev-libs/libpcre
263 sys-libs/readline
264 >=sys-libs/db-4.6
265 perl? ( virtual/perl-ExtUtils-MakeMaker
266 >=dev-perl/Sys-Virt-0.2.4
267 virtual/perl-Getopt-Long
268 virtual/perl-Data-Dumper
269 dev-perl/libintl-perl
270 >=app-misc/hivex-1.3.1[perl?]
271 dev-perl/String-ShellQuote
272 )
273 fuse? ( sys-fs/fuse )
274 introspection? (
275 >=dev-libs/gobject-introspection-1.30.0
276 dev-libs/gjs
277 )
278 selinux? ( sys-libs/libselinux sys-libs/libsemanage )
279 systemtap? ( dev-util/systemtap )
280 ocaml? ( dev-lang/ocaml[ocamlopt] dev-ml/findlib[ocamlopt] )
281 erlang? ( dev-lang/erlang )
282 "
283
284 DEPEND="${COMMON_DEPEND}
285 dev-util/gperf
286 doc? ( app-text/po4a )
287 ruby? ( dev-lang/ruby virtual/rubygems dev-ruby/rake )
288 "
289 RDEPEND="${COMMON_DEPEND}"
290
291 PATCHES=(${FILESDIR}/1.17/*.patch)
292
293 DOCS=(AUTHORS BUGS HACKING README RELEASE-NOTES ROADMAP TODO)
294
295 pkg_pretend() {
296 CHECKREQS_DISK_BUILD="5G"
297 CHECKREQS_DISK_USR="5G"
298 check-reqs_pkg_pretend
299 }
300
301 pkg_setup () {
302 CONFIG_CHECK="~KVM ~VIRTIO"
303 [ -n "${CONFIG_CHECK}" ] && check_extra_config;
304 }
305
306 src_prepare() {
307 autotools-utils_src_prepare
308 }
309
310 src_configure() {
311
312 # Disable feature test for kvm for more reason
313 # i.e: not loaded module in __build__ time,
314 # build server not supported kvm, etc. ...
315 #
316 # In fact, this feature is virtio support and requires
317 # configured kernel.
318 export vmchannel_test=no
319
320 local myeconfargs=(
321 --disable-appliance
322 --disable-daemon
323 --with-drive-if=virtio
324 --with-net-if=virtio-net-pci
325 --with-extra="-gentoo"
326 --with-readline
327 --disable-php
328 --disable-python
329 --disable-java
330 $(use_enable nls)
331 $(use_enable perl)
332 $(use_enable fuse)
333 $(use_enable ocaml)
334 $(use_enable ruby)
335 --disable-haskell
336 $(use_enable doc)
337 $(use_enable introspection gobject)
338 $(use_enable erlang)
339 )
340 autotools-utils_src_configure
341 }
342
343 src_compile() {
344 autotools-utils_src_compile
345
346 }
347
348 src_test() {
349 autotools-utils_src_test
350 }
351
352 src_install() {
353 strip-linguas -i po
354 autotools-utils_src_install "LINGUAS=""${LINGUAS}"""
355
356 use bash-completion && dobashcomp "${D}/etc"/bash_completion.d/guestfish-bash-completion.sh
357
358 rm -fr "${D}/etc"/bash* || die
359
360 insinto /usr/share/guestfs/
361 doins -r "${WORKDIR}"/appliance
362 newenvd "${FILESDIR}"/env.file 99"${PN}"
363
364 use perl && fixlocalpod
365 }