Added flatpak build manifests with split dependencies #1768
97
docs/Flatpak_Build.md
Normal file
|
@ -0,0 +1,97 @@
|
||||||
|
|||||||
|
# PyBitmessage Linux flatpak instructions
|
||||||
Maybe also add this into index.rst with mdinclude? Under new section, like
Or into README.md? Maybe also add this into [index.rst](../../blob/v0.6/docs/index.rst) with mdinclude? Under new section, like
```reST
Build Instructions
------------------
```
Or into [README.md](../../blob/v0.6/README.md)?
Okay Okay
Quick amendment: include a link to it, not the content, as mdinclude does, I'd mistaken. Quick amendment: include a link to it, not the content, as mdinclude does, I'd mistaken.
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
## Requirements
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
First make sure you have `flatpak` and `flatpak-builder` installed along with these dependencies (Ubuntu 20.4) `git xz-utils elfutils librsvg2-common` needs to be installed.
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
line too long line too long
As it is a readme file, I don't think there would be any pylint line too long warning will happen. As it is a readme file, I don't think there would be any pylint line too long warning will happen.
Please confirm if still I need to break it.
I don't have a strong opinion so we can probably just leave it as it is. I don't have a strong opinion so we can probably just leave it as it is.
|
|||||||
|
Follow the instructions for your distribution on [flathub](https://flatpak.org/setup/). The instructions there only cover the installation of `flatpak`, but
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
`flatpak-builder` should be the same.
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
|
||||||
these are the packages (ubuntu 20.04) that need to be installed: flatpak flatpak-builder git xz-utils elfutils librsvg2-common these are the packages (ubuntu 20.04) that need to be installed:
flatpak flatpak-builder git xz-utils elfutils librsvg2-common
Okay, I'll update the documentation Okay, I'll update the documentation
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
## Build and Install
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
Once you have `flatpak` and `flatpak-builder` installed:
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
Build and Install the Base App
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
```
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
git clone git://github.com/Bitmessage/PyBitmessage.git
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
cd PyBitmessage/
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
git submodule update --init --recursive
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
flatpak-builder --install --install-deps-from=flathub --force-clean --state-dir=build/.flatpak-builder build/_baseApp packages/flatpak/org.bitmessage.BaseApp.json
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
```
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
This will install the base app to your local flatpak user repository, it
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
takes a while to compile because Qt4 and PyQt4 have to be build, among others. But this is only required once.
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
Now Build and Install PyBitmessage App
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
```
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
flatpak-builder --install --install-deps-from=flathub --force-clean --state-dir=build/.flatpak-builder build/_PyBit packages/flatpak/org.bitmessage.PyBitmessage.json
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
```
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
# Run
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
When installation is done you can launch PyBitmessage via the **command line**:
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
`flatpak run org.bitmessage.PyBitmessage`
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
Flatpak also exports a `.desktop` file, so you should be able to find and launch
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
PyBitmessage via the **application launcher** of your Desktop (Gnome, KDE, ...).
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
# Export
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
You can create a single file "bundle", which allows you to copy and install the
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
PyBitmessage flatpak on other devices of the same architecture as the build machine.
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
## Create a local flatpak repository
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
```
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
flatpak-builder --repo=build/_flatpak_repo --force-clean --state-dir=build/.flatpak-builder build/_PyBit packages/flatpak/org.bitmessage.PyBitmessage.json
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
```
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
This will create a local flatpak repository in `build/_flatpak_repo/`.
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
## Hosting the repository
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
Place the `_flatpak_repo/` repo directory in the same directory as the dockerfile i.e `packages/flatpak/dockerfile`
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
Build and run the docker image
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
```
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
sudo docker build -t repo-server:latest .
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
sudo docker run -d -p 5000:5000 repo-server
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
```
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
## Installing PyBitmessage from repo-server
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
Add the repository
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
```
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
sudo flatpak remote-add --no-gpg-verify pybitmessage http://localhost:5000/repo
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
```
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
Install and Run the app
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
```
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
sudo flatpak install test org.bitmessage.PyBitmessage
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
flatpak run org.bitmessage.PyBitmessage
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
```
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
## Create a bundle
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
```
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
flatpak build-bundle build/_flatpak_repo build/pybitmessage.flatpak org.bitmessage.PyBitmessage
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
```
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
This will create a `pybitmessage.flatpak` bundle file in the `build/` directory.
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
This bundle can be copied to other systems or installed locally:
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
```
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
flatpak install pybitmessage.flatpak
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
```
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
The application can be run using flatpak:
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
```
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
flatpak run org.bitmessage.PyBitmessage
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
```
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
It can then be uninstalled with this command:
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
```
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
flatpak uninstall org.bitmessage.PyBitmessage
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
```
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
This way of building an application is very convenient when preparing flatpaks
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
for testing on another system of the same processor architecture.
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
## Cleanup
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
If you want to free up disk space you can remove the `Sdk` runtime again:
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
`flatpak uninstall org.freedesktop.Sdk//19.08`
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|||||||
|
You can also delete the `build` directory again.
|
||||||
Qt4, it is not QuickTime Qt4, it is not QuickTime
|
|
@ -1,4 +1,12 @@
|
||||||
InputError: [Errno 2] No such file or directory: '../../../../../../checkouts/latest/docs/..Flatpak_Build.md'. InputError: [Errno 2] No such file or directory: '../../../../../../checkouts/latest/docs/..Flatpak_Build.md'.
Raw: https://readthedocs.org/api/v2/build/14080458.txt
InputError: [Errno 2] No such file or directory: '../../../../../../checkouts/latest/docs/..Flatpak_Build.md'. InputError: [Errno 2] No such file or directory: '../../../../../../checkouts/latest/docs/..Flatpak_Build.md'.
Raw: https://readthedocs.org/api/v2/build/14080458.txt
I meant something like this: https://pybitmessage-test.readthedocs.io/en/latest/#build-instructions I meant something like this: https://pybitmessage-test.readthedocs.io/en/latest/#build-instructions
Did it with these changes: 0bedc5d
I meant something like this: https://pybitmessage-test.readthedocs.io/en/latest/#build-instructions I meant something like this: https://pybitmessage-test.readthedocs.io/en/latest/#build-instructions
Did it with these changes: 0bedc5d
|
|||||||
.. mdinclude:: ../README.md
|
.. mdinclude:: ../README.md
|
||||||
|
:end-line: 20
|
||||||
InputError: [Errno 2] No such file or directory: '../../../../../../checkouts/latest/docs/..Flatpak_Build.md'. InputError: [Errno 2] No such file or directory: '../../../../../../checkouts/latest/docs/..Flatpak_Build.md'.
Raw: https://readthedocs.org/api/v2/build/14080458.txt
I meant something like this: https://pybitmessage-test.readthedocs.io/en/latest/#build-instructions I meant something like this: https://pybitmessage-test.readthedocs.io/en/latest/#build-instructions
Did it with these changes: 0bedc5d
|
|||||||
|
|
||||||
InputError: [Errno 2] No such file or directory: '../../../../../../checkouts/latest/docs/..Flatpak_Build.md'. InputError: [Errno 2] No such file or directory: '../../../../../../checkouts/latest/docs/..Flatpak_Build.md'.
Raw: https://readthedocs.org/api/v2/build/14080458.txt
I meant something like this: https://pybitmessage-test.readthedocs.io/en/latest/#build-instructions I meant something like this: https://pybitmessage-test.readthedocs.io/en/latest/#build-instructions
Did it with these changes: 0bedc5d
|
|||||||
|
Build Instructions
|
||||||
InputError: [Errno 2] No such file or directory: '../../../../../../checkouts/latest/docs/..Flatpak_Build.md'. InputError: [Errno 2] No such file or directory: '../../../../../../checkouts/latest/docs/..Flatpak_Build.md'.
Raw: https://readthedocs.org/api/v2/build/14080458.txt
I meant something like this: https://pybitmessage-test.readthedocs.io/en/latest/#build-instructions I meant something like this: https://pybitmessage-test.readthedocs.io/en/latest/#build-instructions
Did it with these changes: 0bedc5d
|
|||||||
|
------------------
|
||||||
InputError: [Errno 2] No such file or directory: '../../../../../../checkouts/latest/docs/..Flatpak_Build.md'. InputError: [Errno 2] No such file or directory: '../../../../../../checkouts/latest/docs/..Flatpak_Build.md'.
Raw: https://readthedocs.org/api/v2/build/14080458.txt
I meant something like this: https://pybitmessage-test.readthedocs.io/en/latest/#build-instructions I meant something like this: https://pybitmessage-test.readthedocs.io/en/latest/#build-instructions
Did it with these changes: 0bedc5d
|
|||||||
|
.. toctree::
|
||||||
InputError: [Errno 2] No such file or directory: '../../../../../../checkouts/latest/docs/..Flatpak_Build.md'. InputError: [Errno 2] No such file or directory: '../../../../../../checkouts/latest/docs/..Flatpak_Build.md'.
Raw: https://readthedocs.org/api/v2/build/14080458.txt
I meant something like this: https://pybitmessage-test.readthedocs.io/en/latest/#build-instructions I meant something like this: https://pybitmessage-test.readthedocs.io/en/latest/#build-instructions
Did it with these changes: 0bedc5d
|
|||||||
|
:maxdepth: 1
|
||||||
InputError: [Errno 2] No such file or directory: '../../../../../../checkouts/latest/docs/..Flatpak_Build.md'. InputError: [Errno 2] No such file or directory: '../../../../../../checkouts/latest/docs/..Flatpak_Build.md'.
Raw: https://readthedocs.org/api/v2/build/14080458.txt
I meant something like this: https://pybitmessage-test.readthedocs.io/en/latest/#build-instructions I meant something like this: https://pybitmessage-test.readthedocs.io/en/latest/#build-instructions
Did it with these changes: 0bedc5d
|
|||||||
|
|
||||||
InputError: [Errno 2] No such file or directory: '../../../../../../checkouts/latest/docs/..Flatpak_Build.md'. InputError: [Errno 2] No such file or directory: '../../../../../../checkouts/latest/docs/..Flatpak_Build.md'.
Raw: https://readthedocs.org/api/v2/build/14080458.txt
I meant something like this: https://pybitmessage-test.readthedocs.io/en/latest/#build-instructions I meant something like this: https://pybitmessage-test.readthedocs.io/en/latest/#build-instructions
Did it with these changes: 0bedc5d
|
|||||||
|
Flatpak_Build
|
||||||
InputError: [Errno 2] No such file or directory: '../../../../../../checkouts/latest/docs/..Flatpak_Build.md'. InputError: [Errno 2] No such file or directory: '../../../../../../checkouts/latest/docs/..Flatpak_Build.md'.
Raw: https://readthedocs.org/api/v2/build/14080458.txt
I meant something like this: https://pybitmessage-test.readthedocs.io/en/latest/#build-instructions I meant something like this: https://pybitmessage-test.readthedocs.io/en/latest/#build-instructions
Did it with these changes: 0bedc5d
|
|||||||
|
|
||||||
Documentation
|
Documentation
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
InputError: [Errno 2] No such file or directory: '../../../../../../checkouts/latest/docs/..Flatpak_Build.md'. InputError: [Errno 2] No such file or directory: '../../../../../../checkouts/latest/docs/..Flatpak_Build.md'.
Raw: https://readthedocs.org/api/v2/build/14080458.txt
InputError: [Errno 2] No such file or directory: '../../../../../../checkouts/latest/docs/..Flatpak_Build.md'. InputError: [Errno 2] No such file or directory: '../../../../../../checkouts/latest/docs/..Flatpak_Build.md'.
Raw: https://readthedocs.org/api/v2/build/14080458.txt
I meant something like this: https://pybitmessage-test.readthedocs.io/en/latest/#build-instructions I meant something like this: https://pybitmessage-test.readthedocs.io/en/latest/#build-instructions
Did it with these changes: 0bedc5d
I meant something like this: https://pybitmessage-test.readthedocs.io/en/latest/#build-instructions I meant something like this: https://pybitmessage-test.readthedocs.io/en/latest/#build-instructions
Did it with these changes: 0bedc5d
|
57
packages/flatpak/org.bitmessage.BaseApp.json
Normal file
|
@ -0,0 +1,57 @@
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
{
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
"id": "org.bitmessage.BaseApp",
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
"branch": "stable",
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
"runtime": "org.freedesktop.Platform",
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
"sdk": "org.freedesktop.Sdk",
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
"runtime-version": "19.08",
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
"separate-locales": false,
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
"modules": [
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
"shared-modules/python2.7/python-2.7.json",
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
"shared-modules/qt4/qt4-4.8.7-minimal.json",
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
{
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
"name": "python-sip",
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
"sources": [
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
{
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
"type": "archive",
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
"url": "https://www.riverbankcomputing.com/static/Downloads/sip/4.19.25/sip-4.19.25.tar.gz",
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
"sha256": "b39d93e937647807bac23579edbff25fe46d16213f708370072574ab1f1b4211"
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
}
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
],
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
"buildsystem": "simple",
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
"build-commands": [
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
"python configure.py --sip-module PyQt4.sip --no-dist-info",
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
"make",
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
"make install"
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
]
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
},
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
{
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
"name": "python-qt4",
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
"sources": [
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
{
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
"type": "archive",
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
"url": "http://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-4.12.3/PyQt4_gpl_x11-4.12.3.tar.gz",
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
"sha256": "a00f5abef240a7b5852b7924fa5fdf5174569525dc076cd368a566619e56d472"
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
}
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
],
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
"buildsystem": "simple",
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
"build-commands": [
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
"python configure.py -w --confirm-license",
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
"make",
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
"make install"
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
]
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
},
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
{
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
"name" : "PyBitmessage-dependencies",
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
"buildsystem" : "simple",
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
"build-options": {
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
"build-args": [
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
"--share=network"
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
]
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
},
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
"build-commands": [
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
"pip --version",
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
"pip install setuptools msgpack six"
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
]
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
}
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
]
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
|||||||
|
}
|
||||||
you can put lines 53 and 54 together you can put lines 53 and 54 together
|
42
packages/flatpak/org.bitmessage.PyBitmessage.json
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
{
|
||||||
|
"app-id": "org.bitmessage.PyBitmessage",
|
||||||
|
"runtime": "org.freedesktop.Platform",
|
||||||
|
"runtime-version": "19.08",
|
||||||
|
"branch": "stable",
|
||||||
|
"sdk": "org.freedesktop.Sdk",
|
||||||
|
"base": "org.bitmessage.BaseApp",
|
||||||
|
"command": "pybitmessage",
|
||||||
|
"base-version":"stable",
|
||||||
|
"finish-args" : [
|
||||||
|
"--share=network",
|
||||||
|
"--socket=x11",
|
||||||
|
"--share=ipc",
|
||||||
|
"--filesystem=xdg-config/PyBitmessage:create"
|
||||||
|
],
|
||||||
|
"modules": [
|
||||||
|
{
|
||||||
|
"name" : "PyBitmessage",
|
||||||
|
"buildsystem" : "simple",
|
||||||
|
"build-options": {
|
||||||
|
"build-args": [
|
||||||
|
"--share=network"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"build-commands": [
|
||||||
|
"python setup.py install --prefix=/app --exec-prefix=/app",
|
||||||
|
"mv /app/share/applications/pybitmessage.desktop /app/share/applications/org.bitmessage.PyBitmessage.desktop",
|
||||||
|
"sed -i 's~Icon=pybitmessage~Icon=org.bitmessage.PyBitmessage~' /app/share/applications/org.bitmessage.PyBitmessage.desktop",
|
||||||
|
"mv /app/share/icons/hicolor/scalable/apps/pybitmessage.svg /app/share/icons/hicolor/scalable/apps/org.bitmessage.PyBitmessage.svg",
|
||||||
|
"mv /app/share/icons/hicolor/24x24/apps/pybitmessage.png /app/share/icons/hicolor/24x24/apps/org.bitmessage.PyBitmessage.png",
|
||||||
|
"which pybitmessage"
|
||||||
|
],
|
||||||
|
"sources" : [
|
||||||
|
{
|
||||||
|
"type" : "dir",
|
||||||
|
"path" : "../../"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
Qt4, it is not QuickTime
Qt4, it is not QuickTime