blob: cf93b134731d2e0994f4d2049595223f29dfe0cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
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
|