Skip to content

Commit 67c74a4

Browse files
authored
added important notes when building debian archives
1 parent 555404f commit 67c74a4

1 file changed

Lines changed: 25 additions & 4 deletions

File tree

docs/NewPopplerRelease.md

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ To do this you can follow the instructions contained in the
9494

9595
Once you have an AWS EC2 instance running and configured with one of the
9696
[ec2-install-pdf2html-develop-XXX.yml](../building/ec2-install-pdf2html-develop-stg.yml)
97-
Ansible playbooks, log into your server via ssh and then type:
97+
ansible playbooks, log into your server via ssh and then type:
9898

9999
./dobuildPoppler
100100
./doinstallPoppler
@@ -166,15 +166,36 @@ on the pdf2htmlEX/phd2htmlEX repository to get your code into the master
166166
repository.
167167

168168
Once your changes have been accepted, you need to build a Debian package.
169-
To do this you need to create an new fresh clean AWS EC2 machine with the
169+
170+
**Before you begin** you *must* update the pdf2htmlEX version number in the
171+
[CMakeLists.txt](https://github.com/pdf2htmlEX/pdf2htmlEX/blob/master/CMakeLists.txt)
172+
file in the master pdf2htmlEX repository. You need to update line 13:
173+
174+
set(PDF2HTMLEX_VERSION "0.18.0")
175+
176+
At the moment we are essentially using a [Semantic Versioning](https://semver.org/) system:
177+
* We are using the *Major* versions for substantial changes to pdf2htmlEX.
178+
* We are using the *Minor* versions to reflect changes in the underlying
179+
Ubuntu/Debian releases.
180+
* We are using the *Patch* versions to reflect changes in the poppler releases
181+
which might have happened *between* Ubuntu/Debian releases.
182+
183+
**Before you begin** you *must* also update the name of the ubuntu release in the
184+
[build_dists.py](https://github.com/pdf2htmlEX/buildAndPackagingTools/blob/master/packaging/build_dists.py)
185+
file in the pdf2htmlEX-buildAndPackagingTools repository. You need to update line 22:
186+
187+
supported_distributions=('disco',)
188+
189+
Once you have updated these two version variables, you will then need
190+
to create an new fresh clean AWS EC2 machine with the
170191
source code from the *master* pdf2htmlEX repository.
171192

172193
To do this you can follow the instructions contained in the
173194
[building/Readme](../building/Readme.md).
174195

175196
Once you have an AWS EC2 instance running and configured with one of the
176197
[ec2-install-pdf2html-master.yml](../building/ec2-install-pdf2html-master.yml)
177-
Ansible playbooks, log into your server via ssh and then type:
198+
ansible playbook, log into your server via ssh and then type:
178199

179200
./dobuildPoppler
180201
./doinstallPoppler
@@ -202,7 +223,7 @@ To do this you can follow the instructions contained in the
202223

203224
Once you have an AWS EC2 instance running and configured with one of the
204225
[ec2-install-pdf2html-testDeb.yml](../building/ec2-install-pdf2html-testDeb.yml)
205-
Ansible playbooks, log into your server once via ssh and then in a new terminal
226+
ansible playbook, log into your server once via ssh and then in a new terminal
206227
on your local machine type:
207228

208229
pushDeb0 <<path to your debian package>>

0 commit comments

Comments
 (0)