Skip to content

Commit

Permalink
Add geospatial component (#4)
Browse files Browse the repository at this point in the history
* geospatial component

Follow-up to gazebosim/gz-common#267

Signed-off-by: Steve Peters <[email protected]>

* Remove geospatial.hh from -core-dev package

Signed-off-by: Steve Peters <[email protected]>

* fix dependencies in control file

Signed-off-by: Steve Peters <[email protected]>

* common5-dev package depend on geospatial-dev

Signed-off-by: Steve Peters <[email protected]>
  • Loading branch information
scpeters authored Mar 15, 2022
1 parent cda8092 commit aca14a6
Show file tree
Hide file tree
Showing 12 changed files with 50 additions and 0 deletions.
1 change: 1 addition & 0 deletions bionic/debian/libignition-common5-geospatial-dev.install
1 change: 1 addition & 0 deletions bionic/debian/libignition-common5-geospatial.install
1 change: 1 addition & 0 deletions debian/sid/debian/libignition-common5-geospatial.install
1 change: 1 addition & 0 deletions focal/debian/libignition-common5-geospatial-dev.install
1 change: 1 addition & 0 deletions focal/debian/libignition-common5-geospatial.install
35 changes: 35 additions & 0 deletions ubuntu/debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Build-Depends: cmake,
debhelper (>= 9),
doxygen,
libfreeimage-dev,
libgdal-dev,
libignition-cmake2-dev,
libignition-math7-dev,
libignition-utils1-dev,
Expand Down Expand Up @@ -58,6 +59,7 @@ Section: libdevel
Depends: libignition-common5-core-dev (= ${binary:Version}),
libignition-common5-av-dev (= ${binary:Version}),
libignition-common5-events-dev (= ${binary:Version}),
libignition-common5-geospatial-dev (= ${binary:Version}),
libignition-common5-graphics-dev (= ${binary:Version}),
libignition-common5-profiler-dev (= ${binary:Version}),
${misc:Depends}
Expand Down Expand Up @@ -136,6 +138,39 @@ Description: Ignition Common classes and functions (Events) - Development files
.
Events component of the library, development files

Package: libignition-common5-geospatial
Architecture: any
Section: libs
Pre-Depends: ${misc:Pre-Depends}
Depends: ${shlibs:Depends}, ${misc:Depends}
Breaks: libignition-common5 (<< 3.0.0~pre5+hg20190228r1b2df90990)
Replaces: libignition-common5 (<< 3.0.0~pre5+hg20190228r1b2df90990)
Multi-Arch: same
Description: Ignition Common classes and functions (Geospatial) - Shared library
Ignition Common is a component in the ignition framework, a set of libraries
designed to rapidly develop robot applications.
.
Geospatial component of the library

Package: libignition-common5-geospatial-dev
Architecture: any
Section: libdevel
Depends: libgdal-dev,
libignition-cmake2-dev,
libignition-common5-graphics-dev (= ${binary:Version}),
libignition-math7-dev,
libignition-utils1-dev,
libignition-common5-geospatial (= ${binary:Version}),
${misc:Depends}
Breaks: libignition-common5-dev (<< 3.0.0~pre5+hg20190228r1b2df90990)
Replaces: libignition-common5-dev (<< 3.0.0~pre5+hg20190228r1b2df90990)
Multi-Arch: same
Description: Ignition Common classes and functions (Geospatial) - Development files
Ignition Common is a component in the ignition framework, a set of libraries
designed to rapidly develop robot applications.
.
Geospatial component of the library, development files

Package: libignition-common5-graphics
Architecture: any
Section: libs
Expand Down
5 changes: 5 additions & 0 deletions ubuntu/debian/libignition-common-geospatial-dev.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
usr/include/ignition/common*/ignition/common/geospatial.hh
usr/include/ignition/common*/ignition/common/geospatial/*
usr/lib/*/cmake/ignition-common[0-99]-geospatial/*
usr/lib/*/libignition-common[0-99]-geospatial.so
usr/lib/*/pkgconfig/ignition-common[0-99]-geospatial.pc
1 change: 1 addition & 0 deletions ubuntu/debian/libignition-common-geospatial.install
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
usr/lib/*/libignition-common[0-99]-geospatial.so.*
1 change: 1 addition & 0 deletions ubuntu/debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ override_dh_install:
# need to remove files present in components
$(RM) debian/libignition-common5-core-dev/usr/include/ignition/common*/ignition/common/av.hh
$(RM) debian/libignition-common5-core-dev/usr/include/ignition/common*/ignition/common/events.hh
$(RM) debian/libignition-common5-core-dev/usr/include/ignition/common*/ignition/common/geospatial.hh
$(RM) debian/libignition-common5-core-dev/usr/include/ignition/common*/ignition/common/graphics.hh
dh_missing --list-missing

Expand Down

0 comments on commit aca14a6

Please sign in to comment.