README, mirage.pro: more style improvements
This commit is contained in:
parent
8b5e39f994
commit
203116ee3d
@ -107,5 +107,6 @@ for(file, $$list($$glob_filenames(*.py))) {
|
|||||||
QMAKE_CLEAN *= $$MOC_DIR $$OBJECTS_DIR $$RCC_DIR $$PYCACHE_DIRS $$QRC_FILE
|
QMAKE_CLEAN *= $$MOC_DIR $$OBJECTS_DIR $$RCC_DIR $$PYCACHE_DIRS $$QRC_FILE
|
||||||
QMAKE_CLEAN *= $$BUILD_DIR $$TARGET Makefile mirage.pro.user .qmake.stash
|
QMAKE_CLEAN *= $$BUILD_DIR $$TARGET Makefile mirage.pro.user .qmake.stash
|
||||||
QMAKE_CLEAN *= $$glob_filenames(*.pyc, *.qmlc, *.jsc, *.egg-info)
|
QMAKE_CLEAN *= $$glob_filenames(*.pyc, *.qmlc, *.jsc, *.egg-info)
|
||||||
QMAKE_CLEAN *= packaging/flatpak/flatpak-env packaging/flatpak/requirements.txt packaging/flatpak/flatpak-requirements.txt
|
QMAKE_CLEAN *= packaging/flatpak/flatpak-env packaging/flatpak/requirements.txt
|
||||||
|
QMAKE_CLEAN *= packaging/flatpak/flatpak-requirements.txt
|
||||||
QMAKE_CLEAN *= packaging/flatpak/flatpak-pip.json .flatpak-builder
|
QMAKE_CLEAN *= packaging/flatpak/flatpak-pip.json .flatpak-builder
|
||||||
|
@ -21,12 +21,12 @@ flatpak-builder --repo=build/flatpak/repo --force-clean build/flatpak/build pack
|
|||||||
To create bundle, run
|
To create bundle, run
|
||||||
|
|
||||||
```
|
```
|
||||||
flatpak build-bundle build/flatpak/repo mirage.flatpak io.github.mirukana.mirage
|
flatpak build-bundle build/flatpak/repo build/mirage.flatpak io.github.mirukana.mirage
|
||||||
```
|
```
|
||||||
|
|
||||||
Then you can install it with
|
Then you can install it with
|
||||||
```
|
```
|
||||||
flatpak install --user mirage.flatpak
|
flatpak install --user build/mirage.flatpak
|
||||||
```
|
```
|
||||||
|
|
||||||
To run, either use your desktop environment or command line:
|
To run, either use your desktop environment or command line:
|
||||||
@ -37,31 +37,25 @@ flatpak run io.github.mirukana.mirage
|
|||||||
|
|
||||||
## Manifest
|
## Manifest
|
||||||
|
|
||||||
Manifest can be created using the included scripts, as described
|
The manifest can be created using the included scripts, as described
|
||||||
below. Please note it is intended to be done by the maintainers
|
below. Please note it is intended to be done by the maintainers
|
||||||
only. In particular, there could be some unexpected issues exposed by
|
only. In particular, there could be some unexpected issues exposed by
|
||||||
updates in Python modules that have to be resolved.
|
updates in Python modules that have to be resolved.
|
||||||
|
|
||||||
Manifest has to be updated by maintainers when the dependencies of
|
The manifest has to be updated by maintainers when the dependencies of
|
||||||
Mirage change, some updates in used Python modules are desired.
|
Mirage change, or some updates in used Python modules are desired.
|
||||||
|
|
||||||
Flatpak packaging manifest is generated by running
|
The Flatpak packaging manifest is generated by running
|
||||||
[generate-flatpak-script.sh](generate-flatpak-script.sh). This script
|
[generate-flatpak-script.sh](generate-flatpak-script.sh), which
|
||||||
requires `libolm` to be installed on the development PC as it will
|
uses [mirage.flatpak.base.yaml](mirage.flatpak.base.yaml) and replaces the
|
||||||
create Python virtual environment and install all the requirements in
|
marked placeholder with Python dependencies.
|
||||||
it.
|
|
||||||
|
|
||||||
Note that the requirements are taken from
|
This script requires `libolm` to be installed on the development PC, as it
|
||||||
[requirements.flatpak.txt](requirements.flatpak.txt) and the ones
|
will create Python virtual environment and install all the requirements in it.
|
||||||
specified in the project' root
|
|
||||||
[requirements.txt](../../requirements.txt).
|
Note that the Python dependencies are taken from
|
||||||
|
[requirements.flatpak.txt](requirements.flatpak.txt) and the
|
||||||
|
project root's [requirements.txt](../../requirements.txt).
|
||||||
|
|
||||||
In addition, the list of ignored packages is in
|
In addition, the list of ignored packages is in
|
||||||
[generate-flatpak-script.sh](generate-flatpak-script.sh).
|
[generate-flatpak-script.sh](generate-flatpak-script.sh).
|
||||||
|
|
||||||
Flatpak manifest is created automatically by
|
|
||||||
[generate-flatpak-script.sh](generate-flatpak-script.sh) using
|
|
||||||
[mirage.flatpak.base.yaml](mirage.flatpak.base.yaml) and replacing the
|
|
||||||
marked placeholder with Python module dependencies.
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user