Subject: Re: [bug#37147] [PATCH] gnu: lyx: Wrap binary to let it find qtsvg

From: Efraim Flashner <[email-masked]>
Date: Sun, 22 Mar 2020 09:16:43 +0200

On Sat, Mar 21, 2020 at 09:09:20PM +0100, Marius Bakke wrote:
> Hello Xavier,
> 
> "Xavier Montillet" <[email-masked]> writes:
> 
> > From 18929f612dcb3c9210a953c29713ff6cb2a5f222 Mon Sep 17 00:00:00 2001
> > From: Xavier Montillet <[email-masked]>
> > Date: Thu, 22 Aug 2019 17:48:42 +0200
> > Subject: [PATCH 1/1] gnu: lyx: Wrap binary to let it find qtsvg
> >
> > Wrap the lyx binary to set QT_PLUGIN_PATH to let it find qtsvg. Without this, when running lyx in a profile without qtsvg, the menu will contain text instead of icons.
> > The prefix was changed and the symlink phase was removed because wrapping the lyx binary made it fail to find the lyx system directory. Other solutions were setting the LYX_DIR_23x environment variable and using the -sysdir argument.
> > Changing the prefix and removing the symlink phase made the LYX_DIR_23x environment variable used earlier in the build redundant, and it was therefore removed.
> 
> Sorry for the slooooow response.  This seems like a good idea, but the
> patch no longer applies cleanly.  Do you think you can rebase it on the
> current master branch?
> 
> Apologies for the inconvenience!

Would this be a good use for the qt-build-system?

-- 
Efraim Flashner   <[email-masked]>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted