aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2019-04-16 11:34:29 +0200
committerHarald Welte <laforge@gnumonks.org>2019-05-08 11:52:26 +0000
commit1d16a26c7ed394c99408c21c3fceb223b1eb9df2 (patch)
tree7e8c60f5971a5fa2c7fd2e594d01ea9ba9cdfc32
parent37a7ce7f1dc538a744d169b92746f0e2b21e94c6 (diff)
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
-rw-r--r--debian/patches/build-for-debian8.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/patches/build-for-debian8.patch b/debian/patches/build-for-debian8.patch
new file mode 100644
index 0000000..58f49c3
--- /dev/null
+++ b/debian/patches/build-for-debian8.patch
@@ -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,