public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-emulation/virtualbox-guest-additions: virtualbox-guest-additions-1.5.6.ebuild metadata.xml Manifest virtualbox-guest-additions-1.6.4.ebuild ChangeLog
@ 2008-08-10 14:49 Markus Ullmann (jokey)
  0 siblings, 0 replies; only message in thread
From: Markus Ullmann (jokey) @ 2008-08-10 14:49 UTC (permalink / raw
  To: gentoo-commits

jokey       08/08/10 14:49:33

  Added:                virtualbox-guest-additions-1.5.6.ebuild
                        metadata.xml Manifest
                        virtualbox-guest-additions-1.6.4.ebuild ChangeLog
  Log:
  Add version bump wrt bug #233683
  (Portage version: 2.2_rc6/cvs/Linux 2.6.26-gentoo i686)

Revision  Changes    Path
1.1                  app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-1.5.6.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-1.5.6.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-1.5.6.ebuild?rev=1.1&content-type=text/plain

Index: virtualbox-guest-additions-1.5.6.ebuild
===================================================================
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-1.5.6.ebuild,v 1.1 2008/08/10 14:49:33 jokey Exp $

inherit eutils linux-mod

MY_P=VirtualBox-${PV}-1_OSE
DESCRIPTION="VirtualBox kernel modules and user-space tools for Linux guests"
HOMEPAGE="http://www.virtualbox.org/"
SRC_URI="http://www.virtualbox.org/download/${PV}/${MY_P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="X"

RDEPEND="x11-libs/libXt
		amd64? ( app-emulation/emul-linux-x86-xlibs )
		X? ( ~x11-drivers/xf86-video-virtualbox-${PV}
			 ~x11-drivers/xf86-input-virtualbox-${PV} )"
DEPEND="${RDEPEND}
		sys-devel/bin86
		sys-devel/dev86
		sys-power/iasl
		x11-proto/renderproto"

BUILD_TARGETS="all"
BUILD_TARGET_ARCH="${ARCH}"
MODULE_NAMES="vboxadd(misc:${WORKDIR}/vboxadd:${WORKDIR}/vboxadd)
			vboxvfs(misc:${WORKDIR}/vboxvfs:${WORKDIR}/vboxvfs)"

S=${WORKDIR}/${MY_P/-1_/_}

pkg_setup() {
		linux-mod_pkg_setup
		BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}"
}

src_unpack() {
		unpack ${A}

		# Create and unpack a tarball with the sources of the Linux guest
		# kernel modules, to include all the needed files
		"${MY_P/-1_/_}"/src/VBox/Additions/linux/export_modules "${WORKDIR}/vbox-kmod.tar.gz"
		unpack ./vbox-kmod.tar.gz

		# Disable (unused) alsa checks in {configure, Comfig.kmk}
		epatch "${FILESDIR}/${P}-remove-alsa.patch"
}

src_compile() {
		linux-mod_src_compile

		# build the user-space tools, warnings are harmless
		./configure --nofatal \
		--disable-xpcom \
		--disable-sdl-ttf \
		--disable-pulse \
		--build-headless || die "configure failed"
		source ./env.sh

		for each in	src/VBox/{Runtime,Additions/common} \
		src/VBox/Additions/linux{sharefolders,daemon,xclient} ; do
				MAKE="kmk" emake || die "kmk failed"
		done
}

src_install() {
		linux-mod_src_install

		cd "${S}"/out/linux.${ARCH}/release/bin/additions

		# shared folders
		insinto /sbin
		newins mountvboxsf mount.vboxvfs
		fperms 4755 /sbin/mount.vboxvfs

		# time synchronisation system service
		insinto /usr/sbin
		doins vboxadd-timesync
		fperms 0755 /usr/sbin/vboxadd-timesync

		# shared clipboard user service
		insinto /usr/bin
		doins vboxadd-xclient
		fperms 4755 /usr/bin/vboxadd-xclient

		newinitd "${FILESDIR}"/${P}.initd ${PN}

		# shared clipboard user service xinit script
		if use X; then
			dodir /etc/X11/xinit/xinitrc.d/
			echo -e "#/bin/sh\n/usr/bin/vboxadd-xclient" \
			>> "${D}/etc/X11/xinit/xinitrc.d/98vboxadd-xclient"
			fperms 0755 /etc/X11/xinit/xinitrc.d/98vboxadd-xclient
		fi

		# udev rule for vboxdrv
		dodir /etc/udev/rules.d
		echo 'KERNEL=="vboxadd", NAME="vboxadd", OWNER="root", MODE="0660"' \
		>> "${D}/etc/udev/rules.d/60-virtualbox-guest-additions.rules"
}

