flatpak-builder support #1618
flatpak-builder support #1618
Conversation
|
Thank you, this is great. |
git submodule instruction for the flathub shared modules was missing
|
Maybe move the manifest to packages/flatpak? |
| git clone git://github.com/Bitmessage/PyBitmessage.git | ||
| cd PyBitmessage/ | ||
| git submodule add https://github.com/flathub/shared-modules.git | ||
| flatpak-builder --install _flatpak -install-deps-from=flathub --force-clean --user org.bitmessage.PyBitmessage.json |
g1itch
Apr 30, 2020
Collaborator
It's probably a typo here, should be --install-deps-from=
It's probably a typo here, should be --install-deps-from=
zciendor
Apr 30, 2020
Author
It's probably a typo here, should be --install-deps-from=
Fixed. The updated build instructions are now in packages/flatpak/README.md.
It's probably a typo here, should be
--install-deps-from=
Fixed. The updated build instructions are now in packages/flatpak/README.md.
updated flatpak instructions to make use of the build directory which is already used for other stuff as well
rearranged flatpak-builder arguments to match documentation: ``` $ flatpak-builder --help install flatpak-builder [OPTION…] DIRECTORY MANIFEST ```
updated flatpak instructions so that the `.flatpak-builder/` cache directory is created in the exiting `build/` directory as well
I'll try... need to change some relative paths within the manifest then. |
|
If we already have all dependencies installed on Ubuntu bionic, is it possible to skip building Qt4? |
diff --git a/org.bitmessage.PyBitmessage.json b/org.bitmessage.PyBitmessage.json
index e2bfb73d..c91f5bea 100644
--- a/org.bitmessage.PyBitmessage.json
+++ b/org.bitmessage.PyBitmessage.json
@@ -33,8 +33,8 @@
],
"sources" : [
{
- "type" : "dir",
- "path" : "."
+ "type" : "git",
+ "url" : "https://github.com/Bitmessage/PyBitmessage.git"
}
]
} |
No, Qt4 is not available in any of the available runtimes on flathub: https://docs.flatpak.org/en/latest/available-runtimes.html Actually, Qt4 is build within the sandbox and not in Ubuntu. |
Well, while this works, it would check out the HEAD revision from the remote origin again. This may not be what you want in case you want to build/package the current working copy state. |
flatpak-builder has a cache directory. Qt4 won't be rebuild if this exists from a previous build and the inputs for a build step haven't changed. Not sure if this could be configured in travis-ci somehow... |
Recent distributions like
Debian bullseyedon't support QT4 anymore. This pull request provides aflatpak-builderconfiguration and instructions how to package PyBitmessage as a flatpak application which bundles QT4.This pull request is also a necessary requirement for #1607