Skip to content

Conversation

@miyanyan
Copy link
Contributor

@miyanyan miyanyan commented Jan 22, 2026

  • Changes comply with the maintainer guide.
  • SHA512s are updated for each updated download.
  • The "supports" clause reflects platforms that may be fixed by this new version.
  • Any fixed CI baseline entries are removed from that file.
  • Any patches that are no longer applied are deleted from the port's directory.
  • The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
  • Only one version is added to each modified port's versions file.

Fixes #49491

@miyanyan miyanyan marked this pull request as draft January 22, 2026 15:04
This was referenced Jan 24, 2026
The yaml-cpp library has been added to the list of dependencies in the ecal vcpkg.json file to ensure it is available during the build process.
Copy link
Contributor

@dg0yt dg0yt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know it is a draft. Feel free to ignore the early comments in early stages.

set(eCAL_install_bin_dir ${CMAKE_INSTALL_BINDIR})
set(eCAL_install_config_dir ${CMAKE_INSTALL_SYSCONFDIR}/ecal)
-set(eCAL_install_cmake_dir ${CMAKE_INSTALL_LIBDIR}/cmake/eCAL)
+set(eCAL_install_cmake_dir share/eCAL)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change might be not needed, because it is would be handled via the CONFIG_PATH option to vcpkg_cmake_config_fixup().
(In addition, the config should eventually land in the lower-case share/ecal dir which already exists for vcpkg stuff.)

Comment on lines 54 to 59
+if(tclap_INCLUDE_DIR-NOTFOUND)
+ message(FATAL_ERROR "Could not find tclap library")
+ set(tclap_FOUND FALSE)
+else()
+ set(tclap_FOUND TRUE)
+endif()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This a Find module. It shouldn't do FATAL_ERROR and tclap_FOUND like this. find_package_handle_standard_args does the right thing.

Adding Find modules in a patch is at least unusual, and the imported targets will need find_dependency in the installed cmake config.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding Find modules in a patch is at least unusual, and the imported targets will need find_dependency in the installed cmake config.

the ecal port use a lot of find_package(tclap) function in CMakeLists,is it ok to change all find_package(tclap) to find_path(tclap_INCLUDE_DIR NAMES tclap/Arg.h) and target_include_directories... , or some easier ways?

also need the same thing for termcolor

-else (MSVC)
-set(cmake_functions_install_cmake_dir "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}-${PROJECT_VERSION}")
-endif (MSVC)
+set(cmake_functions_install_cmake_dir "share/${PROJECT_NAME}")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see, another place dealing with cmake config, now in "thirdparty".

)

vcpkg_cmake_install()
vcpkg_cmake_install(ADD_BIN_TO_PATH)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ADD_BIN_TO_PATH... Does it run host tools? If yes, where do they come from?

Copy link
Contributor Author

@miyanyan miyanyan Jan 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh, the ecal_core is a dll before... so the ecal_generate_config tool links ecal_core and runs when build, after changed ecal_core to build as static lib, seems no need ADD_BIN_TO_PATH now?

@miyanyan miyanyan mentioned this pull request Jan 27, 2026
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ecal] update to 6.0.1

2 participants