Registry handling on windows (installer)
Yu Jin
technikmagma at gmail.com
Sat Mar 7 08:11:33 UTC 2020
Am Fr., 6. März 2020 um 22:42 Uhr schrieb Jean-Marc Lasgouttes <
lasgouttes at lyx.org>:
> No user has IM installed by default, and no package manager will do it
> for us. I really think that shipping the few binaries that we need and
> skipping the registry thing is the simplest solution for everyone.
>
Absolutely agree. It is one thing to not ship LaTeX with LyX (removing the
recently discussed Perl interpreter is somewhat grey zone imo, but when
mentioned in userguide in the specific sections (e.g. splitindex, or
wherever a perl interpreter is required), I would agree to that aswell),
compiling LaTeX files is not a LyX's feature (so I think it is right to ask
user to install LaTeX first), but displaying the content (which may have
e.g. pdf files) in the LyX window is. If I had to install additional
programs in order to make LyX display properly, as a user I would complain.
Even if I didn't know about that, I would make a bug report.
Am Fr., 6. März 2020 um 19:09 Uhr schrieb Pavel Sanda <sanda at lyx.org>:
> I think we use 'convert' but other executables are looking as a good
> candidate
> for removal.
Where do we use "convert"? There is no convert.exe in the current
dependencies or LyX's install directories.
And also please do this scriptable, dependecies like imagemagick
> need regular updates due to constant flow of security bugfixes...
>
Scriptable... Im not sure how you mean that, I dont know much about
imagemagick, which files it really needs... there are lots of xml files...
maybe imagemagick devs change something in the future. I planned to
describe it as good as possible in the README for the windows installer,
but I think a person would have to do it manually following the guide.
> Isn't ghostscript used for (e)ps->pdf conversion?
>
Yes, it is, thank you. I have tried to do that with imagemagick and it does
not work (at least the ps part, eps do work), so ghostscript would need to
remain.
Still, using the portable imagemagick would be a benefit, because no
registry hacks would be required.
So as far as I can see I should do following:
First update the dependencies with the portable imagemagick.
For stable: remove the registry writing part for imagemagick.
For master change the main registry key from "...\LyX${APP_VERSION}" to
"...\LyX\${APP_VERSION}".
Finally update the readme and extend with description on how to update the
dependencies.
Is this ok with everybody?
Eugene
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200307/f680e87e/attachment.html>
More information about the lyx-devel
mailing list