Re: bluez installs alsa related stuff under /etc/alsa instead of /usr/share/alsa

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



El vie, 05-03-2010 a las 10:11 +0100, Pacho Ramos escribió:
> El jue, 04-03-2010 a las 17:42 -0800, Marcel Holtmann escribió:
> > Hi Pacho,
> > 
> > > bluez installs stuff into /etc/alsa and it seems wrong since default
> > > location for alsa stuff seems to be /usr/share/alsa instead. You can
> > > also see that this is been workarounded in ubuntu, gentoo (and probably
> > > debian also).
> > > 
> > > Any reason why using /etc/alsa instead?
> > 
> > I thought that is the default location. If that is wrong, then please
> > quote the ALSA documentation and send a patch to fix it.
> > 
> > Regards
> > 
> > Marcel
> 
> alsa-lib configure.in seems to indicate that /usr/share/alsa is the
> default one:
> dnl ALSA configuration directory
> AC_ARG_WITH(configdir,
>     AS_HELP_STRING([--with-configdir=dir],
>         [path where ALSA config files are stored]),
>     confdir="$withval", confdir="")
> if test -z "$confdir"; then
>     eval dir="$datadir"
>     case "$dir" in
>     /*) ;;
>     *) dir="$prefix/share"
>     esac
>     confdir="$dir/alsa"
> fi
> 

I forgot the patch, sorry

--- Makefile.am~	2010-02-12 20:26:48.000000000 +0100
+++ Makefile.am	2010-03-05 10:17:15.000000000 +0100
@@ -241,7 +241,7 @@
 audio_libasound_module_ctl_bluetooth_la_CFLAGS = @ALSA_CFLAGS@
 
 if CONFIGFILES
-alsaconfdir = $(sysconfdir)/alsa
+alsaconfdir = $(datadir)/alsa
 
 alsaconf_DATA = audio/bluetooth.conf
 endif

Attachment: signature.asc
Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux