mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-trx.git
synced 2025-10-23 08:22:00 +00:00
debian: create -doc subpackage with pdf manuals
I have verified, that the resulting debian packages build in my own OBS namespace (see the -doc packages): https://download.opensuse.org/repositories/home:/osmith42/Debian_9.0/all/ https://build.opensuse.org/project/show/home:osmith42 Depends: Ib7251cca9116151e473798879375cd5eb48ff3ad (osmo-ci) Related: OS#3899 Change-Id: I34858a18a34fc467f274ac164697a242f4cf0df8
This commit is contained in:
12
debian/control
vendored
12
debian/control
vendored
@@ -14,7 +14,8 @@ Build-Depends: debhelper (>= 9),
|
|||||||
libtalloc-dev,
|
libtalloc-dev,
|
||||||
libusrp-dev,
|
libusrp-dev,
|
||||||
liblimesuite-dev,
|
liblimesuite-dev,
|
||||||
libosmocore-dev (>= 0.10.0)
|
libosmocore-dev (>= 0.10.0),
|
||||||
|
osmo-gsm-manuals-dev
|
||||||
Standards-Version: 3.9.6
|
Standards-Version: 3.9.6
|
||||||
Vcs-Browser: http://cgit.osmocom.org/osmo-trx
|
Vcs-Browser: http://cgit.osmocom.org/osmo-trx
|
||||||
Vcs-Git: git://git.osmocom.org/osmo-trx
|
Vcs-Git: git://git.osmocom.org/osmo-trx
|
||||||
@@ -89,3 +90,12 @@ Description: SDR transceiver that implements Layer 1 of a GSM BTS (LimeSuite)
|
|||||||
3GPP is the "3rd Generation Partnership Project" which is the collaboration
|
3GPP is the "3rd Generation Partnership Project" which is the collaboration
|
||||||
between different telecommunication associations for developing new
|
between different telecommunication associations for developing new
|
||||||
generations of mobile phone networks. (post-2G/GSM)
|
generations of mobile phone networks. (post-2G/GSM)
|
||||||
|
|
||||||
|
Package: osmo-trx-doc
|
||||||
|
Architecture: all
|
||||||
|
Section: doc
|
||||||
|
Priority: optional
|
||||||
|
Depends: ${misc:Depends}
|
||||||
|
Description: ${misc:Package} PDF documentation
|
||||||
|
Various manuals: user manual, VTY reference manual and/or
|
||||||
|
protocol/interface manuals.
|
||||||
|
1
debian/osmo-trx-doc.install
vendored
Normal file
1
debian/osmo-trx-doc.install
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
usr/share/doc/osmo-trx-doc/*.pdf
|
35
debian/patches/build-for-debian8.patch
vendored
35
debian/patches/build-for-debian8.patch
vendored
@@ -1,16 +1,16 @@
|
|||||||
Index: osmo-trx/debian/control
|
diff --git a/debian/control b/debian/control
|
||||||
===================================================================
|
index 8ff59f0..126c16a 100644
|
||||||
--- osmo-trx.orig/debian/control
|
--- a/debian/control
|
||||||
+++ osmo-trx/debian/control
|
+++ b/debian/control
|
||||||
@@ -13,7 +13,6 @@ Build-Depends: debhelper (>= 9),
|
@@ -13,7 +13,6 @@ Build-Depends: debhelper (>= 9),
|
||||||
libfftw3-dev,
|
libfftw3-dev,
|
||||||
libtalloc-dev,
|
libtalloc-dev,
|
||||||
libusrp-dev,
|
libusrp-dev,
|
||||||
- liblimesuite-dev,
|
- liblimesuite-dev,
|
||||||
libosmocore-dev (>= 0.10.0)
|
libosmocore-dev (>= 0.10.0),
|
||||||
|
osmo-gsm-manuals-dev
|
||||||
Standards-Version: 3.9.6
|
Standards-Version: 3.9.6
|
||||||
Vcs-Browser: http://cgit.osmocom.org/osmo-trx
|
@@ -30,7 +29,7 @@ Package: osmo-trx-dbg
|
||||||
@@ -29,7 +28,7 @@ Package: osmo-trx-dbg
|
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Section: debug
|
Section: debug
|
||||||
Priority: extra
|
Priority: extra
|
||||||
@@ -19,11 +19,10 @@ Index: osmo-trx/debian/control
|
|||||||
Description: Debug symbols for the osmo-trx-*
|
Description: Debug symbols for the osmo-trx-*
|
||||||
Make debugging possible
|
Make debugging possible
|
||||||
|
|
||||||
@@ -70,22 +70,3 @@ Description: SDR transceiver that implem
|
@@ -72,25 +71,6 @@ Description: SDR transceiver that implements Layer 1 of a GSM BTS (USRP1)
|
||||||
3GPP is the "3rd Generation Partnership Project" which is the collaboration
|
|
||||||
between different telecommunication associations for developing new
|
between different telecommunication associations for developing new
|
||||||
generations of mobile phone networks. (post-2G/GSM)
|
generations of mobile phone networks. (post-2G/GSM)
|
||||||
-
|
|
||||||
-Package: osmo-trx-lms
|
-Package: osmo-trx-lms
|
||||||
-Architecture: any
|
-Architecture: any
|
||||||
-Depends: ${shlibs:Depends}, ${misc:Depends}
|
-Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||||
@@ -42,16 +41,20 @@ Index: osmo-trx/debian/control
|
|||||||
- 3GPP is the "3rd Generation Partnership Project" which is the collaboration
|
- 3GPP is the "3rd Generation Partnership Project" which is the collaboration
|
||||||
- between different telecommunication associations for developing new
|
- between different telecommunication associations for developing new
|
||||||
- generations of mobile phone networks. (post-2G/GSM)
|
- generations of mobile phone networks. (post-2G/GSM)
|
||||||
Index: osmo-trx/debian/rules
|
-
|
||||||
===================================================================
|
Package: osmo-trx-doc
|
||||||
--- osmo-trx.orig/debian/rules
|
Architecture: all
|
||||||
+++ osmo-trx/debian/rules
|
Section: doc
|
||||||
|
diff --git a/debian/rules b/debian/rules
|
||||||
|
index 627c0c8..d9285e2 100755
|
||||||
|
--- a/debian/rules
|
||||||
|
+++ b/debian/rules
|
||||||
@@ -9,7 +9,7 @@ override_dh_shlibdeps:
|
@@ -9,7 +9,7 @@ override_dh_shlibdeps:
|
||||||
dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info
|
dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info
|
||||||
|
|
||||||
override_dh_auto_configure:
|
override_dh_auto_configure:
|
||||||
- dh_auto_configure -- --with-uhd --with-usrp1 --with-lms --with-systemdsystemunitdir=/lib/systemd/system
|
- dh_auto_configure -- --with-uhd --with-usrp1 --with-lms --with-systemdsystemunitdir=/lib/systemd/system --enable-manuals
|
||||||
+ dh_auto_configure -- --with-uhd --with-usrp1 --with-systemdsystemunitdir=/lib/systemd/system
|
+ dh_auto_configure -- --with-uhd --with-usrp1 --with-systemdsystemunitdir=/lib/systemd/system --enable-manuals
|
||||||
|
|
||||||
override_dh_strip:
|
override_dh_strip:
|
||||||
dh_strip --dbg-package=osmo-trx-dbg
|
dh_strip --dbg-package=osmo-trx-dbg
|
||||||
|
6
debian/rules
vendored
6
debian/rules
vendored
@@ -9,7 +9,11 @@ override_dh_shlibdeps:
|
|||||||
dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info
|
dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info
|
||||||
|
|
||||||
override_dh_auto_configure:
|
override_dh_auto_configure:
|
||||||
dh_auto_configure -- --with-uhd --with-usrp1 --with-lms --with-systemdsystemunitdir=/lib/systemd/system
|
dh_auto_configure -- --with-uhd --with-usrp1 --with-lms --with-systemdsystemunitdir=/lib/systemd/system --enable-manuals
|
||||||
|
|
||||||
override_dh_strip:
|
override_dh_strip:
|
||||||
dh_strip --dbg-package=osmo-trx-dbg
|
dh_strip --dbg-package=osmo-trx-dbg
|
||||||
|
|
||||||
|
# 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
|
||||||
|
@@ -12,5 +12,6 @@ if BUILD_MANUALS
|
|||||||
VTY_REFERENCE = osmotrx-vty-reference.xml
|
VTY_REFERENCE = osmotrx-vty-reference.xml
|
||||||
include $(OSMO_GSM_MANUALS_DIR)/build/Makefile.vty-reference.inc
|
include $(OSMO_GSM_MANUALS_DIR)/build/Makefile.vty-reference.inc
|
||||||
|
|
||||||
|
OSMO_REPOSITORY = osmo-trx
|
||||||
include $(OSMO_GSM_MANUALS_DIR)/build/Makefile.common.inc
|
include $(OSMO_GSM_MANUALS_DIR)/build/Makefile.common.inc
|
||||||
endif
|
endif
|
||||||
|
Reference in New Issue
Block a user