annotate flatpak/org.libervia.LiberviaWeb.json @ 171:a213053a03be

flatpak: update files following names change + Python 3 update: - `build_manifest.py` has been fixed to work with recent SàT/Libervia - filenames/scripts have been udpated to reflect project name change - installation now uses `requirements.txt` when dev version is requested - there are now 3 types of commands wrapper: * `libervia_wrapper.py` uses `pb` bridge, starts backend before frontend, and stops it when frontend is stopped. It's used by `Libervia Desktop` (Cagou) * `libervia_wrapper-dbus.py` uses `dbus` bridge, starts backend before frontend, and stops it when frontend is stopped. It's used for `Libervia TUI` (Primitivus) * `libervia_wrapper-dbus.py` uses `dbus` bridge, starts backend if necessary and doesn't stop it (to avoid waiting for backend start next time). It's used by `Libervia CLI` (jp).
author Goffi <goffi@goffi.org>
date Tue, 30 Nov 2021 21:42:06 +0100
parents flatpak/org.salutatoi.Libervia.json@7272eafd0fad
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
132
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
1 {
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
2 "app-id": "org.salutatoi.Libervia",
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
3 "runtime": "org.salutatoi.Platform",
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
4 "runtime-version": "0.7.0a2",
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
5 "sdk": "org.salutatoi.Sdk",
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
6 "command": "libervia",
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
7 "finish-args": [
135
7272eafd0fad Backed out changeset 4549cf265131
Goffi <goffi@goffi.org>
parents: 134
diff changeset
8 "--socket=session-bus",
134
4549cf265131 flatpak: install D-Bus .service on each frontend:
Goffi <goffi@goffi.org>
parents: 132
diff changeset
9 "--share=network",
135
7272eafd0fad Backed out changeset 4549cf265131
Goffi <goffi@goffi.org>
parents: 134
diff changeset
10 "--filesystem=home"
132
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
11 ],
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
12 "modules": [
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
13 {
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
14 "name": "python2-txJSON-RPC",
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
15 "buildsystem": "simple",
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
16 "build-commands": [
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
17 "python2 setup.py install --prefix=${FLATPAK_DEST}"
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
18 ],
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
19 "sources": [
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
20 {
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
21 "type": "archive",
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
22 "url": "https://files.pythonhosted.org/packages/f0/2e/cf58ccd5115a2940fd1e2f734af029ea99a5600932b5e87bb0bbe6e7633d/txJSON-RPC-0.3.1.tar.gz",
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
23 "sha256": "98367d4046da9ff2f2a0d8db1cf15b692d0ac1112b699710a1b557d951f0d33a"
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
24 }
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
25 ]
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
26 },
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
27 {
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
28 "name": "python2-txaio",
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
29 "buildsystem": "simple",
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
30 "build-commands": [
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
31 "python2 setup.py install --prefix=${FLATPAK_DEST}"
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
32 ],
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
33 "sources": [
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
34 {
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
35 "type": "archive",
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
36 "url": "https://files.pythonhosted.org/packages/b8/87/efcae4040c2a0af9c871116a6dbf02ee582b396e6de3797fb30cdcc4a7e4/txaio-2.10.0.tar.gz",
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
37 "sha256": "4797f9f6a9866fe887c96abc0110a226dd5744c894dc3630870542597ad30853"
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
38 }
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
39 ],
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
40 "ensure-writable": [
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
41 "/lib/python2.7/site-packages/easy-install.pth"
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
42 ]
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
43 },
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
44 {
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
45 "name": "python2-autobahn",
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
46 "buildsystem": "simple",
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
47 "build-commands": [
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
48 "python2 setup.py install --prefix=${FLATPAK_DEST}"
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
49 ],
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
50 "sources": [
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
51 {
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
52 "type": "archive",
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
53 "url": "https://files.pythonhosted.org/packages/e0/a4/ca655f7fc8cc28274f7415a304e73c525b203828c164cea22e60207afea0/autobahn-18.6.1.tar.gz",
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
54 "sha256": "2f41bfc512ec482044fa8cfa74182118dedd87e03b3494472d9ff1b5a1e27d24"
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
55 }
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
56 ],
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
57 "ensure-writable": [
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
58 "/lib/python2.7/site-packages/easy-install.pth"
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
59 ]
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
60 },
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
61 {
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
62 "name": "libervia",
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
63 "buildsystem": "simple",
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
64 "build-commands": [
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
65 "python2 setup.py install --prefix=${FLATPAK_DEST}",
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
66 "install -D src/libervia.sh /app/bin/libervia",
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
67 "cp -va src/browser/public /app/share/libervia/html"
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
68 ],
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
69 "sources": [
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
70 {
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
71 "type": "archive",
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
72 "url": "https://files.pythonhosted.org/packages/1e/05/0bc2491aef3ee380bf9a81ab41ddfe42e6f91f7be4c026575ac40dd0933d/libervia-0.7.0a2.post1.tar.gz",
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
73 "sha256": "43334d52cf6570b40dda20ed182bfa2019fc080cf1d45fa069c29fff07069c55"
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
74 }
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
75 ]
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
76 },
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
77 {
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
78 "name": "python2-pyjamas",
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
79 "buildsystem": "simple",
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
80 "build-commands": [
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
81 "python2 bootstrap.py",
135
7272eafd0fad Backed out changeset 4549cf265131
Goffi <goffi@goffi.org>
parents: 134
diff changeset
82 "cd /app/lib/python2.7/site-packages/libervia/browser && /run/build/python2-pyjamas/bin/pyjsbuild libervia_main.py --no-compile-inplace -o /app/share/libervia/html"
132
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
83 ],
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
84 "sources": [
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
85 {
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
86 "type": "archive",
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
87 "url": "https://ftp.goffi.org/pyjamas/pyjamas_git.tar.bz2",
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
88 "sha256": "2cae6215cbf5d9b94257eac86df31fa85e9bd13a203c332729a95b91ff8c68bd"
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
89 }
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
90 ]
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
91 }
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
92 ]
d7761eb3f20b flatpak: Flatpak manifests for backend and active frontends, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
93 }