Skip to content

[libffi] Added Conan v2 support#8

Open
jellespijker wants to merge 110 commits intocura-devfrom
CURA-9628-libffi_conan_v2_ready
Open

[libffi] Added Conan v2 support#8
jellespijker wants to merge 110 commits intocura-devfrom
CURA-9628-libffi_conan_v2_ready

Conversation

@jellespijker
Copy link
Copy Markdown
Member

@jellespijker jellespijker commented Sep 10, 2022

CCI PR is here: conan-io#12904
This PR is only for internal Ultimaker use

jellespijker and others added 17 commits September 10, 2022 08:49
Contributes to CURA-9628
Contributes to CURA-9628
Contributes to CURA-9628
Contributes to CURA-9628
Contributes to CURA-9628
Should be reverted once conan-io#12898
has been merged

Contribute to CURA-9628 and CURA-9575
* conan v2 support

* fix url & sha256

project seems to have been renamed coost
* docs: make sure to link `enable_revisions` so it's more obvious

* docs: move instructions to one place....

* docs: use latest language around possible solutions

* Update consuming_recipes.md

* update link from FAQs

* update with another review 😄

* Update docs/consuming_recipes.md

Co-authored-by: James <james@conan.io>

Co-authored-by: James <james@conan.io>
Co-authored-by: conan-center-bot <conan-center-bot@users.noreply.github.com>
… 2.x

* Update tomlcpp

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* Remove old versions

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* fix configuration path on Windows

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* Linter fix

Co-authored-by: Chris Mc <prince.chrismc@gmail.com>

