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:
Created attachment 170236 [details] Ebuild Skype oss4-static
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.
Created attachment 170358 [details] diff Skype-2.0.0.72.ebuild Skype-static--oss-2.0.0.72.ebuild
Duplicate of bug #230925?
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.
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
(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 :)
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.
(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?
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.
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.
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.
(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.
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
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
(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.