[ignition-transport] 01/01: First debian directory, lintian clean

Jose Luis Rivero jrivero-guest at moszumanska.debian.org
Thu May 14 00:24:23 UTC 2015


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

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

commit f4f17db412095d5de7ecf740f7910486242a0453
Author: Jose Luis Rivero <jrivero at osrfoundation.org>
Date:   Thu May 14 00:24:11 2015 +0000

    First debian directory, lintian clean
---
 debian/changelog                                |  5 ++
 debian/compat                                   |  1 +
 debian/control                                  | 72 +++++++++++++++++++++++++
 debian/copyright                                | 56 +++++++++++++++++++
 debian/docs                                     |  3 ++
 debian/files                                    |  3 ++
 debian/format                                   |  1 +
 debian/libignition-transport-dev.install        |  4 ++
 debian/libignition-transport0.install           |  1 +
 debian/patches/0001-c++11_unconditional         | 32 +++++++++++
 debian/patches/0003-respect-cmake-c-flags.patch | 28 ++++++++++
 debian/patches/series                           |  2 +
 debian/rules                                    | 27 ++++++++++
 debian/source/format                            |  1 +
 debian/watch                                    |  2 +
 15 files changed, 238 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..539a54b
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+ignition-transport (0.8.1-1) unstable; urgency=medium
+
+  * ignition-transport 0.8.1-1 release (Closes: #783520)
+
+ -- Jose Luis Rivero <jrivero at osrfoundation.org>  Thu, 02 Apr 2015 01:43:15 +0200
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..23525a3
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,72 @@
+Source: ignition-transport
+Standards-Version: 3.9.6
+Maintainer: Jose Luis Rivero <jrivero at osrfoundation.org>
+Section: science
+Priority: extra
+Build-Depends: cmake,
+               pkg-config,
+               debhelper (>= 9),
+               python,
+               ruby-ronn,
+               libprotoc-dev,
+               libprotobuf-dev,
+               protobuf-compiler,
+               uuid-dev,
+               libzmq3-dev (>= 3.0.0)
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/ign-transport.git
+Vcs-Git: git://anonscm.debian.org/debian-science/packages/ign-transport.git
+Homepage: http://ignitionrobotics.org/libraries/transporthttps://bitbucket.org/ignitionrobotics/ign-transport
+
+Package: libignition-transport0
+Architecture: any
+Section: libs
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Multi-Arch: same
+Description: Ignition Robotics Transport Library - Shared library
+ Ignition transport library combines ZeroMQ with Protobufs to create a fast and
+ efficient message passing system. Asynchronous message publication and
+ subscription is provided along with service calls and discovery.
+ .
+ Ignition Robtics is a set of simple libraries that provide useful
+ functionality to bootstrap robot applications. The included libraries
+ encapsulate all the essentials, such as common math data types, console
+ logging, 3D mesh management, and asynchronous message passing.
+
+Package: libignition-transport-dev
+Architecture: any
+Section: libdevel
+Depends: libignition-transport0 (= ${binary:Version}),
+         uuid-dev,
+         libzmq3-dev (>= 3.0.0),
+         ${misc:Depends}
+Multi-Arch: same
+Description: Ignition Robotics transport Library - Development files
+ Ignition transport library combines ZeroMQ with Protobufs to create a fast and
+ efficient message passing system. Asynchronous message publication and
+ subscription is provided along with service calls and discovery.
+ .
+ Ignition Robtics is a set of simple libraries that provide useful
+ functionality to bootstrap robot applications. The included libraries
+ encapsulate all the essentials, such as common math data types, console
+ logging, 3D mesh management, and asynchronous message passing.
+
+Package: libignition-transport0-dbg
+Architecture: any
+Section: debug
+Priority: extra
+Depends:
+     libignition-transport0 (= ${binary:Version}),
+     ${misc:Depends}
+Multi-Arch: same
+Description: Ignition Robotics transport Library - Debugging symbols
+ Ignition transport library combines ZeroMQ with Protobufs to create a fast and
+ efficient message passing system. Asynchronous message publication and
+ subscription is provided along with service calls and discovery.
+ .
+ Ignition Robtics is a set of simple libraries that provide useful
+ functionality to bootstrap robot applications. The included libraries
+ encapsulate all the essentials, such as common math data types, console
+ logging, 3D mesh management, and asynchronous message passing.
+
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..d9e1c6f
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,56 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: igntransport
+Upstream-Contact: gazebo-list at gazebosim.org
+Source: https://bitbucket.org/ignitionrobotics/ign-transport
+
+Files: *
+Copyright: 2014 Open Source Robotics Foundation
+License: Apache
+ See '/usr/share/common-licenses/Apache-2.0'.
+
+Files: test/gtest/*
+Copyright: 2003, Google Inc.
+           2005, Google Inc.
+           2006, Google Inc.
+           2007, Google Inc.
+           2008, Google Inc.
+           2009, Google Inc.
+License: BSD-3-clause
+
+Files: tools/check_test_ran.py
+       src/urdf/*
+Copyright: 2008, Willow Garage, 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/files b/debian/files
new file mode 100644
index 0000000..b91653d
--- /dev/null
+++ b/debian/files
@@ -0,0 +1,3 @@
+libignition-transport0_0.8.1-1_amd64.deb libs extra
+libignition-transport-dev_0.8.1-1_amd64.deb libdevel extra
+libignition-transport0-dbg_0.8.1-1_amd64.deb debug extra
diff --git a/debian/format b/debian/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/libignition-transport-dev.install b/debian/libignition-transport-dev.install
new file mode 100644
index 0000000..8604ec7
--- /dev/null
+++ b/debian/libignition-transport-dev.install
@@ -0,0 +1,4 @@
+usr/include/*
+usr/lib/*/*.so
+usr/lib/*/pkgconfig/*.pc
+usr/lib/*/cmake/ignition-transport/*
diff --git a/debian/libignition-transport0.install b/debian/libignition-transport0.install
new file mode 100644
index 0000000..3de3b10
--- /dev/null
+++ b/debian/libignition-transport0.install
@@ -0,0 +1 @@
+usr/lib/*/*.so.*
diff --git a/debian/patches/0001-c++11_unconditional b/debian/patches/0001-c++11_unconditional
new file mode 100644
index 0000000..2439a5f
--- /dev/null
+++ b/debian/patches/0001-c++11_unconditional
@@ -0,0 +1,32 @@
+Description: Declare c++11 flag unconditional
+Author: Jose Luis Rivero <jrivero at osrfoundation.org>
+Forwarded: No
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index c54c198..40f1cdd 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -195,6 +195,7 @@ else()
+ 
+   # Unable to be filtered flags (failing due to limitations in filter_valid_compiler_warnings)
+   set(UNFILTERED_FLAGS "-Wc++11-compat")
++  set(UNFILTERED_FLAGS "-std=c++11")
+ endif()
+ 
+ filter_valid_compiler_warnings(${WARN_LEVEL} -Wextra -Wno-long-long
+diff --git a/cmake/DefaultCFlags.cmake b/cmake/DefaultCFlags.cmake
+index 0903872..aaaaf5b 100644
+--- a/cmake/DefaultCFlags.cmake
++++ b/cmake/DefaultCFlags.cmake
+@@ -36,11 +36,6 @@ set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_LINK_FLAGS_${CMAKE_BUILD_TYPE_UPPERCASE}}")
+ set (CMAKE_SHARED_LINKER_FLAGS "${CMAKE_LINK_FLAGS_${CMAKE_BUILD_TYPE_UPPERCASE}}")
+ set (CMAKE_MODULE_LINKER_FLAGS "${CMAKE_LINK_FLAGS_${CMAKE_BUILD_TYPE_UPPERCASE}}")
+ 
+-# Visual Studio enables c++11 support by default
+-if (NOT MSVC)
+-  set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS_${CMAKE_BUILD_TYPE_UPPERCASE}} -std=c++11")
+-endif()
+-
+ if (UNIX)
+     set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS_${CMAKE_BUILD_TYPE_UPPERCASE}}")
+     set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_LINK_FLAGS_${CMAKE_BUILD_TYPE_UPPERCASE}}")
diff --git a/debian/patches/0003-respect-cmake-c-flags.patch b/debian/patches/0003-respect-cmake-c-flags.patch
new file mode 100644
index 0000000..ab851da
--- /dev/null
+++ b/debian/patches/0003-respect-cmake-c-flags.patch
@@ -0,0 +1,28 @@
+Description: do not unset CMAKE_C*_FLAGS
+Author: Jose Luis Rivero <jrivero at osrfoundation.org>
+Forwarded: no
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 63ea6f7..d5406f9 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -181,8 +181,6 @@ endif()
+ 
+ #####################################
+ # Handle CFlags
+-unset (CMAKE_C_FLAGS_ALL CACHE)
+-unset (CMAKE_CXX_FLAGS CACHE)
+ 
+ # USE_HOST_CFLAGS (default TRUE)
+ # Will check building host machine for proper cflags
+@@ -201,6 +199,10 @@ filter_valid_compiler_warnings(${WARN_LEVEL} -Wextra -Wno-long-long
+   -Wno-unused-value -Wno-unused-value -Wno-unused-value -Wno-unused-value
+   -Wfloat-equal -Wshadow -Winit-self -Wswitch-default
+   -Wmissing-include-dirs -pedantic -Wno-pragmas)
++
++# Set all the global build flags
++set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS_${CMAKE_BUILD_TYPE}} ${CMAKE_C_FLAGS_ALL}")
++set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CMAKE_C_FLAGS_ALL}")
+ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}${WARNING_CXX_FLAGS} ${UNFILTERED_FLAGS}")
+ 
+ #################################################
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..e76aa12
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+0001-c++11_unconditional
+0003-respect-cmake-c-flags.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..5267f69
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,27 @@
+#!/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_test \
+        override_dh_strip 
+
+override_dh_auto_configure:
+	dh_auto_configure -- \
+                -DUSE_HOST_CFLAGS:BOOL=False \
+                -DUSE_UPSTREAM_CFLAGS:BOOL=False \
+                -DCMAKE_BUILD_TYPE=RelWithDebInfo
+
+override_dh_auto_test:
+	# Test are using networking heavily, disabled
+	# since they can not run on the buil farm
+	true
+
+override_dh_strip:
+	dh_strip -a --dbg-package=libignition-transport0-dbg
+
+%:
+	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/watch b/debian/watch
new file mode 100644
index 0000000..58803d7
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://gazebosim.org/distributions/ign-transport/releases/ .*ignition-transport-(\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-transport.git



More information about the debian-science-commits mailing list