Skip to content
This repository has been archived by the owner on Jan 2, 2023. It is now read-only.

Commit

Permalink
vmware-view-client 1.6.0 for debian wheezy
Browse files Browse the repository at this point in the history
  • Loading branch information
mbentley committed Jan 29, 2013
1 parent 8198efa commit 08e1879
Show file tree
Hide file tree
Showing 60 changed files with 12,386 additions and 0 deletions.
17 changes: 17 additions & 0 deletions 1.6.0_wheezy/temp/DEBIAN/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Package: vmware-view-client
Version: 1.6.0-0
Architecture: amd64
Maintainer: Matt Bentley <mbentley@mbentley.net>
Installed-Size: 34800
Depends: libatk1.0-0 (>= 1.12.4), libc6 (>= 2.3.6-6~), libcairo2 (>= 1.2.4), libgcc1 (>= 1:4.1.1), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.22.0), libgtk2.0-0 (>= 2.24.0), libpango1.0-0 (>= 1.14.0), libpcsclite1, libpixman-1-0, libpng12-0 (>= 1.2.13-4), libssl1.0.0 (>= 1.0.0), libstdc++6 (>= 4.1.1), libx11-6, libxcursor1 (>> 1.1.2), libxext6, libxfixes3, libxi6 (>= 2:1.1.2), libxinerama1, libxml2 (>= 2.6.27), libxrender1, libxtst6, zlib1g (>= 1:1.1.4), ia32-libs, ia32-libs-gtk, zenity
Conflicts: vmware-view-open-client, vmware-view-pcoip
Replaces: vmware-view-pcoip
Section: net
Priority: extra
Homepage: http://www.vmware.com
Description: Deliver rich, personalized virtual desktops with VMware View 5
The VMware View Client for Linux, optimized for VMware View 5, turns your
desktop into a thin client and connects you to your company's Virtual
Desktop Infrastructure. With VMware View 5 PCoIP capabilities you can
deliver a personalized high fidelity experience for end-users across
sessions, devices, operating systems, and legacy applications.
58 changes: 58 additions & 0 deletions 1.6.0_wheezy/temp/DEBIAN/md5sums
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
749a3eb749d81855c94d7c918d8d9450 usr/bin/vmware-remotemks-container
4f4c39f20dcbdf214808e0af0309bdce usr/bin/vmware-view-tunnel
f5b2f51105acbab72a8a302fa980b73b usr/bin/vmware-view.bin
bfe4b336c4bb34d8ce6303bc8e884730 usr/bin/vmware-view
1df1099d73fb167298eb30e77211ae53 usr/bin/vmware-view-log-collector
99bfb25b1f7c201a77b75c153f2cdb3d usr/bin/vmware-remotemks
9dfbde54cd960179177c028676299fad usr/share/applications/vmware-view-client.desktop
87bbf87f7f18ced43cfba412d6915cb3 usr/share/lintian/overrides/vmware-view-client
18eab94de3a3cc840d1c13e13ffd8cec usr/share/pixmaps/vmware-view-bg.png
8ceabd046934b96108cad5719e5d13b1 usr/share/pixmaps/vmware-view.png
3e58e6d6d1aef1745c61c20d9ada1b64 usr/share/pixmaps/vmware-view-client-vmware.png
f50b76ca3ef827f8c2a26f32a3d31ce0 usr/share/doc/vmware-view-client/VMware-view-client-EULA-zh_CN.txt
178d097f8a547614987bfa807f15f671 usr/share/doc/vmware-view-client/VMware-view-client-EULA-de.txt
265ec6a9c99e9ab7ebfb4b2243f8ea05 usr/share/doc/vmware-view-client/copyright
0752dac5dea9486894c7944c595f2254 usr/share/doc/vmware-view-client/patches/rdesktop-1.6.0-win7scard.patch
661da4c8290c273e3a5d5d52f247f4ec usr/share/doc/vmware-view-client/VMware-view-client-EULA-en.txt
b59efc109899d54b58946811ec15ccd4 usr/share/doc/vmware-view-client/VMware-view-client-EULA-ko.txt
92e2ce400d79eb380fa899cc42d9cdac usr/share/doc/vmware-view-client/VMware-view-client-EULA-ja.txt
6a2c9c7645461be6b6f0fdf44062b9a1 usr/share/doc/vmware-view-client/VMware-view-client-EULA-fr.txt
5143f4ee609e2e9daa2f5dee2e06e842 usr/share/doc/vmware-view-client/open_source_licenses.txt
26b6ef6ce831c92c056e211c4cf722ab usr/share/doc/vmware-view-client/changelog.Debian.gz
da767290f5d72cd073b75a32c421c4f3 usr/lib32/pcoip/vchan_plugins/libscredirvchanclient.so
429fb9f9edeb55389315bd13d896e721 usr/lib32/pcoip/vchan_plugins/libmksvchanclient.so
3b2fae4e77939bd4644e4d764de4e908 usr/lib32/libpcoip_crypto_non_fips.so
ab48ef257f8b6b60a94a0281b8826874 usr/lib32/libpcoip_client.so
c92f1128db955ee0b69d21524f0cbc20 usr/lib32/libpcoip_crypto.so
3b60adc337620ec01c678e3c78e6b77b usr/lib32/vmware/xkeymap/it104
2f4a75c73594f2d0f83e9da3109bcf71 usr/lib32/vmware/xkeymap/fi101
8e12a7ac107ef157d5a96290543fe924 usr/lib32/vmware/xkeymap/jp106
2dc2ac4e66add267b3b26f8446c572f1 usr/lib32/vmware/xkeymap/gb101
24cd4bf0620f63c73aab63cfcefb83cd usr/lib32/vmware/xkeymap/chde101
af38979feefd31f2342ae3643f18b2b4 usr/lib32/vmware/xkeymap/fr101
7bba76870b06c99eb1885dac093ab706 usr/lib32/vmware/xkeymap/jp109
327f881a94a38f165a7252b6394d248f usr/lib32/vmware/xkeymap/no104
ac774ca05c82be71f31d5c31d8aefcff usr/lib32/vmware/xkeymap/is101
a94866d5e8be3690d0d8fbfa1edb42ae usr/lib32/vmware/xkeymap/chfr101
dae0f01533f83262175be04f60f9bfe0 usr/lib32/vmware/xkeymap/se104
dc9ad78dc0a7ffcc1db6adf50ef99ba7 usr/lib32/vmware/xkeymap/dk101
370adff14b0c903f53ddbeacd734b4a0 usr/lib32/vmware/xkeymap/chfr104
56124c15e3c11a98ea155d7de0423b0a usr/lib32/vmware/xkeymap/is104
f9fb2a21676908f63ecdff42f724aa8a usr/lib32/vmware/xkeymap/it101
ede806f3858a4d743a3519ab7c3e4dd1 usr/lib32/vmware/xkeymap/es104
0092a03f56265097ab91502985796228 usr/lib32/vmware/xkeymap/de101
716708de0483028c51dc42ff14cb9acc usr/lib32/vmware/xkeymap/fr104
3ddf77171d53c339686b8d74e4fa9b22 usr/lib32/vmware/xkeymap/pt104
b38722670e38bbf9a8c62768a23e3a64 usr/lib32/vmware/xkeymap/dk104
321afda70bcdf5d61e6186025166dc02 usr/lib32/vmware/xkeymap/gb104
1398bdeafae6eece4de9480772fff067 usr/lib32/vmware/xkeymap/es101
798cb88a7650cac3cc56568162a22172 usr/lib32/vmware/xkeymap/us104
2f4a75c73594f2d0f83e9da3109bcf71 usr/lib32/vmware/xkeymap/se101
acf552272b5c5c143fce6a87800eb483 usr/lib32/vmware/xkeymap/pt101
3122074cb91d9491b5877cba2e2c45d1 usr/lib32/vmware/xkeymap/de104
1e997978efb78720cf0874131ae32c31 usr/lib32/vmware/xkeymap/us101
dae0f01533f83262175be04f60f9bfe0 usr/lib32/vmware/xkeymap/fi104
5b364b37a92305c0ed59814b4a716c81 usr/lib32/vmware/xkeymap/no101
9664cac38a422da9dae87c5fd844a8e5 usr/lib32/vmware/xkeymap/chde104
033c8d79d7dfe372b145b1ecc07d46c0 usr/lib32/vmware/xkeymap/be104
57d83d0404ffd36402981e9da06815e1 usr/lib32/vmware/xkeymap/be101
Binary file added 1.6.0_wheezy/temp/usr/bin/vmware-remotemks
Binary file not shown.
Binary file not shown.
26 changes: 26 additions & 0 deletions 1.6.0_wheezy/temp/usr/bin/vmware-view
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#!/bin/sh

