Change in osmo-iuh[for-1.0]: debian: Actually build manuals; add osmo-hnbgw-doc package

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Thu Jan 7 11:15:13 UTC 2021


laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-iuh/+/22010 )


Change subject: debian: Actually build manuals; add osmo-hnbgw-doc package
......................................................................

debian: Actually build manuals; add osmo-hnbgw-doc package

for some strange reason we didn't yet build the manual in the debian
package build.

Change-Id: Id53956494144b46e78fc25a176a9b8917788d86e
---
M TODO-RELEASE
M debian/control
M debian/rules
3 files changed, 16 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-iuh refs/changes/10/22010/1

diff --git a/TODO-RELEASE b/TODO-RELEASE
index dde4b72..d0852fc 100644
--- a/TODO-RELEASE
+++ b/TODO-RELEASE
@@ -7,4 +7,3 @@
 # If any interfaces have been added since the last public release: c:r:a + 1.
 # If any interfaces have been removed or changed since the last public release: c:r:0.
 #library	what		description / commit summary line
-manual				needs common chapter cs7-config.adoc from osmo-gsm-manuals > 0.3.0
diff --git a/debian/control b/debian/control
index 416b9d7..d1805de 100644
--- a/debian/control
+++ b/debian/control
@@ -14,6 +14,7 @@
                libosmocore-dev (>= 0.12.0),
                libosmo-netif-dev (>= 0.3.0),
                libosmo-sigtran-dev (>= 0.10.0),
+               osmo-gsm-manuals-dev (>= 1.0.0),
                python3
 Standards-Version: 3.9.8
 Vcs-Git: git://git.osmocom.org/osmo-iuh.git
@@ -36,6 +37,14 @@
 Depends: osmo-hnbgw (= ${binary:Version}), ${misc:Depends}
 Description: osmocom Home Node B Gateway
 
+Package: osmo-hnbgw-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Description: ${misc:Package} PDF documentation
+  Various manuals: user manual, VTY reference manual and/or
+  protocol/interface manuals.
+
 Package: libosmo-ranap3
 Section: libs
 Architecture: any
diff --git a/debian/rules b/debian/rules
index c3bdf50..e1f6124 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,6 +8,10 @@
 %:
 	dh $@ --with autoreconf
 
+CONFIGURE_FLAGS += --with-systemdsystemunitdir=/lib/systemd/system --enable-manuals
+override_dh_auto_configure:
+	dh_auto_configure -- $(CONFIGURE_FLAGS)
+
 # See https://www.debian.org/doc/manuals/developers-reference/best-pkging-practices.html#bpp-dbg
 override_dh_strip:
 	dh_strip -plibosmo-ranap3 --dbg-package=libosmo-ranap-dbg
@@ -18,5 +22,6 @@
 override_dh_auto_test:
 	dh_auto_test || (find . -name testsuite.log -exec cat {} \; ; false)
 
-override_dh_auto_configure:
-	dh_auto_configure -- --with-systemdsystemunitdir=/lib/systemd/system
+# Don't create .pdf.gz files (barely saves space and they can't be opened directly by most pdf readers)
+override_dh_compress:
+	dh_compress -X.pdf

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-iuh/+/22010
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-iuh
Gerrit-Branch: for-1.0
Gerrit-Change-Id: Id53956494144b46e78fc25a176a9b8917788d86e
Gerrit-Change-Number: 22010
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210107/6d1acdbb/attachment.htm>


More information about the gerrit-log mailing list