[ignition-msgs] 02/02: Implement debian metadata

Jose Luis Rivero jrivero-guest at moszumanska.debian.org
Wed Jul 27 22:37:35 UTC 2016


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

jrivero-guest pushed a commit to branch master
in repository ignition-msgs.

commit 227e9e049771dbd6054031494e77383356a25b23
Author: Jose Luis Rivero <jrivero at osrfoundation.org>
Date:   Wed Jul 27 22:37:21 2016 +0000

    Implement debian metadata
---
 debian/changelog                    |  6 +++++
 debian/compat                       |  1 +
 debian/control                      | 40 +++++++++++++++++++++++++++++
 debian/copyright                    | 51 +++++++++++++++++++++++++++++++++++++
 debian/docs                         |  3 +++
 debian/libignition-msgs-dev.install |  4 +++
 debian/libignition-msgs0.install    |  1 +
 debian/rules                        | 16 ++++++++++++
 debian/source/format                |  1 +
 debian/tests/build                  | 30 ++++++++++++++++++++++
 debian/tests/control                |  2 ++
 debian/watch                        |  3 +++
 12 files changed, 158 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..511f152
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+ignition-msgs (0.4.0-1) unstable; urgency=medium
+
+  * Imported Upstream version 0.4.0
+
+ -- Jose Luis Rivero <jrivero at osrfoundation.org>  Wed, 27 Jul 2016 22:29:45 +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..189c1ae
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,40 @@
+Source: ignition-msgs
+Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Jose Luis Rivero <jrivero at osrfoundation.org>
+Section: science
+Testsuite: autopkgtest
+Priority: extra
+Build-Depends: cmake,
+               pkg-config,
+               debhelper (>= 9.20151004),
+               libprotoc-dev,
+               libprotobuf-dev (>= 2.3.0),
+               libignition-math2-dev,
+               protobuf-compiler,
+Standards-Version: 3.9.8
+Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/gnition-msgs.git
+Vcs-Git: git://anonscm.debian.org/debian-science/packages/ignition-msgs.git
+Homepage: http://ignitionrobotics.org/libraries/msgs
+
+Package: libignition-msgs0
+Architecture: any
+Section: libs
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Multi-Arch: same
+Description: Standard set of message definitions, used by Ignition Transport, and other applications - Shared library
+ Ignition msgs is a component in the Ignition framework, a set of
+ librariesdesigned to rapidly develop robot applications. The library
+ defines common protobuf messages used by the robotics community.
+
+Package: libignition-msgs-dev
+Architecture: any
+Section: libdevel
+Depends: libprotobuf-dev (>= 2.3.0),
+         libignition-math2-dev,
+         libignition-msgs0 (= ${binary:Version})
+Multi-Arch: same
+Description: Standard set of message definitions, used by Ignition Transport, and other applications - Shared library
+ Ignition msgs is a component in the Ignition framework, a set of
+ librariesdesigned to rapidly develop robot applications. The library
+ defines common protobuf messages used by the robotics community.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..c34b39d
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,51 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: ignmath
+Upstream-Contact: gazebo-list at gazebosim.org
+Source: https://bitbucket.org/ignitionrobotics/ign_math
+Files-Excluded: test/gtest
+
+Files: *
+Copyright: 2016 Open Source Robotics Foundation
+License: Apache
+ See '/usr/share/common-licenses/Apache-2.0'.
+
+Files: tools/check_test_ran.py
+Copyright: 2008, Willow Garage, Inc.
+License: BSD-3-clause
+
+Files: tools/cpplint.py
+Copyright: 2009 Google Inc.
+License: BSD-3-clause
+
+License: BSD-3-clause
+ Software License Agreement (BSD License)
+ . 
+ Copyright (c) 2008, Willow Garage, Inc.
+ All rights reserved.
+ .
+ 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 Willow Garage 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 OWNER 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/docs b/debian/docs
new file mode 100644
index 0000000..46a4ca7
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,3 @@
+AUTHORS
+NEWS
+README.md
diff --git a/debian/libignition-msgs-dev.install b/debian/libignition-msgs-dev.install
new file mode 100644
index 0000000..125d8a3
--- /dev/null
+++ b/debian/libignition-msgs-dev.install
@@ -0,0 +1,4 @@
+usr/include/*
+usr/lib/*/*.so
+usr/lib/*/pkgconfig/*.pc
+usr/lib/*/cmake/ignition-msgs0/*
diff --git a/debian/libignition-msgs0.install b/debian/libignition-msgs0.install
new file mode 100644
index 0000000..3de3b10
--- /dev/null
+++ b/debian/libignition-msgs0.install
@@ -0,0 +1 @@
+usr/lib/*/*.so.*
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..8a17a60
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,16 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+
+.PHONY: override_dh_auto_configure
+
+override_dh_auto_configure:
+	dh_auto_configure -- \
+	    -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+            $(CONFIGURE_ARGS)
+%:
+	dh $@ --parallel --buildsystem=cmake
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/tests/build b/debian/tests/build
new file mode 100755
index 0000000..0a2ffb6
--- /dev/null
+++ b/debian/tests/build
@@ -0,0 +1,30 @@
+#!/bin/sh
+# autopkgtest check: Build and run a program against ign-msgs, to verify that the
+# headers and pkg-config file are installed correctly
+# (C) 2012 Jose Luis Rivero
+# Author: Jose Luis Rivero <jrivero at osrfoundation.org>
+
+set -e
+
+WORKDIR=$(mktemp -d)
+trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM
+cd $WORKDIR
+cat <<EOF > igntest.c
+
+#include <iostream>
+#include <ignition/msgs.hh>
+
+int main(int argc, char **argv)
+{
+    ignition::msgs::Int32 foo;
+    ignition::msgs::StringMsg fee;
+
+    return 1;
+}
+EOF
+
+g++ -o igntest igntest.c `pkg-config --cflags --libs ignition-msgs`
+echo "build: OK"
+[ -x igntest ]
+./igntest
+echo "run: OK"
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..7feeaaa
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: build
+Depends: libignition-math2-dev, pkg-config, build-essential
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..2140293
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha|b|a)\d*)$/$1~$2/,dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$// \
+http://gazebosim.org/distributions/ign-msgs/releases/ .*ignition-msgs-(\d\.\d\.\d)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/ignition-msgs.git



More information about the debian-science-commits mailing list