LICENSE_ACCEPTED=~/.vmware-view-client.license-accepted
if [ ! -e $LICENSE_ACCEPTED ]; then
zenity --ok-label=Agree \
--title EULA \
--height 550 --width=500 \
--text-info \
--filename=/usr/share/doc/vmware-view-client/VMware-view-client-EULA-en.txt
# needed for lucid, maverick, natty as --text-info does not show
# the "ok", "cancel" buttons for a text-info there
#zenity --question --text "Do you agree to the terms?" \
# --ok-label=Agree --cancel-label=Cancel

res=$?
if [ $res -eq 0 ]; then
touch $LICENSE_ACCEPTED
else
exit 1
fi
fi

# run the real thing
export GTK_PATH=/usr/lib32/gtk-2.0
export LD_LIBRARY_PATH=/usr/lib32
exec vmware-view.bin "$@"
174 changes: 174 additions & 0 deletions 1.6.0_wheezy/temp/usr/bin/vmware-view-log-collector
Original file line number Diff line number Diff line change
@@ -0,0 +1,174 @@
#!/bin/bash

DEFAULT_TARGET='view-log.tar.gz'

function printError()
{
echo >&2 "${0##*/}: $1"
}

function Usage()
{
cat <<EOF
Usage: ${0##*/} [PATH]
This scripts locates the latest log file generated from the
VMware View Client. The log file will be packaged into a new
file at the location given by PATH.
OPTIONS:
--help: Shows this help message.
-u|--user <username> Selects the username to collect files for.
EOF
}

# Check whether need to copy the PCoIP log and copy logs
# Directory name may have space, and file name have the wildcard character.
# So if use quotes to enclose the file name, ls command won't find it, and must
# put the file name outside of the quotes. So 4 arguments are needed.
function cpPCoIPLog()
{
local cmpLogDir="$1"
local cmpLogGlob="$2"
local destViewLogFile="$3"
local destTargetDir="$4"
# In one connection, there are maybe more than one PCoIP/mks
# logs and all should be collected. Use the most recently
# view log's first line to get the view log's create time,
# and then compare it with the mtime of
# PCoIP/mks log, if PCoIP/mks is newer, just collect it.

local destViewLogTime=$(date -d "$(head -n 1 "$destViewLogFile" | sed -e 's/: vmware-view.*$//')" "+%s")
for logFile in $(ls -t "$cmpLogDir"/$cmpLogGlob 2>/dev/null) ; do
local cmpLogTime=$(stat -c %Y "$logFile")
if [ $cmpLogTime -lt $destViewLogTime ] ; then
return
fi
if ! cp "$logFile" "$destTargetDir" ; then
printError "Unable to copy log file $logFile to $destTargetDir."
exit 1
fi
done
}

target="$DEFAULT_TARGET"
username="$USER"

while [ $# -ne 0 ]; do
arg=$1
shift
case $arg in
--help)
Usage
exit
;;
-u|--user)
username="$1"
shift
;;
--)
target="$@"
shift $#
;;
*)
if [ ${arg:0:1} == '-' ] ; then
printError "Unknown argument: $arg."
exit 1
else
target="$arg"
fi
;;
esac
done

