[chirp_devel] Patch for bug #1241 : locales not included in Linux builds

Michael Pittaro
Fri Nov 15 18:56:47 PST 2013


On Fri, Nov 15, 2013 at 5:33 PM, Dan Smith <dsmith at danplanet.com> wrote:
>
> >  clean:
> >       rm -f $(MOFILES) *~ *.orig
> > -     rm -f `find . -name '*.mo'`
> > -     rmdir `find * -depth -type d`
> > +     find . -name '*.mo' -exec echo "{}" \;
> > +     find . -depth -type d -exec echo "{}" \;
>
> How does this prevent anything from building? It's in the clean target...

The clean target gets called when you run 'python setup.py install' or
'python setup.py sdist'
I'm using 'python setup.py install' to install in a python virtualenv,
so I hit this.
When the make fails, setup.py stops.

I also noticed there are no locale files in the daily builds, for example:
http://trac.chirp.danplanet.com/chirp_daily/LATEST/chirp-daily-20131031.tar.gz

I assumed this was the cause of that problem, but I may be mistaken
since I don't know how the builds are done.

>
> Also, AFAICT, you're breaking the commands here, which are supposed to
> delete all .mo files and directories by replacing them with just find
> commands.
>
> What am I missing?

nothing - bad patch - that was a testing version with echo's in it.
Still getting the hang of mq, but I like it so far.

Corrected patch is attached.

mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug_1241_1.patch
Type: text/x-patch
Size: 734 bytes
Desc: not available
Url : http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20131115/0d24ad29/attachment-0001.bin 


More information about the chirp_devel mailing list