Created attachment 157385 [details] Patch.diff The "skype" binary works fine after recent update in linux compat layer when linux-c6-pulseaudio (libpulse.so.0) is not installed (but linprocfs(5) must be mounted into ${LINUXBASE}/proc). So: - Unbreak net-im/skype4 for __FreeBSD_version >= 1100075. - (temporarily) Disable PA dependency. Also: - Drop (indirect) PA dependencies. - Add tcp_wrappers-libs into linux-c6-pulseaudio-libs dependencies (used by libpulse.so.0) - Fix some portlint(1) warnings. Workaround: libpulse.so.0 can be replaced with PA wrapper from https://github.com/waterlaz/skype_oss_wrapper - then sound will work too (with mounted devfs(5) in ${LINUXBASE}/dev).
Created attachment 157386 [details] libpulse-i386-linux.so.tar.xz
Does "work fine" include phone calls?
Cannot test (I am not using Skype Credit).
(In reply to Andriy Voskoboinyk from comment #3) You can call 'echo123', free of charge, which is Skype's own test service. Then, they guide you through it, you say something, it gets repeated. If you hear your own voice, it works.
Similarly, can you please create a proper port instead of libpulse-i386-linux.so.tar.gz, and show how you compiled it?
(In reply to Johannes Jost Meixner from comment #4) Yes, Skype -> Skype audio calls work (not only to 'echo123' test service).
(In reply to Johannes Jost Meixner from comment #5) Not sure if this is possible - I have used slightly modified emulators/linux_dist-gentoo-stage3 port for this purpose.
(In reply to Andriy Voskoboinyk from comment #7) Gentoo stage3 ports have been expired on March 28, 2015. https://svnweb.freebsd.org/ports/head/MOVED?r1=382454&r2=382455 Please try and see if you can get this working with CentOS 6.6, which has been the default Linux base emulator for half a year now, and is the only currently supported way to run things.
(In reply to Johannes Jost Meixner from comment #8) It works with CentOS 6.6 too - there is no cross-toolchain in the ports tree, which can produce Linux binaries (https://wiki.freebsd.org/linux-xdev).
(In reply to Andriy Voskoboinyk from comment #9) Check linux-c6-devtools. It should have all the tools you might want, that are available with CentOS 6.6 Anyway, it will be good if you can provide instructions how to build it. For me, because I'm curious how you got it and I didn't ;-), and for the FreeBSD project, because of security considerations. Then, we can put that into a port with NO_BUILD- yes ... like all the other linux- ports are.
Created attachment 157436 [details] Add tcp_wrappers-libs dependency (linux-c6-pulseaudio-libs)
Created attachment 157437 [details] Add dependency for skype_oss_wrapper (skype4)
(In reply to Andriy Voskoboinyk from comment #11) Please file a separate PR for this change.
A commit references this bug: Author: xmj Date: Thu Jun 11 14:58:05 UTC 2015 New revision: 389223 URL: https://svnweb.freebsd.org/changeset/ports/389223 Log: net-im/skype4: unbreak on 11.0-CURRENT Changes: The "skype" binary works fine after recent update in linux compat layer when linux-c6-pulseaudio (libpulse.so.0) is not installed (but linprocfs(5) must be mounted into ${LINUXBASE}/proc). So: - Unbreak net-im/skype4 for __FreeBSD_version >= 1100075. - (temporarily) Disable PA dependency. Also: - Drop (indirect) PA dependencies. - Add tcp_wrappers-libs into linux-c6-pulseaudio-libs dependencies (used by libpulse.so.0) - Fix some portlint(1) warnings. Workaround: libpulse.so.0 can be replaced with PA wrapper from https://github.com/waterlaz/skype_oss_wrapper - then sound will work too (with mounted devfs(5) in ${LINUXBASE}/dev). PR: 200608 Submitted by: Andriy Voskoboinyk <s3erios@gmail.com> Changes: head/net-im/skype4/Makefile head/net-im/skype4/files/skype.sh.in
Committed, thanks!