diff options
author | Mario Preksavec <mario@slackware.hr> | 2014-07-02 07:00:57 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-07-03 19:23:15 +0700 |
commit | 4527a3de4054a8af6eac8b115e2349d78edd493c (patch) | |
tree | 3742495f661e4a6544f803fe571750a41884eeff /network | |
parent | 194511355c83e4fe213251c8e49a1415a0832a0a (diff) | |
download | slackbuilds-4527a3de4054a8af6eac8b115e2349d78edd493c.tar.gz |
network/skype: Updated for version 4.3.0.37.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r-- | network/skype/README.SLACKWARE | 97 | ||||
-rw-r--r-- | network/skype/skype.SlackBuild | 2 | ||||
-rw-r--r-- | network/skype/skype.info | 8 |
3 files changed, 96 insertions, 11 deletions
diff --git a/network/skype/README.SLACKWARE b/network/skype/README.SLACKWARE index 11e94d34b9..4c86c193b3 100644 --- a/network/skype/README.SLACKWARE +++ b/network/skype/README.SLACKWARE @@ -1,10 +1,12 @@ -It has been pointed out by alot of users that skype has problems with -some cameras, in most cases this leads to a green screen or no video at -all. This happens because V4L (legacy) API has been dropped from newer +Skype and camera issues +----------------------- +It has been pointed out by a lot of users that skype has problems with +some cameras, in most cases this leads to green screen or no video at +all. This happens because V4L API (legacy) has been dropped from newer kernels, and pixel format decoding has been pushed to user space. Moreover, V4L2 does not support kernel space decoding. Since skype -supports only V4L, easiest way to get it working is to preload a V4L -compatibility library, and call skype like this: +supports only V4L, easiest way to get it working is to preload it with +V4L compatibility library, and call skype like this: LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so /usr/bin/skype @@ -16,5 +18,88 @@ Included with this package is an alternative desktop file modified to include those variables. For easy use, just copy it to your home directory: - cp /usr/doc/skype-4.2.0.13/skype-camera.desktop \ + cp /usr/doc/skype-4.3.0.37/skype-alternative.desktop \ ~/.local/share/applications + +Skype and pulseaudio dependacies +-------------------------------- +With the introduction of skype 4.3 series, all built-in ALSA support +has been completely removed. What this means is that we now have one +more dependancy to deal with, and for 64bit Slackware users this makes +things even more complex, because they have to build 32bit counterparts +and use convertpkg script to make them installable on their systems. +At the time of writing this, pulseaudio also requires json-c and speex +dependancies, so if you are on a 32bit system, it should be enough to +build these and installpkg them. +For a 64bit setup, you will have to build all three dependancies, and +in the end you will end up with a total of six packages, three for each +platform. To do this, you will obviously need multilib packages from +Eric Hameleers, so make sure you check README that comes with them. +After 32bit packages are built, convert them like this: + + convertpkg-compat32 -i json-c-0.11-i486-1_SBo.tgz -e tgz + convertpkg-compat32 -i speex-1.2rc1-i486-3_SBo.tgz -e tgz + convertpkg-compat32 -i pulseaudio-5.0-i486-1_SBo.tgz -e tgz + +And installpkg resulting packages as usual. + +Skype with a grain of salt +-------------------------- +Running binary-only applications might give open source literate people +a ceritain dose of unease. Even more so when this application runs at +computer start up, has constant outbound network access, becomes a +supernode when open ports from the internet are detected, effectively +accepting random connections from other users on the internet. If you +are not scared enough already, think about access to your sound card, +camera, and precious files after reading the above! +Sure, some will argue that privacy is a thing of the past, and not to +run such applications if you don't want to, but sometimes you simply +don't have a choice. Whether it's your long distance family members or +coworkers and friends, price is the same, you are left with an ugly +written app (just look at that 64bit support) that is probably full of +horrible holes, intentional or not (really :^) +While safest thing, of course, is to avoid using it, and probably turn +off your computer for good, right before you put on that tin foil hat +or burry your head in a hole somewhere, we wont be exploring those +options in this awesome README! +Instead, we will start from the obvious, firewall unused ports on your +computer, in most cases it's fine to close them all down. Next in line +are also obvious things, if you do not trust that little light on your +camera, unplug it when your haircut is not presentable to the world. +Same goes for your mircrophone, and if it's an integrated one, take it +from the pro's in the police department that use adhesive tape to cover +it up :-) +Now that manual labour is out the way, we come to a much more fun part, +protecting your precious files in $HOME. For this we take advantage of +multi-user enviroment, and simply run skype under another user with +basic access. Without further ado, create another user and group with: + + groupadd -g 666 spyke + useradd -u 666 -d /home/spyke -m -s /bin/bash -g spyke spyke + +Optionally give this user access to hardware: + + usermod -G audio,video,pulse -a spyke + +If you previously had skype set-up that you wish to keep, move it with: + + cp -a $HOME/.Skype /home/spyke + chown -R spyke:spyke /home/spyke/.Skype + +Allow group execution: + + echo "%spyke ALL=(spyke) NOPASSWD: /usr/bin/skype" \ + >> /etc/sudoers.d/66_spyke + +Add your user to this new group: + + usermod -G spyke -a USERNAME + +Finally, run it like this: + + xhost +local: \ + && sudo -u spyke /usr/bin/skype + +Attention, due to lack of goofyness in this README, anagrams were used +to fill that void. Together with some number crafting, level of Slack +has peaked, and the trumpets were blown. diff --git a/network/skype/skype.SlackBuild b/network/skype/skype.SlackBuild index 79fc3c99bc..59c4abe180 100644 --- a/network/skype/skype.SlackBuild +++ b/network/skype/skype.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=skype -VERSION=${VERSION:-4.2.0.13} +VERSION=${VERSION:-4.3.0.37} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/network/skype/skype.info b/network/skype/skype.info index c230a02452..a49d26af5d 100644 --- a/network/skype/skype.info +++ b/network/skype/skype.info @@ -1,10 +1,10 @@ PRGNAM="skype" -VERSION="4.2.0.13" +VERSION="4.3.0.37" HOMEPAGE="http://www.skype.com" -DOWNLOAD="http://download.skype.com/linux/skype-4.2.0.13.tar.bz2" -MD5SUM="b4d1dcc5290be92225b400ea877db874" +DOWNLOAD="http://download.skype.com/linux/skype-4.3.0.37.tar.bz2" +MD5SUM="95db8f2072b9acd6f79ed42da3d6db79" DOWNLOAD_x86_64="UNSUPPORTED" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="pulseaudio" MAINTAINER="Mario Preksavec" EMAIL="mario at slackware dot hr" |