[alsa-devel] [PATCH 1/1] alsabat: rename to avoid naming conflict

Lu, Han han.lu at intel.com
Mon Jan 25 11:47:06 CET 2016


> -----Original Message-----
> From: Takashi Iwai [mailto:tiwai at suse.de]
> Sent: Thursday, January 21, 2016 7:49 PM
> To: Liam Girdwood
> Cc: Lu, Han; clemens at ladisch.de; joerg.steffens at bareos.com; alsa-
> devel at alsa-project.org; Gautier, Bernard
> Subject: Re: [alsa-devel] [PATCH 1/1] alsabat: rename to avoid naming
> conflict
> 
> On Tue, 12 Jan 2016 20:43:43 +0100,
> Liam Girdwood wrote:
> >
> > On Tue, 2016-01-12 at 18:01 +0100, Takashi Iwai wrote:
> > > On Tue, 12 Jan 2016 04:06:24 +0100,
> > > han.lu at intel.com wrote:
> > > >
> > > > From: "Lu, Han" <han.lu at intel.com>
> > > >
> > > > alsa-utils as well as bareos-bat (as well a some Bacula packages)
> > > > all contain a program called /usr/bin/bat, which causes conflicts
> > > > on various distributions ("basic audio tester" vs "bareos
> > > > administration tool"("bacula administration tool")).
> > > > Rename to avoid conflict.
> > >
> > > We should get consensus at first.
> >
> > +1 for alsabat as it should never collide with anything :)
> 
> OK, is there anyone against renaming to alsabat?
> 
> If no one objects, let's take this.
> 

Sorry, I just tried to change the "bin_PROGRAMS" value from "bat" to
"alsabat" but compile failed. The script generates bin and object files
recursively, need to hack in the process:
    bat.c --> bat.o (or alsabat.o) --> alsabat
Is there a decent method to do so? Or simply to rename the subfolder
and c file too, like my patch v1 did?

BR,
Han

> 
> thanks,
> 
> Takashi


More information about the Alsa-devel mailing list