-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ignition] Updates on various pkgs 🤖 #14324
Merged
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
7f53c9b
update to ign dome
fdf6f24
[console-bridge] Add vcpkg_fixup_pkgconfig
traversaro 7c478d5
Update CONTROL
traversaro 8590dcd
[urdfdom][urdfdom-headers] Use vcpkg_fixup_pkgconfig
traversaro 9973073
remove common3
46fb7fd
remove fuel5
c732749
depends on tinyxml2
1963ac5
Update CONTROL
traversaro 40e8dba
[urdfdom-headers] Fix wrong delete of pkg-config files
traversaro 4c9b8be
[urdfdom-headers] More fixes
traversaro 88b9577
Update portfile.cmake
traversaro 1525b49
Update portfile.cmake
traversaro f2f0a3a
[ignition-transport9] Enable installation of .pc files
traversaro c93ef51
Update portfile.cmake
traversaro ead6e8f
Update portfile.cmake
traversaro b9725a0
Update ports/ignition-msgs6/CONTROL
JackBoosY File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
Source: console-bridge | ||
Version: 1.0.1 | ||
Port-Version: 1 | ||
Homepage: https://github.com/ros/console_bridge | ||
Description: a ROS-independent package for logging that seamlessly pipes into rosconsole/rosout for ROS-dependent packages. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Source: ignition-cmake2 | ||
Version: 2.2.0-1 | ||
Version: 2.5.0 | ||
Homepage: https://ignitionrobotics.org/libs/cmake | ||
Description: CMake helper functions for building robotic applications | ||
Build-Depends: ignition-modularscripts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
include(${CURRENT_INSTALLED_DIR}/share/ignitionmodularscripts/ignition_modular_library.cmake) | ||
|
||
set(PACKAGE_VERSION "2.2.0") | ||
set(PACKAGE_VERSION "2.5.0") | ||
|
||
ignition_modular_library(NAME cmake | ||
VERSION ${PACKAGE_VERSION} | ||
SHA512 079b6d0cc5e2de83cf01f5731dd4e2e55e18e46c7506b6267a19a230fbbaa7b89053be4b42ca21584cf7fdd64de1d6305c7bc16fa3e0c5751b098fd0e5b98149) | ||
SHA512 dc546e5e4deabba12faec5fb0162309dfce9b429a6bbd6637c058acdda3eb4fa1e44e9b71f55603d0cff77550117dafc3fc8475621ede65fa8aa915254beb463) | ||
|
||
# Install custom usage | ||
configure_file(${CMAKE_CURRENT_LIST_DIR}/usage ${CURRENT_PACKAGES_DIR}/share/${PORT}/usage @ONLY) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Source: ignition-math6 | ||
Version: 6.4.0 | ||
Version: 6.6.0 | ||
Homepage: https://ignitionrobotics.org/libs/math | ||
Build-Depends: eigen3, ignition-cmake2, ignition-modularscripts | ||
Description: Math API for robotic applications |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
include(${CURRENT_INSTALLED_DIR}/share/ignitionmodularscripts/ignition_modular_library.cmake) | ||
|
||
ignition_modular_library(NAME math | ||
VERSION "6.4.0" | ||
SHA512 8a6e672ef6de591d25200f288deaaa16cc43e3c90804ee5ead0f06345036afbfa40acb531eb5b6a1fa80bd34c0c5964662cc0659d8bed2c811ad7c776d6f77cb) | ||
VERSION "6.6.0" | ||
SHA512 1b5f59b45256daa81cbfb7da4727200d0d6cb4a75fbc3b83b512c18ec6307b5bd78b8ee7a84f0f8a8c334717a1480766f62658bd213e9021c09c0ed22caa921d) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Source: ignition-msgs5 | ||
Version: 5.1.0 | ||
Version: 5.3.0 | ||
Port-Version: 1 | ||
Build-Depends: ignition-modularscripts, ignition-cmake2, ignition-math6, protobuf, tinyxml2 | ||
Description: Middleware protobuf messages for robotics | ||
Supports: !(arm|linux|uwp) | ||
Supports: !(arm|uwp) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Source: ignition-msgs6 | ||
Version: 6.0.0 | ||
Build-Depends: ignition-modularscripts, ignition-cmake2, ignition-math6, protobuf, tinyxml2 | ||
Description: Middleware protobuf messages for robotics | ||
Supports: !(arm|uwp) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Explicitly disable cross-compilation until the upstream discussion | ||
# https://github.com/ignitionrobotics/ign-msgs/issues/34 is solved | ||
vcpkg_fail_port_install(ON_ARCH "arm" ON_TARGET "uwp") | ||
|
||
include(${CURRENT_INSTALLED_DIR}/share/ignitionmodularscripts/ignition_modular_library.cmake) | ||
|
||
# This port needs to generate protobuf messages with a custom plugin generator, | ||
# so it needs to have in Windows the relative protobuf dll available in the PATH | ||
set(path_backup $ENV{PATH}) | ||
vcpkg_add_to_path(${CURRENT_INSTALLED_DIR}/bin) | ||
vcpkg_add_to_path(${CURRENT_INSTALLED_DIR}/debug/bin) | ||
|
||
ignition_modular_library(NAME msgs | ||
VERSION "6.0.0" | ||
SHA512 d1d6f6602ae33ec95b36c5df7815b06970f349492ef0309d8aacbaf2dca0c3e7314bbd64890a2554485fbd52f148a90b7bf54dceb0b3a1dd40eeb1f5bdb9613c) | ||
|
||
# Restore old path | ||
set(ENV{PATH} "${path_backup}") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
include(${CURRENT_INSTALLED_DIR}/share/ignitionmodularscripts/ignition_modular_library.cmake) | ||
|
||
ignition_modular_library(NAME transport | ||
VERSION "8.0.0" | ||
SHA512 ab1bae994a8676864ceb78b87f2258b8ed22036aed87e815fc22f830edd8b087d1ef0406dc0d053ea823d95b5fb765c4867d27ce5653f1d685001aab0cf0ec03 | ||
# This can be removed when the pc file of libuuid on Windows is fixed | ||
VERSION "8.1.0" | ||
SHA512 eb64f18721190fcb79a5b45746fd44fa24274c6fe6c5021dd9306c15a327873377d07d4aa770633982038b84da650d3d0c8a56169222c0c88fa1318314fc4529 | ||
# This can be removed when the pc file of sqlite3 is available ( https://github.com/microsoft/vcpkg/issues/14327 ) | ||
DISABLE_PKGCONFIG_INSTALL) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Source: ignition-transport9 | ||
Version: 9.0.0 | ||
Build-Depends: cppzmq, ignition-cmake2, ignition-msgs6, libuuid (!windows&!uwp), protobuf, sqlite3, zeromq | ||
Description: Transport middleware for robotics |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
include(${CURRENT_INSTALLED_DIR}/share/ignitionmodularscripts/ignition_modular_library.cmake) | ||
|
||
ignition_modular_library(NAME transport | ||
VERSION "9.0.0" | ||
SHA512 c3edb7a8a063b4aa5826838ae08c8ec2b3d14563492022df632a719409c95272f4f6a43d91f0c317e44b85921b5aedc1685670b81a7baa949f01af3b3534d76e | ||
# This can be removed when the pc file of sqlite3 is available ( https://github.com/microsoft/vcpkg/issues/14327 ) | ||
DISABLE_PKGCONFIG_INSTALL) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Source: sdformat10 | ||
Version: 10.0.0 | ||
Homepage: http://sdformat.org/ | ||
Build-Depends: ignition-math6, urdfdom, tinyxml2 | ||
Description: Simulation Description Format (SDF) parser and description files. | ||
Supports: !(uwp) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
vcpkg_fail_port_install(ON_TARGET "uwp") | ||
|
||
vcpkg_from_github( | ||
OUT_SOURCE_PATH SOURCE_PATH | ||
REPO osrf/sdformat | ||
REF sdformat10_10.0.0 | ||
SHA512 1caf98427d25e7c17bfacaab20382c573fac0c965b40ad0c5e0efd32ddfdaa20250d8c79ecf574989ba10b1feb884a9df3927b18ec2cd88f7c66b4d8194bc731 | ||
HEAD_REF sdf10 | ||
) | ||
|
||
# Ruby is required by the sdformat build process | ||
vcpkg_find_acquire_program(RUBY) | ||
get_filename_component(RUBY_PATH ${RUBY} DIRECTORY) | ||
set(_path $ENV{PATH}) | ||
vcpkg_add_to_path(${RUBY_PATH}) | ||
|
||
vcpkg_configure_cmake( | ||
SOURCE_PATH ${SOURCE_PATH} | ||
PREFER_NINJA | ||
OPTIONS | ||
-DBUILD_TESTING=OFF | ||
-DUSE_EXTERNAL_URDF=ON | ||
-DUSE_EXTERNAL_TINYXML=ON | ||
) | ||
|
||
vcpkg_install_cmake() | ||
|
||
# Restore original path | ||
set(ENV{PATH} ${_path}) | ||
|
||
# Fix cmake targets and pkg-config file location | ||
vcpkg_fixup_cmake_targets(CONFIG_PATH "lib/cmake/sdformat10") | ||
vcpkg_fixup_pkgconfig() | ||
|
||
# Remove debug files | ||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include | ||
${CURRENT_PACKAGES_DIR}/debug/lib/cmake | ||
${CURRENT_PACKAGES_DIR}/debug/share) | ||
|
||
# Handle copyright | ||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
Source: urdfdom-headers | ||
Version: 1.0.5 | ||
Port-Version: 1 | ||
Homepage: https://github.com/ros/urdfdom_headers | ||
Description: The URDF (U-Robot Description Format) headers provides core data structure headers for URDF. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Source: urdfdom | ||
Version: 1.0.4 | ||
Port-Version: 2 | ||
Port-Version: 3 | ||
Homepage: https://github.com/ros/urdfdom | ||
Description: Provides core data structures and a simple XML parsers for populating the class data structures from an URDF file. | ||
Build-Depends: console-bridge, tinyxml, urdfdom-headers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI, these are why the ignition things are almost always failing in our CI builds: if the llvm port is installed, then there's a clang.exe here, and cmake thinks you're targeting clang even though that clang.exe is not entirely functional :(
No change requested directly but something you might want to be thinking about. We are investigating fixing the llvm port to not put clang.exe here (although protobuf should not be putting any exes here either)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @BillyONeal, sorry for that, I was not aware of the problem at all, sorry for causing troubles. As the dll need to be found in the path only at the build phase, probably the simplest fix is to put the modification of the path after the configure and before the build, i.e. in
vcpkg/ports/ignition-modularscripts/ignition_modular_library.cmake
Line 10 in 75a2b65
ignition_modular_library
, or if we don't think there could be downside, we can just do that for all ignition ports, to follow KISS.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To clarify, note that the workaround of adding those directories to the path is not necessary because protobuf installs some .exe in the
${CURRENT_INSTALLED_DIR}/bin
or${CURRENT_INSTALLED_DIR}/debug/bin
. The problem is that ignition-msgs is creating its own protobuf-based code generator using theprotoc
library provided by protobuf, that is calledign_msgs_gen
. As the build executesign_msgs_gen
to generate the code that is necessary to compile as part of the build, if the port is compiled with a shared library triplet such asx64-windows
, it needs to be able to find the necessaryprotobuf.dll
andprotoc.dll
libraries. A more general fix would be to copy the dependent .dll for executables in the build directory as we do for the executables in the build directory as we do for the one in the install directory, or at least just copy the necessary .dll manually in this case.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Related issues and code:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, I checked in https://github.com/microsoft/vcpkg/blob/master/scripts/buildsystems/vcpkg.cmake and it seems that it should be already the case, so perhaps it could be sufficient to try to drop those modification of the PATH.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, nothing to be sorry about! I just wanted to let you know since you seem to be a contributor who cares about these ports!