debian: add patch for debian 8

Add a patch file that removes the asciidoc-dblatex dependency in
debian/control, so the package builds for debian 8. In debian 8, the
files are all in the asciidoc package, which does get installed.

The jenkins scripts will copy the source package, apply the patch, and
upload it separately to OBS [1]. A similar debian 8 patch exists for
osmo-trx.

I have also tried to do it without a patch, by changing the OBS
configuration. It is possible to bypass the dependency check from OBS
and get the build started, but there's an additional check by
dpkg-checkbuilddepends and this one does not pass. So we really need
the patch method.

[1]: Change-Id I3570599ede51b974d350064f44f77e360fafd8b0 (osmo-ci)

Related: OS#3899
Change-Id: I5b9575ceb1141961e570643a5755a2bd6b6a4254
This commit is contained in:
Oliver Smith 2019-04-16 11:34:29 +02:00 committed by Harald Welte
parent 37a7ce7f1d
commit 1d16a26c7e
1 changed files with 18 additions and 0 deletions

18
debian/patches/build-for-debian8.patch vendored Normal file
View File

@ -0,0 +1,18 @@
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,6 @@ Build-Depends: autotools-dev,
pkg-config,
# All below also need to be in Depends
asciidoc,
- asciidoc-dblatex,
dblatex,
docbook5-xml,
graphviz,
@@ -23,7 +22,6 @@ Package: osmo-gsm-manuals-dev
Architecture: all
Depends: ${misc:Depends},
asciidoc,
- asciidoc-dblatex,
dblatex,
docbook5-xml,
graphviz,