Signed-off-by: Uilian Ries <uilianries@gmail.com>
Co-authored-by: Chris Mc <prince.chrismc@gmail.com>
Generated and committed by [Conan Center Bot](https://github.com/qchateau/conan-center-bot)
Find more updatable recipes in the [GitHub Pages](https://qchateau.github.io/conan-center-bot/)

Co-authored-by: Quentin Chateau via Conan Center Bot <quentin.chateau@gmail.com>
Copy link
Copy Markdown

@Joeydelarago Joeydelarago left a comment

Choose a reason for hiding this comment

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

Looks good, just one small type. Non blocking.

Comment on lines +26 to +27
"shared": False
,
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
"shared": False
,
"shared": False,

conan-center-bot and others added 12 commits September 14, 2022 16:58
* opencore-amr: Added version 0.1.6 of the library

* Fixed warning and started migration for conan 2.0

* Revert rename function path

* Bump automake version

* Modernize

* Fix imports

* fix rm command arguments
* Conan v2 support

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* update generators

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* Link libpng

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* required conan version

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* use self.conf

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* Add 1.5.30

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* Remove symlink

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* Remove symlink

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* Use symlink as main library

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* add lib prefix and suffix

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* remove suffix

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* Fix patch file name

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* skip Mac m1 for 1.5

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* skip cross build on mac

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* Improve message error

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* fix lib name on Windows^

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* Support cross on Mac

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* Fix debug suffix on Windows

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* skip Mac M1 on 1.5

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* fix build_type

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* Requires Conan 1.51.3

Co-authored-by: SpaceIm <30052553+SpaceIm@users.noreply.github.com>

* Remove pkg_config_name legacy

Co-authored-by: SpaceIm <30052553+SpaceIm@users.noreply.github.com>

* Enforce source folder

Signed-off-by: Uilian Ries <uilianries@gmail.com>

Signed-off-by: Uilian Ries <uilianries@gmail.com>
Co-authored-by: SpaceIm <30052553+SpaceIm@users.noreply.github.com>
* Add cryptopp 8.7.0

* Add CMake build requirement

* Update to latest cryptopp-cmake commit

* Minor tweaks

* Update to latest commit, add CMake tool dependencies again

* Delete share folder

* Switch to temporary branch with fixes

* Switch back to abdes/cryptopp-cmake

* Remove license again

Co-authored-by: chausner <chausner@users.noreply.github.com>
* jwt-cpp: fix building without picojson

* jwt-cpp: add missing traits header to test package

* Adapt for Conan 2.0

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* Fix building test_package for older jwt-cpp versions

* Conanfile review fixes

* Add endline to the end of files

Signed-off-by: Uilian Ries <uilianries@gmail.com>
Co-authored-by: Uilian Ries <uilianries@gmail.com>
* Update asio-grpc to v2.1.0

* asio-grpc: Fix packaging of older versions by switching back to CMake based build

* asio-grpc: Add test_v1_package

* asio-grpc: Remove duplicate test_package.cpp and test.proto files
Generated and committed by [Conan Center Bot](https://github.com/qchateau/conan-center-bot)
Find more updatable recipes in the [GitHub Pages](https://qchateau.github.io/conan-center-bot/)

Co-authored-by: Quentin Chateau via Conan Center Bot <quentin.chateau@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>

Signed-off-by: Uilian Ries <uilianries@gmail.com>
* xkbcommon: Small fixes

* Remove buildenv PATH
Generated and committed by [Conan Center Bot](https://github.com/qchateau/conan-center-bot)
Find more updatable recipes in the [GitHub Pages](https://qchateau.github.io/conan-center-bot/)

Co-authored-by: Quentin Chateau via Conan Center Bot <quentin.chateau@gmail.com>
ericLemanissier and others added 30 commits September 19, 2022 13:07
Generated and committed by [Conan Center Bot](https://github.com/qchateau/conan-center-bot)
Find more updatable recipes in the [GitHub Pages](https://qchateau.github.io/conan-center-bot/)

Co-authored-by: Quentin Chateau via Conan Center Bot <quentin.chateau@gmail.com>
…nd-scanner are shared

* fix native build when dependencies of wayland-scanner are shared

* bump meson

* fix indentation

* cleanup package_info()

- remove duplicated self.env_info.PATH
- names["pkg_config"] not needed when set_property("pkg_config_name") defined
- no need to add bindirs to PATH in buildenv_info & runenv_info
Signed-off-by: Uilian Ries <uilianries@gmail.com>

Signed-off-by: Uilian Ries <uilianries@gmail.com>
…ka++ library.

* Fixes conan-io#12213.  Adds code to test package to test rdkafka++ library.

* Split C and C++ tests into two separate executables

* Rename test_package.cpp to test_package.c and use stdio/printf.
Generated and committed by [Conan Center Bot](https://github.com/qchateau/conan-center-bot)
Find more updatable recipes in the [GitHub Pages](https://qchateau.github.io/conan-center-bot/)

Co-authored-by: Quentin Chateau via Conan Center Bot <quentin.chateau@gmail.com>
Generated and committed by [Conan Center Bot](https://github.com/qchateau/conan-center-bot)
Find more updatable recipes in the [GitHub Pages](https://qchateau.github.io/conan-center-bot/)

Co-authored-by: Quentin Chateau via Conan Center Bot <quentin.chateau@gmail.com>
* harfbuzz 5.2.0

* Update conandata.yml

* Update config.yml

* Update conanfile.py

* Update conanfile.py
* Initial commit of libBigWig recipe

* Bump required_conan_version

* Apparently -lgsasl is not needed?

* Attempt Conan v2 migration

* Remove duplicate blank line

* Bugfix in test_package

* Bugfix

* Update for Conan 2.0

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* Workaround gsasl link error

* Do not build with curl support by default

* Bump libcurl

* Document workaround for gsasl link error

* Bugfix

* Move libcurl option checks inside validate()

Signed-off-by: Uilian Ries <uilianries@gmail.com>
Co-authored-by: Uilian Ries <uilianries@gmail.com>
* imutils-cpp: add recipe

* follow conan v2

* drop support gcc 7

* define CMAKE_CXX_STANDARD for C++ filesystem

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

* import cross_building

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

* don't use tools.cross_building

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

* set package names for conan 1.0

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

* drop support gcc 8

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

* update clang, apple-clang version for std::filesystem

* drop support clang 11

* add patch for removing bit/stdc++.h

* remove bits/stdc++.h in text.cpp

* fix std::filesystem::path cast

* set `/permissive-` in MSVC

* fix cast from path to string, more

Co-authored-by: Uilian Ries <uilianries@gmail.com>
* Add gc/8.2.2 recipe

* Add gc/8.2.2 recipe
* gc: rename update-cmake.patch to update-cmake-8_0_4.patch

* Adapt new Tools

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* bdwgc: Fix Cmake warning about unused enable_cord variable

* bdwgc: Update libatomic_ops dependency to v7.6.14

* bdwgc: Call rmdir() after cmake install

* bdwgc: Fix gctba not found installed

* Prepare for Conan 2.0

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* bdwgc: Update CMakeLists.txt to find libatomic_ops package

* bdwgc: Remove duplicates in options_defaults

* bdwgc: Do not build docs

Signed-off-by: Uilian Ries <uilianries@gmail.com>
Co-authored-by: Uilian Ries <uilianries@gmail.com>
* conan v2 support

* fix windows build

* minor changes

* fix windows patch of 1.19.1
* conan v2 support

* use self.dependencies instead of self.deps_cpp_info

* typo

* fix libpq target only if version >= 1.10.0

* minor change

* properly handle pcre injection through CMakeDeps
* libpfm4: Add version 4.8.0

* libpfm4: Add version 4.8.0

* Update recipes/libpfm4/all/conanfile.py

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

* _source -> source

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

* tools specialized import

* use source_folder

* import tools

* modernize test according to template

* trailing spaces

* Adapt for Conan 2.0

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* Update recipes/libpfm4/all/conanfile.py

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

* libpfm4: linux only

* import correct files

* Update version to official repository

Signed-off-by: Uilian Ries <uilianries@gmail.com>
Co-authored-by: Uilian Ries <uilianries@gmail.com>
* Remove how to disable pylint

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* faq skipping linter

Signed-off-by: Uilian Ries <uilianries@gmail.com>

Signed-off-by: Uilian Ries <uilianries@gmail.com>
Co-authored-by: conan-center-bot <conan-center-bot@users.noreply.github.com>
* update sqlitecpp to 3.2.0

* Support Conan 2.0

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* Remove share folder

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* add sqlitecpp version 3.2.0

Signed-off-by: Uilian Ries <uilianries@gmail.com>
Co-authored-by: Uilian Ries <uilianries@gmail.com>
* Add npcap package

* Upgrade to conan v2

* Format conandata.yml

* Apply suggestions from code review

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

* Update layout

* Use v2 template

* Add test_v1_package

* Update package_info

* Sort import

* Use libpcap compiled as shared lib to mock wpcap.dll

* Fix test_v1_package

Co-authored-by: Uilian Ries <uilianries@gmail.com>
* unordered_dense: add recipe

* remove template comment

* remove blnak line

* remoe apply_conandata_patches

* fix set_compile_features

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

* correct msvc version

* don't use self.info when clear() is called.

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

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

* daw_header_libraries: conan v2 support and remove older versions

* downgrade required_conan_version

Co-authored-by: SpaceIm <30052553+SpaceIm@users.noreply.github.com>

* correct msvc version

Co-authored-by: SpaceIm <30052553+SpaceIm@users.noreply.github.com>

* use f-string

Co-authored-by: SpaceIm <30052553+SpaceIm@users.noreply.github.com>

* fix typo

* move components definition for conan v1

* don't use self.info when clear() is called

* xsimd: add version 9.0.1

* fix library name

* fix library name

* revert xsimd modification

Co-authored-by: SpaceIm <30052553+SpaceIm@users.noreply.github.com>
* pango 1.50.10

* Update conandata.yml

* Update config.yml

* bump reqs

* fix hooks

* Update conanfile.py
Generated and committed by [Conan Center Bot](https://github.com/qchateau/conan-center-bot)
Find more updatable recipes in the [GitHub Pages](https://qchateau.github.io/conan-center-bot/)

Co-authored-by: Quentin Chateau via Conan Center Bot <quentin.chateau@gmail.com>
…d `fPIC`

* docs: capture our policy for the options `shared` and `fPIC`

This came as a question on Slack, thought it was worth writting down 

https://cpplang.slack.com/archives/C41CWV9HA/p1660683315599809

* move everything to packing policy

* Update docs/packaging_policy.md

* Update docs/packaging_policy.md

* Update docs/packaging_policy.md

* Apply sse4s suggest

* Add original q to faq and link to new docs

* Apply suggestions from code review

Co-authored-by: Francisco Ramírez <franchuti688@gmail.com>

* Note `rm_safe`

* Update docs/packaging_policy.md

* Update docs/packaging_policy.md

* Update docs/packaging_policy.md

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

Co-authored-by: Francisco Ramírez <franchuti688@gmail.com>
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.