[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: needing --disable-update-mime-database



On Thu, 2008-05-15 at 07:35 -0400, Ales Hvezda wrote:
> Hi,
> 
> >Hi, I noticed the new geda and pcb need the configure flags:
> >--disable-update-desktop-database --disable-update-mime-database
> >
> >since I do not have these binaries.
> >
> >For geda I have to edit the Makefile to add them which is a little odd I think
> >.  I just thought it would be nicer if they were autodetected instead, just my
> > suggestion.
> >
> 
> 	Yeah, I would like that too.  Is this sort of auto detect
> feasible for the desktop integration, Peter?  A possible alternative
> is to add (disable) them by default.  I seem to recall having a similar
> conversation a while ago, but I don't remember what came of it.  Thanks,

The conversation we had before was removing intltool, which IMO is a
necessity, given how evil that tool can be (requiring perl and some XML
parser module etc..).

IMO, it is not in general a good thing to auto-detect and disable
things, since it can lead to unexpected configurations when builds
_don't_ fail when they should. (E.g. build daemons without the required
packages).

This said, since these failures are probably minor, and distro-builds
need to disable them _anyway_, we can just:

PROG_PATH=/usr/bin/update-desktop-database
# (Or however we find the program path)
if [ -f $PROG_PATH ]
then
  $PROG_PATH .....
fi

-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)



_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user