mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-14 21:56:41 +01:00
network/skype: Removed (replaced by skypeforlinux).
Signed-off-by: Mario Preksavec <mario@slackware.hr>
This commit is contained in:
parent
a40a8abc8b
commit
dd6d695126
7 changed files with 0 additions and 268 deletions
|
@ -1,16 +0,0 @@
|
|||
**Important notice**
|
||||
|
||||
All Skype for Linux clients version 4.3 and older will be retired on
|
||||
July 1, 2017. To keep chatting, please install the latest version of
|
||||
Skype for Linux -- the new 'skypeforlinux' SlackBuild here at SBo.
|
||||
|
||||
Skype is a free Voice Over IP program for Linux, Windows, and MacOS. It
|
||||
allows users to communicate with other Skype users running any of the
|
||||
supported platforms, as well as receiving and placing calls from and to
|
||||
normal land lines and mobile phones.
|
||||
|
||||
This script repackages the shared tarball provided by Skype, which has
|
||||
been built dynamically. Static binary support has been discontinued.
|
||||
|
||||
See README.SLACKWARE (which is also installed with the package docs) for
|
||||
setup, configuration, and usage hints.
|
|
@ -1,115 +0,0 @@
|
|||
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 it with
|
||||
V4L compatibility library, and call Skype like this:
|
||||
|
||||
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so /usr/bin/skype
|
||||
|
||||
If you are still having problems, try adding the following as well:
|
||||
|
||||
XLIB_SKIP_ARGB_VISUALS=1
|
||||
|
||||
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.3.0.37/skype-alternative.desktop \
|
||||
~/.local/share/applications
|
||||
|
||||
Skype and pulseaudio dependencies
|
||||
---------------------------------
|
||||
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 dependency 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
|
||||
dependencies, 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 dependencies, 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 and pulseaudio dependencies (addendum)
|
||||
--------------------------------------------
|
||||
It turns out, all of the above can be skipped by using apulse to wrap
|
||||
around Skype binary. Naturally, for 64bit users this makes things a bit
|
||||
harder, and a 32bit apulse compat32 package is required instead. In any
|
||||
case, it's still a bit cleaner then having a whole pulseaudio installed
|
||||
and interfering with the rest of the system, and only to serve Skype.
|
||||
Find apulse SlackBuild at the usual awesome place, the slackbuilds.org
|
||||
Website. Thanks goes to Andrzej Telszewski for pointing it out!
|
||||
|
||||
Skype with a grain of salt
|
||||
--------------------------
|
||||
Running binary-only applications might give open source literate people
|
||||
a certain dose of unease. Even more so when this application runs at
|
||||
computer start up, has constant outbound network access, becomes a
|
||||
super node 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 bury 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 microphone, 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 labor 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 environment, 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 goofiness 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.
|
|
@ -1,4 +0,0 @@
|
|||
if [ -x /usr/bin/update-desktop-database ]; then
|
||||
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
|
||||
fi
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
[Desktop Entry]
|
||||
Name=Skype (Alternative)
|
||||
Comment=Skype Internet Telephony
|
||||
Exec=env XLIB_SKIP_ARGB_VISUALS=1 LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype %U
|
||||
Icon=skype
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Network;
|
||||
MimeType=x-scheme-handler/skype;
|
||||
X-KDE-Protocols=skype
|
|
@ -1,94 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for skype
|
||||
|
||||
# Copyright 2010, 2012, 2013, 2014 Mario Preksavec, Zagreb, HR
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
# permitted provided that the following conditions are met:
|
||||
#
|
||||
# 1. Redistributions of this script must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
|
||||
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
|
||||
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
|
||||
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
||||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=skype
|
||||
VERSION=${VERSION:-4.3.0.37}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i586 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
|
||||
# Sanity check, we make sure resulting package will work on users system.
|
||||
case "$ARCH" in
|
||||
x86_64)
|
||||
echo "$ARCH is not supported, you will need 32bit compatibility libs..."
|
||||
ARCH=i586
|
||||
;;
|
||||
i586|i686)
|
||||
:
|
||||
;;
|
||||
*)
|
||||
echo "$ARCH is not supported."
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
|
||||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
||||
-o -perm 511 \) -exec chmod 755 {} \; -o \
|
||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
mkdir -p $PKG/usr/{bin,share/{skype,pixmaps,applications}} $PKG/etc/dbus-1/system.d
|
||||
cp -a skype $PKG/usr/bin
|
||||
cp -a avatars lang sounds $PKG/usr/share/skype
|
||||
cat skype.desktop > $PKG/usr/share/applications/skype.desktop
|
||||
cat icons/SkypeBlue_48x48.png > $PKG/usr/share/pixmaps/skype.png
|
||||
cat skype.conf > $PKG/etc/dbus-1/system.d/skype.conf
|
||||
|
||||
# If we strip it, it segfaults, so lets disable this for now.
|
||||
#find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
# | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
cat $CWD/README.SLACKWARE > $PKG/usr/doc/$PRGNAM-$VERSION/README.SLACKWARE
|
||||
cat $CWD/skype-alternative.desktop > \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION/skype-alternative.desktop
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
|
@ -1,10 +0,0 @@
|
|||
PRGNAM="skype"
|
||||
VERSION="4.3.0.37"
|
||||
HOMEPAGE="http://www.skype.com"
|
||||
DOWNLOAD="http://download.skype.com/linux/skype-4.3.0.37.tar.bz2"
|
||||
MD5SUM="95db8f2072b9acd6f79ed42da3d6db79"
|
||||
DOWNLOAD_x86_64="UNSUPPORTED"
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
MAINTAINER="Mario Preksavec"
|
||||
EMAIL="mario at slackware dot hr"
|
|
@ -1,19 +0,0 @@
|
|||
# HOW TO EDIT THIS FILE:
|
||||
# The "handy ruler" below makes it easier to edit a package description.
|
||||
# Line up the first '|' above the ':' following the base package name, and
|
||||
# the '|' on the right side marks the last column you can put a character in.
|
||||
# You must make exactly 11 lines for the formatting to be correct. It's also
|
||||
# customary to leave one space after the ':' except on otherwise blank lines.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
skype: skype (a P2P Voice Over IP program)
|
||||
skype:
|
||||
skype: Skype is a free Voice Over IP program for Linux, Windows and
|
||||
skype: MacOS. It allows users to communicate with other Skype users
|
||||
skype: running any of the supported platforms, as well as receiving
|
||||
skype: and placing calls from and to normal land lines as well as
|
||||
skype: mobile phones.
|
||||
skype:
|
||||
skype: Homepage: http://www.skype.com
|
||||
skype:
|
||||
skype:
|
Loading…
Reference in a new issue