Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 244900 - Skype-2.0.0.72 with oss4 support
Summary: Skype-2.0.0.72 with oss4 support
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Gentoo Net-im project
URL:
Whiteboard:
Keywords:
Depends on: 230925
Blocks:
  Show dependency tree
 
Reported: 2008-10-29 17:20 UTC by Sven Müller
Modified: 2010-01-03 15:30 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild Skype oss4-static (skype-2.0.0.72.ebuild,2.37 KB, text/plain)
2008-10-29 17:21 UTC, Sven Müller
Details
diff Skype-2.0.0.72.ebuild Skype-static--oss-2.0.0.72.ebuild (skype-2.0.0.72.diff,2.45 KB, text/plain)
2008-10-30 22:27 UTC, Sven Müller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Müller 2008-10-29 17:20:33 UTC
Hi there, 

I just switched from Alsa to OSS4. The alsa-version of Skype doesn't work with OSS4. So I took the ebuild from http://bugs.gentoo.org/show_bug.cgi?id=230925 and changed it to download and install the oss-static Skype. 

It's the first time, I try to change an ebuild. So it's very basic and maybe full of errors. The best idea would be to merge the two ebuilds to one with selective oss and alsa support.

Reproducible: Always

Steps to Reproduce:
Comment 1 Sven Müller 2008-10-29 17:21:41 UTC
Created attachment 170236 [details]
Ebuild Skype oss4-static
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2008-10-30 18:46:08 UTC
It's probably a good idea to post a unified diff between the ebuild you took from bug #230925 and the one you attached here, so that developers can more easily ascertain what you changed.
Comment 3 Sven Müller 2008-10-30 22:27:30 UTC
Created attachment 170358 [details]
diff Skype-2.0.0.72.ebuild Skype-static--oss-2.0.0.72.ebuild
Comment 4 Dennis Schridde 2008-12-14 16:19:50 UTC
Duplicate of bug #230925?
Comment 5 Sven Müller 2008-12-14 23:48:38 UTC
Not really. In the Ebuild of bug #230925 there's no oss support. For oss you need to download a different binary which is called skype_static-2.0.0.72-oss.tar.bz2.

But it would be a good idea to include the oss support to the other ebuild. 
Comment 6 Cristi Magherusan 2009-01-05 22:27:51 UTC
I added a slightly modified version of this ebuild to the oss-overlay overlay accessibly from layman. I renamed it skype-oss, and I made it conflict with the default skype ebuild. Also I added an oss4 USE-flag that fetches oss-4.1 as a dependency, if set.

Thanks!

Cristi
Comment 7 Lukas Zavodny 2009-01-12 12:52:16 UTC
(In reply to comment #6)
> I added a slightly modified version of this ebuild to the oss-overlay overlay
> accessibly from layman. I renamed it skype-oss, and I made it conflict with the
> default skype ebuild. Also I added an oss4 USE-flag that fetches oss-4.1 as a
> dependency, if set.
> 
> Thanks!
> 
> Cristi
> 

/opt/skype-oss/skype: error while loading shared libraries: libasound.so.2: cannot open shared object file: No such file or directory


something is wrong :)
Comment 8 Sven Müller 2009-01-12 20:10:08 UTC
Ensure that you still have alsa-lib and alsa-headers installed. It's not really necessary for oss4 but many applications still want that stuff.
Comment 9 Lukas Zavodny 2009-01-13 11:01:10 UTC
(In reply to comment #8)
> Ensure that you still have alsa-lib and alsa-headers installed. It's not really
> necessary for oss4 but many applications still want that stuff.
> 

I have no ALSA stuffs and I never have in my actual installation and I don't want. If skype-oss wants it, why it is skype-oss?
Comment 10 Olivier Crete (RETIRED) gentoo-dev 2009-01-15 03:25:30 UTC
This should be done with a use flag on the skype ebuild..

If you attach diffs, please make unified diffs (diff -u)

Anyway, alsa+pulse is the future, OSS4 is done wrong.
Comment 11 Sven Müller 2009-01-17 21:29:55 UTC
Lukas 2009-01-13 11:01:10 0000 [reply] ------- 
(In reply to comment #8)
>I have no ALSA stuffs and I never have in my actual installation and I don't
>want. If skype-oss wants it, why it is skype-oss?
Skype-Oss is a binary package. I didn't want those alsa-packages too. If you want to change that part, write to the official skype-support.


(In reply to comment #10)
>Anyway, alsa+pulse is the future, OSS4 is done wrong.
I switched to oss4, because I tried pulse-audio to switch the audio streams to other devices and it didn't work. I wasn't able to select any devices. OSS4 can do this by default. The sound quality is noticeable better. And I don't see a reason to install an(other) useless wrapper between the sound-daemon and the application. But here's not the right place to start a flame war. 
Comment 12 Maciej Piechotka 2009-07-12 15:28:18 UTC
I guess skype with ALSA/OSS flags should be included in mainline. For me the only configuration that works (i.e. have sound without underruns) is Skype OSS via Alsa OSS Emulation via Pulseaudio to Alsa (I know that's crazy).

PS. Please don't link to the FAQ - it seems to be out-of-date. Currently permission are handled by udev and chown/chmod will work until next reboot.
Comment 13 Sven Müller 2009-07-13 11:12:44 UTC
(In reply to comment #7)
> /opt/skype-oss/skype: error while loading shared libraries: libasound.so.2:
> cannot open shared object file: No such file or directory

A few months ago I discovered something to that topic:
I made a complete new install on an amd64. Skype-OSS worked out of the box without alsa-libs or alsa-headers. The reason: skype-oss isn't 64bit, so it needs emul-linux-x86-soundlibs. In that package there's a libasound.so.2. From there I copied that thing to my old x86-notebook into /usr/lib and got it working too.

So workaround:
Get a libasound.so.2 (32bit) from somewhere and copy that lib to /usr/lib (32bit) or /usr/lib32/ (multilib).

Idea for the maintainers of the ebuild:
I don't know if it's possible. When installing skype with oss-Useflag, there should be downloaded the libasound.so.2 too and installed to /usr/lib or /usr/lib32 when not yet installed.
Comment 14 Nick Lipari 2009-10-23 16:11:19 UTC
Hi,

The current ebuild in the oss-overlay, oss-4.1.1052-r1, can no longer download from www.4front-tech.com/developer/sources/stable/gpl/.

On a side note there is a version 4.2 avaliable. http://www.4front-tech.com/developer/sources/stable/gpl/oss-v4.2-build2000-src-gpl.tar.bz2 
Comment 15 Samuli Suominen (RETIRED) gentoo-dev 2010-01-02 11:21:38 UTC
ssuominen@unique ~/gentoo-x86 $ objdump -p /opt/skype/skype |grep libasound
  NEEDED               libasound.so.2
  required from libasound.so.2:
ssuominen@unique ~/gentoo-x86 $ qlist -CIv skype
net-im/skype-2.1.0.47

libasound.so.2 is really required, I don't see how the attached diff makes any difference to the binary which is *linking* to alsa-lib

closing as invalid
Comment 16 Sven Müller 2010-01-03 15:30:57 UTC
(In reply to comment #15)
> I don't see how the attached diff makes any
> difference to the binary which is *linking* to alsa-lib

The difference is, that you need the oss-version, which you can get from the Skype-website. In the standard version, it downloads only the alsa-version of Skype. With the diff, it downloads the oss-version. 

OSSv4 + Skype (alsa-version) + libasound.2.so doesn't work.
OSSv4 + Skype (oss-version) + libasound.2.so works. 

I hope it's clear so far.