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

Add openscenegraph/3.6.5 #2702

Merged
merged 31 commits into from
Jan 18, 2021
Merged

Conversation

ohanar
Copy link
Contributor

@ohanar ohanar commented Aug 28, 2020

Specify library name and version: openscenegraph/3.6.5

Closes #171

  • 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.

@conan-center-bot
Copy link
Collaborator

Failure in build 1 (0054111ad771908a1b09bdb3810e447416688ed4):

  • openscenegraph/3.6.5
    • Hooks errors detected:
      • [HOOK - conan-center.py] post_export(): ERROR: [DEFAULT SHARED OPTION VALUE (KB-H050)] The option 'shared' must be 'False' by default. Update 'default_options'. (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H050)

@ohanar
Copy link
Contributor Author

ohanar commented Aug 28, 2020

OpenSceneGraph is designed heavily around being dynamic and using plugins to load various functionality. While it can be built as a static library, most software out there expects it to be built as a shared library (and will break if OSG is not a shared library). I think this is a case that shared=True should be the default.

@conan-center-bot
Copy link
Collaborator

An unexpected error happened and has been reported. Help is on its way! 🏇

@conan-center-bot
Copy link
Collaborator

Some configurations of 'openscenegraph/3.6.5' failed in build 3 (de18580a4a3e188175414b1ab4c0eb0007278f6c):

@conan-center-bot
Copy link
Collaborator

Some configurations of 'openscenegraph/3.6.5' failed in build 5 (f46aecd6a93aa67bdc9e9cfde241444d44078fed):

this insures consistency across CMake generators
@conan-center-bot
Copy link
Collaborator

Some configurations of 'openscenegraph/3.6.5' failed in build 10 (97bece41ab46e3329a95b0c50f0ae5de950cf6c9):

@jgsogo
Copy link
Contributor

jgsogo commented Sep 3, 2020

I'm having a look to this PR, it takes too long to compile and I think the CI is reporting as failures some internal errors. I need to check.

@ohanar
Copy link
Contributor Author

ohanar commented Sep 3, 2020

@jgsogo The latest logs look like genuine failures, but yes it does take a while to build.

@conan-center-bot
Copy link
Collaborator

An unexpected error happened and has been reported. Help is on its way! 🏇

@uilianries uilianries closed this Sep 4, 2020
@uilianries uilianries reopened this Sep 4, 2020
@uilianries uilianries closed this Sep 4, 2020
@uilianries uilianries reopened this Sep 4, 2020
@conan-center-bot
Copy link
Collaborator

Some configurations of 'openscenegraph/3.6.5' failed in build 12 (f350de52a12a847277ce2387af216fca88867b37):

prince-chrismc
prince-chrismc previously approved these changes Dec 2, 2020
Copy link
Contributor

@prince-chrismc prince-chrismc left a comment

Choose a reason for hiding this comment

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

LGTM!

This PR needs more eyes, please review when you get a chance!

Copy link
Contributor

@jgsogo jgsogo left a comment

Choose a reason for hiding this comment

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

IMO, this is ready to go with those two changes proposed by @prince-chrismc

🎉

@prince-chrismc
Copy link
Contributor

prince-chrismc commented Dec 2, 2020

As mentioned in the nest of comments, #2702 (comment) the extra checks for the version are required

it's just the .value that's extra, to my knowledge it wont break anything

@conan-center-bot
Copy link
Collaborator

An unexpected error happened and has been reported. Help is on its way! 🏇

@conan-center-bot
Copy link
Collaborator

Some configurations of 'openscenegraph/3.6.5' failed in build 33 (777855ac63c2a48ac1032c573df7ead7d83d89ff):

@ohanar ohanar dismissed stale reviews from danimtb and prince-chrismc via 0e58985 January 5, 2021 17:10
@ohanar
Copy link
Contributor Author

ohanar commented Jan 5, 2021

Okay, had a busy December, just found a bit of time to address the handful of minor issues that came up during the last round of reviews.

Copy link
Contributor

@prince-chrismc prince-chrismc left a comment

Choose a reason for hiding this comment

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

This is a massive PR and I think we should merge it in and address the comments in a subsequent PR...

It's at the point I suspect some details of what we expect have changed since this has been open so long!

Overall I think it's complete, just some nit-picking comments to add

🚀 Merge!

Comment on lines +123 to +124
# if self.options.with_collada:
# self.requires("libxml2/2.9.10")
Copy link
Contributor

Choose a reason for hiding this comment

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

I believe we have a preference for adding the option and throwing invalid configuration (the idea is to have consistent package_id as more options are supported)

Comment on lines +239 to +242
for pdb in glob.iglob(os.path.join(self.package_folder, "bin", "*.pdb")):
os.unlink(pdb)
for pdb in glob.iglob(os.path.join(self.package_folder, "bin", "osgPlugins-{}".format(self.version), "*.pdb")):
os.unlink(pdb)
Copy link
Contributor

Choose a reason for hiding this comment

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

in 1.29.1 conan gained tools.remove_by_mask

from conans import CMake, ConanFile, tools
import glob, os


Copy link
Contributor

Choose a reason for hiding this comment

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

Since you are using components

Suggested change
required_conan_version = ">=1.28.0"

@ohanar
Copy link
Contributor Author

ohanar commented Jan 15, 2021

@prince-chrismc Should I open a second PR to address your feedback? I also need to update a lot of the dependencies.

@prince-chrismc
Copy link
Contributor

This should be merged first. 🤔

You need to retrigger CI to get a build... or else it will be closed from going stale..

Once a build passes you'll get more reviews

@ohanar ohanar closed this Jan 16, 2021
@ohanar ohanar reopened this Jan 16, 2021
@conan-center-bot
Copy link
Collaborator

All green in build 35 (0e58985b122caa0a9c6e6cebc5e7f20fc3cab334)! 😊

@jgsogo jgsogo dismissed memsharded’s stale review January 18, 2021 09:45

Recipe is no longer using hihgly-experimental 'toolchain' method. Need to dismiss in order to unblock.

@conan-center-bot conan-center-bot merged commit 41ea705 into conan-io:master Jan 18, 2021
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.

[request] OpenSceneGraph/3.6.4
10 participants