Bug#381622: [Pkg-lyx-devel] Re: [PATCH] bug 2741: configure.py is not run when using batch mode

2006-08-13 Thread Jean-Marc Lasgouttes
> "José" == José Matos <[EMAIL PROTECTED]> writes:

José> On Friday 11 August 2006 15:07, Per Olofsson wrote:
>> xdg-open is a shell script which you can distribute together with
>> LyX, so it doesn't have to be widespread. You use it like:
>> 
>> PATH=$PATH:/usr/share/lyx/xdg-utils xdg-open /some/path
>> 
>> So if the distribution already has xdg-open, that one will be used
>> instead.

José>   FWIW Fedora (Extras) has xdg-utils.

But not my mandriva 2006. Could you send the xdg-open script, so that
we can see what it does?

JMarc



Bug#381622: [Pkg-lyx-devel] Re: [PATCH] bug 2741: configure.py is not run when using batch mode

2006-08-10 Thread Jean-Marc Lasgouttes
>>>>> "Per" == Per Olofsson <[EMAIL PROTECTED]> writes:

Per> Jean-Marc Lasgouttes:
>> What about that: mkdir /tmp/tempuserdir lyx -userdir
>> /tmp/tempuserdir -e latex foo.lyx rm -rf /tmp/tempuserdir

Per> Yes, I think that's an acceptable workaround.

Could you confirm that the patch I sent fits your needs?

Per> The best would be if configure.py was removed completely and
Per> everything was detected at runtime (or defaults used, or
Per> whatever).
>>  Yes, this is something I would like to see for at least some of
>> the stuff. It is not clear however what the runtime penalty would
>> be.

Per> When it comes to viewers, it could use xdg-open from
Per> portland.freedesktop.org which uses the user's preferred viewer
Per> (that's what we do in the Debian package).

How widespread is this code currently? In particular, I am very
interested by the DAPI library. We have os-specific code to use system
viewers on windows and osx, it would be nice to do the same on kde/gnome.

Per> I guess the problem is the LaTeX checking stuff. I don't know
Per> what to do about that.

We could use kpsewhich online. But it requires some work.

JMarc


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]