diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /gnome-extra/gnome-boxes | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'gnome-extra/gnome-boxes')
-rw-r--r-- | gnome-extra/gnome-boxes/Manifest | 2 | ||||
-rw-r--r-- | gnome-extra/gnome-boxes/gnome-boxes-3.14.3.1.ebuild | 107 | ||||
-rw-r--r-- | gnome-extra/gnome-boxes/gnome-boxes-3.16.2.ebuild | 108 | ||||
-rw-r--r-- | gnome-extra/gnome-boxes/metadata.xml | 9 |
4 files changed, 226 insertions, 0 deletions
diff --git a/gnome-extra/gnome-boxes/Manifest b/gnome-extra/gnome-boxes/Manifest new file mode 100644 index 000000000000..6ecd51f2ce6e --- /dev/null +++ b/gnome-extra/gnome-boxes/Manifest @@ -0,0 +1,2 @@ +DIST gnome-boxes-3.14.3.1.tar.xz 1363088 SHA256 048df41ce1bcece1d89dfddcb571ed17dfa7f614929cd63f3079d14c66c10f24 SHA512 c714ff854f63832a2d0b6660378d36d5dfd99ece584a12ebe066cb58da6ee374287069d23a28f1966c343e68b5db25dbac5651031316bbe464f37a0746bf5822 WHIRLPOOL 18ec809438a64d7fa8e96a3bff9beece05c9312e2920bc5c10ca9efd8669b9b0eb1ace403d5252729da23735f3f9aec3f58be5a269df56a18bb9ca11e6f7d137 +DIST gnome-boxes-3.16.2.tar.xz 1604664 SHA256 f5fecb1ba0769e2a3dbec31e6149fffbcbd59946e4dbab31fb3ec28a16e41995 SHA512 40fcb79cedfa070e6beed905ec814caff2764361a9b5205e68dbe8b6bbdc737a550d1c1695446ac053813b77e24bb2a6087a2eca352c9d28d13c0655142454c0 WHIRLPOOL 37cfbaafdaa724eaee10485415dac5e16161a41bfbdca83f86b806bd3f0b6143900e30154939db481e546b0bd87db8d32e505f482e1bd1a0f81ec051936be7b5 diff --git a/gnome-extra/gnome-boxes/gnome-boxes-3.14.3.1.ebuild b/gnome-extra/gnome-boxes/gnome-boxes-3.14.3.1.ebuild new file mode 100644 index 000000000000..5135466f6a5d --- /dev/null +++ b/gnome-extra/gnome-boxes/gnome-boxes-3.14.3.1.ebuild @@ -0,0 +1,107 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GCONF_DEBUG="no" +VALA_USE_DEPEND="vapigen" +VALA_MIN_API_VERSION="0.26" + +inherit linux-info gnome2 readme.gentoo vala + +DESCRIPTION="Simple GNOME 3 application to access remote or virtual systems" +HOMEPAGE="https://wiki.gnome.org/Apps/Boxes" + +LICENSE="LGPL-2" +SLOT="0" + +# We force 'bindist' due to licenses from gnome-boxes-nonfree +IUSE="smartcard usbredir" #bindist +KEYWORDS="amd64" # qemu-kvm[spice] is 64bit-only + +# NOTE: sys-fs/* stuff is called via exec() +# FIXME: ovirt is not available in tree +# FIXME: use vala.eclass but only because of libgd not being able +# to use its pre-generated files so do not copy all the +# vala deps like live ebuild has. +RDEPEND=" + >=app-arch/libarchive-3:= + >=dev-libs/glib-2.38:2 + >=dev-libs/gobject-introspection-0.9.6 + >=dev-libs/libxml2-2.7.8:2 + >=sys-libs/libosinfo-0.2.11 + >=app-emulation/qemu-1.3.1[spice,smartcard?,usbredir?] + >=app-emulation/libvirt-0.9.3[libvirtd,qemu] + >=app-emulation/libvirt-glib-0.1.9 + >=x11-libs/gtk+-3.13.2:3 + >=net-libs/gtk-vnc-0.4.4[gtk3] + >=net-misc/spice-gtk-0.16[gtk3,smartcard?,usbredir?] + + >=app-misc/tracker-0.16:0=[iso] + + >=sys-apps/util-linux-2.20 + >=net-libs/libsoup-2.38:2.4 + + sys-fs/fuse + sys-fs/fuseiso + sys-fs/mtools + virtual/libgudev:= +" +# !bindist? ( gnome-extra/gnome-boxes-nonfree ) + +DEPEND="${RDEPEND} + $(vala_depend) + app-text/yelp-tools + dev-util/desktop-file-utils + >=dev-util/intltool-0.40 + >=sys-devel/gettext-0.17 + virtual/pkgconfig +" + +DISABLE_AUTOFORMATTING="yes" +DOC_CONTENTS="Before running gnome-boxes, you will need to load the KVM modules. +If you have an Intel Processor, run: +# modprobe kvm-intel + +If you have an AMD Processor, run: +# modprobe kvm-amd" + +pkg_pretend() { + linux-info_get_any_version + + if linux_config_exists; then + if ! { linux_chkconfig_present KVM_AMD || \ + linux_chkconfig_present KVM_INTEL; }; then + ewarn "You need KVM support in your kernel to use GNOME Boxes!" + fi + fi +} + +src_prepare() { + # Do not change CFLAGS, wondering about VALA ones but appears to be + # needed as noted in configure comments below + sed 's/CFLAGS="$CFLAGS -O0 -ggdb3"//' -i configure{.ac,} || die + + vala_src_prepare + gnome2_src_prepare +} + +src_configure() { + # debug needed for splitdebug proper behavior (cardoe), bug #???? + gnome2_src_configure \ + --enable-debug \ + --disable-strict-cc \ + $(use_enable usbredir) \ + $(use_enable smartcard) \ + --enable-ovirt=no +} + +src_install() { + gnome2_src_install + readme.gentoo_create_doc +} + +pkg_postinst() { + gnome2_pkg_postinst + readme.gentoo_print_elog +} diff --git a/gnome-extra/gnome-boxes/gnome-boxes-3.16.2.ebuild b/gnome-extra/gnome-boxes/gnome-boxes-3.16.2.ebuild new file mode 100644 index 000000000000..065d9cbebce8 --- /dev/null +++ b/gnome-extra/gnome-boxes/gnome-boxes-3.16.2.ebuild @@ -0,0 +1,108 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GCONF_DEBUG="no" +VALA_USE_DEPEND="vapigen" +VALA_MIN_API_VERSION="0.26" + +inherit linux-info gnome2 readme.gentoo vala + +DESCRIPTION="Simple GNOME 3 application to access remote or virtual systems" +HOMEPAGE="https://wiki.gnome.org/Apps/Boxes" + +LICENSE="LGPL-2" +SLOT="0" + +# We force 'bindist' due to licenses from gnome-boxes-nonfree +IUSE="smartcard usbredir" #bindist +KEYWORDS="~amd64" # qemu-kvm[spice] is 64bit-only + +# NOTE: sys-fs/* stuff is called via exec() +# FIXME: ovirt is not available in tree +# FIXME: use vala.eclass but only because of libgd not being able +# to use its pre-generated files so do not copy all the +# vala deps like live ebuild has. +RDEPEND=" + >=app-arch/libarchive-3:= + >=dev-libs/glib-2.38:2 + >=dev-libs/gobject-introspection-0.9.6 + >=dev-libs/libxml2-2.7.8:2 + >=sys-libs/libosinfo-0.2.11 + >=app-emulation/qemu-1.3.1[spice,smartcard?,usbredir?] + >=app-emulation/libvirt-0.9.3[libvirtd,qemu] + >=app-emulation/libvirt-glib-0.2 + >=x11-libs/gtk+-3.13.2:3 + >=net-libs/gtk-vnc-0.4.4[gtk3] + >=net-misc/spice-gtk-0.27[gtk3,smartcard?,usbredir?] + virtual/libusb:1 + + >=app-misc/tracker-0.16:0=[iso] + + >=sys-apps/util-linux-2.20 + >=net-libs/libsoup-2.38:2.4 + + sys-fs/fuse + sys-fs/fuseiso + sys-fs/mtools + virtual/libgudev:= +" +# !bindist? ( gnome-extra/gnome-boxes-nonfree ) + +DEPEND="${RDEPEND} + $(vala_depend) + app-text/yelp-tools + dev-util/desktop-file-utils + >=dev-util/intltool-0.40 + >=sys-devel/gettext-0.17 + virtual/pkgconfig +" + +DISABLE_AUTOFORMATTING="yes" +DOC_CONTENTS="Before running gnome-boxes, you will need to load the KVM modules. +If you have an Intel Processor, run: +# modprobe kvm-intel + +If you have an AMD Processor, run: +# modprobe kvm-amd" + +pkg_pretend() { + linux-info_get_any_version + + if linux_config_exists; then + if ! { linux_chkconfig_present KVM_AMD || \ + linux_chkconfig_present KVM_INTEL; }; then + ewarn "You need KVM support in your kernel to use GNOME Boxes!" + fi + fi +} + +src_prepare() { + # Do not change CFLAGS, wondering about VALA ones but appears to be + # needed as noted in configure comments below + sed 's/CFLAGS="$CFLAGS -O0 -ggdb3"//' -i configure{.ac,} || die + + vala_src_prepare + gnome2_src_prepare +} + +src_configure() { + # debug needed for splitdebug proper behavior (cardoe), bug #???? + gnome2_src_configure \ + --enable-debug \ + --disable-strict-cc \ + $(use_enable usbredir) \ + $(use_enable smartcard) \ + --enable-ovirt=no +} + +src_install() { + gnome2_src_install + readme.gentoo_create_doc +} + +pkg_postinst() { + gnome2_pkg_postinst + readme.gentoo_print_elog +} diff --git a/gnome-extra/gnome-boxes/metadata.xml b/gnome-extra/gnome-boxes/metadata.xml new file mode 100644 index 000000000000..fa5ebd0b3a27 --- /dev/null +++ b/gnome-extra/gnome-boxes/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>gnome</herd> + <use> + <flag name="usbredir">Use <pkg>sys-apps/usbredir</pkg> to redirect USB + devices to another machine over TCP</flag> + </use> +</pkgmetadata> |