mirror of
https://gitlab.com/square-game-liberation-front/F.E.I.S.git
synced 2025-02-28 15:30:32 +01:00
Fix debian packaging + Update docs
This commit is contained in:
parent
11e3aa0b09
commit
03956399ec
@ -11,8 +11,8 @@
|
|||||||
|
|
||||||
### Windows (MSYS2)
|
### Windows (MSYS2)
|
||||||
|
|
||||||
1. Pull the latest version of the code
|
1. Pull the release tag
|
||||||
1. Follow the [compilation instructions](docs/Compiling.md)
|
1. Follow the [compilation instructions](Compiling.md)
|
||||||
1. Open an MSYS2 x64 terminal
|
1. Open an MSYS2 x64 terminal
|
||||||
1. `cd` into FEIS's source code root
|
1. `cd` into FEIS's source code root
|
||||||
1. Use the release making script
|
1. Use the release making script
|
||||||
@ -20,15 +20,36 @@
|
|||||||
For a regular semver release
|
For a regular semver release
|
||||||
|
|
||||||
```console
|
```console
|
||||||
python utils/make_windows_release.py --release-version 2.x.x
|
$ python utils/make_windows.release.py --release-version 2.x.x
|
||||||
```
|
```
|
||||||
|
|
||||||
For preview builds
|
For preview builds
|
||||||
|
|
||||||
```console
|
```console
|
||||||
python utils/make_windows.release.py --release-version 2.x.x-alpha --timestamp
|
$ python utils/make_windows.release.py --release-version 2.x.x-alpha --timestamp
|
||||||
```
|
```
|
||||||
1. Distribute the generated `.zip` file
|
1. Distribute the generated `.zip` file
|
||||||
|
|
||||||
### Debian
|
### Debian
|
||||||
|
|
||||||
|
1. Pull the release tag
|
||||||
|
1. Follow the [compilation instructions](Compiling.md)
|
||||||
|
1. `cd` into the `packaging/debian` folder
|
||||||
|
1. Run `./build_deb.sh` :
|
||||||
|
|
||||||
|
```console
|
||||||
|
$ ./build_deb.sh (executable) (assets) (icon)
|
||||||
|
```
|
||||||
|
|
||||||
|
`executable`: Path to the FEIS executable you just build, probably named 'FEIS'
|
||||||
|
|
||||||
|
`assets`: Path to the assets folder to ship with this release
|
||||||
|
|
||||||
|
`icon`: Path to the app icon
|
||||||
|
|
||||||
|
a typical, fully specified command looks like this :
|
||||||
|
|
||||||
|
```console
|
||||||
|
$ ./build_deb.sh ../../build_release/FEIS ../../assets/ ../../images/feis\ icon.svg
|
||||||
|
```
|
||||||
|
1. Distribute the generated `.deb` file, found in the `packaging/debian/package` folder
|
@ -33,7 +33,7 @@ Install dependencies
|
|||||||
sudo apt install libsfml-dev libopenal-dev libgmp-dev libaubio-dev libfftw3-dev
|
sudo apt install libsfml-dev libopenal-dev libgmp-dev libaubio-dev libfftw3-dev
|
||||||
```
|
```
|
||||||
|
|
||||||
Then checkout [this page](docs/Compiling.md) for instructions on how to compile
|
Then checkout [this page](Compiling.md) for instructions on how to compile
|
||||||
|
|
||||||
### I also want to contribute some code
|
### I also want to contribute some code
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ PACKAGE_DIR="${SCRIPT_DIR}/package"
|
|||||||
|
|
||||||
rm -rf "${PACKAGE_DIR}"
|
rm -rf "${PACKAGE_DIR}"
|
||||||
mkdir -p "${PACKAGE_DIR}"
|
mkdir -p "${PACKAGE_DIR}"
|
||||||
cp "${SCRIPT_DIR}/f.e.i.s-control" "${SCRIPT_DIR}../common/f.e.i.s.desktop" "${SCRIPT_DIR}/postinst" "${SCRIPT_DIR}/postrm" "${PACKAGE_DIR}"
|
cp "${SCRIPT_DIR}/f.e.i.s-control" "${SCRIPT_DIR}/../common/f.e.i.s.desktop" "${SCRIPT_DIR}/postinst" "${SCRIPT_DIR}/postrm" "${PACKAGE_DIR}"
|
||||||
cp "${EXECUTABLE}" "${PACKAGE_DIR}/f.e.i.s"
|
cp "${EXECUTABLE}" "${PACKAGE_DIR}/f.e.i.s"
|
||||||
cp "${ICON}" "${PACKAGE_DIR}/f.e.i.s.svg"
|
cp "${ICON}" "${PACKAGE_DIR}/f.e.i.s.svg"
|
||||||
tar --create --gzip --owner root --group root --mode="u=rwX,g=rwX,o=rX" --file "${PACKAGE_DIR}/assets.tar.gz" "${ASSETS}"
|
tar --create --gzip --owner root --group root --mode="u=rwX,g=rwX,o=rX" --file "${PACKAGE_DIR}/assets.tar.gz" "${ASSETS}"
|
||||||
|
@ -11,7 +11,7 @@ Description: jubeat chart editor
|
|||||||
F.E.I.S is a GUI chart editor for jubeat and its simulators, inspired by ArrowVortex
|
F.E.I.S is a GUI chart editor for jubeat and its simulators, inspired by ArrowVortex
|
||||||
Files: f.e.i.s /usr/bin
|
Files: f.e.i.s /usr/bin
|
||||||
assets.tar.gz /tmp/f.e.i.s
|
assets.tar.gz /tmp/f.e.i.s
|
||||||
../common/f.e.i.s.desktop /usr/share/applications
|
f.e.i.s.desktop /usr/share/applications
|
||||||
f.e.i.s.svg /usr/share/icons/hicolor/scalable/apps
|
f.e.i.s.svg /usr/share/icons/hicolor/scalable/apps
|
||||||
Postinst: postinst
|
Postinst: postinst
|
||||||
Postrm: postrm
|
Postrm: postrm
|
Loading…
x
Reference in New Issue
Block a user