fixeria has submitted this change. ( https://gerrit.osmocom.org/c/osmo-trx/+/43114?usp=email )
(
6 is the latest approved patch-set. No files were changed between the latest approved patch-set and the submitted one. )Change subject: debian: add packaging for libosmo-trx ......................................................................
debian: add packaging for libosmo-trx
Add the usual Debian packaging files, closely following the ones in libosmocore.git: the shared library package libosmo-trx0, as well as the -dev, -doc, and -dbg packages.
Change-Id: I56f0074ad121ecacb076b508d1adfdd71cce99ec --- M debian/control A debian/libosmo-trx-dev.install A debian/libosmo-trx-doc.doc-base A debian/libosmo-trx-doc.install A debian/libosmo-trx0.install M debian/rules 6 files changed, 77 insertions(+), 3 deletions(-)
Approvals: Jenkins Builder: Verified pespin: Looks good to me, approved laforge: Looks good to me, but someone else must approve
diff --git a/debian/control b/debian/control index 20dda3f..25b3041 100644 --- a/debian/control +++ b/debian/control @@ -15,7 +15,8 @@ liblimesuite-dev, libbladerf-dev, libosmocore-dev (>= 1.10.0), - osmo-gsm-manuals-dev (>= 1.6.0) + osmo-gsm-manuals-dev (>= 1.6.0), + doxygen Standards-Version: 3.9.6 Vcs-Browser: https://gitea.osmocom.org/cellular-infrastructure/osmo-trx Vcs-Git: https://gitea.osmocom.org/cellular-infrastructure/osmo-trx @@ -30,10 +31,69 @@ Architecture: any Section: debug Priority: extra -Depends: osmo-trx-uhd (= ${binary:Version}), osmo-trx-usrp1 (= ${binary:Version}), osmo-trx-lms (= ${binary:Version}), osmo-trx-ipc (= ${binary:Version}), ${misc:Depends} +Depends: osmo-trx-uhd (= ${binary:Version}), + osmo-trx-usrp1 (= ${binary:Version}), + osmo-trx-lms (= ${binary:Version}), + osmo-trx-ipc (= ${binary:Version}), + ${misc:Depends} Description: Debug symbols for the osmo-trx-* Make debugging possible
+Package: libosmo-trx0 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Multi-Arch: same +Description: Osmocom TRX protocol (TRXC/TRXD) library + The libosmo-trx library implements the TRXC/TRXD (OpenBTS-style TRX) + protocol, spoken over UDP sockets between a transceiver (e.g. OsmoTRX) + and L1 software (e.g. OsmoBTS): message codecs, a TRXC client command + queue engine, and osmo_io based socket endpoint management. + +Package: libosmo-trx-dev +Section: libdevel +Architecture: any +Depends: ${misc:Depends}, + libosmocore-dev, + libosmo-trx0 (= ${binary:Version}) +Multi-Arch: same +Description: Development headers for the Osmocom TRX protocol library + The libosmo-trx library implements the TRXC/TRXD (OpenBTS-style TRX) + protocol, spoken over UDP sockets between a transceiver (e.g. OsmoTRX) + and L1 software (e.g. OsmoBTS): message codecs, a TRXC client command + queue engine, and osmo_io based socket endpoint management. + . + This package contains the development files needed for developing with + the libosmo-trx library. + +Package: libosmo-trx-doc +Architecture: all +Section: doc +Depends: ${misc:Depends}, + libosmo-trx0, + libjs-jquery +Description: Documentation for the Osmocom TRX protocol library + The libosmo-trx library implements the TRXC/TRXD (OpenBTS-style TRX) + protocol, spoken over UDP sockets between a transceiver (e.g. OsmoTRX) + and L1 software (e.g. OsmoBTS): message codecs, a TRXC client command + queue engine, and osmo_io based socket endpoint management. + . + This package contains the documentation for the libosmo-trx library. + +Package: libosmo-trx-dbg +Section: debug +Architecture: any +Priority: extra +Depends: libosmo-trx0 (= ${binary:Version}), ${misc:Depends} +Multi-Arch: same +Description: Debug symbols for the Osmocom TRX protocol library + The libosmo-trx library implements the TRXC/TRXD (OpenBTS-style TRX) + protocol, spoken over UDP sockets between a transceiver (e.g. OsmoTRX) + and L1 software (e.g. OsmoBTS): message codecs, a TRXC client command + queue engine, and osmo_io based socket endpoint management. + . + This package contains the debug symbols for the library. + Package: osmo-trx-uhd Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} diff --git a/debian/libosmo-trx-dev.install b/debian/libosmo-trx-dev.install new file mode 100644 index 0000000..2c8bb9d --- /dev/null +++ b/debian/libosmo-trx-dev.install @@ -0,0 +1,4 @@ +usr/include/osmocom/trx/* +usr/lib/*/libosmo-trx.so +usr/lib/*/libosmo-trx.la +usr/lib/*/pkgconfig/libosmo-trx.pc diff --git a/debian/libosmo-trx-doc.doc-base b/debian/libosmo-trx-doc.doc-base new file mode 100644 index 0000000..bede62b --- /dev/null +++ b/debian/libosmo-trx-doc.doc-base @@ -0,0 +1,7 @@ +Document: libosmo-trx-doc +Title: Documentation for the libosmo-trx library +Section: Programming + +Format: HTML +Index: /usr/share/doc/libosmo-trx/html/index.html +Files: /usr/share/doc/libosmo-trx/html/*.html diff --git a/debian/libosmo-trx-doc.install b/debian/libosmo-trx-doc.install new file mode 100644 index 0000000..080d7d8 --- /dev/null +++ b/debian/libosmo-trx-doc.install @@ -0,0 +1 @@ +usr/share/doc/libosmo-trx/* diff --git a/debian/libosmo-trx0.install b/debian/libosmo-trx0.install new file mode 100644 index 0000000..38241ac --- /dev/null +++ b/debian/libosmo-trx0.install @@ -0,0 +1 @@ +usr/lib/*/libosmo-trx*.so.* diff --git a/debian/rules b/debian/rules index 5d4c73d..5242d74 100755 --- a/debian/rules +++ b/debian/rules @@ -21,7 +21,8 @@ $(NULL)
override_dh_strip: - dh_strip --dbg-package=osmo-trx-dbg + dh_strip -posmo-trx-uhd -posmo-trx-usrp1 -posmo-trx-lms -posmo-trx-ipc --dbg-package=osmo-trx-dbg + dh_strip -plibosmo-trx0 --dbg-package=libosmo-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: