LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-28-2014, 10:22 AM   #1
navigium
Member
 
Registered: Aug 2014
Location: Switzerland
Distribution: Slackware, FreeBSD
Posts: 119

Rep: Reputation: 58
VMWare View Client 2.2.0 with proprietary PCoIP extensions


EDIT: Now there is a SlackBuild for the VMWare View Client:

http://slackbuilds.org/repository/14...e-view-client/


Hey all,

This post is something between a tutorial and a quest for not everything works yet. If you need the proprietary PCoIP extensions in the VMWare View client to connect to your corporate network, the open source client wont help. At the moment there is only a official Ubuntu package but no direct download from the website. But you can use the sources from the Ubuntu package to make a Slackware-Package.

There is only a i486 version of the binary, no 64-bit version. So if you are on a 64 bit system you need to make sure you set it up for multilib as explained here:
http://www.slackware.com/~alien/multilib/

If you are 32-bit ready, download the tar from the Ubuntu launchpad here and place it in a empty folder you use to build the package.


https://launchpad.net/ubuntu/+archive/partner/+files/vmware-view-client_2.2.0.orig.tar.gz


This package basically contains all the files you need with the correct path except for the documentation. The followind SlackBuild script takes care of this problem. Just save the following script in the same folder as vmware-view-client.SlackBuild and run it as root to build the package:

Code:
#!/bin/sh -e

#Set initial variables:	

CWD=$(pwd)
if [ "$TMP" = "" ]; then
  TMP=/tmp
fi

VERSION=2.2.0
PKG_VERSION=2.2.0

APP=vmware-view-client
BUILD=${BUILD:-1_bk}
PKG=$TMP/package-$APP

set -e

rm -rf $PKG 
mkdir -p $TMP $PKG
rm -rf $TMP/$APP-$VERSION


# Change to the TMP directory
cd $TMP || exit 1

# Extract the application source in TMP
# Note: if your application comes as a tar.bz2, you need tar -jxvf
tar -zxvf $CWD/$APP\_$VERSION.orig.tar.gz || exit 1
cd $APP-$VERSION || exit 1

chown -R root:root .
chmod -R u+w,go+r-w,a-s .

