diff options
author | Jedidiah Barber <contact@jedbarber.id.au> | 2021-07-14 11:49:10 +1200 |
---|---|---|
committer | Jedidiah Barber <contact@jedbarber.id.au> | 2021-07-14 11:49:10 +1200 |
commit | d24f813f3f2a05c112e803e4256b53535895fc98 (patch) | |
tree | 601e6ae9a1cd44bcfdcf91739a5ca36aedd827c9 /packaging/packaging.txt |
Diffstat (limited to 'packaging/packaging.txt')
-rw-r--r-- | packaging/packaging.txt | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/packaging/packaging.txt b/packaging/packaging.txt new file mode 100644 index 0000000..cf93b13 --- /dev/null +++ b/packaging/packaging.txt @@ -0,0 +1,66 @@ +Set Versions: + - version.txt - For qmake and Windows installer + - src/version.h - Only dictionary and study file versions + +What the scripts do: + - Generate translations: lrelease + +Prepare packages: + - Ubuntu 64-bit + - Windows + - Source archive + +Windows +============= +Required installs: +- (Sphinx-doc) +- NSIS Unicode + https://code.google.com/p/unsis/downloads/list +- Set QTDIR=C:\Qt\5.2.1 + +Compile: + qmake + make release + +Make installer: + Click make-wininstaller.bat + + +Ubuntu Linux +============== + +Required installs: + qt5-default + qtbase5-dev + qttools5-dev-tools + qttranslations5-l10n + g++ + python-sphinx + git + +Compile: + qmake + make + +./packaging/make-deb.sh + +What script does: + * All file structure are created + * Changelog is zipped + * Architecture and Installed-Size are set in debian control + * Version is set in freshmemory.desktop + * Checks with lintian + +Clean: +./packaging/clean-deb.sh + +http://www.linuxfordevices.com/c/a/Linux-For-Devices-Articles/How-to-make-deb-packages/ + + +Source archive +===================== + +From the repository root: + packaging/create-source-archive.sh + + |