-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
qxmpp: migrate to Conan v2 #18743
base: master
Are you sure you want to change the base?
qxmpp: migrate to Conan v2 #18743
Conversation
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.
This comment has been minimized.
This comment has been minimized.
Closing temporarily to avoid unnecessary load on the CI. Will reopen when I'm actively working on the PR again. |
This comment has been minimized.
This comment has been minimized.
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This comment has been minimized.
This comment has been minimized.
Hooks produced the following warnings for commit 828a492qxmpp/1.4.0@#6a014b324991b9f46f86a6d55cc5e8ec
|
This comment has been minimized.
This comment has been minimized.
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
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.
Conan v1 pipeline ✔️All green in build 9 (
Conan v2 pipeline ✔️
All green in build 8 (
|
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.
Looking good, only some question related to Qt as dependency.
from conan.tools.files import apply_conandata_patches, copy, export_conandata_patches, get, mkdir, rename, rmdir | ||
from conan.tools.scm import Version | ||
|
||
required_conan_version = ">=1.56.0 <2 || >=2.0.6" |
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.
required_conan_version = ">=1.56.0 <2 || >=2.0.6" | |
required_conan_version = ">=1.60.0 <2 || >=2.0.6" |
@@ -27,62 +33,90 @@ class QxmppConan(ConanFile): | |||
"with_gstreamer": False, |
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.
"with_gstreamer": False, | |
"with_gstreamer": False, | |
"with_qt": 5, |
Please, add an option for Qt, the upstream supports both version 5 and 6.
with_qt: [5, 6]
Using version 5 as default will build this package and make it available in Conan Center. Some users may be affect in case using Qt6, but who is using Qt6 right now, needs to build from source, so they probably are using a profile or something prepared.
|
||
def requirements(self): | ||
self.requires("qt/6.2.4") | ||
self.requires("qt/6.6.1", transitive_headers=True, transitive_libs=True) |
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.
self.requires("qt/6.6.1", transitive_headers=True, transitive_libs=True) | |
if self.options.with_qt == 5: | |
self.requires("qt/5.15.12", transitive_headers=True, transitive_libs=True) | |
else: | |
self.requires("qt/6.6.1", transitive_headers=True, transitive_libs=True) |
) | ||
|
||
def build_requirements(self): | ||
self.tool_requires("qt/<host_version>") |
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.
Could you please explain is Qt needed as a build requirement? Please, in case needing it, show a log or link indicating it.
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
No description provided.