diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flatpak/org.libervia.LiberviaWeb.json	Tue Nov 30 21:42:06 2021 +0100
@@ -0,0 +1,93 @@
+{
+    "app-id": "org.salutatoi.Libervia",
+    "runtime": "org.salutatoi.Platform",
+    "runtime-version": "0.7.0a2",
+    "sdk": "org.salutatoi.Sdk",
+    "command": "libervia",
+    "finish-args": [
+        "--socket=session-bus",
+        "--share=network",
+        "--filesystem=home"
+    ],
+    "modules": [
+        {
+            "name": "python2-txJSON-RPC",
+            "buildsystem": "simple",
+            "build-commands": [
+                "python2 setup.py install --prefix=${FLATPAK_DEST}"
+            ],
+            "sources": [
+                {
+                    "type": "archive",
+                    "url": "https://files.pythonhosted.org/packages/f0/2e/cf58ccd5115a2940fd1e2f734af029ea99a5600932b5e87bb0bbe6e7633d/txJSON-RPC-0.3.1.tar.gz",
+                    "sha256": "98367d4046da9ff2f2a0d8db1cf15b692d0ac1112b699710a1b557d951f0d33a"
+                }
+            ]
+        },
+        {
+            "name": "python2-txaio",
+            "buildsystem": "simple",
+            "build-commands": [
+                "python2 setup.py install --prefix=${FLATPAK_DEST}"
+            ],
+            "sources": [
+                {
+                    "type": "archive",
+                    "url": "https://files.pythonhosted.org/packages/b8/87/efcae4040c2a0af9c871116a6dbf02ee582b396e6de3797fb30cdcc4a7e4/txaio-2.10.0.tar.gz",
+                    "sha256": "4797f9f6a9866fe887c96abc0110a226dd5744c894dc3630870542597ad30853"
+                }
+            ],
+            "ensure-writable": [
+                "/lib/python2.7/site-packages/easy-install.pth"
+            ]
+        },
+        {
+            "name": "python2-autobahn",
+            "buildsystem": "simple",
+            "build-commands": [
+                "python2 setup.py install --prefix=${FLATPAK_DEST}"
+            ],
+            "sources": [
+                {
+                    "type": "archive",
+                    "url": "https://files.pythonhosted.org/packages/e0/a4/ca655f7fc8cc28274f7415a304e73c525b203828c164cea22e60207afea0/autobahn-18.6.1.tar.gz",
+                    "sha256": "2f41bfc512ec482044fa8cfa74182118dedd87e03b3494472d9ff1b5a1e27d24"
+                }
+            ],
+            "ensure-writable": [
+                "/lib/python2.7/site-packages/easy-install.pth"
+            ]
+        },
+        {
+            "name": "libervia",
+            "buildsystem": "simple",
+            "build-commands": [
+                "python2 setup.py install --prefix=${FLATPAK_DEST}",
+                "install -D src/libervia.sh /app/bin/libervia",
+                "cp -va src/browser/public /app/share/libervia/html"
+            ],
+            "sources": [
+                {
+                    "type": "archive",
+                    "url": "https://files.pythonhosted.org/packages/1e/05/0bc2491aef3ee380bf9a81ab41ddfe42e6f91f7be4c026575ac40dd0933d/libervia-0.7.0a2.post1.tar.gz",
+                    "sha256": "43334d52cf6570b40dda20ed182bfa2019fc080cf1d45fa069c29fff07069c55"
+                }
+            ]
+        },
+        {
+            "name": "python2-pyjamas",
+            "buildsystem": "simple",
+            "build-commands": [
+                "python2 bootstrap.py",
+                "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"
+            ],
+            "sources": [
+                {
+                    "type": "archive",
+                    "url": "https://ftp.goffi.org/pyjamas/pyjamas_git.tar.bz2",
+                    "sha256": "2cae6215cbf5d9b94257eac86df31fa85e9bd13a203c332729a95b91ff8c68bd"
+                }
+            ]
+        }
+    ]
+}