This is an automated email from the git hooks/post-receive script. paulnovo-guest pushed a commit to branch master in repository opensurgsim.
commit ffa7cf003975b5d530cf53cd3566731b33db3bb4 Author: Paul Novotny <[email protected]> Date: Thu Jan 22 17:34:40 2015 -0500 Initial attempt packaging OpenSurgSim for Debian --- debian/changelog | 5 ++ debian/compat | 1 + debian/control | 50 ++++++++++++++++++++ debian/copyright | 128 +++++++++++++++++++++++++++++++++++++++++++++++++++ debian/rules | 29 ++++++++++++ debian/source/format | 1 + debian/watch | 4 ++ 7 files changed, 218 insertions(+) diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..a276eeb --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +opensurgsim (0.6.0-1) unstable; urgency=low + + * Initial release (Closes: #775753) + + -- Paul Novotny <[email protected]> Thu, 22 Jan 2015 17:33:51 -0500 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..4ad43de --- /dev/null +++ b/debian/control @@ -0,0 +1,50 @@ +Source: opensurgsim +Section: science +Priority: optional +Maintainer: Paul Novotny <[email protected]> +Build-Depends: debhelper (>= 9), libboost-chrono-dev, libboost-date-time-dev, + libboost-filesystem-dev, libboost-system-dev, libboost-thread-dev, cmake, + doxygen, libeigen3-dev, google-mock, libjs-mathjax, libopenscenegraph-dev +Standards-Version: 3.9.6 +Homepage: http://www.opensurgsim.org/ +Vcs-Git: git://anonscm.debian.org/debian-med/opensurgsim.git +Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/opensurgsim.git + +Package: libopensurgsim +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: A free platform for surgical simulation + OpenSurgSim is C++ toolkit for developing real-time surgical simulations. It + lets you build simulators using the included building blocks, such as input + device support, haptic feedback, graphics, collision detection and physics + simulation. + . + This package contains the libraries needed to run OpenSurgSim + applications. + +Package: libopensurgsim-dev +Section: libdevel +Architecture: any +Depends: ${misc:Depends}, libopensurgsim (= ${binary:Version}) +Description: A free platform for surgical simulation + OpenSurgSim is C++ toolkit for developing real-time surgical simulations. It + lets you build simulators using the included building blocks, such as input + device support, haptic feedback, graphics, collision detection and physics + simulation. + . + This package contains the development files needed to build your + own OpenSurgSim applications. + +Package: opensurgsim-doc +Section: doc +Architecture: all +Depends: ${misc:Depends}, libjs-mathjax +Suggests: libopensurgsim-dev, libopensurgsim +Description: A free platform for surgical simulation + OpenSurgSim is C++ toolkit for developing real-time surgical simulations. It + lets you build simulators using the included building blocks, such as input + device support, haptic feedback, graphics, collision detection and physics + simulation. + . + This package contains the Doxygen documentation files. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..71cef09 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,128 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: OpenSurgSim +Source: http://www.opensurgsim.org/ + +Files: * +Copyright: 2012-2015, SimQuest Solutions Inc. +License: Apache-2.0 + +Files: debian/* +Copyright: 2015 Paul Novotny <[email protected]> +License: Apache-2.0 + +Files: Data/Fonts/Vera.ttf +Copyright: 2003 by Bitstream, Inc. +License: Bitstream + +Files: SurgSim/DataStructures/ply.c +Copyright: 1994 The Board of Trustees of The Leland Stanford Junior University +License: Ply + +Files: ThirdParty/google-style-lint/cpplint.py +Copyright: 2009 Google Inc. +License: CppLint + +License: Apache-2.0 + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + . + http://www.apache.org/licenses/LICENSE-2.0 + . + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + . + On Debian systems, the complete text of the Apache version 2.0 license + can be found in "/usr/share/common-licenses/Apache-2.0". + +License: Bitstream + Copyright (C) 2003 Bitstream, Inc. + All Rights Reserved. Bitstream Vera is a trademark of Bitstream, Inc. + . + Permission is hereby granted, free of charge, to any person obtaining a + copy of the fonts accompanying this license ("Fonts") and associated + documentation files (the "Font Software"), to reproduce and distribute + the Font Software, including without limitation the rights to use, copy, + merge, publish, distribute, and/or sell copies of the Font Software, and + to permit persons to whom the Font Software is furnished to do so, + subject to the following conditions: + . + The above copyright and trademark notices and this permission notice + shall be included in all copies of one or more of the Font Software + typefaces. + . + The Font Software may be modified, altered, or added to, and in + particular the designs of glyphs or characters in the Fonts may be + modified and additional glyphs or characters may be added to the Fonts, + only if the fonts are renamed to names not containing either the words + "Bitstream" or the word "Vera". + . + This License becomes null and void to the extent applicable to Fonts or + Font Software that has been modified and is distributed under the + "Bitstream Vera" names. + . + The Font Software may be sold as part of a larger software package but + no copy of one or more of the Font Software typefaces may be sold by + itself. + . + THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF + COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL + BITSTREAM OR THE GNOME FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR + OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, + OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR + OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT + SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE. + . + Except as contained in this notice, the names of Gnome, the Gnome + Foundation, and Bitstream Inc., shall not be used in advertising or + otherwise to promote the sale, use or other dealings in this Font + Software without prior written authorization from the Gnome Foundation + or Bitstream Inc., respectively. For further information, contact: + <[email protected]>. + +License: Ply + Copyright (c) 1994 The Board of Trustees of The Leland Stanford + Junior University. All rights reserved. + . + Permission to use, copy, modify and distribute this software and its + documentation for any purpose is hereby granted without fee, provided + that the above copyright notice and this permission notice appear in + all copies of this software and that you do not sell the software. + . + THE SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTY OF ANY KIND, + EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY + WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. + +License: CppLint + 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 Google Inc. 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/rules b/debian/rules new file mode 100755 index 0000000..1e142f9 --- /dev/null +++ b/debian/rules @@ -0,0 +1,29 @@ +#!/usr/bin/make -f + +#DH_VERBOSE = 1 + +pkg_lib = libopensurgsim +pkg_dev = libopensurgsim-dev +pkg_doc = opensurgsim-doc + +export DEB_BUILD_MAINT_OPTIONS = hardening=-format + +%: + dh $@ --parallel + +override_dh_auto_configure: + dh_auto_configure -- \ + -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DBUILD_DEVICE_MULTIAXIS:BOOL=ON \ + -DBUILD_DOCUMENTATION:BOOL=ON \ + -DBUILD_EXAMPLES:BOOL=OFF \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCTEST_CUSTOM_TESTS_IGNORE="MultiAxisDeviceTest" + +override_dh_install: + dh_install -p$(pkg_dev) --autodest usr/include/* + dh_install -p$(pkg_dev) --autodest usr/lib/cmake/OpenSurgSim/* + dh_install -p$(pkg_lib) --autodest usr/lib/lib* + dh_installdocs -p$(pkg_doc) debian/tmp/usr/share/doc/OpenSurgSim/* + 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..5a10ea8 --- /dev/null +++ b/debian/watch @@ -0,0 +1,4 @@ +version=3 + +opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/opensurgsim-$1\.tar\.gz/ \ + https://github.com/simquest/opensurgsim/releases .*/v?(\d\S*)\.tar\.gz -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/opensurgsim.git _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit
