[Pkg-lyx-devel] lyx triggers?

Per Olofsson pelle at dsv.su.se
Mon Jun 9 14:22:18 UTC 2008


Sven Hoexter wrote:
>> Come to think of it, maybe lyx could just check the timestamps of
>> /var/lib/texmf/ls-R*. Then we wouldn't need any triggers...
> 
> A non Debian centered aproach will have a better chance to get upstreams blessing
> of course. Beside that the trigger thingy in dpkg looks nifty and I don't find
> it abusive to use it. On the other hand we don't have policy for the usage yet
> and so far I've only triggers running for man-db and menu. If everyone adopts this
> feature to work around such issue that might change.

Well, triggers.txt says:

"File triggers should not generally be used without mutual consent.
The use of a file trigger, and the name of the trigger used, should be
stated in policy, so that a package which creates a relevant file in a
maintainer script can activate the trigger explictly."

But of course we could get the consent of the TeX maintainers first.

> I don't know how many different locations on different systems have to be check to
> detect a change and what other mayor distributors use. I suspect there are a lot
> depending on the distribution of your OS and the used tex distribution.

Actually, I think we can run "kpsewhich --show-path=ls-R" and it should work on
all distros. Also, it would work with user- and locally-installed packages.

> It's at least a basis for some discussion on lyx-devel for post 1.6 development.

Well, it wouldn't be such a huge change, would it?

-- 
Pelle



More information about the Pkg-lyx-devel mailing list