[Github-comments] [geany/geany] Feature request: Please provide an AppImage for Geany (#1303)

Colomban Wendling notifications at xxxxx
Tue Nov 15 19:21:56 UTC 2016


> There are [a couple of options](https://github.com/probonopd/AppImageKit/issues/267) for that.

Nice :)

> But wouldn't it be the cleanest solution to solve it right in the source code from the beginning, by not using absolute paths? (How is it done for macOS)?

Well.  We do use [dynamic paths](https://github.com/geany/geany/blob/master/src/utils.c#L2092) indeed to support Windows and OSX, and as said we do have [binary relocation support already](https://github.com/geany/geany/blob/master/src/prefix.c).  But one tricky part is finding out what the installation path is, and that code is copied from somewhere ages ago, and I have no idea how portable it is -- not really something I'm terribly happy with.
Also, it doesn't solve looking for libraries, where we currently use `-rpath='$ORIGIN/../lib'`.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1303#issuecomment-260739481
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20161115/3cac3530/attachment.html>


More information about the Github-comments mailing list