if [ ! -n "${TMPDIR}" ] ; then
export TMPDIR=/tmp
fi

logDirectory="$TMPDIR/vmware-$username"

# Find the directory that logs are stored.
if [ ! -d "$TMPDIR/vmware-$username/" ] ; then
printError "The log directory $logDirectory does not exist."
exit 1
fi

viewLogGlob="vmware-view-[0-9]*.log"
# Ensure at least one log file exists.
if ! ls "$TMPDIR/vmware-$username"/$viewLogGlob &>/dev/null ; then
printError "No log found in $logDirectory."
exit 1
fi

# Find the most 'recent' log and zip it.
tarFileName=$(basename $target)
targetDirectory="${tarFileName%.tar.gz}"

# Create a temporary directory in which to work.
if ! tmpdir=$(mktemp -d) ; then
printError "Failed to create temporary directory."
exit 1
fi
if ! mkdir "$tmpdir/$targetDirectory" ; then
printError "Failed to create $tmpdir/$targetDirectory."
exit 1
fi

fileToCp=$(ls -t "$logDirectory"/$viewLogGlob | head -n 1)
if [ -z "$fileToCp" ] ; then
printError "Unable to locate log file in $logDirectory."
exit 1
fi
if ! cp "$fileToCp" "$tmpdir/$targetDirectory" ; then
printError "Unable to copy log file $fileToCp to $tmpdir/$targetDirectory."
exit 1
fi