pkg_postinst() {
		linux-mod_pkg_postinst
		if ! useq X ; then
			elog "use flag X is off, enable it to install the"
			elog "X Window System input and video drivers"
		fi
		elog ""
		elog "Warning:"
		elog "this ebuild is only needed if you are running gentoo"
		elog "inside a VirtualBox Virtual Machine, you don't need"
		elog "it to run VirtualBox itself"
		elog ""
}



1.1                  app-emulation/virtualbox-guest-additions/metadata.xml

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-guest-additions/metadata.xml?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-guest-additions/metadata.xml?rev=1.1&content-type=text/plain

Index: metadata.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>no-herd</herd>
<maintainer>
  <email>jokey@gentoo.org</email>
  <name>Markus Ullmann</name>
</maintainer>
<maintainer>
  <email>swapon@gmail.com</email>
  <name>Alessio Cassibba</name>
</maintainer>
</pkgmetadata>



1.1                  app-emulation/virtualbox-guest-additions/Manifest

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-guest-additions/Manifest?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-guest-additions/Manifest?rev=1.1&content-type=text/plain

Index: Manifest
===================================================================
AUX virtualbox-guest-additions-1.5.6-remove-alsa.patch 761 RMD160 01a703389ac676662c16150855e7dc536d5b0845 SHA1 327818074e2dd85b1c55570fc67367165b525e79 SHA256 b23acb72dc347a98982bc882d646d9aa785ec46d34083448f1a3c9c77794d18f
AUX virtualbox-guest-additions-1.5.6.initd 1286 RMD160 b0a59b77f09772a048b74447e1e3b0c88a523437 SHA1 5f0db8a24b1a6546a8079c0e2f45d463d7a3d9a3 SHA256 18a01b1995f8fe99459ad5f997a5b6b6257928ff3666550c8a3fb703ea3e7a27
AUX virtualbox-guest-additions-1.6.4-fix-missing-makefiles.patch 2042 RMD160 a3e09cff5de8ea11e892187dce899cab4c8742d8 SHA1 d0d9d0679736fa21270ccfff0fac93533afd9a2a SHA256 051bb5d7c4a2040a1fe1289f20dcc35e6b263041774cf93466e682659d493ca8
AUX virtualbox-guest-additions-1.6.4.initd 1286 RMD160 b0a59b77f09772a048b74447e1e3b0c88a523437 SHA1 5f0db8a24b1a6546a8079c0e2f45d463d7a3d9a3 SHA256 18a01b1995f8fe99459ad5f997a5b6b6257928ff3666550c8a3fb703ea3e7a27
DIST VirtualBox-1.5.6-1_OSE.tar.bz2 26720717 RMD160 b016986beeae6205f19f5f1a3c586d3c08511c2f SHA1 1cb11c012b9143e14f2eada645757cae8886d0d1 SHA256 fb4d98f932a89d914486101a22dfdda628dae34069dfae8b6cdece4fa10b9c24
DIST VirtualBox-1.6.4-OSE.tar.bz2 35484117 RMD160 af94b774d9964757da125c4614e393396f7e892b SHA1 457ae85f2d10028ac7c56e4b35ee47028ec0208b SHA256 7e777e5f602d7b48bf5a8b1d580ee43dd6327b9037816fde484a13db8a86b422
EBUILD virtualbox-guest-additions-1.5.6.ebuild 3084 RMD160 1c443261b6b0d07913def2b8454ae731c7180b64 SHA1 5af10c637b486c43a803be010109d444c6ba0322 SHA256 f7b304a40a836c6b9def34096caa5830e8f0a51a15e6fc03b6fae64c459f85b0
EBUILD virtualbox-guest-additions-1.6.4.ebuild 3062 RMD160 65715a0477aca16beafa4bedaa2b60989de5dec0 SHA1 f6f615c1a82ebfec8577f5aca9f4727983f9da25 SHA256 9f93c78d1559622edaffdbc86d3b415b7bbe7f39ac5b532d8963281847ac80cc
MISC ChangeLog 3469 RMD160 ba6c7fa682e5fef2340c727c7a92777418518d64 SHA1 4b25bb716fa98cef1a591789fb7a25d4f6d0b42f SHA256 cca35af401251330d69b10a43989c753c20ed84fff952c6f4443f53168778cef
MISC metadata.xml 344 RMD160 12935d5b21be85bc4222fd06371c93dcbf6f534e SHA1 68b99919921f246738cce4350b77d895e7c78106 SHA256 fff5aeb6f453d2e137765ca5016e81344cb0cd0cecd51d81bbb889cb1d7a5ba9



1.1                  app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-1.6.4.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-1.6.4.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-1.6.4.ebuild?rev=1.1&content-type=text/plain

Index: virtualbox-guest-additions-1.6.4.ebuild
===================================================================
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-1.6.4.ebuild,v 1.1 2008/08/10 14:49:33 jokey Exp $

inherit eutils linux-mod

MY_P=VirtualBox-${PV}-OSE
DESCRIPTION="VirtualBox kernel modules and user-space tools for Linux guests"
HOMEPAGE="http://www.virtualbox.org/"
SRC_URI="http://www.virtualbox.org/download/${PV}/${MY_P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="X"

RDEPEND="x11-libs/libXt
		amd64? ( app-emulation/emul-linux-x86-xlibs )
		X? ( ~x11-drivers/xf86-video-virtualbox-${PV}
			 ~x11-drivers/xf86-input-virtualbox-${PV} )"
DEPEND="${RDEPEND}
		sys-devel/bin86
		sys-devel/dev86
		sys-power/iasl
		x11-proto/renderproto"

BUILD_TARGETS="all"
BUILD_TARGET_ARCH="${ARCH}"
MODULE_NAMES="vboxadd(misc:${WORKDIR}/vboxadd:${WORKDIR}/vboxadd)
			vboxvfs(misc:${WORKDIR}/vboxvfs:${WORKDIR}/vboxvfs)"

S=${WORKDIR}/${MY_P/-OSE/}

pkg_setup() {
		linux-mod_pkg_setup
		BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}"
}

src_unpack() {
		unpack ${A}

		# Create and unpack a tarball with the sources of the Linux guest
		# kernel modules, to include all the needed files
		"${MY_P/-OSE/}"/src/VBox/Additions/linux/export_modules "${WORKDIR}/vbox-kmod.tar.gz"
		unpack ./vbox-kmod.tar.gz

		# Fix missing makefiles
		cd "${S}"
		epatch "${FILESDIR}/${P}-fix-missing-makefiles.patch"
}

src_compile() {
		linux-mod_src_compile

		# build the user-space tools, warnings are harmless
		./configure --nofatal \
		--disable-xpcom \
		--disable-sdl-ttf \
		--disable-pulse \
		--disable-alsa \
		--build-headless || die "configure failed"
		source ./env.sh

		for each in	src/VBox/{Runtime,Additions/common} \
		src/VBox/Additions/linux{sharefolders,daemon,xclient} ; do
				MAKE="kmk" emake || die "kmk failed"
		done
}

src_install() {
		linux-mod_src_install

		cd "${S}"/out/linux.${ARCH}/release/bin/additions

		# shared folders
		insinto /sbin
		newins mountvboxsf mount.vboxvfs
		fperms 4755 /sbin/mount.vboxvfs

		# time synchronisation system service
		insinto /usr/sbin
		doins vboxadd-timesync
		fperms 0755 /usr/sbin/vboxadd-timesync

		newinitd "${FILESDIR}"/${P}.initd ${PN}

		# shared clipboard user service and xinit script
		if use X; then
			insinto /usr/bin
			doins vboxadd-xclient
			fperms 4755 /usr/bin/vboxadd-xclient

			dodir /etc/X11/xinit/xinitrc.d/
			echo -e "#/bin/sh\n/usr/bin/vboxadd-xclient" \
			>> "${D}/etc/X11/xinit/xinitrc.d/98vboxadd-xclient"
			fperms 0755 /etc/X11/xinit/xinitrc.d/98vboxadd-xclient
		fi

		# udev rule for vboxdrv
		dodir /etc/udev/rules.d
		echo 'KERNEL=="vboxadd", NAME="vboxadd", OWNER="root", MODE="0660"' \
		>> "${D}/etc/udev/rules.d/60-virtualbox-guest-additions.rules"
}

pkg_postinst() {
		linux-mod_pkg_postinst
		if ! useq X ; then
			elog "use flag X is off, enable it to install the"
			elog "X Window System input and video drivers"
		fi
		elog ""
		elog "Warning:"
		elog "this ebuild is only needed if you are running gentoo"
		elog "inside a VirtualBox Virtual Machine, you don't need"
		elog "it to run VirtualBox itself"
		elog ""
}



