Gentoo Archives: gentoo-commits

From: Alexey Shvetsov <alexxy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/virtualization:master commit in: app-emulation/xen-tools/files/, app-emulation/xen-tools/
Date: Mon, 28 Nov 2011 18:29:33
Message-Id: a90e67fdd2f5e2107ec6862cbedd00b981a53031.alexxy@gentoo
1 commit: a90e67fdd2f5e2107ec6862cbedd00b981a53031
2 Author: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 28 18:29:01 2011 +0000
4 Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 28 18:29:01 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/virtualization.git;a=commit;h=a90e67fd
7
8 Move to tree
9
10 (Portage version: 2.2.0_alpha79/git/Linux x86_64, unsigned Manifest commit)
11
12 ---
13 app-emulation/xen-tools/Manifest | 20 --
14 app-emulation/xen-tools/files/xendomains.initd-r2 | 4 +-
15 app-emulation/xen-tools/xen-tools-4.1.2-r2.ebuild | 324 ---------------------
16 app-emulation/xen-tools/xen-tools-9999.ebuild | 10 +-
17 4 files changed, 4 insertions(+), 354 deletions(-)
18
19 diff --git a/app-emulation/xen-tools/Manifest b/app-emulation/xen-tools/Manifest
20 deleted file mode 100644
21 index 37a1e0c..0000000
22 --- a/app-emulation/xen-tools/Manifest
23 +++ /dev/null
24 @@ -1,20 +0,0 @@
25 -AUX ipxe-nopie.patch 952 RMD160 243c65b1e9e27fde14b10c5f605cce635de88032 SHA1 06870bb3bb063aabe16e721f487f0756a5889e8f SHA256 22d1e84568e4bdf204404c45cd4d323a78a1b5a5a29cc4a0707894e22f40bd48
26 -AUX xen-consoles.logrotate 63 RMD160 035bd8baf1ba68a5525bab4379c0c4e350001a74 SHA1 6f88a4da3349aade6070dfc5c4465e2c00f3e68c SHA256 0da87a4b9094f934e3de937e8ef8d3afc752e76793aa3d730182d0241e118b19
27 -AUX xen-tools-3.3.0-nostrip.patch 1021 RMD160 f702b588596dfdebf71fafbf866d270ac5bb549e SHA1 bb4db097af6e206ed68bcc1a1c3ef48b02e9a4c5 SHA256 2debac718c01a7eac4daf3182a7ae04aa562137d791cd510ecf1848d7eaccebd
28 -AUX xen-tools-3.4.0-network-bridge-broadcast.patch 496 RMD160 3a8c57fe70837861f6f69d1d260c6fa6adad43e3 SHA1 cc02643eee7a39e97b53674066516c80ec0c3b38 SHA256 d00a1954447fc29500ab2f1a8c7900310e0dee81942be5c922ad66b6b42dfb74
29 -AUX xen-tools-4.1.1-bridge.patch 449 RMD160 165524a3a92014f79e886b0a20dba8b1c1920cc2 SHA1 32db884422a48819d71003860f99779b7b82540a SHA256 71eea5408e3600c3c6f7ce4e8363ea2c19db36c1882e20cf0ef8143af527782b
30 -AUX xen-tools-4.1.1-curl.patch 550 RMD160 87e09f92f292d89c86416036d4207b0460a3dc6e SHA1 dec0e47d62d85cb21d9fb6d097ab183f02b80310 SHA256 4bdb2875b36e7dbb0bd8d61b697da78007bb22922f56e020795c91ebb9ddd50b
31 -AUX xen-tools-4.1.2-pyxml.patch 408 RMD160 131ff6e6a1b3bd71ff584d3cbfca4b078abd77b1 SHA1 5fa6ce64ef125e97df65ed357e1c40964a7a3619 SHA256 6a8d8ca5478bc68850fd930749ca22207807c87f8624c0c3596a8cd70bc06c65
32 -AUX xenconsoled.confd 44 RMD160 0134f85258cf524807c4e2eae94739a70808c20d SHA1 6435bba449e9cffd3f99c5afdeb3cc37ecbd744d SHA256 2a74be03eb74f6013242a4a5d721df6cb9b959b43c405de1e32813f52d749060
33 -AUX xenconsoled.initd 652 RMD160 5aa785e9c73c5eb8460863af2c1bc50d2a07faf4 SHA1 dceffade1f3f5f2503fc6c3ccb4b9f9788365d00 SHA256 1a5594e4e924b94490c5c942b1b63e5fe857b8ad8061060e5d8a3bdfc9f0f1b7
34 -AUX xend.initd-r2 1064 RMD160 07b94d60a9c93577864086945389ef9821913522 SHA1 60f246da00f829776f1bb9a16ec07a6f91cbd24e SHA256 b9dcd925856eb5213b9052169492492d686b5d1ccae65b1c94a8ac944708d155
35 -AUX xendomains-screen.confd 594 RMD160 79c7a3546cf1d3f8558c2120d6e8c93c753e66b9 SHA1 7f9ed2986495d5fa4a6f8b050cd632fde6a19994 SHA256 c4d7ffcdbeccc5e93460e2abbf70d642a78a363d79ccbbce0407f50cace54e0a
36 -AUX xendomains.confd 291 RMD160 75d55db5360da12fc3d721c37001ccbfbb844e52 SHA1 e7be8973a4bcbfc7680258e369b07e2ed097ef49 SHA256 2fac318bb96b357dd185f7729d83c0a0b941799cdb89c24ed83051bb085735dc
37 -AUX xendomains.initd-r2 2933 RMD160 31d35c58d0286a34bebd636e85a9368054b8f6c0 SHA1 5e9cbdb5f2b1770bf30ba99ca7c67dbf38b78e84 SHA256 da69c146e5213df5376bd9b2758d9d5957c802e5513c6ea510e604d00f1d9e40
38 -AUX xenstored.confd 42 RMD160 3407e1ff0958d5797e257da284798a21fe31a5db SHA1 c18f64d2a41de25695b7dfb924478e3fa64ed0c3 SHA256 afcc14f014fe4ec478f85d230efefba9ffad024bf8c83b30074e8a3712cc7831
39 -AUX xenstored.initd 812 RMD160 57a880e0024f3733bb3ebe945389eed6474b96f5 SHA1 9837c052afac31ee623ef02280a43114866869c8 SHA256 8f9df8ad835e45f9c995244e9e80d1a9ee630787bf2da88b7c4a73354d056fd8
40 -DIST ipxe-git-v1.0.0.tar.gz 1996881 RMD160 dcd9b6eaafa1ce05c1ebf2a15f2f73ad7a8c5547 SHA1 da052c8de5f3485fe0253c19cf52ed6d72528485 SHA256 d3128bfda9a1542049c278755f85bbcbb8441da7bfd702d511ce237fcf86a723
41 -DIST xen-4.1.2.tar.gz 10365786 RMD160 457797ec4be286afbbcad940a9ce04e44f3f40d6 SHA1 db584cb0a0cc614888d7df3b196d514fdb2edd6e SHA256 7d9c93057cf480d3f1efa792b19285a84fa3c06060ea5c5c453be00887389b0d
42 -EBUILD xen-tools-4.1.2-r2.ebuild 9745 RMD160 3eee671f1e60d1eab97bc4fdc922eb3fe5407913 SHA1 59db466f30d1f46130dcbc28edf83dc8649ab668 SHA256 dabaa91efc5c13c2c0d85c99b653a2c58935188db0074a043aaef81a0f8a6f6c
43 -EBUILD xen-tools-9999.ebuild 9220 RMD160 c4bccde67520da1d5f66123fe604876b9a6e96a7 SHA1 2465ef2e555b74dcae600af204d5c3c651fa6f9c SHA256 5a393d34346484b642c6ec3d73c6a0b4b5cfdf3d5604bbb23a3f6087ef4fd1e0
44 -MISC metadata.xml 821 RMD160 a05d03fc9accefb4261be9a66ce63d25db2134ae SHA1 8abd3ea5f2c54c1682af838c9d13df43ef13897e SHA256 5e77961ab06a700cc9292df0bce39dca6803a019720ca915baf43b50c2916f02
45
46 diff --git a/app-emulation/xen-tools/files/xendomains.initd-r2 b/app-emulation/xen-tools/files/xendomains.initd-r2
47 index 9240376..2ca081c 100644
48 --- a/app-emulation/xen-tools/files/xendomains.initd-r2
49 +++ b/app-emulation/xen-tools/files/xendomains.initd-r2
50 @@ -6,8 +6,8 @@
51 opts="start stop status restart"
52
53 depend() {
54 - need xenstored xenconsoled xend
55 - after dhcp
56 + need xenstored xenconsoled
57 + after dhcp xend
58 }
59
60 get_domname() {
61
62 diff --git a/app-emulation/xen-tools/xen-tools-4.1.2-r2.ebuild b/app-emulation/xen-tools/xen-tools-4.1.2-r2.ebuild
63 deleted file mode 100644
64 index b32b668..0000000
65 --- a/app-emulation/xen-tools/xen-tools-4.1.2-r2.ebuild
66 +++ /dev/null
67 @@ -1,324 +0,0 @@
68 -# Copyright 1999-2011 Gentoo Foundation
69 -# Distributed under the terms of the GNU General Public License v2
70 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-4.1.2-r1.ebuild,v 1.1 2011/11/11 17:50:59 neurogeek Exp $
71 -
72 -EAPI="4"
73 -PYTHON_DEPEND="2"
74 -PYTHON_USE_WITH="xml threads"
75 -
76 -if [[ $PV == *9999 ]]; then
77 - KEYWORDS=""
78 - REPO="xen-unstable.hg"
79 - EHG_REPO_URI="http://xenbits.xensource.com/${REPO}"
80 - S="${WORKDIR}/${REPO}"
81 - live_eclass="mercurial"
82 -else
83 - KEYWORDS="~amd64 ~x86"
84 - XEN_EXTFILES_URL="http://xenbits.xensource.com/xen-extfiles"
85 - SRC_URI="http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz \
86 - $XEN_EXTFILES_URL/ipxe-git-v1.0.0.tar.gz"
87 - S="${WORKDIR}/xen-${PV}"
88 -fi
89 -
90 -inherit flag-o-matic eutils multilib python toolchain-funcs ${live_eclass}
91 -
92 -DESCRIPTION="Xend daemon and tools"
93 -HOMEPAGE="http://xen.org/"
94 -DOCS=( README docs/README.xen-bugtool docs/ChangeLog )
95 -
96 -LICENSE="GPL-2"
97 -SLOT="0"
98 -IUSE="api custom-cflags debug doc flask hvm qemu pygrub screen xend"
99 -
100 -REQUIRED_USE="hvm? ( qemu )"
101 -
102 -QA_PRESTRIPPED="/usr/share/xen/qemu/openbios-ppc \
103 - /usr/share/xen/qemu/openbios-sparc64 \
104 - /usr/share/xen/qemu/openbios-sparc32"
105 -QA_WX_LOAD=${QA_PRESTRIPPED}
106 -
107 -CDEPEND="<dev-libs/yajl-2
108 - dev-python/lxml
109 - dev-python/pypam
110 - dev-python/pyxml
111 - sys-libs/zlib
112 - hvm? ( media-libs/libsdl
113 - sys-power/iasl )
114 - api? ( dev-libs/libxml2 net-misc/curl )"
115 -
116 -DEPEND="${CDEPEND}
117 - sys-devel/gcc
118 - dev-lang/perl
119 - app-misc/pax-utils
120 - dev-ml/findlib
121 - doc? (
122 - app-doc/doxygen
123 - dev-tex/latex2html[png,gif]
124 - media-gfx/transfig
125 - media-gfx/graphviz
126 - dev-tex/xcolor
127 - dev-texlive/texlive-latexextra
128 - virtual/latex-base
129 - dev-tex/latexmk
130 - dev-texlive/texlive-latex
131 - dev-texlive/texlive-pictures
132 - dev-texlive/texlive-latexrecommended
133 - )
134 - hvm? (
135 - x11-proto/xproto
136 - sys-devel/dev86
137 - ) pygrub? ( dev-lang/python[ncurses] )
138 - "
139 -
140 -RDEPEND="${CDEPEND}
141 - sys-apps/iproute2
142 - net-misc/bridge-utils
143 - >=dev-lang/ocaml-3.12.0
144 - screen? (
145 - app-misc/screen
146 - app-admin/logrotate
147 - )
148 - || ( sys-fs/udev sys-apps/hotplug )"
149 -
150 -# hvmloader is used to bootstrap a fully virtualized kernel
151 -# Approved by QA team in bug #144032
152 -QA_WX_LOAD="usr/lib/xen/boot/hvmloader"
153 -QA_EXECSTACK="usr/share/xen/qemu/openbios-sparc32
154 - usr/share/xen/qemu/openbios-sparc64"
155 -RESTRICT="test"
156 -
157 -pkg_setup() {
158 - python_set_active_version 2
159 - python_pkg_setup
160 - export "CONFIG_LOMOUNT=y"
161 -
162 - if use qemu; then
163 - export "CONFIG_IOEMU=y"
164 - else
165 - export "CONFIG_IOEMU=n"
166 - fi
167 -
168 - if ! use x86 && ! has x86 $(get_all_abis) && use hvm; then
169 - eerror "HVM (VT-x and AMD-v) cannot be built on this system. An x86 or"
170 - eerror "an amd64 multilib profile is required. Remove the hvm use flag"
171 - eerror "to build xen-tools on your current profile."
172 - die "USE=hvm is unsupported on this system."
173 - fi
174 -
175 - if [[ -z ${XEN_TARGET_ARCH} ]] ; then
176 - if use x86 && use amd64; then
177 - die "Confusion! Both x86 and amd64 are set in your use flags!"
178 - elif use x86; then
179 - export XEN_TARGET_ARCH="x86_32"
180 - elif use amd64 ; then
181 - export XEN_TARGET_ARCH="x86_64"
182 - else
183 - die "Unsupported architecture!"
184 - fi
185 - fi
186 -
187 - use api && export "LIBXENAPI_BINDINGS=y"
188 - use flask && export "FLASK_ENABLE=y"
189 -}
190 -
191 -src_prepare() {
192 - cp "$DISTDIR/ipxe-git-v1.0.0.tar.gz" tools/firmware/etherboot/ipxe.tar.gz
193 - sed -e 's/-Wall//' -i Config.mk || die "Couldn't sanitize CFLAGS"
194 -
195 - # Drop .config
196 - sed -e '/-include $(XEN_ROOT)\/.config/d' -i Config.mk || die "Couldn't drop"
197 - # Xend
198 - if ! use xend; then
199 - sed -e 's:xm xen-bugtool xen-python-path xend:xen-bugtool xen-python-path:' \
200 - -i tools/misc/Makefile || die "Disabling xend failed" || die
201 - sed -e 's:^XEND_INITD:#XEND_INITD:' \
202 - -i tools/examples/Makefile || "Disabling xend failed" || die
203 - fi
204 - # if the user *really* wants to use their own custom-cflags, let them
205 - if use custom-cflags; then
206 - einfo "User wants their own CFLAGS - removing defaults"
207 -
208 - # try and remove all the default custom-cflags
209 - find "${S}" -name Makefile -o -name Rules.mk -o -name Config.mk -exec sed \
210 - -e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
211 - -e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
212 - -e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
213 - -e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
214 - -e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
215 - -i {} \; || die "failed to re-set custom-cflags"
216 - fi
217 -
218 - if ! use pygrub; then
219 - sed -e '/^SUBDIRS-$(PYTHON_TOOLS) += pygrub$/d' -i tools/Makefile || die
220 - fi
221 -
222 - # Disable hvm support on systems that don't support x86_32 binaries.
223 - if ! use hvm; then
224 - chmod 644 tools/check/check_x11_devel
225 - sed -e '/^CONFIG_IOEMU := y$/d' -i config/*.mk || die
226 - sed -e '/SUBDIRS-$(CONFIG_X86) += firmware/d' -i tools/Makefile || die
227 - fi
228 -
229 - # Don't bother with qemu, only needed for fully virtualised guests
230 - if ! use qemu; then
231 - sed -e "/^CONFIG_IOEMU := y$/d" -i config/*.mk || die
232 - sed -e "s:install-tools\: tools/ioemu-dir:install-tools\: :g" -i Makefile || die
233 - fi
234 -
235 - # Fix build for gcc-4.6
236 - sed -e "s:-Werror::g" -i tools/xenstat/xentop/Makefile || die
237 -
238 - # Fix network broadcast on bridged networks
239 - epatch "${FILESDIR}/${PN}-3.4.0-network-bridge-broadcast.patch"
240 -
241 - # Do not strip binaries
242 - epatch "${FILESDIR}/${PN}-3.3.0-nostrip.patch"
243 -
244 - # Prevent the downloading of ipxe
245 - sed -e 's:^\tif ! wget -O _$T:#\tif ! wget -O _$T:' \
246 - -e 's:^\tfi:#\tfi:' -i \
247 - -e 's:^\tmv _$T $T:#\tmv _$T $T:' \
248 - -i tools/firmware/etherboot/Makefile || die
249 -
250 - # Fix bridge by idella4, bug #362575
251 - epatch "${FILESDIR}/${PN}-4.1.1-bridge.patch"
252 -
253 - # Remove check_curl, new fix to Bug #386487
254 - epatch "${FILESDIR}/${PN}-4.1.1-curl.patch"
255 - sed -i -e 's|has_or_fail curl-config|has_or_fail curl-config\nset -ux|' \
256 - tools/check/check_curl || die
257 -
258 - # Don't build ipxe with pie on hardened, Bug #360805
259 - if gcc-specs-pie; then
260 - epatch "${FILESDIR}/ipxe-nopie.patch"
261 - fi
262 -
263 - # Fix create.py for pyxml Bug 367735
264 - epatch "${FILESDIR}/xen-tools-4.1.2-pyxml.patch"
265 -}
266 -
267 -src_compile() {
268 - export VARTEXFONTS="${T}/fonts"
269 - local myopt
270 - use debug && myopt="${myopt} debug=y"
271 -
272 - use custom-cflags || unset CFLAGS
273 - if test-flag-CC -fno-strict-overflow; then
274 - append-flags -fno-strict-overflow
275 - fi
276 -
277 - unset LDFLAGS
278 - emake CC=$(tc-getCC) LD=$(tc-getLD) -C tools ${myopt}
279 -
280 - if use doc; then
281 - sh ./docs/check_pkgs || die "package check failed"
282 - emake docs
283 - emake dev-docs
284 - fi
285 -
286 - emake -C docs man-pages
287 -}
288 -
289 -src_install() {
290 - # Override auto-detection in the build system, bug #382573
291 - export INITD_DIR=/etc/init.d
292 - export CONFIG_LEAF_DIR=default
293 -
294 - emake DESTDIR="${ED}" DOCDIR="/usr/share/doc/${PF}" XEN_PYTHON_NATIVE_INSTALL=y install-tools
295 - python_convert_shebangs -r 2 "${ED}"
296 -
297 - # Remove RedHat-specific stuff
298 - rm -rf "${ED}"/etc/init.d/xen* "${ED}"/etc/default || die
299 -
300 - # uncomment lines in xl.conf
301 - sed -e 's:^#autoballoon=1:autoballoon=1:' \
302 - -e 's:^#lockfile="/var/lock/xl":lockfile="/var/lock/xl":' \
303 - -e 's:^#vifscript="vif-bridge":vifscript="vif-bridge":' \
304 - -i tools/examples/xl.conf || die
305 -
306 -# dodoc README docs/README.xen-bugtool docs/ChangeLog
307 - if use doc; then
308 - emake DESTDIR="${ED}" DOCDIR="/usr/share/doc/${PF}" install-docs
309 -
310 - dohtml -r docs/api/
311 - docinto pdf
312 - dodoc ${DOCS[@]}
313 - #docs/api/tools/python/latex/refman.pdf
314 - [ -d "${ED}"/usr/share/doc/xen ] && mv "${ED}"/usr/share/doc/xen/* "${ED}"/usr/share/doc/${PF}/html
315 - fi
316 - rm -rf "${ED}"/usr/share/doc/xen/
317 - doman docs/man?/*
318 -
319 - if use xend; then
320 - newinitd "${FILESDIR}"/xend.initd-r2 xend || die "Couldn't install xen.initd"
321 - fi
322 - newconfd "${FILESDIR}"/xendomains.confd xendomains
323 - newconfd "${FILESDIR}"/xenstored.confd xenstored
324 - newconfd "${FILESDIR}"/xenconsoled.confd xenconsoled
325 - newinitd "${FILESDIR}"/xendomains.initd-r2 xendomains
326 - newinitd "${FILESDIR}"/xenstored.initd xenstored \
327 - "${FILESDIR}"/xenconsoled.initd xenconsoled
328 -
329 - if use screen; then
330 - cat "${FILESDIR}"/xendomains-screen.confd >> "${ED}"/etc/conf.d/xendomains || die
331 - cp "${FILESDIR}"/xen-consoles.logrotate "${ED}"/etc/xen/ || die
332 - keepdir /var/log/xen-consoles
333 - fi
334 -
335 - python_convert_shebangs -r 2 "${ED}"
336 - # xend expects these to exist
337 - keepdir /var/run/xenstored /var/lib/xenstored /var/xen/dump /var/lib/xen /var/log/xen
338 -
339 - # for xendomains
340 - keepdir /etc/xen/auto
341 -}
342 -
343 -pkg_postinst() {
344 - elog "Official Xen Guide and the unoffical wiki page:"
345 - elog " http://www.gentoo.org/doc/en/xen-guide.xml"
346 - elog " http://gentoo-wiki.com/HOWTO_Xen_and_Gentoo"
347 -
348 - if [[ "$(scanelf -s __guard -q $(type -P python))" ]] ; then
349 - echo
350 - ewarn "xend may not work when python is built with stack smashing protection (ssp)."
351 - ewarn "If 'xm create' fails with '<ProtocolError for /RPC2: -1 >', see bug #141866"
352 - ewarn "This probablem may be resolved as of Xen 3.0.4, if not post in the bug."
353 - fi
354 -
355 - if ! has_version "dev-lang/python[ncurses]"; then
356 - echo
357 - ewarn "NB: Your dev-lang/python is built without USE=ncurses."
358 - ewarn "Please rebuild python with USE=ncurses to make use of xenmon.py."
359 - fi
360 -
361 - if has_version "sys-apps/iproute2[minimal]"; then
362 - echo
363 - ewarn "Your sys-apps/iproute2 is built with USE=minimal. Networking"
364 - ewarn "will not work until you rebuild iproute2 without USE=minimal."
365 - fi
366 -
367 - if ! use hvm; then
368 - echo
369 - elog "HVM (VT-x and AMD-V) support has been disabled. If you need hvm"
370 - elog "support enable the hvm use flag."
371 - elog "An x86 or amd64 multilib system is required to build HVM support."
372 - echo
373 - elog "The qemu use flag has been removed and replaced with hvm."
374 - fi
375 -
376 - if use xend; then
377 - echo
378 - elog "xend capability has been enabled and installed"
379 - fi
380 -
381 - if grep -qsF XENSV= "${ROOT}/etc/conf.d/xend"; then
382 - echo
383 - elog "xensv is broken upstream (Gentoo bug #142011)."
384 - elog "Please remove '${ROOT%/}/etc/conf.d/xend', as it is no longer needed."
385 - fi
386 - python_mod_optimize $(use pygrub && echo grub) xen
387 -}
388 -
389 -pkg_postrm() {
390 - python_mod_cleanup $(use pygrub && echo grub) xen
391 -}
392 \ No newline at end of file
393
394 diff --git a/app-emulation/xen-tools/xen-tools-9999.ebuild b/app-emulation/xen-tools/xen-tools-9999.ebuild
395 index 7a66079..aa447c1 100644
396 --- a/app-emulation/xen-tools/xen-tools-9999.ebuild
397 +++ b/app-emulation/xen-tools/xen-tools-9999.ebuild
398 @@ -117,13 +117,6 @@ pkg_setup() {
399 fi
400 fi
401
402 - if use doc && ! has_version "dev-tex/latex2html[png,gif]"; then
403 - # die early instead of later
404 - eerror "USE=doc requires latex2html with image support. Please add"
405 - eerror "'png' and/or 'gif' to your use flags and re-emerge latex2html"
406 - die "latex2html missing both png and gif flags"
407 - fi
408 -
409 use api && export "LIBXENAPI_BINDINGS=y"
410 use flask && export "FLASK_ENABLE=y"
411 }
412 @@ -304,4 +297,5 @@ pkg_postinst() {
413
414 pkg_postrm() {
415 python_mod_cleanup $(use pygrub && echo grub) xen
416 -}
417 \ No newline at end of file
418 +}
419 +