-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
add recipe for dbus-cxx #24251
base: master
Are you sure you want to change the base?
add recipe for dbus-cxx #24251
Conversation
This comment has been minimized.
This comment has been minimized.
Hi @ErikHons thanks a lot for taking the time to submit the recipe, we appreciate it :) I was going to submit some cleanups for the recipe, but I realized that you didn't grant us permission to directly push, so here is the patch (Have no time to open as PR, sorry!)
Some comments:
Also some more question:
|
I love conan. Glad to give back!
Yeah. We run our corporate builds off that fork. I'm happy to apply the patch.
The library uses pkg_check_modules() by default. It's supposed to use find_package() when a toolchain is specified bit that wasn't working for me. I'll take another look.
I don't grok how that all works. My main concern is that libuv 1.45 drops support for an old version of RedHat I have to build for still. I think I can override all that in the client build though right?
Makes sense!
Oopise. I'm working off a branch of 2.4.0 (we patch this recipe in our fork of the index). I added 2.5.1 for this PR and just missed this step.
That option sets the ENABLE_QT_SUPPORT cmake variable and adds the dbus-cxx-qt library to self.cpp_info.libs
Nice. I'll change it. Thanks for the quick response! |
@RubenRBS the dbus-cxx top-level cmake contains stuff like:
Conan passes the Edit: Nevermind. This got fixed in 2.5.1. I'll make this change too. Edit: Nevermind all of that. My guys added the condition above in our fork of dbus-cxx, and it's broke. The recipe uses PkgConfigDeps because dbus-cxx uses that! |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Hey @RubenRBS, I see that the "Linux, GCC-legacy" action is failing on the gcc 7 build but not why. When I first created a docker image to test that case it failed because the pkg-config tools weren't installed. After adding the pkgconf package the build works. Is it possible that your pipelines don't have the pkgconf package installed? If so, what do you recommend going forward: update CCI pipelines, patch dbus-cxx in the recipe, something else? |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Conan v1 pipeline ❌Failure in build 8 (
Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability. Conan v2 pipeline ❌
The v2 pipeline failed. Please, review the errors and note this is required for pull requests to be merged. In case this recipe is still not ported to Conan 2.x, please, ping Failure in build 8 (
Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability. |
All checks have passed!!!!!!! Woo!!!! |
homepage = "http://dbus-cxx.github.io" | ||
description = "DBus-cxx provides an object-oriented interface to DBus" | ||
topics = "bus", "interprocess", "message" | ||
package_type = "static-library" |
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.
is this correct? this seems to be unconditionally shared
https://github.com/dbus-cxx/dbus-cxx/blob/master/CMakeLists.txt#L250
dbus-cxx/2.5.1
At NI we are using conan as our C++ packaging tool. We dbus-cxx for native C++ bindings to DBus with a path to Windows support.