diff --git a/app-emulation/vmware-converter/ChangeLog b/app-emulation/vmware-converter/ChangeLog new file mode 100644 index 00000000..acb63b35 --- /dev/null +++ b/app-emulation/vmware-converter/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for app-emulation/vmware-converter +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 04 Mar 2009; Mike Auty + vmware-converter-4.0.0.146302.ebuild: + Fix up lack of datadir during startup. + + 04 Mar 2009; Mike Auty + vmware-converter-4.0.0.146302.ebuild: + Change dependencies, so no need for X unless we're installing the client. + diff --git a/app-emulation/vmware-converter/Manifest b/app-emulation/vmware-converter/Manifest new file mode 100644 index 00000000..808e1416 --- /dev/null +++ b/app-emulation/vmware-converter/Manifest @@ -0,0 +1,10 @@ +AUX 4.0.0.146302.off/000_all_initd-location.patch 1131 RMD160 3ab69d825994cc3bb177143d27091fc292cec46a SHA1 14264460c8500f1ead267059e2b9b9a5dc8c057f SHA256 b4055370b0092e71a2b2b0f27edeb7bc063ad265f95ab4530e52c3ab3167ad62 +AUX 4.0.0.146302.off/001_all_fix-permissions.patch 647 RMD160 0f25f7dd60dfcb5a72b1f7b9cf344d6f431143a9 SHA1 cabd3dd071ef62d4c70f52d1a3e02334ec7f3a73 SHA256 41492cde60da6d449c0f427ac7bd65598838ec17ac0e3a5f545feeb1d29ea391 +AUX 4.0.0.146302.off/002_all_pagebreak-detection-fix.patch 800 RMD160 f21a51e552d025a5120519d6dcd41efc3835a432 SHA1 06133c332b6b1f57476b1154de108a9dfc35435d SHA256 d327d7cb2166b9ef4c8c286568c3a7eb64542212164d58b8a7a3c5e51e19ed6d +AUX 4.0.0.146302.off/004_all_do-not-build-modules.patch 589 RMD160 b2153579c65a232de9c2e6dbd9bbe108d85f95e5 SHA1 394a67a30f1f29084836183303641915ce982bfd SHA256 916754b0616ea330490b9572be1a9216bb7dd441ba328b1e01e777b29fac4e1e +AUX 4.0.0.146302.off/007_all_use-modprobe-over-insmod.patch 445 RMD160 186ab443a733276a702dea16a23c04f7deed9d13 SHA1 c7113cd3f7f91527397f6fb07797d4e9c5c6f011 SHA256 bcf4930fae4812c8fbb2eb58b200f1da9441d97cd0c74b8ee6250cf097a28630 +AUX 4.0.0.146302.off/009_all_init.d-modules-warning.patch 991 RMD160 6205e976db47cd3361b5eca8593414d411a2ab8d SHA1 3742749baa606a57d447931f0af791696a49e660 SHA256 5fbc9f101abb3816a732f64a75e90ce7fcb6783c3cd7bae521d8785e88634498 +AUX vmware-converter.rc 1500 RMD160 f5bc22dbee280583ebca78836f38d82a4e164409 SHA1 0326487bea4369c8ac2ee1796f472e5e0f0bd858 SHA256 348a516325be26f64b6bbded7fde25f392478a8511330200e6cd58d6977d6067 +DIST VMware-converter-4.0.0-146302.tar.gz 122325894 RMD160 8919371ded3a6756e6d175515bd273a4bf06bd93 SHA1 b736e69a65b96406d3407032fd18f84e403c72f1 SHA256 7a34ba719630979fc1fe0b210e13f2c8ddc414a8baf63400a1f586adffc6f0f0 +EBUILD vmware-converter-4.0.0.146302.ebuild 3209 RMD160 2fdac7591a35be5e1bcaf55c832f3e6da28cdaa5 SHA1 e57423cfd999c8dfb1f0f5f8af9c99158eed46fd SHA256 92fbdd71ca5d10f3867d6d70f446ccb53b7e05e8a4ff6a1ec772dc678c08d277 +MISC ChangeLog 420 RMD160 98ebc3d45419cc011ef7f1153b8521d4e5da029c SHA1 708e6ca231d6b4061ed3b8827d80f3dde109f652 SHA256 ae1792443e57646726d5269435ea59ba5d4a7aaa604e0a0cb78094f08177424d diff --git a/app-emulation/vmware-converter/files/4.0.0.146302.off/000_all_initd-location.patch b/app-emulation/vmware-converter/files/4.0.0.146302.off/000_all_initd-location.patch new file mode 100644 index 00000000..1d864f7e --- /dev/null +++ b/app-emulation/vmware-converter/files/4.0.0.146302.off/000_all_initd-location.patch @@ -0,0 +1,31 @@ +--- vmware-distrib/bin/vmware-config.pl.ori 2005-11-09 01:45:08.000000000 +0000 ++++ vmware-distrib/bin/vmware-config.pl 2005-11-09 01:48:21.000000000 +0000 +@@ -8433,7 +8433,7 @@ + error('Please shut down any running VMs and run this script again.' . + "\n\n"); + } else { +- if (system(shell_string(db_get_answer('INITSCRIPTSDIR') . '/vmware') ++ if (system(shell_string('/etc/init.d' . '/vmware') + . ' stop')) { + error('Unable to stop services for ' . vmware_product_name() . + "\n\n"); +@@ -8463,8 +8463,8 @@ + } + if (vmware_product() ne 'server') { + configure_gtk2(); +- createMimePackageFile(); +- configureDesktopFiles(); ++# createMimePackageFile(); ++# configureDesktopFiles(); + configure_mon(); + configure_pp(); + configure_net(); +@@ -8532,7 +8532,7 @@ + db_save(); + # Then start VMware's services + if (!$gOption{'skipstopstart'}) { +- system(shell_string(db_get_answer('INITSCRIPTSDIR') . '/vmware') . ' start'); ++ system(shell_string('/etc/init.d' . '/vmware') . ' start'); + print "\n"; + } + diff --git a/app-emulation/vmware-converter/files/4.0.0.146302.off/001_all_fix-permissions.patch b/app-emulation/vmware-converter/files/4.0.0.146302.off/001_all_fix-permissions.patch new file mode 100644 index 00000000..e646b7b2 --- /dev/null +++ b/app-emulation/vmware-converter/files/4.0.0.146302.off/001_all_fix-permissions.patch @@ -0,0 +1,15 @@ +diff -urN vmware-distrib.orig/bin/vmware-config.pl vmware-distrib/bin/vmware-config.pl +--- vmware-distrib.orig/bin/vmware-config.pl 2005-12-16 00:51:03.000000000 -0500 ++++ vmware-distrib/bin/vmware-config.pl 2005-12-21 14:34:03.000000000 -0500 +@@ -7327,7 +7327,10 @@ + error('Unable to write configuration file "' . $name . '".' . "\n\n"); + } + db_add_file($name, 0x1); +- safe_chmod(0644, $name); ++ safe_chmod(0664, $name); ++ my $gid = (getgrnam('vmware'))[2]; ++ my $uid = (stat($name))[4]; ++ safe_chown($uid,$gid,$name); + + # Append the promotional configuration if it exists + $promoconfig = $libdir . '/configurator/PROMOCONFIG'; diff --git a/app-emulation/vmware-converter/files/4.0.0.146302.off/002_all_pagebreak-detection-fix.patch b/app-emulation/vmware-converter/files/4.0.0.146302.off/002_all_pagebreak-detection-fix.patch new file mode 100644 index 00000000..fd3fc76c --- /dev/null +++ b/app-emulation/vmware-converter/files/4.0.0.146302.off/002_all_pagebreak-detection-fix.patch @@ -0,0 +1,15 @@ +diff -ur vmware-distrib.orig/bin/vmware-config.pl vmware-distrib/bin/vmware-config.pl +--- vmware-distrib.orig/bin/vmware-config.pl 2006-03-24 23:13:05.000000000 +0100 ++++ vmware-distrib/bin/vmware-config.pl 2006-03-24 23:26:40.000000000 +0100 +@@ -2015,9 +2015,9 @@ + . shell_string($pattern)); + chomp($header_page_offset); + # Ignore PAGE_OFFSET if we cannot parse it. +- if ($header_page_offset =~ /^$pattern \(?0x([0-9a-fA-F]{8,})/) { ++ if ($header_page_offset =~ /^$pattern \(?(\([^)]*\))?\)?0x([0-9a-fA-F]{8,}).*$/) { + # We found a valid page offset +- $header_page_offset = $1; ++ $header_page_offset = $2; + if (defined($gSystem{'page_offset'}) and + not (lc($header_page_offset) eq lc($gSystem{'page_offset'}))) { + if ($source eq 'user') { diff --git a/app-emulation/vmware-converter/files/4.0.0.146302.off/004_all_do-not-build-modules.patch b/app-emulation/vmware-converter/files/4.0.0.146302.off/004_all_do-not-build-modules.patch new file mode 100644 index 00000000..cec3b3ee --- /dev/null +++ b/app-emulation/vmware-converter/files/4.0.0.146302.off/004_all_do-not-build-modules.patch @@ -0,0 +1,17 @@ +diff -uNr vmware-server-distrib.orig/bin/vmware-config.pl vmware-server-distrib/bin/vmware-config.pl +--- vmware-server-distrib.orig/bin/vmware-config.pl 2006-02-18 18:12:26.000000000 +0000 ++++ vmware-server-distrib/bin/vmware-config.pl 2006-02-18 18:14:17.000000000 +0000 +@@ -8571,10 +8571,10 @@ + configure_gtk2(); + # createMimePackageFile(); + # configureDesktopFiles(); +- configure_mon(); +- configure_pp(); ++# configure_mon(); ++# configure_pp(); + configure_net(); +- build_vmnet(); ++# build_vmnet(); + } + + # Create the directory for the UNIX domain sockets diff --git a/app-emulation/vmware-converter/files/4.0.0.146302.off/007_all_use-modprobe-over-insmod.patch b/app-emulation/vmware-converter/files/4.0.0.146302.off/007_all_use-modprobe-over-insmod.patch new file mode 100644 index 00000000..5509d249 --- /dev/null +++ b/app-emulation/vmware-converter/files/4.0.0.146302.off/007_all_use-modprobe-over-insmod.patch @@ -0,0 +1,12 @@ +diff -uNr vmware-server-distrib/installer/services.sh vmware-server-distrib.new/installer/services.sh +--- vmware-server-distrib/installer/services.sh 2006-02-05 00:21:25.000000000 +0000 ++++ vmware-server-distrib.new/installer/services.sh 2006-02-20 23:48:07.000000000 +0000 +@@ -538,7 +538,7 @@ + } + + vmware_load_module() { +- /sbin/insmod -s -f "/lib/modules/`uname -r`/misc/$1.o" || exit 1 ++ /sbin/modprobe -s "$1" || exit 1 + exit 0 + } + diff --git a/app-emulation/vmware-converter/files/4.0.0.146302.off/009_all_init.d-modules-warning.patch b/app-emulation/vmware-converter/files/4.0.0.146302.off/009_all_init.d-modules-warning.patch new file mode 100644 index 00000000..4eab043a --- /dev/null +++ b/app-emulation/vmware-converter/files/4.0.0.146302.off/009_all_init.d-modules-warning.patch @@ -0,0 +1,19 @@ +diff -uNr vmware-server-distrib.orig/installer/services.sh vmware-server-distrib/installer/services.sh +--- vmware-server-distrib.orig/installer/services.sh 2006-07-01 03:14:16.000000000 +0000 ++++ vmware-server-distrib/installer/services.sh 2006-07-14 11:59:28.000000000 +0000 +@@ -606,8 +606,13 @@ + start) + if [ -e "$vmware_etc_dir"/not_configured ]; then + echo "`vmware_product_name`"' is installed, but it has not been (correctly) configured' +- echo 'for the running kernel. To (re-)configure it, invoke the' +- echo 'following command: '"$vmdb_answer_BINDIR"'/vmware-config.pl.' ++ echo 'for the running kernel.' ++ echo ++ echo 'Please ensure that the modules have been compiled for this kernel:' ++ echo ' emerge --oneshot vmware-modules' ++ echo ++ echo 'Also ensure '"`vmware_product_name`"' has been configured:' ++ echo ' '"$vmdb_answer_BINDIR"'/vmware-config.pl' + echo + + exit 1 diff --git a/app-emulation/vmware-converter/files/vmware-converter.rc b/app-emulation/vmware-converter/files/vmware-converter.rc new file mode 100644 index 00000000..1bb31c49 --- /dev/null +++ b/app-emulation/vmware-converter/files/vmware-converter.rc @@ -0,0 +1,74 @@ +#!/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 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-converter/init.d/vmware-converter || \ + eend 1 "vmware init script not found. Aborting" || return 1 + + /etc/vmware-converter/init.d/vmware-converter start | vmware_prettify start + return $? +} + +stop() { + /etc/vmware-converter/init.d/vmware-converter stop | vmware_prettify stop + return $? +} diff --git a/app-emulation/vmware-converter/vmware-converter-4.0.0.146302.ebuild b/app-emulation/vmware-converter/vmware-converter-4.0.0.146302.ebuild new file mode 100644 index 00000000..c0ae4627 --- /dev/null +++ b/app-emulation/vmware-converter/vmware-converter-4.0.0.146302.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-workstation/vmware-workstation-5.5.6.80404.ebuild,v 1.2 2008/04/26 16:29:15 ikelos Exp $ + +inherit vmware eutils versionator + +MY_P="VMware-converter-$(replace_version_separator 3 - $PV)" + +DESCRIPTION="Converts a complete PC on your PC without the usual performance overhead of most emulators" +HOMEPAGE="http://www.vmware.com/download/ws/ws5.html" +SRC_URI="${MY_P}.tar.gz" + +LICENSE="vmware" +SLOT="0" +KEYWORDS="-*" +IUSE="server client" +RESTRICT="fetch strip" + +# vmware-workstation should not use virtual/libc as this is a +# precompiled binary package thats linked to glibc. +RDEPEND="sys-libs/glibc + amd64? ( + client? ( + app-emulation/emul-linux-x86-gtklibs + ) + ) + x86? ( + client? ( + x11-libs/libXrandr + x11-libs/libXcursor + x11-libs/libXinerama + x11-libs/libXi + x11-libs/libXft + ) + ) + >=dev-lang/perl-5 + sys-apps/pciutils" + +S=${WORKDIR}/vmware-converter-distrib + +RUN_UPDATE="no" +ANY_ANY="" + +dir=/opt/vmware/converter +Ddir=${D}/${dir} + +src_unpack() { + vmware_src_unpack + cd ${S} + rmdir sbin + + sed -i -e "s|##{CONFDIR}##|/etc/vmware-converter|" ${S}/conf/converter-*.xml + sed -i -e "s|##{LIBDIR}##|${VMWARE_INSTALL_DIR}/lib|" ${S}/conf/converter-*.xml + sed -i -e "s|##{DATADIR}##|/var/lib/vmware-vcenter-converter-standalone|" ${S}/conf/converter-*.xml + sed -i -e "s|##{LOGDIR}##|/var/log/vmware-vcenter-converter-standalone|" ${S}/conf/converter-*.xml + sed -i -e "s|##{FORCELOCAL}##|false|" ${S}/conf/converter-*.xml + sed -i -e "s|##{STANDALONE}##|true|" ${S}/conf/converter-*.xml + sed -i -e "s|##{LOGINBOX}##|true|" ${S}/conf/converter-*.xml + sed -i -e "s|##{ENABLE_REMOTE_ACCESS}##|true|" ${S}/conf/converter-*.xml + sed -i -e "s|##{PROXY_HTTP_PORT}##|80|" ${S}/conf/converter-*.xml + sed -i -e "s|##{PROXY_HTTPS_PORT}##|443|" ${S}/conf/converter-*.xml +} + +src_install() { + # Sed and install the files in ./conf + cd ${S} + insinto /etc/${PN} + doins etc/icudt38l.dat + doins conf/* + + # mkdir libdir and copy over the common stuff + + cd ${S}/lib + dodir "${VMWARE_INSTALL_DIR}/lib" + cp -rP common/* "${D}/${VMWARE_INSTALL_DIR}/lib" || die "Failed to copy common files" + use server && ( cp -rP server/* "${D}/${VMWARE_INSTALL_DIR}/lib" || die "Failed to copy server files" ) + use client && ( cp -rP client/* "${D}/${VMWARE_INSTALL_DIR}/lib" || die "Failed to copy client files" ) + + # Symlink everything up + dodir "${VMWARE_INSTALL_DIR}/bin" + for i in ${D}/${VMWARE_INSTALL_DIR}/lib/bin/*; + do + j=$(basename ${i}) + dosym "${VMWARE_INSTALL_DIR}/lib/bin/${j}" "${VMWARE_INSTALL_DIR}/bin/${j}" + done + + if $(use server); + then + dodir /etc/${PN}/init.d + exeinto /etc/${PN}/init.d + doexe ${S}/system_etc/init.d/${PN} + newinitd ${FILESDIR}/${PN}.rc ${PN} + fi + + dosym /opt/vmware/converter/lib/configurator/pam.d/${PN} /etc/pam.d/${PN} + + keepdir /var/lib/vmware-vcenter-converter-standalone + + # Finally, we run the "questions" + vmware_run_questions || die "running questions" + + use server && ( echo "answer INSTALL_SERVER yes" >> "${D}${config_dir}/locations" ) + echo "answer ENABLE_REMOTE_ACCESS yes" >> "${D}${config_dir}/locations" +} diff --git a/app-emulation/vmware-dsp/ChangeLog b/app-emulation/vmware-dsp/ChangeLog new file mode 100644 index 00000000..b57474c9 --- /dev/null +++ b/app-emulation/vmware-dsp/ChangeLog @@ -0,0 +1,20 @@ +# ChangeLog for app-emulation/vmware-dsp +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-dsp/ChangeLog,v 1.4 2008/10/05 16:45:56 flameeyes Exp $ + + 05 Oct 2008; Diego Pettenò vmware-dsp-1.3.ebuild: + Fix build-time dependencies. + + 12 Jul 2007; Chris Gianelloni vmware-dsp-1.3.ebuild: + Add another mirror. + + 28 Sep 2006; Chris Gianelloni vmware-dsp-1.3.ebuild: + Already finding my first bug. I guess it helps to test both arts and esd at + the same time. + +*vmware-dsp-1.3 (28 Sep 2006) + + 28 Sep 2006; Chris Gianelloni +metadata.xml, + +vmware-dsp-1.3.ebuild: + Initial import. Ebuild by me. Closing bug #97078. + diff --git a/app-emulation/vmware-dsp/Manifest b/app-emulation/vmware-dsp/Manifest new file mode 100644 index 00000000..70662e26 --- /dev/null +++ b/app-emulation/vmware-dsp/Manifest @@ -0,0 +1,14 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +DIST vmwaredsp-1.3.tar.gz 52412 RMD160 cd82c3acca6d6b2970a2693e5e952ab550d3e7cc SHA1 3784826091536228d92a8b281084d553ca2ec9cb SHA256 cd0eebe8a6a8bbfd12828f5bc6f9d48c9cddd6188912c1ea791e36a9f55ad690 +EBUILD vmware-dsp-1.3.ebuild 2129 RMD160 344c726bcf2e0983f566fd593e371cc642bf6d42 SHA1 06424dfb49095ca938bcc95b33425a205d502d0d SHA256 68d7637adea76ba120e1fdf00fc73fe997feb202b43f2c27f16332694df1b392 +MISC ChangeLog 786 RMD160 1370d39200bb6289e8d6a5ad204b8e534536c5b9 SHA1 d739b81a7bd7d16794bdab1ab6b696d7e0b34f2c SHA256 2c580832706fc14577bb2bbd5db502602c84d0926d5507ac1dad1304ca1c124c +MISC metadata.xml 339 RMD160 9f4931e525280fd376eb7ac3e42c369acd23a33e SHA1 3948dcc9a9b7dc585f1783e0419b313084a231c0 SHA256 bb60a871a58964feaa59ec824a5d511455054461f0394a57a8c9ca019a0f4593 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.9 (GNU/Linux) + +iEYEARECAAYFAkjo70kACgkQAiZjviIA2XgqegCg6bWVhG6/Lc2wg1/AdnUYWBJI +on0AoNUfRfRgdXH5Zab8zDFbTe2B5xTN +=QgVx +-----END PGP SIGNATURE----- diff --git a/app-emulation/vmware-dsp/metadata.xml b/app-emulation/vmware-dsp/metadata.xml new file mode 100644 index 00000000..4d7eb285 --- /dev/null +++ b/app-emulation/vmware-dsp/metadata.xml @@ -0,0 +1,8 @@ + + + +vmware + +VMWare Workstation is a virtual machine which can be used to install other operating systems in a virtual environment to run on top of Gentoo. + + diff --git a/app-emulation/vmware-dsp/vmware-dsp-1.4.1.ebuild b/app-emulation/vmware-dsp/vmware-dsp-1.4.1.ebuild new file mode 100644 index 00000000..b9198a2e --- /dev/null +++ b/app-emulation/vmware-dsp/vmware-dsp-1.4.1.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-dsp/vmware-dsp-1.3.ebuild,v 1.5 2008/10/05 16:45:56 flameeyes Exp $ + +inherit eutils multilib + +MY_PN=${PN/-/} +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Allows you to use VMware Workstation with ESD and ARTS." +HOMEPAGE="http://ftp.cvut.cz/vmware/" +SRC_URI="http://www.sokrates.homelinux.net/~thomas/Private/Soft/vmwaredsp/${MY_P}.tar.bz2" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="arts esd alsa" +RESTRICT="" + +RDEPEND="sys-libs/glibc + amd64? ( + app-emulation/emul-linux-x86-soundlibs + esd? ( media-sound/esound ) + arts? ( kde-base/arts ) ) + alsa? ( media-sound/alsa-utils ) ) + x86? ( + esd? ( media-sound/esound ) + arts? ( kde-base/arts ) + alsa? ( media-sound/alsa-utils ) )" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${MY_P} + +dir=/opt/vmware/dsp +Ddir=${D}/${dir} + +src_compile() { + cd "${S}"/src + if use arts && use esd + then + einfo "Building both aRts and ESD support." + elif use arts + then + einfo "Building aRts support only." + sed -i '/PLUGINS :=/ s/ libvmdsp_esd.so//' 32/Makefile 64/Makefile \ + || die "sed failed" + else + einfo "Building ESD support only." + sed -i '/PLUGINS :=/ s/ libvmdsp_arts.so//' 32/Makefile 64/Makefile \ + || die "sed failed" + fi + if use x86 + then + cd 32 + emake -j1 || die + elif has_multilib_profile + then + emake -j1 || die + else + cd 64 + emake -j1 || die + fi +} + +src_install() { + cd "${S}" + if use x86 + then + dolib src/32/libvmdsp*.so || die "Copying libraries" + elif has_multilib_profile + then + exeinto /usr/lib32 + doexe src/32/libvmdsp*.so || die + dolib src/64/libvmdsp*.so || die + else + src/64/libvmdsp*.so || die + fi + if use arts + then + dobin vmwarearts || die + make_desktop_entry vmwarearts "VMware Workstation (aRts)" \ + vmware-workstation.png System + fi + if use esd + then + dobin vmwareesd || die + make_desktop_entry vmwareesd "VMware Workstation (ESD)" \ + vmware-workstation.png System + fi +} diff --git a/app-emulation/vmware-view-open-client/ChangeLog b/app-emulation/vmware-view-open-client/ChangeLog new file mode 100644 index 00000000..426c8374 --- /dev/null +++ b/app-emulation/vmware-view-open-client/ChangeLog @@ -0,0 +1,15 @@ +# ChangeLog for app-emulation/vmware-view-open-client +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 04 Feb 2009; Mike Auty + vmware-view-open-client-2.1.1.144835.ebuild: + Fix up SRC_URI to use variable names whereever possible. + +*vmware-view-open-client-2.1.1.144835 (04 Feb 2009) + + 04 Feb 2009; Mike Auty + +files/2.1.1.144835-curl_easy_getinfo.patch, + +vmware-view-open-client-2.1.1.144835.ebuild: + Initial commit, ebuild courtesy of Jeremy Wood from bug 257637. + diff --git a/app-emulation/vmware-view-open-client/Manifest b/app-emulation/vmware-view-open-client/Manifest new file mode 100644 index 00000000..d8d209c3 --- /dev/null +++ b/app-emulation/vmware-view-open-client/Manifest @@ -0,0 +1,3 @@ +DIST VMware-view-open-client-source-3.1.0-160969.tar.gz 1573525 RMD160 ca7a1466ea346afac73285380c81d66f80efc9a0 SHA1 cb5f17293e1cd0f3b2955ec768eff1be0ac3f221 SHA256 c9ac59fc447f98d9fb76f8320cdc8e350a46ef64e1345789e030e987b6ebb97a +EBUILD vmware-view-open-client-3.1.0_p160969.ebuild 804 RMD160 d6ac66722df47d7f3b9eb0ba6cfba685c071bb1d SHA1 61ecd7de13f4953121a785669c79d54d079beac6 SHA256 5006cc4746aab9f766baa4f43a1231f14775967125cea5b40a9df9dc246f95e6 +MISC ChangeLog 550 RMD160 72a2bb1a33370793e540228f7a5a507533da9f75 SHA1 7b004168d7776d75894f6a44535c354a599196cb SHA256 8ed0883454a9a0effce38633a62715e375be7a997180a1f17ba1ab6d5e075090 diff --git a/app-emulation/vmware-view-open-client/vmware-view-open-client-3.1.0_p160969.ebuild b/app-emulation/vmware-view-open-client/vmware-view-open-client-3.1.0_p160969.ebuild new file mode 100644 index 00000000..dff61d04 --- /dev/null +++ b/app-emulation/vmware-view-open-client/vmware-view-open-client-3.1.0_p160969.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +inherit eutils + +MY_P="${PN/vm/VM}-source-${PV/_p/-}" + +DESCRIPTION="Open Source VMware View Client" +HOMEPAGE="http://code.google.com/p/vmware-view-open-client/" +SRC_URI="http://${PN}.googlecode.com/files/${MY_P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="ao oss pcsc-lite" + +DEPEND=">=x11-libs/gtk+-2.4.0 + >=dev-libs/libxml2-2.6.0 + >=net-misc/curl-7.16.0 + >=dev-libs/openssl-0.9.8 + >=dev-libs/boost-1.34.1 + dev-libs/icu + ao? ( net-misc/rdesktop[ao] ) + oss? ( net-misc/rdesktop[oss] ) + pcsc-lite? ( net-misc/rdesktop[pcsc-lite] )" + +RDEPEND="" + +S="${WORKDIR}/${MY_P}" + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" +}