Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Dec 2012 17:06:41 +0200
From:      Ion-Mihai Tetcu <itetcu@FreeBSD.org>
To:        Juergen Lock <nox@jelal.kn-bremen.de>
Cc:        svn-ports-head@FreeBSD.org, Boris Samorodov <bsam@FreeBSD.org>, svn-ports-all@FreeBSD.org, ports-committers@FreeBSD.org, Juan =?ISO-8859-1?Q?Ram=F3n?= Molina Menor <juan.molina@free.fr>, Jan Beich <jbeich@tormail.org>
Subject:   Re: svn commit: r308098 - head/audio/linux-f10-alsa-lib
Message-ID:  <20121209170641.5849458c@it.tim.tetcu.info>
In-Reply-To: <20121206225517.GA12093@triton8.kn-bremen.de>
References:  <201212021128.qB2BSesC054251@svn.freebsd.org> <20121206225517.GA12093@triton8.kn-bremen.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 6 Dec 2012 23:55:17 +0100
Juergen Lock <nox@jelal.kn-bremen.de> wrote:

> 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 <jbeich@tormail.org>  [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 <bsam@FreeBSD.org>
> >  
> >  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 <bsd.port.mk>
> 
> 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.)

Boris, please back this out until the problem mentioned by Juergen is
fixed. As it is now, it breaks e.g. skype's audio unexpectidly and
rather misteriouly for the regular user.


Thanks,

-- 
IOnut - Un^d^dregistered ;) FreeBSD "user"
  "Intellectual Property" is   nowhere near as valuable   as "Intellect"
FreeBSD committer -> itetcu@FreeBSD.org, PGP Key ID F0808380



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121209170641.5849458c>