[hamradio-commits] [gnss-sdr] 27/27: Adding Debian folder for packaging

Carles Fernandez carles_fernandez-guest at moszumanska.debian.org
Wed Jan 14 09:07:43 UTC 2015


This is an automated email from the git hooks/post-receive script.

carles_fernandez-guest pushed a commit to branch master
in repository gnss-sdr.

commit 8373c786119dc5074193667910da7dd1d9228441
Author: Carles Fernandez <carles.fernandez at gmail.com>
Date:   Wed Jan 14 10:06:10 2015 +0100

    Adding Debian folder for packaging
---
 debian/changelog     |   5 +++
 debian/compat        |   1 +
 debian/control       |  24 ++++++++++++
 debian/copyright     | 101 +++++++++++++++++++++++++++++++++++++++++++++++++++
 debian/rules         |  25 +++++++++++++
 debian/source/format |   1 +
 debian/watch         |  11 ++++++
 7 files changed, 168 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..03d66ac
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+gnss-sdr (0.0.5-1) UNRELEASED; urgency=medium
+
+  * Initial release. (Closes: #712838)
+
+ -- Carles Fernandez <carles.fernandez at cttc.es>  Fri, 05 Dec 2014 14:00:17 +0100
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..163e9e0
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,24 @@
+Source: gnss-sdr
+Section: hamradio
+Priority: optional
+Maintainer: Debian Hamradio Maintainers <debian-hams at lists.debian.org>
+Uploaders: Carles Fernandez <carles.fernandez at cttc.es>
+Build-Depends: debhelper (>= 9), cmake (>= 2.8), libboost-dev (>= 1.45), libboost-date-time-dev (>= 1.45), libboost-system-dev (>= 1.45), libboost-filesystem-dev (>= 1.45), libboost-thread-dev (>= 1.45), libboost-serialization-dev (>= 1.45), libboost-chrono-dev (>= 1.45), libboost-program-options-dev (>= 1.45), libboost-test-dev (>= 1.45), libstdc++6 (>= 4.7), libc6 (>= 2.13),  libuhd-dev (>= 3.7), gnuradio-dev (>= 3.7.3), gr-osmosdr (>= 0.1.1), liblog4cpp5-dev (>= 1.0), libarmadillo-dev [...]
+Standards-Version: 3.9.6
+Vcs-Browser: http://anonscm.debian.org/git/pkg-hamradio/gnss-sdr.git
+Vcs-Git: http://anonscm.debian.org/git/pkg-hamradio/gnss-sdr.git
+Homepage: http://gnss-sdr.org
+
+Package: gnss-sdr
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Global Navigation Satellite Systems Software Defined Receiver.
+ Global Navigation Satellite Systems receiver defined by software.
+ It performs all the signal processing from raw signal samples up to the
+ computation of the Position-Velocity-Time solution, including
+ code and phase observables. It is able to work with raw data files or, 
+ if there is computational power enough, in real time with suitable 
+ radiofrequency front-ends. This software is mainly developed at CTTC 
+ (Centre Tecnologic de Telecomunicacions de Catalunya, http://www.cttc.es) 
+ with contributions from around the world. 
+ More info at http://gnss-sdr.org
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..29c85d0
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,101 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: gnss-sdr
+Source: git://github.com/gnss-sdr/gnss-sdr
+
+Files: *
+Copyright:  © 2010-2014 Carles Fernandez <carles.fernandez at cttc.es>
+License: GPL-3+ with OpenSSL exception
+ This program 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 3 of the License, or (at your option) any later
+ version.
+ .
+ In addition, as a special exception, the author of this
+ program gives permission to link the code of its
+ release with the OpenSSL project's "OpenSSL" library (or
+ with modified versions of it that use the same license as
+ the "OpenSSL" library), and distribute the linked
+ executables. You must obey the GNU General Public
+ License in all respects for all of the code used other
+ than "OpenSSL".  If you modify this file, you may extend
+ this exception to your version of the file, but you are
+ not obligated to do so.  If you do not wish to do so,
+ delete this exception statement from your version.
+ .
+ This program 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 package; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ Boston, MA  02110-1301 USA
+ .
+ On Debian systems, the full text of the GNU General Public
+ License version 3 can be found in the file
+ `/usr/share/common-licenses/GPL-3'.
+
+Files: src/core/libs/supl/*
+Copyright: © 2007 Tatu Mannisto
+License: BSD-2-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+ .
+ Redistributions of source code must retain the above copyright notice, this
+ list of conditions and the following disclaimer.
+ .
+ Redistributions in binary form must reproduce the above copyright notice, this
+ list of conditions and the following disclaimer in the documentation and/or
+ other materials provided with the distribution. Neither the name of the author
+ nor the names of its contributors may be used to endorse or promote products
+ derived from this software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Files: src/core/libs/INIReader.*
+Copyright: © 2009 Brush Technologies
+License: BSD-3-clause
+
+Files: src/core/libs/ini.*
+Copyright: © 2009 Brush Tecnologies
+License: BSD-3-clause
+
+License: BSD-3-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ .
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ .
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ .
+ 3. Neither the name of the University nor the names of its contributors
+ may be used to endorse or promote products derived from this software
+ without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ SUCH DAMAGE.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..f3d13e0
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,25 @@
+#!/usr/bin/make -f
+# DH_VERBOSE := 1
+# some helpful variables - uncomment them if needed
+# shamelessly stolen from http://jmtd.net/log/awk/
+#DEBVERS        := $(shell dpkg-parsechangelog | awk '/^Version:/ {print $$2}')
+#VERSION        := $(shell echo '$(DEBVERS)' | sed -e 's/^[0-9]*://' -e 's/-.*//')
+#DEBFLAVOR      := $(shell dpkg-parsechangelog | awk '/^Distribution:/ {print $$2}')
+#DEBPKGNAME     := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
+#DEBIAN_BRANCH  := $(shell awk 'BEGIN{FS="[= ]+"} /debian-branch/ {print $$2}' debian/gbp.conf)
+#GIT_TAG        := $(subst ~,_,$(VERSION))
+# alternatively to manually set those variables you can
+#  include /usr/share/cdbs/1/rules/buildvars.mk
+# and use what is set there.  Any hint whether dh might set variables in
+# a similar manner are welcome.
+
+%:
+	dh $@ --buildsystem=cmake --parallel --builddirectory=build 
+
+override_dh_auto_configure:
+	dh_auto_configure -- -DENABLE_PACKAGING=ON -DENABLE_OSMOSDR=ON
+
+override_dh_auto_test:
+
+#get-orig-source:
+#	. debian/get-orig-source
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..71a6455
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,11 @@
+version=3
+
+https://github.com/gnss-sdr/gnss-sdr/tags .*/v?(\d.*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz))
+
+# if tweaking of source is needed
+# \
+# debian debian/get-orig-source
+
+# if you need to repack and choose +dfsg prefix
+# opts=dversionmangle=s/[~\+]dfsg[0-9]*// \
+#

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hamradio/gnss-sdr.git



More information about the pkg-hamradio-commits mailing list