Repository 32bit  Forum
Repository 64bit  Wiki

special characters problem only with Skype

Postate qui se avete consigli per migliorare i pacchetti disponibili in questo sito o se avete problemi con installazione, funzionamento o altro.

Moderatore: Staff

Regole del forum
1) Citare in modo preciso il nome del pacchetto.
2) Specificare se discussione/suggerimento o richiesta d'aiuto.
3) Leggere attentamente le risposte ricevute
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.

La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.

special characters problem only with Skype

Messaggioda gtludwig » mer feb 29, 2012 13:07

Hi all,
This is my first message here. So let me introduce myself.
I'm Brazilian and Italian, but my Italian language skills are not very good. After a couple bottles of wine it comes quite naturally, though! :D
Also, I'm a Java developer that uses and loves Slackware.

Last week I had to reinstall my Slackware box at work and decided remain pure 64-bit, mostly due to the Skype package I found on this repository. But I've having quite a problem with special characters only on Skype. Every time I need to use é, è, ç, á, etc. on Skype, they come as �.

My system is configured to use UTF-8 encoding, as you can see here:
Codice: Seleziona tutto
gtl@cpc-5564:~$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE=C
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=


I'm quite at a loss here, can anyone help?
gtludwig
Linux 1.0
Linux 1.0
 
Messaggi: 4
Iscritto il: mer feb 29, 2012 12:55
Slackware: 13-37
Kernel: 3.2.2

Re: special characters problem only with Skype

Messaggioda conraid » mer feb 29, 2012 13:20

yes, I don't speak english very well, I hope someone translates better

in Italian
viewtopic.php?f=51&t=35228&start=15#p313536

1) install the package skype-static from the repository slacky
2) install directory solibs of the package glibc-gconv from current or 13.37 (I use current) 32bit in /opt/skype/gconv (this is important for utf8)
3) install librariesfrom package v4l-utils in /opt/skype/lib32
4) install the plugins directory of the package qt from current 32bit in /opt/skype/plugins
5) started it all with this command
Codice: Seleziona tutto
LD_PRELOAD=/opt/skype/lib32/v4l2convert.so GCONV_PATH=/opt/skype/gconv QT_PLUGIN_PATH=/home/utente/skype/plugins/ /opt/skype/lib32/ld-linux.so.2 --library-path /opt/skype/lib32/ /opt/skype/skype
Avatar utente
conraid
Staff
Staff
 
Messaggi: 12019
Iscritto il: mer lug 13, 2005 23:00
Località: Livorno
Nome Cognome: Corrado Franco
Slackware: current

Re: special characters problem only with Skype

Messaggioda gtludwig » mer feb 29, 2012 18:26

1) OK;
2) OK;
3) What do I need from package v4l-utils? Opening the file on kde's ark, there a /usr/lib folder. With the following files and directories:
/usr/lib/libv4l1.so.0
/usr/lib/libv4l2.so.0
/usr/lib/libv4lconvert.so.0
/usr/lib/libv4l/ov511-decomp
/usr/lib/libv4l/ov518-decomp
/usr/lib/libv4l/v4l1compat.so
/usr/lib/libv4l/v4l2compat.so
/usr/lib/pkgconfig/libv4l1.so.0
/usr/lib/pkgconfig/libv4l2.so.0
/usr/lib/pkgconfig/libv4lconverter.so.0

Do all these files and folders go to /opt/skype/lib32?
4) OK;
5) In:
Codice: Seleziona tutto
LD_PRELOAD=/opt/skype/lib32/v4l2convert.so GCONV_PATH=/opt/skype/gconv QT_PLUGIN_PATH=/home/utente/skype/plugins/ /opt/skype/lib32/ld-linux.so.2 --library-path /opt/skype/lib32/ /opt/skype/skype

"QT_PLUGIN_PATH=/home/utente/skype/plugins/" should be ""QT_PLUGIN_PATH=/opt/skype/plugins", right?
Ultima modifica di gtludwig il mer feb 29, 2012 18:37, modificato 1 volta in totale.
gtludwig
Linux 1.0
Linux 1.0
 
Messaggi: 4
Iscritto il: mer feb 29, 2012 12:55
Slackware: 13-37
Kernel: 3.2.2

Re: special characters problem only with Skype

Messaggioda conraid » mer feb 29, 2012 18:31

gtludwig ha scritto:1) OK;
2) I couldn't find the package glibc-gconv. :oops:


i'm sorry.
directory "gconv" on the glibc package

3) What do I need from package v4l-utils? Opening the file on kde's ark, there a /usr/lib folder. With the following files and directories:
/usr/lib/libv4l1.so.0
/usr/lib/libv4l2.so.0
/usr/lib/libv4lconvert.so.0
/usr/lib/libv4l/ov511-decomp
/usr/lib/libv4l/ov518-decomp
/usr/lib/libv4l/v4l1compat.so
/usr/lib/libv4l/v4l2compat.so
/usr/lib/pkgconfig/libv4l1.so.0
/usr/lib/pkgconfig/libv4l2.so.0
/usr/lib/pkgconfig/libv4lconverter.so.0

Do all these files and folders go to /opt/skype/lib32?


if you want use webcam with libv4l driver
Codice: Seleziona tutto
libv4l1.so.0
libv4l2.so.0
libv4lconvert.so.0
ov511-decomp
ov518-decomp
v4l1compat.so
v4l2convert.so




Codice: Seleziona tutto
LD_PRELOAD=/opt/skype/lib32/v4l2convert.so GCONV_PATH=/opt/skype/gconv QT_PLUGIN_PATH=/home/utente/skype/plugins/ /opt/skype/lib32/ld-linux.so.2 --library-path /opt/skype/lib32/ /opt/skype/skype