cp -r $CWD/$APP-$VERSION/* $PKG
mv $PKG/usr/share/doc $PKG/usr/doc

cat $CWD/$APP.SlackBuild > $PKG/usr/doc/$APP/$APP.SlackBuild || exit 1


# Create the ./install directory and copy the slack-desc into it
# mkdir -p $PKG/install
# cat $CWD/slack-desc > $PKG/install/slack-desc

# Build the package
cd $PKG
/sbin/makepkg -l y -c n $TMP/$APP-$PKG_VERSION-$ARCH$BUILD.tgz
If the build is successful you just install the package as ususal:

Code:
# installpackage /tmp/vmware-view-client-2.2.0-1_bk.tgz
There are some problems that still persist.

Some of the gtk icons are not found. Does anyone why this could be and how to solve it?

Last edited by navigium; 12-06-2014 at 07:05 AM. Reason: Added SlackBuild
 
Old 11-29-2014, 08:54 AM   #2
schmatzler
Member
 
Registered: Jan 2011
Location: Germany
Distribution: Slackware64 -current + Multilib
Posts: 411

Rep: Reputation: 181Reputation: 181
Quote:
Originally Posted by navigium View Post
Some of the gtk icons are not found. Does anyone why this could be and how to solve it?
You may want to edit ~/.gtkrc-2.0 and enter this:

Code:
gtk-fallback-icon-theme = "Tango"
If the application uses GTK3, the approach is a bit different.
In GTK3, everything is read from a settings.ini file.

I have a file /etc/gtk-3.0/settings.ini with the following content:
Code:

Code:
[Settings]
gtk-theme-name = Adwaita
gtk-fallback-icon-theme = gnome
That should help with the icons.

If you don't want that system-wide, you can also set up ~/.bash_profile with the content:
Code:
XDG_CONFIG_HOME="$HOME"
and re-login - ~/.gtk-3.0/settings.ini should be respected afterwards.

Last edited by schmatzler; 11-29-2014 at 08:55 AM.
 
1 members found this post helpful.
Old 11-30-2014, 03:15 AM   #3
navigium
Member
 
Registered: Aug 2014
Location: Switzerland
Distribution: Slackware, FreeBSD
Posts: 119

Original Poster
Rep: Reputation: 58
Thanks schmatzler, this solved the problem. I couldn't find a settings.ini file on my system, though.

I edited the /etc/gtk-3.0/gtkrc file and added the line

Code:
gtk-fallback-icon-theme = gnome
which fixed the icons. Am I correct that if I want to add this setting to my SlackBuild, I would have to create a doinst.sh script which edits the above file as mentioned?
 
Old 11-30-2014, 04:10 AM   #4
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
no, you should not edit files that belong to other packages if you want to publish your slackbuild script. Make a note in the README and let users do it manually
 
Old 11-30-2014, 04:12 AM   #5
navigium
Member
 
Registered: Aug 2014
Location: Switzerland
Distribution: Slackware, FreeBSD
Posts: 119

Original Poster
Rep: Reputation: 58
Quote:
Originally Posted by willysr View Post
no, you should not edit files that belong to other packages if you want to publish your slackbuild script. Make a note in the README and let users do it manually
Ok, thanks. I think as soon as I find the time to write a README, I'll send the script to SlackBuilds.org.
 
Old 11-30-2014, 04:19 AM   #6
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
please adjust the script with SBo templates as well before submitting
 
Old 11-30-2014, 05:17 AM   #7
navigium
Member
 
Registered: Aug 2014
Location: Switzerland
Distribution: Slackware, FreeBSD
Posts: 119

Original Poster
Rep: Reputation: 58
Quote:
Originally Posted by willysr View Post
please adjust the script with SBo templates as well before submitting
Thanks for the hint, I guess I would have forgotten to do this. There is no template for proprietary software (but if I understand correctly, it's ok to submit SlackBuilds for proprietary software as long as it's stated clearly in the README). I figure I just take the one that's closest to my script and modify it, right?
 
Old 11-30-2014, 06:45 AM   #8
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
Yes, there are some packages which requires subscription and it's fine as long as it's stated in the README. All we provide is a script to package, not the real binaries
 
Old 11-30-2014, 09:49 AM   #9
navigium
Member
 
Registered: Aug 2014
Location: Switzerland
Distribution: Slackware, FreeBSD
Posts: 119

Original Poster
Rep: Reputation: 58
Quote:
Originally Posted by willysr View Post
Yes, there are some packages which requires subscription and it's fine as long as it's stated in the README. All we provide is a script to package, not the real binaries
I just submitted a SlackBuild. I hope I haven't made any grave mistakes (guess there will be minor ones as it's my first SlackBuild ) Thanks for all the help.
 
Old 12-01-2014, 02:51 AM   #10
schmatzler
Member
 
Registered: Jan 2011
Location: Germany
Distribution: Slackware64 -current + Multilib
Posts: 411

Rep: Reputation: 181Reputation: 181
Quote:
Originally Posted by navigium View Post
I couldn't find a settings.ini file on my system, though.
If it's not there, create it.
 
Old 12-01-2014, 06:01 AM   #11
navigium
Member
 
Registered: Aug 2014
Location: Switzerland
Distribution: Slackware, FreeBSD
Posts: 119

Original Poster
Rep: Reputation: 58
Quote:
Originally Posted by schmatzler View Post
If it's not there, create it.
Is there a reason why creating this file is better than editing gtkrc?
 
Old 12-06-2014, 07:06 AM   #12
navigium
Member
 
Registered: Aug 2014
Location: Switzerland
Distribution: Slackware, FreeBSD
Posts: 119

Original Poster
Rep: Reputation: 58
I just edited the original post because now there is a SlackBuild to install the proprietary VMWare View Client:

http://slackbuilds.org/repository/14...e-view-client/
 
Old 01-06-2015, 03:18 PM   #13
becken
LQ Newbie
 
Registered: Mar 2014
Distribution: Slackware64 14.2
Posts: 9

Rep: Reputation: Disabled
Has anyone tried to install the 3.2.0 version that is downloadable from vmware.com?
I'm not able to connect using PCoIP and suspect it might be that I need a newer version.
 
Old 01-07-2015, 03:11 AM   #14
navigium
Member
 
Registered: Aug 2014
Location: Switzerland
Distribution: Slackware, FreeBSD
Posts: 119

Original Poster
Rep: Reputation: 58
Quote:
Originally Posted by becken View Post
Has anyone tried to install the 3.2.0 version that is downloadable from vmware.com?
I'm not able to connect using PCoIP and suspect it might be that I need a newer version.
I haven't tried yet. I don't like the installer, it replaces files from my package without warning. I think I'll try to install it manually.

Maybe it would be a good idea to open a new thread for this version where we can discuss the problems of this version.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
VMware View Client metallica1973 Linux - Software 1 02-05-2013 10:32 AM
VMware View Client Connection Issues metallica1973 Linux - Server 0 09-14-2012 09:27 AM
[SOLVED] VMware View Open Client gargamel Slackware 3 09-21-2011 06:14 AM
vmware-view-open-client via PCoIP cccc Debian 1 09-14-2010 09:42 AM
VMware View Open Client Installation From Source bolivartech Linux - Software 0 02-17-2009 12:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration