public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/user/ssnb:master commit in: app-emulation/libguestfs/
@ 2018-01-21 14:07 Samuel Bernardo
  0 siblings, 0 replies; only message in thread
From: Samuel Bernardo @ 2018-01-21 14:07 UTC (permalink / raw
  To: gentoo-commits

commit:     f3d31cefd1a494049d4ff67e04694a8f4e7ecccd
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Sun Jan 21 14:06:57 2018 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Sun Jan 21 14:06:57 2018 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=f3d31cef

add libguestfs develop version

 app-emulation/libguestfs/Manifest                  |   4 +-
 app-emulation/libguestfs/libguestfs-1.37.35.ebuild | 167 +++++++++++++++++++++
 2 files changed, 170 insertions(+), 1 deletion(-)

diff --git a/app-emulation/libguestfs/Manifest b/app-emulation/libguestfs/Manifest
index 109c8eb..485dfbd 100644
--- a/app-emulation/libguestfs/Manifest
+++ b/app-emulation/libguestfs/Manifest
@@ -6,8 +6,10 @@ AUX 1.28/0103_disable_php_bindings_makefile.patch 231 SHA256 f5b73f353746d7f945c
 AUX 1.36/0001-Update-libtool-initialization.patch 984 SHA256 37541554f999938b089a732bc0b877748dd11abc72e4a5b9cd5e39e2aedde8dd SHA512 c1d72b214d2ae5d1ecebc9333e1926d475d84c992af22379d3eb94f1ce5dbd0444b4f24d757de038d0b941d3f720d13e53837b0655019cb82c136622bca7496c WHIRLPOOL ab4eab1074b81d96c6e70f173526b6e59f2755ed3a33eb06bfa71101c2faa9059812f0fb298f019dda78089e9636e2122d8493bcb2038edf509bfce5d04b1406
 AUX 1.36/0002-Add-support-for-Gentoo-in-distribution-detection.patch 725 SHA256 14f65aacc0c5a46391c57a6cd67b389aeb9e44a6afb63f8bc4a299f8ba30500d SHA512 89f4375aef8f025b4cc1271f92d33a58927a13d05167c14c02fa48849bbe7283af684ea0e63632c7f7b8b04c9be463d29c07e65ca52b606283c1e0270c4db167 WHIRLPOOL 8ef3b5e5e0cfe6625c1a3de11b5bcf445a3aea4f6417b88b413c82c0f005fb24ecf7f5679effc7aaedff7a1ac5dd441b271b56d997d66b44a7eaba965b2c7674
 AUX 1.36/0003-Workaround-autotools-utils-detection-of-gtk-doc.patch 1168 SHA256 5cd4028d943c607b440308f1cbff9dddabc988ae3f984ce655491a45d10c06f8 SHA512 8c45fb951ceecfc67bcbb426a1bd37bfd31981bde2b8235c1508ccf4eb3a1a44627beffc824a3cff333a40a425da17ef77962b5ea9c1a875acb6adf0d47e8931 WHIRLPOOL 353115465ecef08a357e43958deb5edd21e32f9c1d86099b0eed2977783dc11d1bb0ce71ee610a4520279887e26f39e27ffe1a63e2d965e34058aae1aecd2eff
-DIST libguestfs-1.28.5.tar.gz 12747537 BLAKE2B b0cc023efef41955c4b448b68bd5578d88d305364afdc1fc24c7d26ba5fae4a1b81ee58799d42774ea28e162208edbf36a0e49c1a7e4f751c74e9c45e9a472a6 SHA512 5ab25498fa9141950c1077cc52bae05a2781fa86a983b5fa49fbd4a4bca70710db3d4f7b9f45fb6f8b4ee8e3d77ffde7c4c0d9e9e526443e2a8251a62306ebb6
+DIST libguestfs-1.28.5.tar.gz 12747537 SHA256 e9f38c6ad15cefe18b096a86334a60fc7df6367358f2641d8c5c5f3122ad9d91 SHA512 5ab25498fa9141950c1077cc52bae05a2781fa86a983b5fa49fbd4a4bca70710db3d4f7b9f45fb6f8b4ee8e3d77ffde7c4c0d9e9e526443e2a8251a62306ebb6 WHIRLPOOL cbbac5cce87dd41ad05b13732d0f5a3442c980152d8864522f5df47ffed7a260a131c819ceb40edd07cd74454fc9f4c0c7eb41fe734509a4e123d28bc58d813f
 DIST libguestfs-1.36.11.tar.gz 23172504 SHA256 48a9205da215ea856b727d85251e5a747829f92c7a0abe9671d73d4b5c2b3813 SHA512 81217bc2be1755f108af815238f144ab72ecb5cc6a815bc50246463508bed739848b9b67c6cf8b1d68c3cfa0aca66857e9006c11e3a8fe20fc1ddcb22c562571 WHIRLPOOL a4a2ab4be541d031b979025e5051f0bacc5a42a7ece6c14c07a3bc567ab32cae24a1ddca634837753b9f609dab3b99b0e1dbbd8118868230ac63e8247b519161
+DIST libguestfs-1.37.35.tar.gz 23519100 SHA256 9b43dbed1fb43807d96c1b7fa0e42d46c64e0b78571a697ea156f7a4e27db45f SHA512 864ce2080f42c73f47e7ca99d3d07323e7dda5868551c029b55d122964a7c030ea6148e10112f7c25ce16651bcb16db29edfc71f2b87b42251383cdcab250bf1 WHIRLPOOL 22fc1716e5e6f092620c5e30a89f2d32a157f1ef29eee1dec9caf72311f8d7f20fccee31bbe46fe209812ee5acc19941e86b10143d1c5f6a413d613761b75f18
 EBUILD libguestfs-1.28.5_p1-r3.ebuild 3798 SHA256 419358fdc6f21d83392a82ebaf1bf381c1f88f9d04b09c0103be28615f63b09b SHA512 17a68acc079cb767c42886a950b85b48f27b3fc10221dc30a2ac032d3e2b2c7873ffa5dc5165b2cd80df8c8098c26ded3da3bfcfcd9a0bb282c30fcce60a1ab5 WHIRLPOOL e645182f9ee4bcc55d315771904055b5c2112e7bfa6e78bd35979b3525b6bd6fe8d0aafafafb2b76f32a070f57d66accee076fb0155a92ea8f75d5629881e1f1
 EBUILD libguestfs-1.36.11.ebuild 3877 SHA256 68129997b131a40388704762383f2460c4ea0fdeaa138df5d7b04d265da8e636 SHA512 749338dfb6c0dc81ff122085f71fd0861ee6b5b71cbd8591d0392896ee28d59f2f09f3a970dd2f93cc3f520f81767690c8d58bb6ed100de1066a23151b8d33e2 WHIRLPOOL 816b816f34779ce28845087747b6afe4a41e9c8afe343bcca40b30f4af39947b21e53f0a8390f45daf2d5766453c7663a8ff95b86c16c4ece51870433e6228ca
+EBUILD libguestfs-1.37.35.ebuild 3922 SHA256 047160356c224ec5d0689fda1eab9e4b8b0237310a7f603752137192880875bb SHA512 ac7b30314d887f2f4cf8247384d38981527b5ebe0da44649468f5c7ff250af4fd08b4982696b598405a346b6976fa95fdf038f68ebcb421ddc967c6ffdba7b31 WHIRLPOOL a3cae03c7a96c796ff3b85db257f5808eb71bedbae7e158d38a89ab08e91dfe6f86af7e42674fd54751708c768d88e73b508e8cc4ac077e360a21d88afd49c60
 MISC metadata.xml 894 SHA256 2b195f1494f336f53cc8d2018077ea431e90d05b5ec0cd08ff851dac5d383738 SHA512 ec4e41f3143e4f8128e59188cbd0a105d22c5f28d8c388489bd71177d6c0084b798a2d127308cc1e04406a5fe9cfb143dd5aaf3308dd1422f82a561abeae13af WHIRLPOOL 3a98164903c0cb1670315bc2e522cc3bcea4583d10f45e6f785179e96b52730e78a5073ca699e82fc796d843e32f2e3a5e5e42941e0fae0a006cb9931b9e7f30

diff --git a/app-emulation/libguestfs/libguestfs-1.37.35.ebuild b/app-emulation/libguestfs/libguestfs-1.37.35.ebuild
new file mode 100644
index 0000000..dcebb63
--- /dev/null
+++ b/app-emulation/libguestfs/libguestfs-1.37.35.ebuild
@@ -0,0 +1,167 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_{4,5}} )
+
+inherit autotools linux-info perl-module python-single-r1 versionator
+
+MY_PV_1="$(get_version_component_range 1-2)"
+MY_PV_2="$(get_version_component_range 2)"
+[[ $(( $(get_version_component_range 2) % 2 )) -eq 0 ]] && SD="stable" || SD="development"
+
+DESCRIPTION="Tools for accessing, inspect  and modifying virtual machine (VM) disk images"
+HOMEPAGE="http://libguestfs.org/"
+SRC_URI="http://libguestfs.org/download/${MY_PV_1}-${SD}/${P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="0/"${MY_PV_1}""
+
+KEYWORDS="~amd64"
+IUSE="bash-completion erlang +fuse debug doc +perl python ruby static-libs
+selinux systemtap introspection inspect-icons test lua gtk"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+# Failures - doc
+# Failures - bash-completion, see GBZ #486306
+
+# FIXME: selinux support is automagic
+COMMON_DEPEND="
+	sys-libs/ncurses:0=
+	sys-devel/gettext
+	>=app-misc/hivex-1.3.1
+	dev-libs/libpcre:3
+	app-arch/cpio
+	dev-lang/perl
+	virtual/cdrtools
+	>=app-emulation/qemu-2.0[qemu_softmmu_targets_x86_64,systemtap?,selinux?,filecaps]
+	sys-apps/fakeroot
+	sys-apps/file
+	app-emulation/libvirt
+	dev-libs/libxml2:2
+	>=sys-apps/fakechroot-2.8
+	>=app-admin/augeas-1.0.0
+	sys-fs/squashfs-tools:*
+	dev-libs/libconfig
+	sys-libs/readline:0=
+	>=sys-libs/db-4.6:*
+	app-arch/xz-utils
+	app-arch/lzma
+	app-crypt/gnupg
+	app-arch/unzip[natspec]
+	perl? (
+		virtual/perl-ExtUtils-MakeMaker
+		>=dev-perl/Sys-Virt-0.2.4
+		virtual/perl-Getopt-Long
+		virtual/perl-Data-Dumper
+		dev-perl/libintl-perl
+		>=app-misc/hivex-1.3.1[perl?]
+		dev-perl/String-ShellQuote
+	)
+	python? ( ${PYTHON_DEPS} )
+	fuse? ( sys-fs/fuse:= )
+	introspection? (
+		>=dev-libs/glib-2.26:2
+		>=dev-libs/gobject-introspection-1.30.0:=
+		dev-libs/gjs
+	)
+	selinux? (
+		sys-libs/libselinux
+		sys-libs/libsemanage
+	)
+	systemtap? ( dev-util/systemtap )
+	>=dev-lang/ocaml-4.02[ocamlopt]
+	dev-ml/findlib[ocamlopt]
+	dev-ml/ocaml-gettext
+	>=dev-ml/ounit-2
+	erlang? ( dev-lang/erlang )
+	inspect-icons? (
+		media-libs/netpbm
+		media-gfx/icoutils
+	)
+	virtual/acl
+	sys-libs/libcap
+	lua? ( dev-lang/lua:* )
+	>=app-shells/bash-completion-2.0
+	>=dev-libs/yajl-2.0.4
+	gtk? (
+		sys-apps/dbus
+		x11-libs/gtk+:3
+	)
+	"
+DEPEND="${COMMON_DEPEND}
+	dev-util/gperf
+	>=dev-util/gtk-doc-am-1.14
+	doc? ( app-text/po4a )
+	ruby? ( dev-lang/ruby virtual/rubygems dev-ruby/rake )
+	"
+RDEPEND="${COMMON_DEPEND}
+	app-emulation/libguestfs-appliance
+	"
+
+DOCS=( AUTHORS BUGS ChangeLog HACKING README TODO )
+
+pkg_setup () {
+		CONFIG_CHECK="~KVM ~VIRTIO"
+		[ -n "${CONFIG_CHECK}" ] && check_extra_config;
+
+		use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+	[ "$(ls -A \"${FILESDIR}\"/${MY_PV_1})" ] && eapply "${FILESDIR}"/${MY_PV_1}
+	eapply_user
+	eautoreconf
+}
+
+src_configure() {
+	# Disable feature test for kvm for more reason
+	# i.e: not loaded module in __build__ time,
+	# build server not supported kvm, etc. ...
+	#
+	# In fact, this feature is virtio support and requires
+	# configured kernel.
+	export vmchannel_test=no
+
+	econf \
+		$(use_enable test werror) \
+		--with-libvirt \
+		--with-default-backend=libvirt \
+		--disable-appliance \
+		--disable-daemon \
+		--with-extra="-gentoo" \
+		--with-readline \
+		--disable-php \
+		$(use_enable python) \
+		--without-java \
+		$(use_enable perl) \
+		$(use_enable fuse) \
+		--enable-ocaml \
+		$(use_enable ruby) \
+		--disable-haskell \
+		--disable-golang \
+		$(use_enable introspection gobject) \
+		$(use_enable erlang) \
+		$(use_enable systemtap probes) \
+		$(use_enable lua) \
+		--with-gtk=$(usex gtk 3 no) \
+		$(usex doc '' PO4A=no)
+}
+
+src_install() {
+	strip-linguas -i po
+	emake DESTDIR="${D}" install "LINGUAS=""${LINGUAS}"""
+
+	use perl && perl_delete_localpod
+}
+
+pkg_postinst() {
+	if ! use perl ; then
+		einfo "Perl based tools NOT build"
+	fi
+	if ! gtk ; then
+		einfo "virt-p2v NOT installed"
+	fi
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-01-21 14:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-21 14:07 [gentoo-commits] repo/user/ssnb:master commit in: app-emulation/libguestfs/ Samuel Bernardo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox