From 0403ccd24531b66549801ef269e36d9c106e7694 Mon Sep 17 00:00:00 2001 From: Rohan Budhiraja <budhiraja@laas.fr> Date: Mon, 25 Apr 2016 17:44:33 +0200 Subject: [PATCH] debianize the package --- debian/changelog | 5 ++ debian/compat | 1 + debian/control | 56 +++++++++++++++++++ debian/copyright | 29 ++++++++++ debian/docs | 3 + debian/libdynamic-graph-dev.install | 3 + debian/libdynamic-graph-doc.doc-base | 9 +++ debian/libdynamic-graph-doc.install | 1 + debian/libdynamic-graph-doc.lintian-overrides | 3 + debian/libdynamic-graph3.0.0.install | 3 + debian/rules | 22 ++++++++ debian/source/format | 1 + debian/watch | 7 +++ src/CMakeLists.txt | 1 + 14 files changed, 144 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/docs create mode 100644 debian/libdynamic-graph-dev.install create mode 100644 debian/libdynamic-graph-doc.doc-base create mode 100644 debian/libdynamic-graph-doc.install create mode 100644 debian/libdynamic-graph-doc.lintian-overrides create mode 100644 debian/libdynamic-graph3.0.0.install create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..2763e4b --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +dynamic-graph (3.0.0-1) unstable; urgency=low + + * Initial release (Closes: #822608) + + -- Rohan Budhiraja <budhiraja.rohan@gmail.com> Fri, 22 Apr 2016 12:30:14 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..45a4fb7 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +8 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..405d6fb --- /dev/null +++ b/debian/control @@ -0,0 +1,56 @@ +Source: dynamic-graph +Section: libs +Priority: extra +Maintainer: Rohan Budhiraja <budhiraja.rohan@gmail.com> +Build-Depends: debhelper (>= 8.0.0), + cmake (>= 2.6), + doxygen (>=1.6.3), + pkg-config (>=0.22), + perl (>=5.10.1), + libboost-dev (>=1.46), + libboost-filesystem-dev (>=1.46), + libboost-system-dev (>=1.46), + libboost-test-dev (>=1.46), + libboost-thread-dev (>=1.46), + libboost-program-options-dev (>=1.46), + libpthread-stubs0-dev (>=0.3), + libeigen3-dev (>=3.0.5) +Standards-Version: 3.9.3 + +#Homepage: +#Vcs-Git: +#Vcs-Browser: + +Package: libdynamic-graph-dev +Section: libdevel +Architecture: any +Depends: libdynamic-graph3.0.0 (= ${binary:Version}), + ${misc:Depends} +Suggests: libdynamic-graph-doc +Description: Dynamic graph C++ library development package + The dynamic graph library allows the representation of data-flow in C++. + It provides fast graph evaluation and a simple script language to manipulate + the graph actions. + . + This package contains development files (headers and pkg-config file). + +Package: libdynamic-graph3.0.0 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Dynamic graph C++ library + The dynamic graph library allows the representation of data-flow in C++. + It provides fast graph evaluation and a simple script language to manipulate + the graph actions. + + +Package: libdynamic-graph-doc +Section: doc +Architecture: all +Depends: ${misc:Depends} +Suggests: libjrl-mathtools-doc +Description: documentation for the dynamic graph C++ library + The dynamic graph library allows the representation of data-flow in C++. + It provides fast graph evaluation and a simple script language to manipulate + the graph actions. + . + This package contains the Doxygen documentation. \ No newline at end of file diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..f070dbf --- /dev/null +++ b/debian/copyright @@ -0,0 +1,29 @@ +This work was packaged for Debian by: + + Rohan Budhiraja <budhiraja.rohan@gmail.com> on Fri, 22 Apr 2016 12:30:14 +0200 + +Upstream Authors: + + Thomas Moulard <thomas.moulard@gmail.com> + François Bleibel <fbleibel@gmail.com> + François Keith <francois.keith@aist.go.jp> + Nicolas Mansard <nicolas.mansard@laas.fr> + Olivier Stasse <olivier.stasse@aist.go.jp> + +Maintainer: + + Rohan Budhiraja <budhiraja.rohan@gmail.com> + +Copyright: + + Copyright (C) 2010 François Bleibel, Olivier Stasse, JRL, CNRS/AIST. + +License: + + See `/usr/share/common-licenses/LGPL-3'. + +The Debian packaging is: + + Copyright (C) 2016 Rohan Budhiraja <budhiraja.rohan@gmail.com> + and is licensed under the LGPL version 3, + see `/usr/share/common-licenses/LGPL-3'. \ No newline at end of file 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/libdynamic-graph-dev.install b/debian/libdynamic-graph-dev.install new file mode 100644 index 0000000..fc5fd60 --- /dev/null +++ b/debian/libdynamic-graph-dev.install @@ -0,0 +1,3 @@ +usr/include/* +usr/lib/lib*.so +usr/lib/pkgconfig/* \ No newline at end of file diff --git a/debian/libdynamic-graph-doc.doc-base b/debian/libdynamic-graph-doc.doc-base new file mode 100644 index 0000000..116ecde --- /dev/null +++ b/debian/libdynamic-graph-doc.doc-base @@ -0,0 +1,9 @@ +Document: dynamic-graph +Title: Debian dynamic-graph Manual +Author: Thomas Moulard <thomas.moulard@gmail.com> +Abstract: Doxygen documentation of dynamic-graph. +Section: Programming + +Format: HTML +Index: /usr/share/doc/dynamic-graph/doxygen-html/index.html +Files: /usr/share/doc/dynamic-graph/doxygen-html/*.html \ No newline at end of file diff --git a/debian/libdynamic-graph-doc.install b/debian/libdynamic-graph-doc.install new file mode 100644 index 0000000..5536e7c --- /dev/null +++ b/debian/libdynamic-graph-doc.install @@ -0,0 +1 @@ +usr/share/doc/dynamic-graph/* \ No newline at end of file diff --git a/debian/libdynamic-graph-doc.lintian-overrides b/debian/libdynamic-graph-doc.lintian-overrides new file mode 100644 index 0000000..829488b --- /dev/null +++ b/debian/libdynamic-graph-doc.lintian-overrides @@ -0,0 +1,3 @@ +#Suppresses the embedded javascript warning produced by doxygen embed of jquery. +#See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=736360 +libdynamic-graph-doc binary: embedded-javascript-library usr/share/doc/dynamic-graph/doxygen-html/jquery.js \ No newline at end of file diff --git a/debian/libdynamic-graph3.0.0.install b/debian/libdynamic-graph3.0.0.install new file mode 100644 index 0000000..7cb8691 --- /dev/null +++ b/debian/libdynamic-graph3.0.0.install @@ -0,0 +1,3 @@ +usr/lib/*.so.* +usr/lib/plugin/*.so +usr/share/man/* \ No newline at end of file diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..ecaf145 --- /dev/null +++ b/debian/rules @@ -0,0 +1,22 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# 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. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +override_dh_auto_configure: + dh_auto_configure -- -DGENERATE_DOC=ON + +override_dh_makeshlibs: + dh_makeshlibs --exclude=lib/plugin + +override_dh_shlibdeps: + dh_shlibdeps --exclude=lib/plugin + +%: + dh $@ 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..721b2b9 --- /dev/null +++ b/debian/watch @@ -0,0 +1,7 @@ +# Watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# See uscan(1) for format + +#version=3 +#http://githubredir.debian.net/github/jrl-umi3218/dynamic-graph (.*).tar.gz diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 9209da6..cc45ebd 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -85,6 +85,7 @@ FOREACH(plugin_file ${plugins_list}) SET_TARGET_PROPERTIES(${plugin} PROPERTIES PREFIX "" + NO_SONAME true ) INSTALL(TARGETS ${plugin} DESTINATION ${PLUGINDIR}) -- GitLab