"QT_PLUGIN_PATH=/home/utente/skype/plugins/" should be ""QT_PLUGIN_PATH=/opt/skype/plugins", right?

yes...
Avatar utente
conraid
Staff
Staff
 
Messaggi: 12019
Iscritto il: mer lug 13, 2005 23:00
Località: Livorno
Nome Cognome: Corrado Franco
Slackware: current

Re: special characters problem only with Skype

Messaggioda gtludwig » mer feb 29, 2012 19:08

The command
Codice: Seleziona tutto
LD_PRELOAD=/opt/skype/lib32/v4l2convert.so GCONV_PATH=/opt/skype/gconv QT_PLUGIN_PATH=/opt/skype/plugins/ /opt/skype/lib32/ld-linux.so.2 --library-path /opt/skype/lib32/ /usr/share/skype/skype

asks for ld-linux.so.2, so I did a:

Codice: Seleziona tutto
# find / -name ld-linux

Found it to be a symbolic link in /usr/share/skype/lib32/ to ld-2.13.so, so I created the following sym link:

Codice: Seleziona tutto
root@cpc-5564:/opt/skype/lib32# ls -la
total 192
drwxr-xr-x 4 root root   4096 Feb 29 14:51 .
drwxr-xr-x 5 root root   4096 Feb 29 14:40 ..
lrwxrwxrwx 1 root root     33 Feb 29 14:51 ld-linux.so.2 -> /usr/share/skype/lib32/ld-2.13.so
drwxr-xr-x 2 root root   4096 Feb 29 14:40 libv4l
-rwxr-xr-x 1 root root  19416 Feb 29 14:40 libv4l1.so.0
-rwxr-xr-x 1 root root  36952 Feb 29 14:40 libv4l2.so.0
-rwxr-xr-x 1 root root 118120 Feb 29 14:40 libv4lconvert.so.0
drwxr-xr-x 2 root root   4096 Feb 29 14:40 pkgconfig


To run skype, the Slackbuild creates a run script on /usr/bin/skype, like this:
Codice: Seleziona tutto
#!/bin/bash
cd /usr/share/skype
/usr/share/skype/lib32/ld-linux.so.2 --library-path /usr/share/skype/lib32/ /usr/share/skype/skype


I changed it to:
Codice: Seleziona tutto
#!/bin/bash
cd /usr/share/skype
#/usr/share/skype/lib32/ld-linux.so.2 --library-path /usr/share/skype/lib32/ /usr/share/skype/skype // commented out
LD_PRELOAD=/opt/skype/lib32/v4l2convert.so GCONV_PATH=/opt/skype/gconv QT_PLUGIN_PATH=/opt/skype/plugins/ /opt/skype/lib32/ld-linux.so.2 --library-path /opt/skype/lib32/ /usr/share/skype/skype


But, when I run $ skype, this happens:
Codice: Seleziona tutto
gtl@cpc-5564:~$ skype
QIconvCodec::convertFromUnicode: using ASCII for conversion, iconv_open failed
QIconvCodec::convertToUnicode: using ASCII for conversion, iconv_open failed


and still I get an � when I type 'ç'... :-k
gtludwig
Linux 1.0
Linux 1.0
 
Messaggi: 4
Iscritto il: mer feb 29, 2012 12:55
Slackware: 13-37
Kernel: 3.2.2

Re: special characters problem only with Skype

Messaggioda conraid » mer feb 29, 2012 19:13

No, Perhaps you changed the location of the package. I have everything under /opt

Codice: Seleziona tutto
/opt/skype$ ls -l
totale 28548
-rw-r--r--  1 root root    33513 giu  8  2011 LICENSE
-rw-r--r--  1 root root     4980 giu  8  2011 README
drwxr-xr-x  2 root root     4096 giu  8  2011 avatars
drwxr-xr-x  2 root root    12288 nov 13 16:46 gconv
drwxr-xr-x  2 root root     4096 giu  8  2011 icons
drwxr-xr-x  2 root root     4096 giu  8  2011 lang
drwxr-xr-x  2 root root    12288 feb 19 17:16 lib32
drwxr-xr-x 13 root root     4096 mar 25  2011 plugins
-rwxr-xr-x  1 root root 29131640 giu  8  2011 skype
-rw-r--r--  1 root root      453 giu  8  2011 skype.conf
-rw-r--r--  1 root root      161 giu  8  2011 skype.desktop
drwxr-xr-x  2 root root     4096 giu  8  2011 sounds


you must modify the command according to "your" skype path
Avatar utente
conraid
Staff
Staff
 
Messaggi: 12019
Iscritto il: mer lug 13, 2005 23:00
Località: Livorno
Nome Cognome: Corrado Franco
Slackware: current

Re: special characters problem only with Skype [RISOLTO]

Messaggioda gtludwig » mer feb 29, 2012 19:30

Nice! Got it working properly (so far)!!
I used this command:
Codice: Seleziona tutto
GCONV_PATH=/opt/skype/gconv QT_PLUGIN_PATH=/opt/skype/plugins/ /usr/share/skype/lib32/ld-linux.so.2 --library-path /usr/share/skype/lib32 /usr/share/skype/skype


Since I have no webcam on this desktop, I don't need V4L.

Grazie, conraid!
gtludwig
Linux 1.0
Linux 1.0
 
Messaggi: 4
Iscritto il: mer feb 29, 2012 12:55
Slackware: 13-37
Kernel: 3.2.2


Torna a Packages

Chi c’è in linea

Visitano il forum: Nessuno e 2 ospiti