-
Notifications
You must be signed in to change notification settings - Fork 178
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
Create Flatpak image for AwesomeBump #151
Comments
I have managed to create a working manifest file for flatpak-builder. However, I'm still not sure how to publish the image to fluthub etc. Here is mine first iteration of the manifest file: {
"app-id": "org.kde.AwesomeBump",
"branch": "Release",
"build-options": {
"no-debuginfo": true,
"strip": true
},
"command": "awesomebump",
"finish-args": [
"--share=ipc",
"--socket=x11",
"--socket=system-bus",
"--device=dri",
"--filesystem=home",
"--own-name=org.kde.AwesomeBump"
],
"modules": [
{
"name": "AwesomeBump",
"no-autogen": true,
"no-make-install": false,
"no-parallel-make": false,
"sources": [
{
"branch": "Release",
"type": "git",
"url": "https://github.com/kmkolasinski/AwesomeBump"
},
{
"commands": [
"qmake ./AwesomeBump.pro 'CONFIG+=gl330'", "make clean", "make -j 8"
],
"dest-filename": "configure",
"type": "script"
}
],
"build-commands": [
"install -D /run/build/AwesomeBump/workdir/linux-g++-gl3/bin/AwesomeBump /app/bin/AwesomeBump",
"cp -r /run/build/AwesomeBump/Bin/Configs /app/bin/Configs",
"cp -r /run/build/AwesomeBump/Bin/Core /app/bin/Core",
"echo '#!/bin/bash\ncd /app/bin/\n./AwesomeBump' > /app/bin/awesomebump", "chmod +x /app/bin/awesomebump"
]
}
],
"runtime": "org.kde.Platform",
"runtime-version": "5.12",
"sdk": "org.kde.Sdk",
"separate-locales": false
} Build with:
I'm not sure how to deal with different runtimes versions e.g. Gnome and KDE and the same for AB versions like 5.1,5.2 etc, as well as with GL330 binary: AwesomeBump vs AwesomeBumpGL330. |
Great news! If the issue is with NVIDIA / non NVIDIA cards, maybe you should define variants of your app, i.e. AB-NVidida, AB-Radeon... (dunno the details here since i didnt yet build a flatpak yet)..... Maybe a mesa-only variant may be needed also.... |
You could include both AwesomeBump binaries in the same Flatpak. Users whose hardware doesn't support OpenGL 4.x can run the AwesomeBumpGL330 binary manually using Since OpenGL 4.x is supported on most hardware by now (including Mesa drivers), it should probably be fine. |
I made a PR to flathub flathub/flathub#1161 |
Build fails:
|
Thanks, I saw it, but now I have no time to dig into this problem. Do you guys have idea where is the problem:
|
To create a Flatpak image for AwesomeBump would be a good way to provide an unified binary for all linux variants and lower the entry barriers for using a great tool more easily....
See also flatpak/flatpak#875
The text was updated successfully, but these errors were encountered: