summaryrefslogtreecommitdiff
path: root/packaging/packaging.txt
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/packaging.txt')
-rw-r--r--packaging/packaging.txt66
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
+
+