From owner-svn-ports-head@FreeBSD.ORG Fri Jun 19 01:58:26 2015 Return-Path: Delivered-To: svn-ports-head@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6FD50EDF; Fri, 19 Jun 2015 01:58:26 +0000 (UTC) (envelope-from xmj@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5CB7DEE5; Fri, 19 Jun 2015 01:58:26 +0000 (UTC) (envelope-from xmj@FreeBSD.org) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t5J1wQIB090063; Fri, 19 Jun 2015 01:58:26 GMT (envelope-from xmj@FreeBSD.org) Received: (from xmj@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t5J1wPkL090061; Fri, 19 Jun 2015 01:58:25 GMT (envelope-from xmj@FreeBSD.org) Message-Id: <201506190158.t5J1wPkL090061@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: xmj set sender to xmj@FreeBSD.org using -f From: Johannes Jost Meixner Date: Fri, 19 Jun 2015 01:58:25 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r390099 - head/net-im/skype4 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jun 2015 01:58:26 -0000 Author: xmj Date: Fri Jun 19 01:58:25 2015 New Revision: 390099 URL: https://svnweb.freebsd.org/changeset/ports/390099 Log: net-im/skype4: improve pkg-message - improve pkg-message - set my FreeBSD.org address as maintainer Sponsored by: Perceivon OÜ Modified: head/net-im/skype4/Makefile head/net-im/skype4/pkg-message Modified: head/net-im/skype4/Makefile ============================================================================== --- head/net-im/skype4/Makefile Fri Jun 19 00:46:36 2015 (r390098) +++ head/net-im/skype4/Makefile Fri Jun 19 01:58:25 2015 (r390099) @@ -8,7 +8,7 @@ CATEGORIES= net-im MASTER_SITES= http://download.skype.com/linux/ PKGNAMESUFFIX= 4 -MAINTAINER= xmj@chaot.net +MAINTAINER= xmj@FreeBSD.org COMMENT= P2P VoIP software RUN_DEPENDS= ${LINUXBASE}/lib/skype_oss_wrapper/libpulse.so.0:${PORTSDIR}/audio/linux-skype_oss_wrapper Modified: head/net-im/skype4/pkg-message ============================================================================== --- head/net-im/skype4/pkg-message Fri Jun 19 00:46:36 2015 (r390098) +++ head/net-im/skype4/pkg-message Fri Jun 19 01:58:25 2015 (r390099) @@ -1,56 +1,49 @@ 1. Minimum OS version. +====================== Skype is a Linux binary package that we run on FreeBSD via our Linux compat. -In order for Skype to work OK, you need your kernel and modules to be: -- post 2011-05-03 in on HEAD -- post 2011-05-08 in on 7,8-STABLE -The port tries to check for this, but there is a smaller or bigger interval for -which this can't be done automatically. So in case of any trouble please make + +In order for Skype to work at all, you need to be running FreeBSD 11.0-CURRENT with +a Kernel and modules later than 2015-05-24. + +The port tries to check for this, and determines your kernel's osversion. +Chances are, if your kernel isn't new enough, the installation will fail. + +So in case of any trouble please make sure you run kernel/modules built from sources after above dates. -Tests were only done on HEAD and 8-STABLE with linux-fc10, and I don't think it -can work with fc4. +Tests were only done on HEAD with linux CentOS 6, and it's certainly broken +with Fedora 10 (legacy). 2. Sound +======== -Since the OSS interface was removed, Skype now uses linux-alsa compat packages. +Since the OSS interface was removed, Skype now uses linux-pulseaudio compat packages. By default you get one device corresponding to your default OSS dsp device (so -Skype will use it for ringing, incoming voice and mic). If that doesn't suit -needs, you can map the other dsp devices for example by editing -/compat/linux/etc/alsa/pcm/pcm-oss.conf. You need to (re)start Skype after you -edit this file in order to get Skype pick up the changes. -Adding the following to the stock file, and then starting Skype and choosing -in Options-->Sound Devices: Speakers: oss1 -will let you use the second dsp (usually the front panel connectors for your -headphones, while still hearing the call ringing and other notification on the -first dsp device (presumably the one you connect your speakers to). -pcm.oss1 { - type oss - device /dev/dsp1 - hint { - description "Open Sound System" - } -} - -ctl.oss1 { - type oss - device /dev/mixer1 - hint { - description "Open Sound System" - } -} +Skype will use it for ringing, incoming voice and mic). +For this to function properly, we've sourced a very specific libpulse.so, which +implements most of the things Skype actually needs through OSS, and not much +else. And that's okay, as libpulse.so is used exclusively for Skype via +LD_LIBRARY_PATH, and nothing else. + +Chances are, if you want to use Skype 4.3 *and* something that actually +requires (Linux) PulseAudio, you'll be better off running Linux natively. 3. Video +======== 3.1. Receiving video +-------------------- Should work out of the box. Please make sure you have -Options --> Video Devices --> Enable Skype Video checked. +Options --> Video Devices --> Enable Skype Video checked. 3.2. Sending video +------------------ Skype uses /dev/videoX (usually /dev/video0). This device node is created by the drivers for your webcam (eg. multimedia/webcamd). If you selected the VIDEO option (default) multimedia/webcamd will be pulled in. + First please make sure your webcam works with the drivers webcamd provides; you can use multimedia/pwcview's pwcview(1) to check that you get a good image from your webcam; if you get a good image, you will get video in Skype also. @@ -64,38 +57,49 @@ To make it permanent you can: 4. SMSes +======== You can send SMSes with this version (provided you have Skype credit, of course). Check Options --> SMS for details. 5. Screen sharing +================= -You should be able to receive and send. -Please make sure you have Options --> Video Devices --> Enable Skype Video -checked to use this feature (yes, even if you don't use video). +You should be able to receive and send once you have enabled Skype Video (check +§3) 6. Skype Access +=============== Doesn't work and it is likely not very probable it will ever work since it uses a lot of Linux-specific things. -7. Next version ... +7. Troubleshooting +================== + +If Skype coredumps after displaying a (grey) About screen, you need to mount +linprocfs. + +# mount -t linprocfs linprocfs /compat/linux/proc + +To persist the changes, add it to your fstab. +This should work: -.. is in net-im/skype-devel. It probably works worse that this version. Use it -at your own risk. +linprocfs /compat/linux/proc linprocfs rw,late 0 0 8. Problems and bug reports +=========================== First of all, please understand that this is a closed, binary Linux application that makes use for some more-or-less cutting edge Linux features/interfaces, etc. As such, making it work on FreeBSD is mainly a question of keeping our -linuxulator as close as possible to the Linux kernel, and our Linux compat +Linuxulator as close as possible to the Linux kernel, and our Linux compat ports up to date. When reporting problems at very least we need to know the output of: $ uname -a; sysctl compat.linux | head -2; grep OVERRIDE_LINUX_ /etc/make.conf -the skype version you are using, and hardware details (eg. webcam) if related. +the Skype version you are using, and hardware details (eg. webcam) if related.