On Mon, Jun 15, 2009 at 03:28:25PM +0200, Jean-Marc Lasgouttes wrote: > Le 15/06/2009 15:01, Rex Dieter a écrit : >>> to sum it up: i'm completely against that "for majority of users this >>> works others will fix it themselves." >> >> It's fair to say that we agree to disagree at this point, and that's fine. >> >> Is this the consensus of other lyx developers too? Really? > > Is there a way to enablt xdg-open in configure.py only for distributions > which are known to have a good enough version?
I don't know about a sensible way beside creating some kind of white and blacklist and write some detection mechanismen. I think this burden is not meant to be on the shoulders of the LyX team. Even if I would like to drop this patch from the Debian package I agree with Pavel. Currently it doesn't make sense to enable xdg-open in configure.py as a first choice again. In cases where packagers are sure that their target system provides a viable enviroment for xdg-open to work they should patch configure.py. All others are currently better of with the best effort guessing done in the default version of the configure.py script. When I proposed this patch for inclusion for the first time I had no idea about the missing mime type detection in other distributions and the modifications added to xdg-open in Debian. With the discussion, the problems and a broader picture in mind I wouldn't propose this patch currently for inclusion. Cheers, Sven -- forevermore