viewLogFile=$fileToCp

# Find most recent USB client log and zip it. Note that this may not correlate
# with the most current View client log however in practice it is unlikely
# if USB client logs exist on the system.

usbLogGlob="vmware-view-usb*-[0-9]*.log"

usbLogFile=$(ls -t "$logDirectory"/$usbLogGlob 2>/dev/null | head -n 1)
if [ ! -z $usbLogFile ] ; then
if ! cp "$usbLogFile" "$tmpdir/$targetDirectory" ; then
printError "Unable to copy log file $usbLogFile to $tmpdir/$targetDirectory."
exit 1
fi
fi

# Move PCoIP logs to the temp directory
pcoipLogDir="$TMPDIR/teradici-$username"
pcoipLogGlob="pcoip_client_*.txt*"
mksLogGlob="*mks-[0-9]*.log"

# Copy the mks logs
cpPCoIPLog "$logDirectory" "$mksLogGlob" "$viewLogFile" "$tmpdir/$targetDirectory"

# Copy the pcoip_client logs
cpPCoIPLog "$pcoipLogDir" "$pcoipLogGlob" "$viewLogFile" "$tmpdir/$targetDirectory"

# Move VDP Service logs to the temp directory
vdpServiceGlob="vdpServiceClient-[0-9]*.log"

# Copy the vdpServiceClient logs
cpPCoIPLog "$logDirectory" "$vdpServiceGlob" "$viewLogFile" "$tmpdir/$targetDirectory"

# Move into the temp directory to prevent tar from prepending the
# temp directory on the target directory.
pushd "$tmpdir" >/dev/null
tar czf $tarFileName "$targetDirectory"
tarResult=$?
popd >/dev/null
if [ $tarResult -eq 0 ] ; then
mv "$tmpdir/$tarFileName" $target
else
printError "Unable to make $target."
fi

rm -rf "$tmpdir"
exit 0
Binary file added 1.6.0_wheezy/temp/usr/bin/vmware-view-tunnel
Binary file not shown.
Binary file added 1.6.0_wheezy/temp/usr/bin/vmware-view.bin
Binary file not shown.
Binary file added 1.6.0_wheezy/temp/usr/lib32/libpcoip_client.so
Binary file not shown.
Binary file added 1.6.0_wheezy/temp/usr/lib32/libpcoip_crypto.so
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit 08e1879

Please sign in to comment.