Skip to content

Commit

Permalink
Support for Jammy (#3)
Browse files Browse the repository at this point in the history
* Jammy support

* Use osrf version

* Lack of gem2deb for dh-ruby helper

* Change format to quilt

* Do not use with-ruby
  • Loading branch information
j-rivero authored Feb 25, 2022
1 parent 4080a47 commit e819c81
Show file tree
Hide file tree
Showing 17 changed files with 94 additions and 16 deletions.
11 changes: 11 additions & 0 deletions jammy/debian/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
ignition-tools (1.4.1+osrf-1~jammy) jammy; urgency=medium

* ignition-tools 1.4.1+osrf-1 release

-- Jose Luis Rivero <[email protected]> Fri, 25 Feb 2022 17:13:24 +0100

ignition-tools (1.4.1-1~jammy) jammy; urgency=medium

* First release for jammy

-- Jose Luis Rivero <[email protected]> Fri, 25 Feb 2022 17:07:14 +0100
1 change: 1 addition & 0 deletions jammy/debian/compat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
13
1 change: 1 addition & 0 deletions jammy/debian/control
1 change: 1 addition & 0 deletions jammy/debian/copyright
1 change: 1 addition & 0 deletions jammy/debian/ignition-tools.install
1 change: 1 addition & 0 deletions jammy/debian/libignition-tools-dev.install
1 change: 1 addition & 0 deletions jammy/debian/rules
1 change: 1 addition & 0 deletions jammy/debian/source
1 change: 1 addition & 0 deletions jammy/debian/tests
1 change: 1 addition & 0 deletions jammy/debian/watch
33 changes: 20 additions & 13 deletions ubuntu/debian/control
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
Source: ignition-tools
Standards-Version: 3.9.8
Maintainer: Jose Luis Rivero <[email protected]>
Section: science
Priority: optional
Build-Depends: debhelper (>= 9~),
gem2deb,
Build-Depends: debhelper (>= 11),
cmake,
pkg-config,
libbackward-cpp-dev
gem2deb,
libbackward-cpp-dev,
ruby,
pkg-config
XS-Ruby-Versions: all
Vcs-Browser: https://bitbucket.org/ignitionrobotics/ign-tools-release
Vcs-Hg: https://bitbucket.org/ignitionrobotics/ign-tools-release
Vcs-Browser: https://github.com/ignitionrobotics/ignition-tools
Vcs-Git: https://github.com/ignitionrobotics/ignition-tools.git
Standards-Version: 4.5.1
Homepage: http://ignitionrobotics.org/

Package: ignition-tools
Expand All @@ -21,9 +22,12 @@ XB-Ruby-Versions: ${ruby:Versions}
Depends: ruby | ruby-interpreter,
${misc:Depends}
Multi-Arch: same
Description: Ignition entry point for using all the suite of ignition tools
Ignition tools is a component in the ignition framework, a set of libraries
designed to rapidly develop robot applications.
Description: Entry point for using all the suite of ignition tools - app
Ignition tools provide the ign command line tool that accepts multiple
subcommands. Each subcommand is implemented in a plugin that belongs to a
specific Ignition project.
.
Package contains the ign app

Package: libignition-tools-dev
Architecture: any
Expand All @@ -32,6 +36,9 @@ Depends: cmake,
ignition-tools,
${misc:Depends}
Multi-Arch: same
Description: CMake/Pkgconfig Support for rest of the suite of ignition tools
Ignition tools is a component in the ignition framework, a set of libraries
designed to rapidly develop robot applications.
Description: Entry point for using all the suite of ignition tools - cmake support
Ignition tools provide the ign command line tool that accepts multiple
subcommands. Each subcommand is implemented in a plugin that belongs to a
specific Ignition project.
.
Package contains the cmake helpers
31 changes: 31 additions & 0 deletions ubuntu/debian/debian_copyright_2022
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: ignition-tools
Upstream-Contact: https://github.com/ignitionrobotics/ign-tools/issues
Source: https://github.com/ignitionrobotics/ign-tools
Files-Excluded: NEWS .github codecov.yml

Files: *
Copyright: 2009, Dimitri van Heesch
2009-2012, Emmanuel Roullit
2003-2008, Greg Valure
2012-2019, Open Source Robotics Foundation
License: Apache-2.0

License: Apache-2.0
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You 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 full text of the Apache Software License version 2 can
be found in the file `/usr/share/common-licenses/Apache-2.0'.
3 changes: 1 addition & 2 deletions ubuntu/debian/rules
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
#!/usr/bin/make -f


.PHONY: override_dh_auto_configure

override_dh_auto_configure:
dh_auto_configure -- \
-DUSE_SYSTEM_BACKWARDCPP=ON \
-DCMAKE_BUILD_TYPE=RelWithDebInfo
%:
dh $@ --buildsystem=cmake --with ruby
dh $@ --buildsystem=cmake
2 changes: 1 addition & 1 deletion ubuntu/debian/source/format
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0 (native)
3.0 (quilt)
13 changes: 13 additions & 0 deletions ubuntu/debian/tests/build
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/sh
# autopkgtest check: very few things to test without other subcommands
# (C) 2021 Jose Luis Rivero
# Author: Jose Luis Rivero <[email protected]>

set -e

WORKDIR=$(mktemp -d)
trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM
cd $WORKDIR
# Check the presence of ign tool in PATH
which ign
echo "check ign: OK"
3 changes: 3 additions & 0 deletions ubuntu/debian/tests/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Tests: build
Restrictions: superficial
Depends: @
5 changes: 5 additions & 0 deletions ubuntu/debian/watch
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
version=4
opts=filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%@PACKAGE@-$1.tar.gz%,\
dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,repacksuffix=+dfsg \
https://github.com/ignitionrobotics/ign-tools/tags \
(?:.*?/)@PACKAGE@.*_(\d[\d.]*)\.tar\.gz

0 comments on commit e819c81

Please sign in to comment.