1.1                  app-emulation/virtualbox-guest-additions/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-guest-additions/ChangeLog?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-guest-additions/ChangeLog?rev=1.1&content-type=text/plain

Index: ChangeLog
===================================================================
# ChangeLog for app-emulation/virtualbox-guest-tools
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-guest-additions/ChangeLog,v 1.1 2008/08/10 14:49:33 jokey Exp $

*virtualbox-guest-additions-1.6.4 (10 Aug 2008)

  10 Aug 2008; Markus Ullmann <jokey@gentoo.org>
  +files/virtualbox-guest-additions-1.5.6-remove-alsa.patch,
  +files/virtualbox-guest-additions-1.5.6.initd,
  +files/virtualbox-guest-additions-1.6.4-fix-missing-makefiles.patch,
  +files/virtualbox-guest-additions-1.6.4.initd, +metadata.xml,
  +virtualbox-guest-additions-1.5.6.ebuild,
  +virtualbox-guest-additions-1.6.4.ebuild:
  Add version bump wrt bug #233683

*virtualbox-guest-additions-1.5.6 (19 Mar 2008)

  19 Mar 2008; Markus Ullmann <jokey@gentoo.org>
  +files/virtualbox-guest-additions-1.5.6-remove-alsa.patch,
  +files/virtualbox-guest-additions-1.5.6.initd, +metadata.xml,
  +virtualbox-guest-additions-1.5.6.ebuild:
  Initial import for bug 204511, thanks to all involved

  16 Mar 2008; Davide Cendron (scen) <scen@gentoo.org>
  files/virtualbox-guest-additions-1.5.4.initd,
  files/virtualbox-guest-additions-1.5.6.initd:
  Initscript must start before xdm

  07 Mar 2008; Davide Cendron (scen) <scen@gentoo.org>
  virtualbox-guest-additions-1.5.4.ebuild,
  virtualbox-guest-additions-1.5.6.ebuild:
  Fixed installation of mount.vboxvfs

  26 Feb 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com>
  +files/virtualbox-guest-additions-1.5.6.initd:
  add initd script

  26 Feb 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com>
  virtualbox-guest-additions-1.5.6.ebuild:
  fix wrong MY_P

  21 Feb 2008; Alessio Cassibba <swapon@gmail.com>
  +virtualbox-guest-additions-1.5.6.ebuild,
  +files/virtualbox-guest-additions-1.5.6-remove-alsa.patch:
  version bump

  21 Jan 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com>
  virtualbox-guest-additions-1.5.4.ebuild:
  add a warning in pkg_postinst about the X Window System input and video drivers

  21 Jan 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com>
  virtualbox-guest-additions-1.5.4.ebuild:
  fix mount.vboxvfs installation; add xf86-{input,video}-virtualbox in RDEPEND

  20 Jan 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com>
  virtualbox-guest-additions-1.5.4.ebuild:
  drop alsa use flag (additions don't need it at all); fix minor cosmetics

  20 Jan 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com>
  virtualbox-guest-additions-1.5.4.ebuild:
  fix the creation of the vboxadd-xclient xinit.d script

  20 Jan 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com>
  virtualbox-guest-additions-1.5.4.ebuild,
  files/virtualbox-guest-additions-1.5.4.initd:
  add X and alsa use flags; fix permissions; add the shared clipboard user
  service init script; fix the initd script

  19 Jan 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com>
  files/virtualbox-guest-additions-1.5.4.initd:
  fix modules in the initd script; minor cosmetic fixes

  19 Jan 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com> ChangeLog:
  rename virtualbox-guest-tools to virtualbox-guest-additions

  18 Jan 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com>
  virtualbox-guest-tools-1.5.4.ebuild:
  add app-emulation/emul-linux-x86-xlibs in RDEPEND, 32 bit libXt is needed
  for amd64 in order to build additions bug #204674, in addition this ebuild
  should be masked for amd64-no-multilib

  18 Jan 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com>
  virtualbox-guest-tools-1.5.4.ebuild,
  -virtualbox-guest-tools-1.5.4-remove-alsa.patch:
  fix src_install for amd64







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

only message in thread, other threads:[~2008-08-10 14:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-10 14:49 [gentoo-commits] gentoo-x86 commit in app-emulation/virtualbox-guest-additions: virtualbox-guest-additions-1.5.6.ebuild metadata.xml Manifest virtualbox-guest-additions-1.6.4.ebuild ChangeLog Markus Ullmann (jokey)

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