-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove libthai from the excludelist and improve excludelist formatting #555
Conversation
libthai.so.0 has been removed from the excludelist. The original reason why libthai had been added to it is an issue that occurs when libpango is not bundled but libthai is (see AppImageCommunity#538). But since then, libpango had been removed from the excludelist in 2022. This means that the original reason why libthai had been excluded is no longer relevant. Therefore it could be removed from the excludelist. This fixes AppImageCommunity#538. Additionally, the excludelist formatting has been improved. There had been different places scattered across the excludelist in which libraries had been excluded or not excluded due to other libraries (like libthai / libpango). They have all been brought together (with all information and reasoning) in one block to prevent issues like this in the future. Additionally, missing information out of AppImageCommunity#528 has been added to this block.
Thanks @Korne127 for your thoughtful contribution. 👍 |
Thank you so much!! :D |
For the fix to take effect in e.g. Tauri apps, we'll have to wait for a new release of linuxdeploy, as they need to update their exclude list (generate-excludelist.sh). |
Before we are all to confident with this solution, I suggest that we test running an application bundled in this way on a target system that has a never version of those libraries installed locally... to be sure that we haven't broken anything. Are the applications listed above all using |
I tried this with
No. But Many of these issues weren't even directly using any AppImage tool but were using tauri, which itself uses |
Ah right, thanks for the clarification @Korne127. I don't know how |
See this link - essentially it just gets the latest file on the Github master.
|
I went through all issues I could find and added the additional ones I found to the list (and commented under some issues that have partly or possibly been fixed). :D |
linuxdeployqt != linuxdeploy |
Edit: I was wrong. I checked both, but I must have made a mistake. |
I compiled Tauri app on my own after the PR was merged, but I still encountered the
Oh, sorry for the confusion. Tauri downloads |
You were right, I tested it as well with
I relooked into the code and I'm sorry, I made a mistake. |
I created an issue at linuxdeploy/linuxdeploy#286 to address this as not trying to update the excludelist at build time creates a big dependency on new @probonopd Are you in personal contact with @TheAssassin? It seems like they're the only person who could merge a corresponding PR / create a new |
Indeed, @TheAssassin is the person in charge of linuxdeploy, but I happen to know that he is very busy these days. |
Thanks for the info |
Same old story, including things at build time is annoying and triggers an avalanche of rebuilds everywhere. |
This Pull Request removes
libthai.so.0
from the excludelist. The original reason whylibthai
has been added to it is an issue that occurs whenlibpango
is not bundled butlibthai
is (see #538). But since then,libpango
has been removed from the excludelist in 2022. This means that the original reason whylibthai
has been excluded is no longer relevant. Therefore it can be removed from the excludelist. This fixes #538.Additionally, this improves the excludelist formatting. There have been different places scattered across the excludelist in which libraries have been excluded or not excluded due to other libraries (like
libthai
/libpango
). This brings them all (with all information and reasoning) in one block to prevent issues like this in the future. Additionally, it adds missing information out of #528 to this block.