[PATCH] libusrp[master]: Add debian directory

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/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Sat Apr 28 09:07:53 UTC 2018


Hello Pau Espin Pedrol, Jenkins Builder,

I'd like you to reexamine a change.  Please visit

    https://gerrit.osmocom.org/7936

to look at the new patch set (#6).

Add debian directory

Related: OS#3218
Change-Id: I5ff1d76f533b9ac68ab3f2c70ead6b66f4413b4f
---
A debian/changelog
A debian/compat
A debian/control
A debian/copyright
A debian/libusrp-dev.install
A debian/libusrp-doc.install
A debian/libusrp-firmware.install
A debian/libusrp-utils.install
A debian/libusrp1.install
A debian/rules
A debian/source/format
11 files changed, 138 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/libusrp refs/changes/36/7936/6

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..1ce0ac4
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+libusrp (3.4.2) unstable; urgency=medium
+
+  * Initial release
+
+ -- Harald Welte <laforge at gnumonks.org>  Sat, 28 Apr 2018 10:06:51 +0000
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..7982c27
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,50 @@
+Source: libusrp
+Priority: optional
+Maintainer: Pau Espin Pedrol <pespin at sysmocom.de>
+Build-Depends: debhelper (>=9),
+               dh-autoreconf,
+               autotools-dev,
+               autoconf,
+               automake,
+               doxygen,
+               libtool,
+               pkg-config,
+               libusb-1.0-0-dev,
+               libboost-all-dev
+Standards-Version: 3.9.8
+Section: libs
+Homepage: https://osmocom.org/projects/osmotrx/
+Vcs-Git: git://git.osmocom.org/libusrp
+Vcs-Browser: https://git.osmocom.org/libusrp
+
+Package: libusrp1
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: gnuradio based driver library for the USRP1 SDR
+  Gnuradio removed libusrp as it switched to UHD support, including USRP1
+  devices. However, USRP1 on UHD doesn't support timestamps, so this library
+  remains needed for applications that use timestamps such as osmo-trx. To find
+  out how this library was forked from gnuradio, check libusrp.git commit
+  description ec6adccbbdda1a4614089aaf52f9e1bab75494e7.
+
+Package: libusrp-dev
+Section: libdevel
+Architecture: any
+Depends: libusrp1 (= ${binary:Version}), ${misc:Depends}
+Description: gnuradio based driver library for the USRP1 SDR - dev files
+
+Package: libusrp-firmware
+Architecture: any
+Depends: libusrp1 (= ${binary:Version}), ${misc:Depends}
+Description: gnuradio based driver library for the USRP1 SDR - firmware files
+
+Package: libusrp-utils
+Architecture: any
+Depends: libusrp1 (= ${binary:Version}), ${misc:Depends}
+Description: gnuradio based driver library for the USRP1 SDR - several tools
+
+Package: libusrp-doc
+Section: doc
+Architecture: all
+Depends: libusrp1 (= ${binary:Version}), ${misc:Depends}, libjs-jquery
+Description: Documentation for gnuradio based driver library for the USRP1 SDR
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..92b1cd8
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,41 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: libusrp
+Source: git://git.osmocom.org/libusrp
+
+Files: *
+Copyright: 2003-2010 Free Software Foundation, Inc.
+License: GPL-3.0+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General Public License
+ Version 3 can be found in "/usr/share/common-licenses/GPL-3".
+
+Files: debian/*
+Copyright: 2018 by sysmocom s.f.m.c. GmbH <info at sysmocom.de>
+License: GPL-3.0+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General Public License
+ Version 3 can be found in "/usr/share/common-licenses/GPL-3".
diff --git a/debian/libusrp-dev.install b/debian/libusrp-dev.install
new file mode 100644
index 0000000..2f5a97b
--- /dev/null
+++ b/debian/libusrp-dev.install
@@ -0,0 +1,4 @@
+usr/include/*
+usr/lib/*/lib*.so
+usr/lib/*/lib*.la
+usr/lib/*/pkgconfig/*
diff --git a/debian/libusrp-doc.install b/debian/libusrp-doc.install
new file mode 100644
index 0000000..d9d4f6f
--- /dev/null
+++ b/debian/libusrp-doc.install
@@ -0,0 +1 @@
+usr/share/doc/*
diff --git a/debian/libusrp-firmware.install b/debian/libusrp-firmware.install
new file mode 100644
index 0000000..741c2eb
--- /dev/null
+++ b/debian/libusrp-firmware.install
@@ -0,0 +1 @@
+usr/share/usrp/*/*.rbf
diff --git a/debian/libusrp-utils.install b/debian/libusrp-utils.install
new file mode 100644
index 0000000..19487bb
--- /dev/null
+++ b/debian/libusrp-utils.install
@@ -0,0 +1,2 @@
+usr/bin/usrper
+usr/bin/usrp_cal_dc_offset
diff --git a/debian/libusrp1.install b/debian/libusrp1.install
new file mode 100644
index 0000000..3ddde58
--- /dev/null
+++ b/debian/libusrp1.install
@@ -0,0 +1 @@
+usr/lib/*/lib*.so.*
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..04669b3
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,31 @@
+#!/usr/bin/make -f
+
+DEBIAN  := $(shell dpkg-parsechangelog | grep ^Version: | cut -d' ' -f2)
+DEBVERS := $(shell echo '$(DEBIAN)' | cut -d- -f1)
+VERSION := $(shell echo '$(DEBVERS)' | sed -e 's/[+-].*//' -e 's/~//g')
+
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+#export DH_VERBOSE=1
+
+
+%:
+	dh $@ --with autoreconf --fail-missing
+
+override_dh_autoreconf:
+	echo $(VERSION) > .tarball-version
+	dh_autoreconf
+
+override_dh_auto_configure:
+	dh_auto_configure -- --enable-doxygen
+
+override_dh_install:
+	sed -i "/dependency_libs/ s/'.*'/''/" `find . -name '*.la'`
+	dh_install
+
+override_dh_clean:
+	dh_clean
+	rm -f tests/package.m4 tests/testsuite .version .tarball-version
+
+override_dh_auto_test:
+	dh_auto_test || (find . -name testsuite.log -exec cat {} \; ; false)
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..89ae9db
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (native)

-- 
To view, visit https://gerrit.osmocom.org/7936
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I5ff1d76f533b9ac68ab3f2c70ead6b66f4413b4f
Gerrit-PatchSet: 6
Gerrit-Project: libusrp
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>



More information about the gerrit-log mailing list