Skip to content
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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

valgur
Copy link
Contributor

@valgur valgur commented Jul 20, 2023

No description provided.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@valgur
Copy link
Contributor Author

valgur commented Jul 26, 2023

Closing temporarily to avoid unnecessary load on the CI. Will reopen when I'm actively working on the PR again.

@conan-center-bot

This comment has been minimized.

@stale
Copy link

stale bot commented Sep 17, 2023

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.

@stale stale bot added the stale label Sep 17, 2023
@valgur valgur marked this pull request as ready for review September 20, 2023 12:39
@stale stale bot removed the stale label Sep 20, 2023
@conan-center-bot

This comment has been minimized.

@github-actions
Copy link
Contributor

Hooks produced the following warnings for commit 828a492
qxmpp/1.4.0@#6a014b324991b9f46f86a6d55cc5e8ec
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libqxmpp.1.4.0.dylib' links to system library 'CFNetwork' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libqxmpp.dylib' links to system library 'CFNetwork' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libqxmpp.3.dylib' links to system library 'CFNetwork' but it is not in cpp_info.frameworks.

@conan-center-bot

This comment has been minimized.

Copy link

stale bot commented Dec 15, 2023

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.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ✔️

All green in build 9 (74ff43e134d9f22d882b3ce6a1b4ed6727b17b9c):

  • qxmpp/1.4.0:
    All packages built successfully! (All logs)

Conan v2 pipeline ✔️

Note: Conan v2 builds are now mandatory. Please read our discussion about it.

All green in build 8 (74ff43e134d9f22d882b3ce6a1b4ed6727b17b9c):

  • qxmpp/1.4.0:
    All packages built successfully! (All logs)

Copy link
Member

@uilianries uilianries left a 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"
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
required_conan_version = ">=1.56.0 <2 || >=2.0.6"
required_conan_version = ">=1.60.0 <2 || >=2.0.6"

https://docs.conan.io/1/changelog.html#id34

@@ -27,62 +33,90 @@ class QxmppConan(ConanFile):
"with_gstreamer": False,
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
"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)
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
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>")
Copy link
Member

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.

@uilianries uilianries self-assigned this Mar 8, 2024
Copy link
Contributor

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.

@github-actions github-actions bot added the stale label May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants