Hi.
KevinH, DiapDealer
Now, after the installation for Sigil, the following folder system is formed:
Code:
sigil/
/bin/sigil-script
/lib/sigil/sigil
libsigilgumbo.so
/share/applications/sigil.desktop
/pixmaps/sigil-haiku-icon.hvif
/sigil/<all the rest>
Given that the Haiku file system is different from others, I would like to simplify the Sigil folder structure a little.
For example, like this:
Code:
sigil/
/bin/Sigil
/lib/libsigilgumbo.so
/share/<all the rest>
or like this:
Code:
sigil/
/bin/Sigil
libsigilgumbo.so
/share/<all the rest>
But when I change the record structure in CMakeLists.txt and execute the "make install" command, Sigil does not start and gives the error "libsigilgumbo.so library was not found".
If I understand correctly, the path to the library is set in the file /src/Resource_Files/plugin_launchers/python/wrapper.py
Code:
def get_gumbo_path(self):
if sys.platform.startswith('darwin'):
lib_dir = unipath.abspath(os.path.join(self.appdir,"..","lib"))
lib_name = 'libsigilgumbo.dylib'
elif sys.platform.startswith('win'):
lib_dir = unipath.abspath(self.appdir)
lib_name = 'sigilgumbo.dll'
else:
lib_dir = unipath.abspath(self.appdir)
lib_name = 'libsigilgumbo.so'
return os.path.join(lib_dir, lib_name)
Changing the file path in this function does not lead to anything.
How can I do that?