Mercurial > sat_docs
comparison 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 |
comparison
equal
deleted
inserted
replaced
170:e38a968cb873 | 171:a213053a03be |
---|---|
1 { | |
2 "app-id": "org.salutatoi.Libervia", | |
3 "runtime": "org.salutatoi.Platform", | |
4 "runtime-version": "0.7.0a2", | |
5 "sdk": "org.salutatoi.Sdk", | |
6 "command": "libervia", | |
7 "finish-args": [ | |
8 "--socket=session-bus", | |
9 "--share=network", | |
10 "--filesystem=home" | |
11 ], | |
12 "modules": [ | |
13 { | |
14 "name": "python2-txJSON-RPC", | |
15 "buildsystem": "simple", | |
16 "build-commands": [ | |
17 "python2 setup.py install --prefix=${FLATPAK_DEST}" | |
18 ], | |
19 "sources": [ | |
20 { | |
21 "type": "archive", | |
22 "url": "https://files.pythonhosted.org/packages/f0/2e/cf58ccd5115a2940fd1e2f734af029ea99a5600932b5e87bb0bbe6e7633d/txJSON-RPC-0.3.1.tar.gz", | |
23 "sha256": "98367d4046da9ff2f2a0d8db1cf15b692d0ac1112b699710a1b557d951f0d33a" | |
24 } | |
25 ] | |
26 }, | |
27 { | |
28 "name": "python2-txaio", | |
29 "buildsystem": "simple", | |
30 "build-commands": [ | |
31 "python2 setup.py install --prefix=${FLATPAK_DEST}" | |
32 ], | |
33 "sources": [ | |
34 { | |
35 "type": "archive", | |
36 "url": "https://files.pythonhosted.org/packages/b8/87/efcae4040c2a0af9c871116a6dbf02ee582b396e6de3797fb30cdcc4a7e4/txaio-2.10.0.tar.gz", | |
37 "sha256": "4797f9f6a9866fe887c96abc0110a226dd5744c894dc3630870542597ad30853" | |
38 } | |
39 ], | |
40 "ensure-writable": [ | |
41 "/lib/python2.7/site-packages/easy-install.pth" | |
42 ] | |
43 }, | |
44 { | |
45 "name": "python2-autobahn", | |
46 "buildsystem": "simple", | |
47 "build-commands": [ | |
48 "python2 setup.py install --prefix=${FLATPAK_DEST}" | |
49 ], | |
50 "sources": [ | |
51 { | |
52 "type": "archive", | |
53 "url": "https://files.pythonhosted.org/packages/e0/a4/ca655f7fc8cc28274f7415a304e73c525b203828c164cea22e60207afea0/autobahn-18.6.1.tar.gz", | |
54 "sha256": "2f41bfc512ec482044fa8cfa74182118dedd87e03b3494472d9ff1b5a1e27d24" | |
55 } | |
56 ], | |
57 "ensure-writable": [ | |
58 "/lib/python2.7/site-packages/easy-install.pth" | |
59 ] | |
60 }, | |
61 { | |
62 "name": "libervia", | |
63 "buildsystem": "simple", | |
64 "build-commands": [ | |
65 "python2 setup.py install --prefix=${FLATPAK_DEST}", | |
66 "install -D src/libervia.sh /app/bin/libervia", | |
67 "cp -va src/browser/public /app/share/libervia/html" | |
68 ], | |
69 "sources": [ | |
70 { | |
71 "type": "archive", | |
72 "url": "https://files.pythonhosted.org/packages/1e/05/0bc2491aef3ee380bf9a81ab41ddfe42e6f91f7be4c026575ac40dd0933d/libervia-0.7.0a2.post1.tar.gz", | |
73 "sha256": "43334d52cf6570b40dda20ed182bfa2019fc080cf1d45fa069c29fff07069c55" | |
74 } | |
75 ] | |
76 }, | |
77 { | |
78 "name": "python2-pyjamas", | |
79 "buildsystem": "simple", | |
80 "build-commands": [ | |
81 "python2 bootstrap.py", | |
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" | |
83 ], | |
84 "sources": [ | |
85 { | |
86 "type": "archive", | |
87 "url": "https://ftp.goffi.org/pyjamas/pyjamas_git.tar.bz2", | |
88 "sha256": "2cae6215cbf5d9b94257eac86df31fa85e9bd13a203c332729a95b91ff8c68bd" | |
89 } | |
90 ] | |
91 } | |
92 ] | |
93 } |