From d24f813f3f2a05c112e803e4256b53535895fc98 Mon Sep 17 00:00:00 2001 From: Jedidiah Barber Date: Wed, 14 Jul 2021 11:49:10 +1200 Subject: Initial mirror commit --- packaging/packaging.txt | 66 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 packaging/packaging.txt (limited to 'packaging/packaging.txt') 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 + + -- cgit