Added flatpak build manifests with split dependencies #1768

Open
kdcis wants to merge 1 commits from kdcis/v0.6-flatpak into v0.6
4 changed files with 204 additions and 0 deletions
Showing only changes of commit f7f5457d46 - Show all commits

97
docs/Flatpak_Build.md Normal file
View File

@ -0,0 +1,97 @@
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
# PyBitmessage Linux flatpak instructions
g1itch commented 2021-06-23 16:08:03 +02:00 (Migrated from github.com)
Review

Maybe also add this into index.rst with mdinclude? Under new section, like

Build Instructions
------------------

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)?
kdcis commented 2021-06-23 16:18:58 +02:00 (Migrated from github.com)
Review

Okay

Okay
g1itch commented 2021-06-23 16:26:54 +02:00 (Migrated from github.com)
Review

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.
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
## Requirements
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

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.
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
PeterSurda commented 2021-08-05 10:56:14 +02:00 (Migrated from github.com)
Review

line too long

line too long
kdcis commented 2021-08-26 17:18:18 +02:00 (Migrated from github.com)
Review

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.

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.
PeterSurda commented 2021-08-27 09:06:39 +02:00 (Migrated from github.com)
Review

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
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
`flatpak-builder` should be the same.
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
PeterSurda commented 2021-06-23 10:44:18 +02:00 (Migrated from github.com)
Review

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
kdcis commented 2021-06-23 16:20:00 +02:00 (Migrated from github.com)
Review

Okay, I'll update the documentation

Okay, I'll update the documentation
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
## Build and Install
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
Once you have `flatpak` and `flatpak-builder` installed:
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
Build and Install the Base App
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
```
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
git clone git://github.com/Bitmessage/PyBitmessage.git
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
cd PyBitmessage/
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
git submodule update --init --recursive
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

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
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
```
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
This will install the base app to your local flatpak user repository, it
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

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.
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
Now Build and Install PyBitmessage App
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
```
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

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
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
```
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
# Run
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
When installation is done you can launch PyBitmessage via the **command line**:
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
`flatpak run org.bitmessage.PyBitmessage`
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

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
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
PyBitmessage via the **application launcher** of your Desktop (Gnome, KDE, ...).
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
# Export
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

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
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
PyBitmessage flatpak on other devices of the same architecture as the build machine.
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
## Create a local flatpak repository
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
```
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

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
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
```
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
This will create a local flatpak repository in `build/_flatpak_repo/`.
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
## Hosting the repository
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

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`
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
Build and run the docker image
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
```
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
sudo docker build -t repo-server:latest .
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
sudo docker run -d -p 5000:5000 repo-server
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
```
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
## Installing PyBitmessage from repo-server
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
Add the repository
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
```
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
sudo flatpak remote-add --no-gpg-verify pybitmessage http://localhost:5000/repo
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
```
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
Install and Run the app
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
```
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
sudo flatpak install test org.bitmessage.PyBitmessage
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
flatpak run org.bitmessage.PyBitmessage
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
```
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
## Create a bundle
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
```
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
flatpak build-bundle build/_flatpak_repo build/pybitmessage.flatpak org.bitmessage.PyBitmessage
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
```
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
This will create a `pybitmessage.flatpak` bundle file in the `build/` directory.
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
This bundle can be copied to other systems or installed locally:
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
```
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
flatpak install pybitmessage.flatpak
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
```
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
The application can be run using flatpak:
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
```
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
flatpak run org.bitmessage.PyBitmessage
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
```
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
It can then be uninstalled with this command:
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
```
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
flatpak uninstall org.bitmessage.PyBitmessage
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
```
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
This way of building an application is very convenient when preparing flatpaks
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
for testing on another system of the same processor architecture.
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
## Cleanup
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

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:
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
`flatpak uninstall org.freedesktop.Sdk//19.08`
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime
You can also delete the `build` directory again.
g1itch commented 2021-06-23 19:56:03 +02:00 (Migrated from github.com)
Review

Qt4, it is not QuickTime

Qt4, it is not QuickTime

View File

