From owner-freebsd-multimedia@FreeBSD.ORG Fri Dec 7 08:03:46 2012 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 84694539 for ; Fri, 7 Dec 2012 08:03:46 +0000 (UTC) (envelope-from bsam@passap.ru) Received: from forward2h.mail.yandex.net (forward2h.mail.yandex.net [IPv6:2a02:6b8:0:f05::2]) by mx1.freebsd.org (Postfix) with ESMTP id D74568FC0C for ; Fri, 7 Dec 2012 08:03:45 +0000 (UTC) Received: from smtp2h.mail.yandex.net (smtp2h.mail.yandex.net [84.201.187.145]) by forward2h.mail.yandex.net (Yandex) with ESMTP id DF20C700CDA; Fri, 7 Dec 2012 12:03:41 +0400 (MSK) Received: from smtp2h.mail.yandex.net (localhost [127.0.0.1]) by smtp2h.mail.yandex.net (Yandex) with ESMTP id 5A29F170041A; Fri, 7 Dec 2012 12:03:41 +0400 (MSK) Received: from 93.91.11.153.tel.ru (93.91.11.153.tel.ru [93.91.11.153]) by smtp2h.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 3ekWb1Nn-3fku41ou; Fri, 7 Dec 2012 12:03:41 +0400 Message-ID: <50C1A2DC.6040700@passap.ru> Date: Fri, 07 Dec 2012 12:03:40 +0400 From: Boris Samorodov Organization: =?UTF-8?B?0JfQkNCeICLQktCQ0KDQoiI=?= User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Juergen Lock Subject: Re: svn commit: r308098 - head/audio/linux-f10-alsa-lib References: <201212021128.qB2BSesC054251@svn.freebsd.org> <20121206225517.GA12093@triton8.kn-bremen.de> In-Reply-To: <20121206225517.GA12093@triton8.kn-bremen.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: freebsd-multimedia@FreeBSD.org, =?UTF-8?B?SnVhbiBSYW3Ds24gTW9saW5hIE1l?= =?UTF-8?B?bm9y?= , Jan Beich X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Dec 2012 08:03:46 -0000 (moving the discussion to the multimedia list; or should it be freebsd-emulation?) 07.12.2012 02:55, Juergen Lock пишет: > On Sun, Dec 02, 2012 at 11:28:40AM +0000, Boris Samorodov wrote: >> Author: bsam >> Date: Sun Dec 2 11:28:40 2012 >> New Revision: 308098 >> URL: http://svnweb.freebsd.org/changeset/ports/308098 >> >> Log: >> . create a link from native asound configuration file at LINUXBASE/etc; [1] >> . bump PORTREVISION; >> . trim headers to two line style; >> . remove the article from COMMENT. >> >> PR: ports/169896 [1] >> Submitted by: Jan Beich [1] >> Feature safe: yes >> >> Modified: >> head/audio/linux-f10-alsa-lib/Makefile >> >> Modified: head/audio/linux-f10-alsa-lib/Makefile >> ============================================================================== >> --- head/audio/linux-f10-alsa-lib/Makefile Sun Dec 2 10:58:49 2012 (r308097) >> +++ head/audio/linux-f10-alsa-lib/Makefile Sun Dec 2 11:28:40 2012 (r308098) >> @@ -1,20 +1,16 @@ >> -# New ports collection makefile for: audio/linux-f10-alsa-lib >> -# Date created: 2009-05-03 >> -# Whom: bsam >> -# >> # $FreeBSD$ >> -# >> +# Created by: Boris Samorodov >> >> PORTNAME= alsa-lib >> PORTVERSION= 1.0.21 >> -PORTREVISION= 1 >> +PORTREVISION= 2 >> CATEGORIES= audio linux >> MASTER_SITES= CRITICAL/rpm/${LINUX_RPM_ARCH}/fedora/${LINUX_DIST_VER} >> PKGNAMEPREFIX= linux-f10- >> DISTNAME= ${PORTNAME}-${PORTVERSION}-${RPMVERSION} >> >> MAINTAINER= emulation@FreeBSD.org >> -COMMENT= The Advanced Linux Sound Architecture libraries (Linux Fedora 10) >> +COMMENT= Advanced Linux Sound Architecture libraries (Linux Fedora 10) >> >> CONFLICTS= linux-alsa-lib-[0-9]* linux-f8-alsa-lib-[0-9]* >> >> @@ -25,4 +21,11 @@ RPMVERSION= 2.fc10 >> BRANDELF_FILES= usr/bin/aserver >> USE_LDCONFIG= yes >> >> +# We will use some other configuration file, so delete a linux one >> +post-extract: >> + @${RM} -r ${WRKSRC}/etc >> + >> +post-install: >> + @${LN} -s ${LOCALBASE}/etc/asound.conf ${PREFIX}/etc/asound.conf >> + >> .include > > This breaks at least installation of audio/linux-f10-alsa-plugins-oss > when audio/alsa-lib isn't installed (because the former tries to > write into asound.conf that then fails with ENOENT), and I guess > it will fail at runtime then too. > > The obvious idea for a fix is to add audio/alsa-lib as a dependency, > but probably the resulting config file mess when linux-f10-alsa-plugins-oss > is installed should be untangled too (and the fix tested with things > like skype that often needs an extra oss device for the mic.) Thanks, Juergen. 2All: Can someone come up with an appropriate patch/solution? Thanks! -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve