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

Release OpenEXR as NuGet #218

Closed
wants to merge 3 commits into from
Closed

Release OpenEXR as NuGet #218

wants to merge 3 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Dec 30, 2016

These scripts compile OpenEXR as a NuGet Package.
Use with Visual Studio or MSBuild.
Prepared for continuous integration services.

https://www.nuget.org/packages/openexr-msvc14-x86/
https://www.nuget.org/packages/openexr-msvc14-x64/

@ghost ghost mentioned this pull request Feb 22, 2017
@ghost
Copy link
Author

ghost commented Aug 21, 2017

Greetings,

Please provide feedback.

Thanks,
coast

@meshula
Copy link
Contributor

meshula commented May 1, 2018

Hi @mancoast, What would be the steps to test and verify this patch? I see the nuget.org package links you posted. What is the relationship between this patch, and the nuget.org links you provided? Thanks

@ghost
Copy link
Author

ghost commented May 3, 2018 via email

@ghost
Copy link
Author

ghost commented Sep 13, 2018 via email

@meshula
Copy link
Contributor

meshula commented Sep 13, 2018

Thanks for the explanations. This patch looks correct. One thing I am wondering about is if it needs to be revised for OpenEXR 2.3? I see this 2.2.0.8787, and am also thinking that perhaps the new cmake switches need to be taken into account, (https://github.com/openexr/openexr/blob/master/CMakeLists.txt), although the defaults are probably fine?

@ghost
Copy link
Author

ghost commented Sep 14, 2018 via email

@meshula
Copy link
Contributor

meshula commented Sep 14, 2018

The 2.2.0.8787 refers to the NuGet version then? I was confused by OpenEXR previously being on version 2.2.

Here are the current external switches, the question is whether they are what the NuGet packaging system needs, or if they need to be overridden.

option(OPENEXR_BUILD_ILMBASE        "Build IlmBase"              ON)
option(OPENEXR_BUILD_OPENEXR        "Build OpenEXR"              ON)
option(OPENEXR_BUILD_PYTHON_LIBS    "Build the Python bindings"  ON)
option(OPENEXR_BUILD_VIEWERS        "Build the viewers"          OFF)
option(OPENEXR_BUILD_TESTS          "Enable the tests"           ON)
# when enabled, adds the (long) running fuzz tests to the "make test" rule
# even when this is disabled, as long as OPENEXR_BUILD_TESTS is enabled, one
# can still run "make fuzz" (or equivalent)
option(OPENEXR_RUN_FUZZ_TESTS       "Run damaged-input tests"    OFF)
option(OPENEXR_BUILD_UTILS          "Build the utility programs" ON)

option(OPENEXR_BUILD_SHARED         "Build Shared Libraries"     ON)
option(OPENEXR_BUILD_STATIC         "Build Static Libraries"     OFF)
option(OPENEXR_NAMESPACE_VERSIONING "Use Namespace Versioning"   ON)
option(OPENEXR_FORCE_CXX03          "Force CXX03"                OFF)
set(OPENEXR_PYTHON_MAJOR "2" CACHE STRING "Python major version")
set(OPENEXR_PYTHON_MINOR "7" CACHE STRING "Python minor version")

@ghost
Copy link
Author

ghost commented Sep 15, 2018

Greetings @meshula

You are correct the 2.2.0.8787 refers to the nuget version. This version number system expresses the openexr revision and the nuget revision concatenated. The first three numbers are the Semantic Versioning of the openexr software (the latest nuget uses version 2.2.0 of exr and I will update to 2.3 now) and the last number is the nuget version (8787 I will update to 8788). With respect to the CMAKE switches, I will experiment with specific requirements and add another commit to the PR shortly.

Thanks,
Rob

@ghost
Copy link
Author

ghost commented Sep 15, 2018

Please see images below for testing/verification
image
image
image
image
image

@meshula
Copy link
Contributor

meshula commented Sep 15, 2018

haven't seen the viewer working on Windows for a long time!

@ghost
Copy link
Author

ghost commented Sep 17, 2018

Hello @meshula

The viewer required an FLTK lib, so I released FLTK on nuget also. With respects to getting this pull request merged Upstream, what else can I do to assist? I am excited and happy to become a contributor to openexr.

Thanks,
Rob

@cary-ilm
Copy link
Member

Hey @mancoast, this all seems to look fine, if you confirm it works, although we've got minimal ability to test it here. Can you send us a CLA, from http://www.openexr.com/downloads/OpenEXR-Adapted-Contributor-License-Agreement-Individual-2013.doc

Thanks,

  • Cary

@ghost
Copy link
Author

ghost commented Sep 19, 2018 via email

@cary-ilm
Copy link
Member

@mancoast, one more thing - could you add a note to the README.md file explaining the nuget setup? We should at least mention its existence. Are there any special instructions? Thanks!

@lgritz
Copy link
Contributor

lgritz commented Sep 19, 2018

In particular, explicitly spelling out the exact Windows command line to use nuget to install the package would be helpful, for those of us who have minimal Windows knowledge but occasionally have to patch Appveyor scripts and the like.

@cary-ilm
Copy link
Member

merged and rebased to master.

@cary-ilm cary-ilm closed this Sep 22, 2018
@ghost
Copy link
Author

ghost commented Oct 5, 2018 via email

@cary-ilm cary-ilm modified the milestone: v2.4.0 Aug 10, 2019
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.

3 participants