svn commit: r308098 - head/audio/linux-f10-alsa-lib
Jan Beich
jbeich at tormail.org
Fri Dec 7 11:03:48 UTC 2012
Boris Samorodov <bsam at passap.ru> writes:
> (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]
[...]
>>> +# 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.)
>
> Thanks, Juergen.
>
> 2All:
>
> Can someone come up with an appropriate patch/solution?
Why not just remove pkg-{,de}install scripts? linux-firefox fails to use
OSS plugin with the auto-generated asound.conf.
Also, other ports may have similar issue.
net/linux-f10-openldap
x11-fonts/linux-f10-fontconfig
For one, linux-f10-fontconfig doesn't work inside jail without native
fontconfig installed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linux-alsa.diff
Type: text/x-patch
Size: 4606 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-multimedia/attachments/20121207/307d3909/attachment.bin>
More information about the freebsd-multimedia
mailing list