Páginas

sábado, 4 de dezembro de 2010

Opensuse 64 bits: Skype 64 bits with video on OpenSUSE 11.3 x86_64

Skype with video on OpenSUSE 11.3 x86_64.

How to install the ubuntu 64 bits skype in OpenSuse.

Steps:

Get the ubuntu 64 bits skype file.


Convert from ubuntu file (.deb) to .rpm

Install skype rpm file.

Instal the dependencies.

Instal a icon on desktop.

Some instructions are found in:

http://en.opensuse.org/SDB:Skype#openSUSE_11.3_and_11.2_quick_installation

http://forums.opensuse.org/english/get-help-here/applications/432193-webcam-skype-2-1-0-81-a.html

Here is a quick run-through how i got it to work.

First get Skype x.x.x.xx here:

http://www.skype.com/intl/pt-br/get-skype/on-your-computer/linux/post-download/


Download and save the 64 bits ubuntu version in ubuntu x.xx + 64 bits. The name the file can be

skype-ubuntu-intrepid_x.x.x.xx-x_amd64.deb

Install the dependencies:

sudo zypper install libqt4-32bit libqt4-x11-32bit
sudo zypper install xorg-x11-libXv
sudo zypper install xorg-x11-libXv-32bit

Note: actually other dependencies can appear. In this case, search the archive where there are the dependencies files in (example for libXv.so.1)

http://rpm.pbone.net/index.php3/stat/3/srodzaj/1/search/libXv.so.1%28%29%2864bit%29

and install the archive with the dependencies.

Get Alien converter (to convert from deb package to rpm package) from:

https://build.opensuse.org/package/binary?arch=x86_64&filename=alien-8.80-1.2.x86_64.rpm&package=alien&project=openSUSE%3A11.3%3AContrib&repository=standard

Install Alien:

First install perl 5.12.1 by yast and and after that, install alien (just click it and let the yas to install it).

to Convert the .deb file into .rpm:

In a terminal console just type:

alien -r -c skype_ubuntu-x.x.x.xx-x_amd64.deb

Install the new converted .rpm package of Skype:
Code:

sudo rpm -ivh skype-x.x.x.xx-x.x86_64.rpm

(or click in archive and permit yast to install)

Install libv4l by yast.

Start Skype in a terminal:

export LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so

skype

To run in a desktop:

Create a skype.sh file:

a. as a root, save a 'skype' paste in directory /opt

b. with a text editor, make a skype.sh file with this commands:

#!/bin/bash

export LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so

skype

c. save in /opt/skype paste named skype.sh and close the editor.

d. click with the right botton on the skype.sh and select 'properties'.

e. in 'Permissions', flag 'Is executable' and click 'ok'.

f. in the desktop, click with the right botton on the skype icon and select 'icon settings'. In 'Application', include:

- 'name': Skype

- 'command': /opt/skype/skype.sh

- 'work path': /opt/skype

Clique 'ok' to save.

Now, if you click the skype icon, skype works with video..

That's it.

Skype 64 bits com video no Opensuse 11.x 64 bits

Skype 64 bits do Ubuntu instalado e com vídeo no OpenSuse 11.3 64 bits

(testado e funcionando!!)

obtido de fórums do OpenSuse em inglês, como o:

http://forums.opensuse.org/english/get-help-here/applications/432193-webcam-skype-2-1-0-81-a.html

e com algumas adaptações.

Primeiro, baixe a última versão do skype para ubuntu x.xx 64 bits em:

http://www.skype.com/intl/pt-br/get-skype/on-your-computer/linux/post-download/

O arquivo baixado vai ser algo parecido como:

skype-ubuntu-intrepid_x.x.x.xx-x_amd64.deb

Instale as dependências (neste caso, foi usado o zypper mas pode ser pelo yast):

sudo zypper install libqt4-32bit libqt4-x11-32bit
sudo zypper install xorg-x11-libXv
sudo zypper install xorg-x11-libXv-32bit

No meu caso, instalei os solicitados pelo site do skype e outros a seguir. Talvez não sejam necessários, mas se alguém souber, por favor retorne:

Qt 4.2.1+

D-Bus 1.0.0

libasound2 1.0.12

PulseAudio 0.9.10+ (opcional)

PulseAudio 0.9.15+ (opcional, recomendado)

ou os mais atuais.

Instalei também o libv4l pelo yast.

Note que outras dependências podem surgir, como libXv.so.1. Nesse caso, obtenha os arquivos para baixá-los em rpm.pbone.net:

http://rpm.pbone.net/index.php3/stat/3/srodzaj/1/search/libXv.so.1%28%29%2864bit%29

e instale o arquivo com as dependências.

Como o skype baixado é para Ubuntu, deve-se convertê-lo para rpm instalável no Opensuse. Para isso, vamos instalar o alien que é um conversor deb->rpm.

  1. instalar o perl 5.12.1 (pelo zypper ou yast)

  2. obter o alien (alien-8.80-1.2.x86_64.rpm) em:

    https://build.opensuse.org/package/binary?arch=x86_64&filename=alien

  3. instalar alien clicando sobre o arquivo executável.

Para conversão do skype.deb (ubuntu) para skype.rpm (OpenSuse):

No terminal, vá para o diretório onde se encontra o skype-ubuntu baixado e digite:

alien -r -c skype_ubuntu-x.x.x.xx-x_amd64.deb

que deve gerar um arquivo mais ou menos assim:

skype-x.x.x.xx-x.x86_64.rpm

Instale o arquivo rpm convertido do skype, digitando no terminal:

sudo rpm -ivh skype-x.x.x.xx-x.x86_64.rpm

Para entrar no skype, entre no terminal e digite:

export LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype

E o skype rodou em 64 bits, inclusive com vídeo.

Para não precisar digitar no terminal, crie um arquivo executável com extensão .sh, que será executado clicando-se no ícone 'skype' no desktop. Para isso:

a. como superusuário no terminal ou no 'file manager' crie uma pasta 'skype' no diretório /opt

b. com um editor de texto, crie o arquivo skype.sh com as seguintes linhas de comando:

#!/bin/bash

export LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so

skype

c. salve naquela pasta /opt/skype com o nome skype.sh e feche o editor.

d. clique com o botão direito do mouse sobre o arquivo skype.sh e clique em 'properties'.

e. na aba 'Permissions', clique no flag 'Is executable' e clique 'ok'.

f. Clique com o botão direito do mouse sobre o ícone 'skype' do desktop e entre em 'icon settings'. Na aba 'Application', inclua o seguinte:

- em 'name': Skype

- em 'command': /opt/skype/skype.sh

- em 'work path': /opt/skype

Clique 'ok' para salvar.

Ao clicar no ícone, o skype é executado. Com vídeo.

Fim.

.....................................................................................................................