From 1d16a26c7ed394c99408c21c3fceb223b1eb9df2 Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Tue, 16 Apr 2019 11:34:29 +0200 Subject: 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 --- debian/patches/build-for-debian8.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 debian/patches/build-for-debian8.patch 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, -- cgit v1.2.3