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.18.9.ebuild metadata.xml ChangeLog libguestfs-1.18.2.ebuild libguestfs-1.17.43.ebuild
Date: Sun, 28 Oct 2012 18:16:59
Message-Id: 20121028181649.BF5A021601@flycatcher.gentoo.org
1 maksbotan 12/10/28 18:16:49
2
3 Modified: metadata.xml ChangeLog
4 Added: libguestfs-1.18.9.ebuild
5 Removed: libguestfs-1.18.2.ebuild libguestfs-1.17.43.ebuild
6 Log:
7 Bump to 1.18.9, fixes bug 427842. Thanks to slepnoga
8
9 (Portage version: 2.1.11.26/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.6 app-emulation/libguestfs/metadata.xml
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/libguestfs/metadata.xml?rev=1.6&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/libguestfs/metadata.xml?rev=1.6&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/libguestfs/metadata.xml?r1=1.5&r2=1.6
17
18 Index: metadata.xml
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/app-emulation/libguestfs/metadata.xml,v
21 retrieving revision 1.5
22 retrieving revision 1.6
23 diff -u -r1.5 -r1.6
24 --- metadata.xml 26 Jun 2012 17:02:25 -0000 1.5
25 +++ metadata.xml 28 Oct 2012 18:16:49 -0000 1.6
26 @@ -21,7 +21,8 @@
27 <use>
28 <flag name="fuse">Enable image mount support via fuse</flag>
29 <flag name="introspection">Use <pkg>dev-libs/gobject-introspection</pkg> for introspection</flag>
30 - <flag name="erlang">Use <pkg>dev-libs/gobject-introspection</pkg> for introspection</flag>
31 - <flag name="systemtap">Use <pkg>dev-libs/gobject-introspection</pkg> for introspection</flag>
32 + <flag name="erlang">Build Erlang bindings</flag>
33 + <flag name="systemtap">Use <pkg>dev-util/systemtap</pkg> to inspect VM via "probes" way</flag>
34 + <flag name="inspect-icons">Use <pkg>media-gfx/icoutils</pkg>for acces icon file in image and inspect it</flag>
35 </use>
36 </pkgmetadata>
37
38
39
40 1.23 app-emulation/libguestfs/ChangeLog
41
42 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/libguestfs/ChangeLog?rev=1.23&view=markup
43 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/libguestfs/ChangeLog?rev=1.23&content-type=text/plain
44 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/libguestfs/ChangeLog?r1=1.22&r2=1.23
45
46 Index: ChangeLog
47 ===================================================================
48 RCS file: /var/cvsroot/gentoo-x86/app-emulation/libguestfs/ChangeLog,v
49 retrieving revision 1.22
50 retrieving revision 1.23
51 diff -u -r1.22 -r1.23
52 --- ChangeLog 9 Oct 2012 21:17:16 -0000 1.22
53 +++ ChangeLog 28 Oct 2012 18:16:49 -0000 1.23
54 @@ -1,6 +1,18 @@
55 # ChangeLog for app-emulation/libguestfs
56 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
57 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/libguestfs/ChangeLog,v 1.22 2012/10/09 21:17:16 cardoe Exp $
58 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/libguestfs/ChangeLog,v 1.23 2012/10/28 18:16:49 maksbotan Exp $
59 +
60 +*libguestfs-1.18.9 (28 Oct 2012)
61 +
62 + 28 Oct 2012; Maxim Koltsov <maksbotan@g.o>
63 + +files/1.18/0001_add_gentoo_names_to_configure.patch,
64 + +files/1.18/0002_add_doc_more_option.patch,
65 + +files/1.18/0002_add_gentooway_to_remove_la_files.patch,
66 + +files/1.18/0003_add_icoutils_configure_drop_automagic.patch,
67 + +files/1.18/0103_disable_php_bindings_makefile.patch,
68 + +libguestfs-1.18.9.ebuild, -libguestfs-1.17.43.ebuild,
69 + -libguestfs-1.18.2.ebuild, metadata.xml:
70 + Bump to 1.18.9, fixes bug 427842. Thanks to slepnoga
71
72 09 Oct 2012; Doug Goldstein <cardoe@g.o> libguestfs-1.16.25.ebuild,
73 libguestfs-1.17.43.ebuild, libguestfs-1.18.2.ebuild:
74 @@ -405,4 +417,3 @@
75
76 12 Mar 2010; <slep@g.o> libguestfs-1.0.80.ebuild, +metadata.xml:
77 QA fix
78 -
79
80
81
82 1.1 app-emulation/libguestfs/libguestfs-1.18.9.ebuild
83
84 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/libguestfs/libguestfs-1.18.9.ebuild?rev=1.1&view=markup
85 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/libguestfs/libguestfs-1.18.9.ebuild?rev=1.1&content-type=text/plain
86
87 Index: libguestfs-1.18.9.ebuild
88 ===================================================================
89 # Copyright 1999-2012 Gentoo Foundation
90 # Distributed under the terms of the GNU General Public License v2
91 # $Header: /var/cvsroot/gentoo-x86/app-emulation/libguestfs/libguestfs-1.18.9.ebuild,v 1.1 2012/10/28 18:16:49 maksbotan Exp $
92
93 EAPI="4"
94
95 APLANCE_PV="1.18.5"
96 APPL_P="appliance-${APLANCE_PV}"
97
98 AUTOTOOLS_AUTORECONF=1
99 AUTOTOOLS_IN_SOURCE_BUILD=1
100
101 inherit check-reqs bash-completion-r1 autotools-utils versionator eutils \
102 multilib linux-info perl-module
103
104 MY_PV_1="$(get_version_component_range 1-2)"
105 MY_PV_2="$(get_version_component_range 2)"
106
107 [[ $(( $(get_version_component_range 2) % 2 )) -eq 0 ]] && SD="stable" || SD="development"
108
109 DESCRIPTION="Tools for accessing, inspect and modifying virtual machine (VM) disk images"
110 HOMEPAGE="http://libguestfs.org/"
111 SRC_URI="http://libguestfs.org/download/${MY_PV_1}-${SD}/${P}.tar.gz
112 http://dev.gentoo.org/~maksbotan/${APPL_P}.tar.xz"
113
114 LICENSE="GPL-2 LGPL-2"
115 SLOT="0"
116 # Upstream NOT supported 32-bit version, keyword in own risk
117 KEYWORDS="~amd64"
118 IUSE="bash-completion erlang +fuse debug ocaml doc +perl ruby static-libs
119 selinux systemtap introspection inspect-icons"
120
121 # Failires - doc
122
123 COMMON_DEPEND="
124 sys-libs/ncurses
125 sys-devel/gettext
126 >=app-misc/hivex-1.3.1
127 dev-libs/libpcre
128 app-arch/cpio
129 dev-lang/perl
130 app-cdr/cdrkit
131 >=app-emulation/qemu-1.0[qemu_user_targets_x86_64,qemu_softmmu_targets_x86_64,tci,systemtap?]
132 sys-apps/fakeroot
133 sys-apps/file
134 app-emulation/libvirt
135 dev-libs/libxml2:2
136 >=sys-apps/fakechroot-2.8
137 >=app-admin/augeas-0.7.1
138 sys-fs/squashfs-tools
139 dev-libs/libconfig
140 dev-libs/libpcre
141 sys-libs/readline
142 >=sys-libs/db-4.6
143 perl? ( virtual/perl-ExtUtils-MakeMaker
144 >=dev-perl/Sys-Virt-0.2.4
145 virtual/perl-Getopt-Long
146 virtual/perl-Data-Dumper
147 dev-perl/libintl-perl
148 >=app-misc/hivex-1.3.1[perl?]
149 dev-perl/String-ShellQuote
150 )
151 fuse? ( sys-fs/fuse )
152 introspection? (
153 >=dev-libs/gobject-introspection-1.30.0
154 dev-libs/gjs
155 )
156 selinux? ( sys-libs/libselinux sys-libs/libsemanage )
157 systemtap? ( dev-util/systemtap )
158 ocaml? ( dev-lang/ocaml[ocamlopt] dev-ml/findlib[ocamlopt] )
159 erlang? ( dev-lang/erlang )
160 inspect-icons? ( media-libs/netpbm
161 media-gfx/icoutils )
162 "
163
164 DEPEND="${COMMON_DEPEND}
165 dev-util/gperf
166 doc? ( app-text/po4a )
167 ruby? ( dev-lang/ruby virtual/rubygems dev-ruby/rake )
168 "
169 RDEPEND="${COMMON_DEPEND}"
170
171 PATCHES=("${FILESDIR}"/1.18/0*.patch )
172
173 DOCS=(AUTHORS BUGS HACKING README RELEASE-NOTES ROADMAP TODO)
174
175 pkg_pretend() {
176 CHECKREQS_DISK_BUILD="5G"
177 CHECKREQS_DISK_USR="5G"
178 check-reqs_pkg_pretend
179 }
180
181 pkg_setup () {
182 CONFIG_CHECK="~KVM ~VIRTIO"
183 [ -n "${CONFIG_CHECK}" ] && check_extra_config;
184 }
185
186 src_prepare() {
187 autotools-utils_src_prepare
188 }
189
190 src_configure() {
191
192 # Disable feature test for kvm for more reason
193 # i.e: not loaded module in __build__ time,
194 # build server not supported kvm, etc. ...
195 #
196 # In fact, this feature is virtio support and requires
197 # configured kernel.
198 export vmchannel_test=no
199
200 local myeconfargs=(
201 --disable-appliance
202 --disable-daemon
203 --with-drive-if=virtio
204 --with-net-if=virtio-net-pci
205 --with-extra="-gentoo"
206 --with-readline
207 --disable-php
208 --disable-python
209 --without-java
210 $(use_enable perl)
211 $(use_enable fuse)
212 $(use_enable ocaml)
213 $(use_enable ruby)
214 --disable-haskell
215 $(use_enable doc)
216 $(use_enable introspection gobject)
217 $(use_enable erlang)
218 $(use_enable systemtap probes)
219 )
220 autotools-utils_src_configure
221 }
222
223 src_compile() {
224 autotools-utils_src_compile
225
226 }
227
228 src_test() {
229 autotools-utils_src_test
230 }
231
232 src_install() {
233 strip-linguas -i po
234 autotools-utils_src_install "LINGUAS=""${LINGUAS}"""
235
236 use bash-completion && dobashcomp "${D}/etc"/bash_completion.d/guestfish-bash-completion.sh
237
238 rm -fr "${D}/etc"/bash* || die
239
240 insinto /usr/share/guestfs/
241 doins -r "${WORKDIR}"/appliance
242 newenvd "${FILESDIR}"/env.file 99"${PN}"
243
244 use perl && fixlocalpod
245 }