From owner-freebsd-ports@FreeBSD.ORG Fri Mar 14 20:33:38 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 77C5F7BA for ; Fri, 14 Mar 2014 20:33:38 +0000 (UTC) Received: from mail-ob0-x22e.google.com (mail-ob0-x22e.google.com [IPv6:2607:f8b0:4003:c01::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 40C97BC1 for ; Fri, 14 Mar 2014 20:33:38 +0000 (UTC) Received: by mail-ob0-f174.google.com with SMTP id wo20so3116086obc.33 for ; Fri, 14 Mar 2014 13:33:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=dWJBhsGPPoyBvMbmKMPVMOd2NvLOqnXGuzjWrA4Pngg=; b=MB6ATcI94PxKa2vulcSBxLSY2ePYVSOoC6kvLCDqR2FxXtEheKu1cDAl1evButCtvz gd+KwYrDptLKyTRhg4o4Lw0Xq/1WUaaf8Pfu4GX50CxzKKXsdQ1gQNfyW6F4wmHJpUHI pH8WmXWJsreNVtXXSR1snc96BXo8gEUQrwf+UyehSmY/rkrw0o6Gvy9Fndvt2EYa8FhM iduAFV2iIY2wPvmZtVW6KSp5NqGPgh4sc3yi+13THkGejqRLMgNCmcm6/h9xt5huGnt3 yj0DsgTfpqa8TNCMoYRPaNNzh7UuTjEF8rmBQyMSmqDirCES+IR5z9hiW4ZQWT/vrctu XJzw== X-Received: by 10.60.138.164 with SMTP id qr4mr8673510oeb.28.1394829217620; Fri, 14 Mar 2014 13:33:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.76.87.104 with HTTP; Fri, 14 Mar 2014 13:33:17 -0700 (PDT) In-Reply-To: <20140306131629.GC15325@mx12.chaot.net> References: <20140306131629.GC15325@mx12.chaot.net> From: Henry Hu Date: Fri, 14 Mar 2014 16:33:17 -0400 Message-ID: Subject: Re: [CFT] Replace Fedora 10 with CentOS 6.5 as Base Linux distro. To: Johannes Meixner Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: "freebsd-ports@freebsd.org" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Mar 2014 20:33:38 -0000 Hi, On Thu, Mar 6, 2014 at 8:16 AM, Johannes Meixner wrote: > Hi, > > I've been working on replacing the base linux distribution (currently > rusty old > Fedora 10) with CentOS 6.5, likewise for about two dozen non-base ports - > mostly > requirements of either net-im/skype4 or www/linux-c6-flashplugin11. > > I mentioned that before on the -emulation@ mailinglist and got very > helpful > feedback. > > As I've run out of issues to fix and would like to reach a wider audience > for > these ports, I'd appreciate if you could help me test it some more. > > To do that, you can either: > * download the txz from http://xmj.me/freebsd/linux-ports.txz > * download the diff from http://xmj.me/freebsd/linux-ports.diff.xz > > * clone my git repo; https://github.com/xmj/linux-ports/ (preferred) > > and copy/apply them to your portstree. > > In order to get either Skype 4.2.0.13 or Flash running, you can follow the > instructions listed on > > https://github.com/xmj/linux-ports/blob/master/README.md > > I hope they're by now sufficient to allow you to follow them "blindly". If > not, > I appreciate feedback here on the mailing list as well as Issues/Pull > requests. > > Best regards and have fun testing, > Thanks for your hard work. I tried from the git repo. I tested Flash and Skype4. For flash, it works. Video and audio playback both work. For skype4, it works. Video capture, audio playback and audio recording work. By the way, I found that I need to modify the oss config file for audio to work: I need to change pcm.oss and ctl.oss to pcm.!default and oss.!default. Else, aplay -D oss works, but aplay does not work. Because my headphone corresponds to /dev/dsp1 and my internal speaker & microphone corresponds to /dev/dsp0, and my default sound unit is 1, I have to add another section into asound.conf for recording to work: pcm.internal { type oss device /dev/dsp0 hint { description "Open Sound System (internal)" } } ctl.internal { type oss device /dev/mixer0 hint { description "Open Sound System (internal)" } } And select "Open Sound System (internal)" in skype for recording. Hope this helps. > Johannes > > -- > xmj@chaot.net > http://xmj.me > -- Cheers, Henry