| 1 |
Description: look for sub-binaries in /usr/lib/gargoyle/ |
| 2 |
By default gargoyle looks for interpreters in the same directory as |
| 3 |
itself. We could install all binaries in /usr/bin/, linked with |
| 4 |
rpath=/usr/libexec/gargoyle, but this would conflict with existing |
| 5 |
non-glk packages, such as 'frotz', which would need to be divert'd. |
| 6 |
So we look-up in hard-coded /usr/libexec/gargoyle/ instead. |
| 7 |
There are mixing feelings towards this approach on the list. |
| 8 |
Forwarded: https://groups.google.com/group/garglk-dev/browse_thread/thread/ade812060c426caf#16a03dba1a255277 |
| 9 |
Author: Sylvain Beucler <[email protected]> |
| 10 |
Last-Update: 2022-08-11 |
| 11 |
|
| 12 |
=================================================================== |
| 13 |
--- a/garglk/launchqt.cpp |
| 14 |
+++ b/garglk/launchqt.cpp |
| 15 |
@@ -134,7 +134,7 @@ |
| 16 |
#ifdef GARGLK_CONFIG_INTERPRETER_DIR |
| 17 |
interpreter_dir = GARGLK_CONFIG_INTERPRETER_DIR; |
| 18 |
#else |
| 19 |
- interpreter_dir = QCoreApplication::applicationDirPath(); |
| 20 |
+ interpreter_dir = "/usr/libexec/gargoyle"; |
| 21 |
#endif |
| 22 |
} |
| 23 |
|