@ -1,4 +1,12 @@
g1itch commented 2021-06-23 19:44:34 +02:00 (Migrated from github.com)
Review

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'. Raw: https://readthedocs.org/api/v2/build/14080458.txt
g1itch commented 2021-06-23 19:44:34 +02:00 (Migrated from github.com)
Review

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'. Raw: https://readthedocs.org/api/v2/build/14080458.txt
g1itch commented 2021-06-23 19:51:55 +02:00 (Migrated from github.com)
Review

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 Did it with these changes: 0bedc5d
g1itch commented 2021-06-23 19:51:55 +02:00 (Migrated from github.com)
Review

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 Did it with these changes: 0bedc5d
.. mdinclude:: ../README.md .. mdinclude:: ../README.md
:end-line: 20
g1itch commented 2021-06-23 19:44:34 +02:00 (Migrated from github.com)
Review

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'. Raw: https://readthedocs.org/api/v2/build/14080458.txt
g1itch commented 2021-06-23 19:51:55 +02:00 (Migrated from github.com)
Review

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 Did it with these changes: 0bedc5d
g1itch commented 2021-06-23 19:44:34 +02:00 (Migrated from github.com)
Review

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'. Raw: https://readthedocs.org/api/v2/build/14080458.txt
g1itch commented 2021-06-23 19:51:55 +02:00 (Migrated from github.com)
Review

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 Did it with these changes: 0bedc5d
Build Instructions
g1itch commented 2021-06-23 19:44:34 +02:00 (Migrated from github.com)
Review

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'. Raw: https://readthedocs.org/api/v2/build/14080458.txt
g1itch commented 2021-06-23 19:51:55 +02:00 (Migrated from github.com)
Review

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 Did it with these changes: 0bedc5d
------------------
g1itch commented 2021-06-23 19:44:34 +02:00 (Migrated from github.com)
Review

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'. Raw: https://readthedocs.org/api/v2/build/14080458.txt
g1itch commented 2021-06-23 19:51:55 +02:00 (Migrated from github.com)
Review

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 Did it with these changes: 0bedc5d
.. toctree::
g1itch commented 2021-06-23 19:44:34 +02:00 (Migrated from github.com)
Review

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'. Raw: https://readthedocs.org/api/v2/build/14080458.txt
g1itch commented 2021-06-23 19:51:55 +02:00 (Migrated from github.com)
Review

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 Did it with these changes: 0bedc5d
:maxdepth: 1
g1itch commented 2021-06-23 19:44:34 +02:00 (Migrated from github.com)
Review

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'. Raw: https://readthedocs.org/api/v2/build/14080458.txt
g1itch commented 2021-06-23 19:51:55 +02:00 (Migrated from github.com)
Review

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 Did it with these changes: 0bedc5d
g1itch commented 2021-06-23 19:44:34 +02:00 (Migrated from github.com)
Review

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'. Raw: https://readthedocs.org/api/v2/build/14080458.txt
g1itch commented 2021-06-23 19:51:55 +02:00 (Migrated from github.com)
Review

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 Did it with these changes: 0bedc5d
Flatpak_Build
g1itch commented 2021-06-23 19:44:34 +02:00 (Migrated from github.com)
Review

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'. Raw: https://readthedocs.org/api/v2/build/14080458.txt
g1itch commented 2021-06-23 19:51:55 +02:00 (Migrated from github.com)
Review

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 Did it with these changes: 0bedc5d
Documentation Documentation
------------- -------------

g1itch commented 2021-06-23 19:44:34 +02:00 (Migrated from github.com)
Review

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'. Raw: https://readthedocs.org/api/v2/build/14080458.txt
g1itch commented 2021-06-23 19:44:34 +02:00 (Migrated from github.com)
Review

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'. Raw: https://readthedocs.org/api/v2/build/14080458.txt
g1itch commented 2021-06-23 19:51:55 +02:00 (Migrated from github.com)
Review

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 Did it with these changes: 0bedc5d
g1itch commented 2021-06-23 19:51:55 +02:00 (Migrated from github.com)
Review

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 Did it with these changes: 0bedc5d

View File

@ -0,0 +1,57 @@
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together
{
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together
"id": "org.bitmessage.BaseApp",
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together
"branch": "stable",
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together
"runtime": "org.freedesktop.Platform",
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together
"sdk": "org.freedesktop.Sdk",
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together
"runtime-version": "19.08",
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together
"separate-locales": false,
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together
"modules": [
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together
"shared-modules/python2.7/python-2.7.json",
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

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",
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together
{
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together
"name": "python-sip",
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together
"sources": [
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together
{
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together
"type": "archive",
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

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",
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together
"sha256": "b39d93e937647807bac23579edbff25fe46d16213f708370072574ab1f1b4211"
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together
}
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together
],
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together
"buildsystem": "simple",
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together
"build-commands": [
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

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",
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together
"make",
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together
"make install"
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together
]
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together
},
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together
{
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together
"name": "python-qt4",
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together
"sources": [
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together
{
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together
"type": "archive",
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

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",
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together
"sha256": "a00f5abef240a7b5852b7924fa5fdf5174569525dc076cd368a566619e56d472"
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together
}
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together
],
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together
"buildsystem": "simple",
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together
"build-commands": [
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together
"python configure.py -w --confirm-license",
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together
"make",
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together
"make install"
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together
]
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together
},
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together
{
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together
"name" : "PyBitmessage-dependencies",
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together
"buildsystem" : "simple",
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together
"build-options": {
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together
"build-args": [
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together
"--share=network"
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together
]
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together
},
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together
"build-commands": [
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together
"pip --version",
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together
"pip install setuptools msgpack six"
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together
]
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together
}
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together
]
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together
}
PeterSurda commented 2021-06-04 01:12:42 +02:00 (Migrated from github.com)
Review

you can put lines 53 and 54 together

you can put lines 53 and 54 together

View 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" : "../../"
}
]
}
]
}