-
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
new library: Simage #20197
new library: Simage #20197
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.
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.
LGTM in general, except for the probably buggy Qt option handling.
Also, looks like a useful library. Thanks! 😃
tc.cache_variables["VORBIS_ROOT"] = get_include_root(self, "vorbis") | ||
#same for Ogg | ||
tc.cache_variables["OGG_ROOT"] = get_include_root(self, "ogg") |
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.
tc.cache_variables["VORBIS_ROOT"] = get_include_root(self, "vorbis") | |
#same for Ogg | |
tc.cache_variables["OGG_ROOT"] = get_include_root(self, "ogg") | |
tc.cache_variables["VORBIS_ROOT"] = conanfile.dependencies["vorbis"].package_folder | |
#same for Ogg | |
tc.cache_variables["OGG_ROOT"] = conanfile.dependencies["ogg"].package_folder |
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.
on thinking about this, I actually feel like I want to keep get_include_root for the following reason:
if it so happens that you are working on "ogg" or "vorbis" in a local folderf and have them in "editable" mode, then getting the parent directory of the includes will still work, whereas package_folder will be None, right?
|
||
def get_include_root(conanfile: ConanFile, depname: str) -> str: | ||
pth = pathlib.Path(conanfile.dependencies[depname].cpp_info.includedirs[0]).parent | ||
return str(pth) |
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.
def get_include_root(conanfile: ConanFile, depname: str) -> str: | |
pth = pathlib.Path(conanfile.dependencies[depname].cpp_info.includedirs[0]).parent | |
return str(pth) |
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.
will fix these together in one commit
you can use pathlib.Path objects directly Co-authored-by: Martin Valgur <martin.valgur@gmail.com>
remove properties that will be correct defaults anyway Co-authored-by: Martin Valgur <martin.valgur@gmail.com>
question: this package by default includes stuff licensed under ISC, and also a folder of MPEG decoders which has the following dubious license text:
I suppose these are not valid to be includeed in a CCI package recipe? If not, can I delete this folder from the packaged package and implement extra logic so it can be downloaded and built from the user's side if they want it (kind of like how some linux packages work with downloading stuff at RPM install time or similar?) |
Conan v1 pipeline ❌Failure in build 9 (
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 See details:Failure in build 9 (
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. |
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 pull request has been automatically closed because it has not had recent activity. Thank you for your contributions. |
Specify library name and version: simage/1.8.3
This is a package for the coin3D simage library (https://www.coin3d.org/simage/html/), I am planning to package Coin3D itself (though likely not all the libraries) in order to tackle larger packaging projects e.g. CERN Geant4 which for many of their functions depend on coin3D. I have no affiliation personally with coin3D library developers.