app-emulation/vmware-workstation: initial checkin based on new eclass
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1270 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
parent
8aa9bb6cb4
commit
47df4fb05b
22
app-emulation/vmware-workstation/ChangeLog
Normal file
22
app-emulation/vmware-workstation/ChangeLog
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
# ChangeLog for app-emulation/vmware-workstation
|
||||||
|
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
|
||||||
|
# $Header: $
|
||||||
|
|
||||||
|
*vmware-workstation-5.5.9_p126128 (30 May 2009)
|
||||||
|
|
||||||
|
30 May 2009; Mario Fetka <mario.fetka@gmail.com>
|
||||||
|
+files/90vmware-workstation, +vmware-workstation-5.5.9_p126128.ebuild,
|
||||||
|
+files/vmware-player.desktop, +files/vmware-workstation.desktop,
|
||||||
|
+files/vmware-workstation.rc, +files/vmware-workstation.xml,
|
||||||
|
+metadata.xml:
|
||||||
|
initial checkin based on new eclass
|
||||||
|
|
||||||
|
25 Mar 2009; Mike Auty <ikelos@gentoo.org>
|
||||||
|
vmware-workstation-6.5.1.126130.ebuild:
|
||||||
|
gtkmm's accessibility is now always enabled (see bug #247249)
|
||||||
|
|
||||||
|
15 Jan 2009; Mike Auty <ikelos@gentoo.org>
|
||||||
|
vmware-workstation-5.5.9.126128.ebuild,
|
||||||
|
vmware-workstation-6.5.1.126130.ebuild:
|
||||||
|
Stabilize vmware-workstation to match the main tree.
|
||||||
|
|
10
app-emulation/vmware-workstation/Manifest
Normal file
10
app-emulation/vmware-workstation/Manifest
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
AUX 90vmware-workstation 106 RMD160 471fb03d54bb48c651d4543f1c8ece1bb9b40c0a SHA1 3db7ec2a3b37a84328bf3d481a58b42499ef520b SHA256 c8f7143551f516b901143e60fc74e822ca3d235477d1c2a135bb36cbc639cf1e
|
||||||
|
AUX vmware-player.desktop 599 RMD160 a5a9897671da69c4706ba412d9a041edfd13a9b7 SHA1 12af70f7039b19838e298d1949df28b1b8d407a6 SHA256 b967f2e6dba531613498a2dea130f557fc366e869876aa63ba3ae97f5ff59c54
|
||||||
|
AUX vmware-workstation.desktop 605 RMD160 256b59a1e52b65279ef38b3dcf52c43a34090807 SHA1 8f8c1fded85070be0532e33f1bdc05425e33bfb1 SHA256 ae2f572200a16a1e1222e282268ae138588c0e7576045a584c1d17f54f379f3e
|
||||||
|
AUX vmware-workstation.rc 1862 RMD160 000c71ee5c62edc27d3df3f23286e1fe8490516e SHA1 cf1db60598d0d2fe44260f7387537ec1babf3a52 SHA256 76e6ea8c199a4dced79a75a0346360714941ef192b61e4610c6229e071d64782
|
||||||
|
AUX vmware-workstation.xml 1592 RMD160 0d7e9ed13ebb3c73dd847e95fa95499296609e8c SHA1 02db2ee7ca0abb8b8793c9f56d858bb08c1c715f SHA256 56aafee80ad705e8d832f8853c36d763d37b87d1cb132a41c50eb63085ae854d
|
||||||
|
DIST VMware-workstation-5.5.9-126128.tar.gz 111649803 RMD160 a5a867761d36c9a02821f8dd639a95b8c9ab38bc SHA1 eb8786111a74213ea4ec24636a4ba70b7f5dc741 SHA256 71a062e29480a48647c7323883e4e4b43a9365c1bb70000a23b768647db46444
|
||||||
|
DIST vmware-workstation-5.5.9-126128-genpatches-1.tar.bz2 2019 RMD160 0b94bb68ced0d50a8aff99031e76c018f6aac3c1 SHA1 1c8a32379ece35823e83d30fa358fb302ad8fcb7 SHA256 020d0e348c40ef5975ffad4e924d11a6c972070bf1490b6537040a2e61565e41
|
||||||
|
EBUILD vmware-workstation-5.5.9_p126128.ebuild 2408 RMD160 b6c093e4357d0f4e10c65940828b0cfac6aadb08 SHA1 cfd2c7f6361fbae578edcb798904deb61e1bac1f SHA256 53790a4c3de3239a6552fcc216d4d2a3f791c2a88a9f0acae20f98ca9489bb45
|
||||||
|
MISC ChangeLog 829 RMD160 5833dc9b067d53ceb2fd05ffbea25acda0606b1d SHA1 becc6712e156657b0c19b2c4f7162ee44060a735 SHA256 e3b1556f906d41533588b4a1b873fc8a4dab6263f956262ac8ddae56d061765f
|
||||||
|
MISC metadata.xml 159 RMD160 fc7f68a382390e5916b0fb43f37a893fad4f9798 SHA1 f46b02a39bcd0165558de67ff4256cfc812418a3 SHA256 8581ae1c90a48f50fa0542c7fb28cb8984baaf12f50fa18f33e467081effb215
|
@ -0,0 +1,3 @@
|
|||||||
|
PATH=/opt/vmware/workstation/bin
|
||||||
|
ROOTPATH=/opt/vmware/workstation/bin
|
||||||
|
MANPATH=/opt/vmware/workstation/man
|
10
app-emulation/vmware-workstation/files/vmware-player.desktop
Normal file
10
app-emulation/vmware-workstation/files/vmware-player.desktop
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Version=1.0
|
||||||
|
Name=VMWare Player
|
||||||
|
Type=Application
|
||||||
|
Comment=Emulate a complete PC on your PC without the usual performance overhead of most emulators
|
||||||
|
MimeType=application/x-vmware-vm-legacy;application/x-vmware-team;application/x-vmware-vm-clone;application/x-vmware-vm;application/x-vmware-vm-clone;application/x-vmware-vm;application/x-vmware-vm-clone;application/x-vmware-vm;application/x-vmware-vmdisk;application/x-vmware-team;application/x-vmware-vmfoundry;application/x-vmware-vm;application/x-vmware-snapshot;
|
||||||
|
Exec=vmplayer
|
||||||
|
TryExec=vmplayer
|
||||||
|
Icon=vmware-player
|
||||||
|
Categories=System;
|
@ -0,0 +1,10 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Version=1.0
|
||||||
|
Name=VMWare Workstation
|
||||||
|
Type=Application
|
||||||
|
Comment=Emulate a complete PC on your PC without the usual performance overhead of most emulators
|
||||||
|
MimeType=application/x-vmware-vm-legacy;application/x-vmware-team;application/x-vmware-vm-clone;application/x-vmware-vm;application/x-vmware-vm-clone;application/x-vmware-vm;application/x-vmware-vm-clone;application/x-vmware-vm;application/x-vmware-vmdisk;application/x-vmware-team;application/x-vmware-vmfoundry;application/x-vmware-vm;application/x-vmware-snapshot;
|
||||||
|
Exec=vmware
|
||||||
|
TryExec=vmware
|
||||||
|
Icon=vmware-workstation
|
||||||
|
Categories=System;
|
86
app-emulation/vmware-workstation/files/vmware-workstation.rc
Normal file
86
app-emulation/vmware-workstation/files/vmware-workstation.rc
Normal file
@ -0,0 +1,86 @@
|
|||||||
|
#!/sbin/runscript
|
||||||
|
# Copyright 1999-2004 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-workstation/files/vmware-workstation.rc,v 1.6 2007/11/25 12:50:32 ikelos Exp $
|
||||||
|
|
||||||
|
depend() {
|
||||||
|
need localmount
|
||||||
|
use logger net hald
|
||||||
|
after samba
|
||||||
|
}
|
||||||
|
|
||||||
|
vmware_prettify() {
|
||||||
|
# Yea, the code is ugly but the output is pretty
|
||||||
|
state=$1
|
||||||
|
waserror=0
|
||||||
|
msgtype=0
|
||||||
|
while read line
|
||||||
|
do
|
||||||
|
[ "${line}" = "" ] && continue
|
||||||
|
if [ ${msgtype} -le 0 ]
|
||||||
|
then
|
||||||
|
if [ ${msgtype} -eq -1 ]
|
||||||
|
then
|
||||||
|
ewarn ${line}
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
case ${line} in
|
||||||
|
*:*)
|
||||||
|
einfon ${line}
|
||||||
|
echo
|
||||||
|
eend 0
|
||||||
|
msgtype=1;;
|
||||||
|
*)
|
||||||
|
ewarn ${line}
|
||||||
|
msgtype=-1
|
||||||
|
waserror=1;;
|
||||||
|
esac
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Strip out anything after the <esc> code
|
||||||
|
message=`echo ${line} | sed -e "s/^\(.*\).*$/\1/"`
|
||||||
|
einfon " ${message}"
|
||||||
|
echo
|
||||||
|
|
||||||
|
echo ${line} | grep -q done
|
||||||
|
status=$?
|
||||||
|
eend ${status}
|
||||||
|
|
||||||
|
if [ ${status} -eq 0 ]
|
||||||
|
then
|
||||||
|
logger -p local0.err -t vmware-${state} "${line}"
|
||||||
|
waserror=${status}
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
if [ "${msgtype}" = "-1" ]
|
||||||
|
then
|
||||||
|
eend 1 "VMware is not properly configured! See above."
|
||||||
|
fi
|
||||||
|
return ${waserror}
|
||||||
|
}
|
||||||
|
|
||||||
|
start() {
|
||||||
|
test -x /etc/vmware/init.d/vmware || \
|
||||||
|
eend 1 "vmware init script not found. Aborting" || return 1
|
||||||
|
|
||||||
|
if modinfo vmblock > /dev/null 2>&1;
|
||||||
|
then
|
||||||
|
ebegin "Loading vmblock for drag and drop support"
|
||||||
|
local result
|
||||||
|
modprobe vmblock || eend 1 "Failed to load vmblock driver"
|
||||||
|
test ! -e /tmp/VMwareDnD && mkdir /tmp/VMwareDnD
|
||||||
|
chmod 1777 /tmp/VMwareDnD
|
||||||
|
mount -t vmblock none /proc/fs/vmblock/mountPoint || eend 1 "Failed to mount the vmblock filesystem"
|
||||||
|
eend 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
/etc/vmware/init.d/vmware start | vmware_prettify start
|
||||||
|
return $?
|
||||||
|
}
|
||||||
|
|
||||||
|
stop() {
|
||||||
|
umount /proc/fs/vmblock/mountPoint > /dev/null 2>&1
|
||||||
|
/etc/vmware/init.d/vmware stop | vmware_prettify stop
|
||||||
|
return $?
|
||||||
|
}
|
@ -0,0 +1,48 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
|
||||||
|
<mime-type type="application/x-vmware-vm">
|
||||||
|
<comment xml:lang="en">VMware virtual machine</comment>
|
||||||
|
<magic priority="50">
|
||||||
|
<match type="string" value='config.version = "' offset="0:4096"/>
|
||||||
|
</magic>
|
||||||
|
<glob pattern="*.vmx"/>
|
||||||
|
</mime-type>
|
||||||
|
|
||||||
|
<mime-type type="application/x-vmware-vmdisk">
|
||||||
|
<comment xml:lang="en">VMware virtual disk</comment>
|
||||||
|
<magic priority="50">
|
||||||
|
<match type="string" value="# Disk DescriptorFile" offset="0"/>
|
||||||
|
<match type="string" value="KDMV" offset="0"/>
|
||||||
|
</magic>
|
||||||
|
<glob pattern="*.vmdk"/>
|
||||||
|
</mime-type>
|
||||||
|
|
||||||
|
<mime-type type="application/x-vmware-team">
|
||||||
|
<comment xml:lang="en">VMware team</comment>
|
||||||
|
<magic priority="50">
|
||||||
|
<match type="string" value='<Foundry version="1">' offset="0">
|
||||||
|
<match type="string" value="<VMTeam>" offset="23:24"/>
|
||||||
|
</match>
|
||||||
|
</magic>
|
||||||
|
<glob pattern="*.vmtm"/>
|
||||||
|
</mime-type>
|
||||||
|
|
||||||
|
<mime-type type="application/x-vmware-snapshot">
|
||||||
|
<comment xml:lang="en">VMware virtual machine snapshot</comment>
|
||||||
|
<magic priority="50">
|
||||||
|
<match type="string" value="\\0xD0\\0xBE\\0xD0\\0xBE" offset="0"/>
|
||||||
|
</magic>
|
||||||
|
<glob pattern="*.vmsn"/>
|
||||||
|
</mime-type>
|
||||||
|
|
||||||
|
<mime-type type="application/x-vmware-vmfoundry">
|
||||||
|
<comment xml:lang="en">VMware virtual machine foundry</comment>
|
||||||
|
<magic priority="50">
|
||||||
|
<match type="string" value='<Foundry version="1">' offset="0">
|
||||||
|
<match type="string" value="<VM>" offset="23:24"/>
|
||||||
|
</match>
|
||||||
|
</magic>
|
||||||
|
<glob pattern="*.vmxf"/>
|
||||||
|
</mime-type>
|
||||||
|
</mime-info>
|
5
app-emulation/vmware-workstation/metadata.xml
Normal file
5
app-emulation/vmware-workstation/metadata.xml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<herd>vmware</herd>
|
||||||
|
</pkgmetadata>
|
@ -0,0 +1,86 @@
|
|||||||
|
# Copyright 1999-2009 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: $
|
||||||
|
|
||||||
|
EAPI="2"
|
||||||
|
|
||||||
|
VM_SRC="VMware-workstation-${PV/_p/-}.tar.gz"
|
||||||
|
VM_SRC_EXTRA="genpatches-1"
|
||||||
|
|
||||||
|
inherit vmware-1 eutils
|
||||||
|
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="-* ~amd64 ~x86"
|
||||||
|
|
||||||
|
# vmware-workstation should not use virtual/libc as this is a
|
||||||
|
# precompiled binary package thats linked to glibc.
|
||||||
|
RDEPEND="sys-libs/glibc
|
||||||
|
amd64? (
|
||||||
|
app-emulation/emul-linux-x86-gtklibs )
|
||||||
|
x86? (
|
||||||
|
x11-libs/libXrandr
|
||||||
|
x11-libs/libXcursor
|
||||||
|
x11-libs/libXinerama
|
||||||
|
x11-libs/libXi
|
||||||
|
x11-libs/libXft )
|
||||||
|
!app-emulation/vmware-player
|
||||||
|
!app-emulation/vmware-server
|
||||||
|
~app-emulation/vmware-modules-138.9
|
||||||
|
!<app-emulation/vmware-modules-138.9
|
||||||
|
!>app-emulation/vmware-modules-138.9
|
||||||
|
>=dev-lang/perl-5
|
||||||
|
sys-apps/pciutils"
|
||||||
|
|
||||||
|
S=${WORKDIR}/vmware-distrib
|
||||||
|
|
||||||
|
dir=/opt/vmware/workstation
|
||||||
|
Ddir=${D}/${dir}
|
||||||
|
|
||||||
|
QA_TEXTRELS_x86="${dir:1}/lib/lib/libgdk-x11-2.0.so.0/libgdk-x11-2.0.so.0"
|
||||||
|
QA_EXECSTACK_x86="${dir:1}/bin/vmnet-bridge
|
||||||
|
${dir:1}/bin/vmnet-dhcpd
|
||||||
|
${dir:1}/bin/vmnet-natd
|
||||||
|
${dir:1}/bin/vmnet-netifup
|
||||||
|
${dir:1}/bin/vmnet-sniffer
|
||||||
|
${dir:1}/bin/vmware-loop
|
||||||
|
${dir:1}/bin/vmware-ping
|
||||||
|
${dir:1}/bin/vmware-vdiskmanager
|
||||||
|
${dir:1}/lib/bin/vmware
|
||||||
|
${dir:1}/lib/bin/vmware-vmx
|
||||||
|
${dir:1}/lib/bin/vmrun
|
||||||
|
${dir:1}/lib/bin/vmplayer
|
||||||
|
${dir:1}/lib/bin-debug/vmware-vmx
|
||||||
|
${dir:1}/lib/lib/libpixops.so.2.0.1/libpixops.so.2.0.1"
|
||||||
|
|
||||||
|
QA_TEXTRELS_amd64="${dir:1}/lib/lib/libgdk-x11-2.0.so.0/libgdk-x11-2.0.so.0"
|
||||||
|
QA_EXECSTACK_amd64="${dir:1}/bin/vmnet-bridge
|
||||||
|
${dir:1}/bin/vmnet-dhcpd
|
||||||
|
${dir:1}/bin/vmnet-natd
|
||||||
|
${dir:1}/bin/vmnet-netifup
|
||||||
|
${dir:1}/bin/vmnet-sniffer
|
||||||
|
${dir:1}/bin/vmware-loop
|
||||||
|
${dir:1}/bin/vmware-ping
|
||||||
|
${dir:1}/bin/vmware-vdiskmanager
|
||||||
|
${dir:1}/lib/bin/vmware
|
||||||
|
${dir:1}/lib/bin/vmware-vmx
|
||||||
|
${dir:1}/lib/bin/vmrun
|
||||||
|
${dir:1}/lib/bin/vmplayer
|
||||||
|
${dir:1}/lib/bin-debug/vmware-vmx
|
||||||
|
${dir:1}/lib/lib/libpixops.so.2.0.1/libpixops.so.2.0.1"
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
vmware-1_src_install
|
||||||
|
|
||||||
|
doicon lib/share/pixmaps/vmware-player.png
|
||||||
|
# Fix an ugly GCC error on start
|
||||||
|
rm -f "${Ddir}lib/lib/libgcc_s.so.1/libgcc_s.so.1"
|
||||||
|
make_desktop_entry vmware "VMWare Workstation" ${PN}.png System
|
||||||
|
make_desktop_entry vmplayer "VMWare Player" vmware-player.png System
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
vmware-1_pkg_postinst
|
||||||
|
ewarn "Vmware Workstation has issues on systems with hal installed but"
|
||||||
|
ewarn "not running. If you experience trouble with VMware loading, try"
|
||||||
|
ewarn "starting the hal daemon."
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user