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

[sail] Bump to 0.9.0-rc2, migrate to Conan V2 #14871

Merged
merged 47 commits into from
Jan 27, 2023
Merged

[sail] Bump to 0.9.0-rc2, migrate to Conan V2 #14871

merged 47 commits into from
Jan 27, 2023

Conversation

HappySeaFox
Copy link
Contributor

Specify library name and version: sail/0.9.0-rc2

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

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@HappySeaFox HappySeaFox marked this pull request as draft January 10, 2023 00:54
@HappySeaFox
Copy link
Contributor Author

HappySeaFox commented Jan 10, 2023

Blocked by #15194 for V2

@HappySeaFox HappySeaFox marked this pull request as ready for review January 10, 2023 20:10
@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline

All green in build 20 (c7bb959a874177bffaebe54737c87791af370f2d):

  • sail/0.9.0-rc2@:
    All packages built successfully! (All logs)

@HappySeaFox
Copy link
Contributor Author

Not blocked by #15194 anymore, can be merged.

Comment on lines +107 to +110
# TODO: Remove after fixing https://github.com/conan-io/conan-center-index/issues/13159
# C3I workaround to force CMake to choose the highest version of
# the windows SDK available in the system
if is_msvc(self) and not self.conf.get("tools.cmake.cmaketoolchain:system_version"):
Copy link
Contributor

@jwillikers jwillikers Jan 27, 2023

Choose a reason for hiding this comment

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

Is it possible to avoid doing this outside of C3I? I know the Qt 6 recipe implements some special validation logic with if os.getenv('NOT_ON_C3I', '0') == '0': to only evaluate in C3I. This allows local devs to set the variable and override this behavior.

Not sure if this should be done, but I wanted to ask. @prince-chrismc Any thoughts?

Copy link
Member

Choose a reason for hiding this comment

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

Environment should be totally avoided on Conan 2.0, so conan config will be the best and safest approach. About Qt, that variable should be replace by a configuration too. As you should know, env vars are fragile, they can be easily replace, also, depending the user/profile they may change too, so it's not safe using them.

@conan-center-bot conan-center-bot merged commit 91e1924 into conan-io:master Jan 27, 2023
StellaSmith pushed a commit to StellaSmith/conan-center-index that referenced this pull request Feb 2, 2023
* Added libjpeg-turbo option

* Use SAIL_ENABLE_CODECS

* [sail] Update to 0.9.0-rc1

* [sail] Fix linter errors

* [sail] Migrate to new CMake

* [sail] Use apply_conandata_patches

* [sail] Update libwebp 1.2.2 -> 1.2.3

* [sail] Fix libjpeg-turbo target name

* [sail] Remove unused imports

* [sail] Refactor libjpeg-turbo usage

* [sail] Added missing self

* [sail] Use copy from CMake tools

* [sail] Remove root CMakeLists and generators

* [sail] Update avif rc1 patch

* [sail] Remove CONFIG

* [sail] Disable pre23 for testing

* [sail] Disable AVIF for testing

* Workaroud Windows SDK bug

* Update to RC2

* Bump versions

* Remove pre23 patch

* V1 test suite

* Update RC1 to RC2 in config.yml

* Added missing CMakeDeps

* Enable AVIF

* Update recipes/sail/all/conanfile.py

Co-authored-by: Uilian Ries <uilianries@gmail.com>

* Update recipes/sail/all/conanfile.py

Co-authored-by: Uilian Ries <uilianries@gmail.com>

* Update recipes/sail/all/conanfile.py

Co-authored-by: Uilian Ries <uilianries@gmail.com>

* Update recipes/sail/all/test_v1_package/CMakeLists.txt

Co-authored-by: Uilian Ries <uilianries@gmail.com>

* Use self.options.rm_safe("fPIC")

* Fix typo

* Delete test_package.c

* Delete test_package.cpp

* Try workaround for check_c_source_compiles

* Test

* Try workaround for check_c_source_compiles for Windows only

* Use str()

* Update libavif version

Co-authored-by: Uilian Ries <uilianries@gmail.com>
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.

5 participants