Skip to content

qwt: many changes & improvements #14249

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

Merged
merged 1 commit into from
Nov 25, 2022
Merged

Conversation

SpaceIm
Copy link
Contributor

@SpaceIm SpaceIm commented Nov 17, 2022

  • remove pointless options playground, examples & test
  • use export_conandata_patches
  • protect deletion of fPIC option with rm_safe
  • remove jom from build requirements, useless since recipe has moved to CMake
  • remove cmake & ninja from build requirements: CMake 3.15 is sufficient & ninja not mandatory
  • use conan.tools.files.copy instead of legacy self.copy
  • fine-grained cpp-info.requires in package_info()
  • remove HAVE_QWT definition in package_info(), it doesn't even exist in qwt source code
  • define QWT_NO_OPENGL if opengl enabled (not NO_QWT_OPENGL, it was a typo)
  • QT_PLUGIN_PATH env var is populated only if designer option is enabled. Moreover it's also added to runenv_info for conan v2 generators
  • test conan v2 generators in test package

  • I've read the guidelines for contributing.
  • I've followed the PEP8 style guides for Python code in the recipes.
  • I've used the latest Conan client version.
  • I've tried at least one configuration locally with the conan-center hook activated.

@ghost
Copy link

ghost commented Nov 17, 2022

I detected other pull requests that are modifying qwt/all recipe:

This message is automatically generated by https://github.com/ericLemanissier/conan-center-conflicting-prsso don't hesitate to report issues/improvements there.

- remove pointless options playground, examples & test
- use export_conandata_patches
- protect deletion of fPIC option with rm_safe
- remove jom from build requirements, useless since recipe has moved to CMake
- remove cmake & ninja from build requirements: CMake 3.15 is sufficient & ninja not mandatory
- use conan.tools.files.copy instead of legacy self.copy
- fine-grained cpp-info.requires in package_info()
- remove HAVE_QWT definition, it's not needed
- define QWT_NO_OPENGL if opengl enabled (not NO_QWT_OPENGL, it was a typo)
- QT_PLUGIN_PATH env var is populated only if designer option is enabled. Moreover it's also added to runenv_info for conan v2 generators
- test conan v2 generators in test package
@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline

All green in build 3 (b314529a9f3463f0d1a9ef90b1c8a3555028a581):

  • qwt/6.2.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.

LGTM

def configure(self):
if self.options.shared:
del self.options.fPIC
def build_requirements(self):
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is qt a build requirement?

Copy link
Contributor Author

@SpaceIm SpaceIm Nov 25, 2022

Choose a reason for hiding this comment

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

For moc. If moc, uic & rcc were extracted in independent recipes, it would be less painful for downstream recipes.

@conan-center-bot conan-center-bot merged commit bd9185e into conan-io:master Nov 25, 2022
@SpaceIm SpaceIm deleted the fix/qwt branch November 25, 2022 21:33
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.

4 participants