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

From: Marius Bakke <[email-masked]>
Date: Sat, 21 Mar 2020 21:09:20 +0100

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!