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.22.6.ebuild ChangeLog
Date: Tue, 01 Oct 2013 17:51:43
Message-Id: 20131001175140.434572004E@flycatcher.gentoo.org
1 maksbotan 13/10/01 17:51:40
2
3 Modified: ChangeLog
4 Added: libguestfs-1.22.6.ebuild
5 Log:
6 Bump to 1.22.26, thanks to slepnoga
7
8 (Portage version: 2.2.6/cvs/Linux x86_64, signed Manifest commit with key F8DBDADE)
9
10 Revision Changes Path
11 1.29 app-emulation/libguestfs/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/libguestfs/ChangeLog?rev=1.29&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/libguestfs/ChangeLog?rev=1.29&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/libguestfs/ChangeLog?r1=1.28&r2=1.29
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-emulation/libguestfs/ChangeLog,v
20 retrieving revision 1.28
21 retrieving revision 1.29
22 diff -u -r1.28 -r1.29
23 --- ChangeLog 24 Apr 2013 18:03:00 -0000 1.28
24 +++ ChangeLog 1 Oct 2013 17:51:40 -0000 1.29
25 @@ -1,6 +1,18 @@
26 # ChangeLog for app-emulation/libguestfs
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/libguestfs/ChangeLog,v 1.28 2013/04/24 18:03:00 maksbotan Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/libguestfs/ChangeLog,v 1.29 2013/10/01 17:51:40 maksbotan Exp $
30 +
31 +*libguestfs-1.22.6 (01 Oct 2013)
32 +
33 + 01 Oct 2013; Maxim Koltsov <maksbotan@g.o>
34 + +files/1.22/0001_add_gentoo_names_to_configure.patch,
35 + +files/1.22/0002_add_gentooway_to_remove_la_files.patch,
36 + +files/1.22/0003_add_doc_more_option.patch,
37 + +files/1.22/0004_add_icoutils_configure_drop_automagic.patch,
38 + +files/1.22/0005_enable_gtk_docs_in_broken_autotools-utils-eclass.patch,
39 + +files/1.22/0103_disable_php_bindings_makefile.patch,
40 + +libguestfs-1.22.6.ebuild:
41 + Bump to 1.22.26, thanks to slepnoga
42
43 *libguestfs-1.20.6 (24 Apr 2013)
44
45
46
47
48 1.1 app-emulation/libguestfs/libguestfs-1.22.6.ebuild
49
50 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/libguestfs/libguestfs-1.22.6.ebuild?rev=1.1&view=markup
51 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/libguestfs/libguestfs-1.22.6.ebuild?rev=1.1&content-type=text/plain
52
53 Index: libguestfs-1.22.6.ebuild
54 ===================================================================
55 # Copyright 1999-2013 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 # $Header: /var/cvsroot/gentoo-x86/app-emulation/libguestfs/libguestfs-1.22.6.ebuild,v 1.1 2013/10/01 17:51:40 maksbotan Exp $
58
59 EAPI="5"
60
61 WANT_LIBTOOL=latest
62 AUTOTOOLS_IN_SOURCE_BUILD=1
63
64 inherit autotools-utils autotools versionator eutils \
65 multilib linux-info perl-module base
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
76 LICENSE="GPL-2 LGPL-2"
77 SLOT="0/${MY_PV_1}"
78
79 KEYWORDS="~amd64"
80 IUSE="erlang +fuse debug ocaml doc +perl ruby static-libs
81 selinux systemtap introspection inspect-icons test lua"
82
83 # Failires - doc
84 # Failures - bash-completion, see GBZ #486306
85
86 COMMON_DEPEND="
87 sys-libs/ncurses
88 sys-devel/gettext
89 >=app-misc/hivex-1.3.1
90 dev-libs/libpcre
91 app-arch/cpio
92 dev-lang/perl
93 app-cdr/cdrkit
94 >=app-emulation/qemu-1.2.2[qemu_user_targets_x86_64,qemu_softmmu_targets_x86_64,tci,systemtap?,selinux?,filecaps]
95 sys-apps/fakeroot
96 sys-apps/file
97 app-emulation/libvirt
98 dev-libs/libxml2:2
99 >=sys-apps/fakechroot-2.8
100 >=app-admin/augeas-0.7.1
101 sys-fs/squashfs-tools
102 dev-libs/libconfig
103 dev-libs/libpcre
104 sys-libs/readline
105 >=sys-libs/db-4.6
106 perl? ( virtual/perl-ExtUtils-MakeMaker
107 >=dev-perl/Sys-Virt-0.2.4
108 virtual/perl-Getopt-Long
109 virtual/perl-Data-Dumper
110 dev-perl/libintl-perl
111 >=app-misc/hivex-1.3.1[perl?]
112 dev-perl/String-ShellQuote
113 )
114 fuse? ( sys-fs/fuse )
115 introspection? (
116 >=dev-libs/gobject-introspection-1.30.0
117 dev-libs/gjs
118 )
119 selinux? ( sys-libs/libselinux sys-libs/libsemanage )
120 systemtap? ( dev-util/systemtap )
121 ocaml? ( dev-lang/ocaml[ocamlopt]
122 dev-ml/findlib[ocamlopt]
123 dev-ml/ocaml-gettext
124 )
125 erlang? ( dev-lang/erlang )
126 inspect-icons? ( media-libs/netpbm
127 media-gfx/icoutils
128 )
129 virtual/acl
130 sys-libs/libcap
131 lua? ( dev-lang/lua )
132 "
133
134 DEPEND="${COMMON_DEPEND}
135 dev-util/gperf
136 doc? ( app-text/po4a )
137 ruby? ( dev-lang/ruby virtual/rubygems dev-ruby/rake )
138 "
139 RDEPEND="${COMMON_DEPEND}
140 app-emulation/libguestfs-appliance
141 "
142
143 PATCHES=("${FILESDIR}"/1.22/0*.patch )
144
145 DOCS=(AUTHORS BUGS ChangeLog HACKING README ROADMAP TODO)
146
147 pkg_setup () {
148 CONFIG_CHECK="~KVM ~VIRTIO"
149 [ -n "${CONFIG_CHECK}" ] && check_extra_config;
150 }
151
152 src_prepare() {
153 base_src_prepare
154 eaclocal
155 eautomake
156 eautoconf
157 }
158
159 src_configure() {
160
161 # Disable feature test for kvm for more reason
162 # i.e: not loaded module in __build__ time,
163 # build server not supported kvm, etc. ...
164 #
165 # In fact, this feature is virtio support and requires
166 # configured kernel.
167 export vmchannel_test=no
168
169 local myeconfargs=(
170 $(use_enable test gcc-warnings)
171 --disable-appliance
172 --disable-daemon
173 --with-extra="-gentoo"
174 --with-readline
175 --disable-php
176 --disable-python
177 --without-java
178 $(use_enable perl)
179 $(use_enable fuse)
180 $(use_enable ocaml)
181 $(use_enable ruby)
182 --disable-haskell
183 $(use_enable doc)
184 $(use_enable introspection gobject)
185 $(use_enable erlang)
186 $(use_enable systemtap probes)
187 $(use_enable lua)
188 )
189 autotools-utils_src_configure
190 }
191
192 src_compile() {
193 autotools-utils_src_compile
194
195 }
196
197 src_test() {
198 autotools-utils_src_test
199 }
200
201 src_install() {
202 strip-linguas -i po
203 autotools-utils_src_install "LINGUAS=""${LINGUAS}"""
204
205 use perl && fixlocalpod
206 }
207
208 pkg_postinst() {
209
210 if !use perl ; then
211 einfo "Perl based tools NOT build"
212 fi
213 if !use ocaml ; then
214 einfo "Ocaml based tools ( sysprep , ... ) NOT installed"
215 fi
216 }