Compare commits

...

2 commits

Author SHA1 Message Date
faae76fbbd
Moving scripts to their own dedicated directory.
Some checks failed
continuous-integration/drone/push Build is failing
2022-01-26 19:48:46 +01:00
5bad125c44
Preparing v0.1.6 2022-01-26 19:40:19 +01:00
14 changed files with 23 additions and 10 deletions

View file

@ -17,7 +17,7 @@
""" """
from shutil import which from shutil import which
__VERSION__ = "0.1.5" __VERSION__ = "0.1.6"
is_release = False is_release = False

View file

@ -22,16 +22,18 @@ In order to test translations, you can use the `--lang=<lang code>` command line
## Install ## Install
### Generate installers: ### Generate installers:
You can generate installers from AccountFree after installing all the dependencies: All scripts noted here can be found in the `scripts` directory.
You can generate installers from LogarithmPlotter after installing all the dependencies:
For all builds, you need [Python 3](https://python.org) with [PySide2](https://pypi.org/project/PySide2/) installable with `pip install PySide2`. For all builds, you need [Python 3](https://python.org) with [PySide2](https://pypi.org/project/PySide2/) installable with `pip install PySide2`.
- Windows installer: - Windows installer:
- You need `pyinstaller`. You can install it using `pip install pyinstaller`. - You need `pyinstaller`. You can install it using `pip install pyinstaller`.
- Run the `build-windows.bat` script (or `build-wine.sh` if you're cross-compiling with wine on Linux) to build an exe for LogarithmPlotter. - Run the `build-windows.bat` script (or `build-wine.sh` if you're cross-compiling with wine on Linux) to build an exe for LogarithmPlotter.
- You also need [NSIS](https://nsis.sourceforge.io/Main_Page) (Linux users can install the [nsis](https://pkgs.org/download/nsis) package). - You also need [NSIS](https://nsis.sourceforge.io/Main_Page) (Linux users can install the [nsis](https://pkgs.org/download/nsis) package).
- Run the `package-windows.bat` script (or `package.wine.sh`if you're cross-compiling on Linux). You will find a logarithmplotter-setup.exe installer in the dist/accountfree/ folder. - Run the `package-windows.bat` script (or `package-wine.sh`if you're cross-compiling on Linux). You will find a logarithmplotter-setup.exe installer in the dist/accountfree/ folder.
- MacOS Archive creator installer: - MacOS Archive creator installer:
- You need `pyinstaller`. You can install it using `pip install pyinstaller`. - You need `pyinstaller`. You can install it using `pip install pyinstaller`.
- Run the `build-macosx.sh` script to build an .app for AccountFree which can be found in the dist directory. - Run the `build-macosx.sh` script to build an .app for LogarithmPlotter which can be found in the dist directory.
- Run the `package-macosx.sh` script. You will find a LogarithmPlotter-v0.1-dev-setup.dmg installer in the dist/ folder. - Run the `package-macosx.sh` script. You will find a LogarithmPlotter-v0.1-dev-setup.dmg installer in the dist/ folder.
- Linux packages: - Linux packages:
- To build a DEB, you need DPKG and stdeb. You can install the later by using `pip install stdeb`. - To build a DEB, you need DPKG and stdeb. You can install the later by using `pip install stdeb`.

View file

@ -1,6 +1,6 @@
Package: logarithmplotter Package: logarithmplotter
Source: logarithmplotter Source: logarithmplotter
Version: 0.1.5 Version: 0.1.6
Architecture: all Architecture: all
Maintainer: Ad5001 <mail@ad5001.eu> Maintainer: Ad5001 <mail@ad5001.eu>
Depends: python3, python3-pip, qml-module-qtquick-controls2 (>= 5.12.0), qml-module-qtmultimedia (>= 5.12.0), qml-module-qtgraphicaleffects (>= 5.12.0), qml-module-qtquick2 (>= 5.12.0), qml-module-qtqml-models2 (>= 5.12.0), qml-module-qtquick-controls (>= 5.12.0), python3-pyside2.qtcore (>= 5.12.0), python3-pyside2.qtqml (>= 5.12.0), python3-pyside2.qtgui (>= 5.12.0), python3-pyside2.qtquick (>= 5.12.0), python3-pyside2.qtwidgets (>= 5.12.0), python3-pyside2.qtmultimedia (>= 5.12.0), python3-pyside2.qtnetwork (>= 5.12.0) Depends: python3, python3-pip, qml-module-qtquick-controls2 (>= 5.12.0), qml-module-qtmultimedia (>= 5.12.0), qml-module-qtgraphicaleffects (>= 5.12.0), qml-module-qtquick2 (>= 5.12.0), qml-module-qtqml-models2 (>= 5.12.0), qml-module-qtquick-controls (>= 5.12.0), python3-pyside2.qtcore (>= 5.12.0), python3-pyside2.qtqml (>= 5.12.0), python3-pyside2.qtgui (>= 5.12.0), python3-pyside2.qtquick (>= 5.12.0), python3-pyside2.qtwidgets (>= 5.12.0), python3-pyside2.qtmultimedia (>= 5.12.0), python3-pyside2.qtnetwork (>= 5.12.0)

View file

@ -100,7 +100,8 @@
<display_length compare="gt">xsmall</display_length> <display_length compare="gt">xsmall</display_length>
</requires> </requires>
<releases> <release version="0.1.5" date="2022-01-26"> <releases>
<release version="0.1.5" date="2022-01-26">
<p>Changes for v0.1.5:</p> <p>Changes for v0.1.5:</p>
<ul> <ul>
<li>New: LogarithmPlotter has now better handling of very high values in logarithmic scale.</li> <li>New: LogarithmPlotter has now better handling of very high values in logarithmic scale.</li>

View file

@ -1,4 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
cd "$(dirname "$(readlink -f "$0" || realpath "$0")")/.."
rm $(find . -name "*.qmlc") rm $(find . -name "*.qmlc")
rm $(find . -name "*.pyc") rm $(find . -name "*.pyc")
python3 -m pip install -U pyinstaller python3 -m pip install -U pyinstaller

View file

@ -1,4 +1,6 @@
#!/bin/bash #!/bin/bash
cd "$(dirname "$(readlink -f "$0" || realpath "$0")")/.."
# Giving pyinstaller another run # Giving pyinstaller another run
rm $(find . -name "*.qmlc") rm $(find . -name "*.qmlc")
rm -rf $(find . -name "*.pyc") rm -rf $(find . -name "*.pyc")

View file

@ -1,4 +1,5 @@
#!/bin/bash #!/bin/bash
cd "$(dirname "$(readlink -f "$0" || realpath "$0")")/.."
# Building translations # Building translations
cd "LogarithmPlotter/i18n/" cd "LogarithmPlotter/i18n/"

View file

@ -1,5 +1,7 @@
#!/bin/bash #!/usr/bin/env bash
VERSION=0.1.5 cd "$(dirname "$(readlink -f "$0" || realpath "$0")")/.."
VERSION=0.1.6
title="LogarithmPlotter v${VERSION} Setup" title="LogarithmPlotter v${VERSION} Setup"
finalDMGName="LogarithmPlotter-v${VERSION}-setup.dmg" finalDMGName="LogarithmPlotter-v${VERSION}-setup.dmg"
applicationName=LogarithmPlotter applicationName=LogarithmPlotter

View file

@ -1,4 +1,6 @@
#!/bin/bash #!/bin/bash
cd "$(dirname "$(readlink -f "$0" || realpath "$0")")/.."
# Moving files # Moving files
cp win/* README.md LICENSE.md dist/logarithmplotter/ cp win/* README.md LICENSE.md dist/logarithmplotter/
# Creating installer # Creating installer

View file

@ -1,6 +1,6 @@
name: logarithmplotter name: logarithmplotter
title: LogarithmPlotter title: LogarithmPlotter
version: '0.1.5' version: '0.1.6'
summary: 2D plotter software to make Bode plots, sequences and repartition functions. summary: 2D plotter software to make Bode plots, sequences and repartition functions.
description: | description: |
LogarithmPlotter is, as it's name suggests, a plotter made with logarithm scales in mind. With an object system similar to [Geogebra](https://geogebra.org)'s, it allows dynamic creation of plots with very few limitations. LogarithmPlotter is, as it's name suggests, a plotter made with logarithm scales in mind. With an object system similar to [Geogebra](https://geogebra.org)'s, it allows dynamic creation of plots with very few limitations.

View file

@ -11,7 +11,7 @@ Unicode True
!define PROG_ID "LogarithmPlotter.File.1" !define PROG_ID "LogarithmPlotter.File.1"
!define DEV_NAME "Ad5001" !define DEV_NAME "Ad5001"
!define WEBSITE "https://apps.ad5001.eu/logarithmplotter" !define WEBSITE "https://apps.ad5001.eu/logarithmplotter"
!define VERSION_SHORT "0.1.5" !define VERSION_SHORT "0.1.6"
!define APP_VERSION "${VERSION_SHORT}.0" !define APP_VERSION "${VERSION_SHORT}.0"
!define COPYRIGHT "Ad5001 (c) 2022" !define COPYRIGHT "Ad5001 (c) 2022"
!define DESCRIPTION "Create graphs with logarithm scales." !define DESCRIPTION "Create graphs with logarithm scales."