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

[gnutls] Add new recipe with Conan v1 & v2 support #14873

Merged
merged 23 commits into from
Jan 26, 2023

Conversation

uilianries
Copy link
Member

@uilianries uilianries commented Dec 21, 2022

After having the three basic components (nettle, gmp and libiconv) now we can add GnuTLS to CCI.

  • Support for Conan v2
  • CMake targets based on https://cmake.org/cmake/help/v3.16/module/FindGnuTLS.html
  • pkgconfig based on gnutls generated pc files
  • Compression libraries are optional (zlib, brotli and zstd)
  • C++ support is optional, but enabled by default
  • For Visual Studio, there is GnuTLS for Windows on Gitlab
  • There are more optional libraries (libtasn1, libidn2, p11-kit, trousers, libunbound), but they can be added in a future PR

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

This comment has been minimized.

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

This comment has been minimized.

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.

Hooks + a quick cmake targets Questions :)

recipes/gnutls/all/test_v1_package/conanfile.py Outdated Show resolved Hide resolved
recipes/gnutls/all/conanfile.py Show resolved Hide resolved
recipes/gnutls/all/conanfile.py Show resolved Hide resolved
uilianries and others added 3 commits December 21, 2022 18:19
Co-authored-by: Chris Mc <prince.chrismc@gmail.com>
Co-authored-by: Chris Mc <prince.chrismc@gmail.com>
Co-authored-by: Chris Mc <prince.chrismc@gmail.com>
@uilianries
Copy link
Member Author

@prince-chrismc thank you!

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

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

This comment has been minimized.

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

This comment has been minimized.

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

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

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

This comment has been minimized.

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

This comment has been minimized.

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

This comment has been minimized.

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

This comment has been minimized.

Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ✔️

All green in build 17 (27dc30816d9a21ff3b74b1a02a8e2ba6369a75a3):

  • gnutls/3.7.8@:
    All packages built successfully! (All logs)

@github-actions
Copy link
Contributor

Hooks produced the following warnings for commit 27dc308
gnutls/3.7.8
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libgnutls.30.dylib, libgnutlsxx.dylib, libgnutls.dylib, libgnutlsxx.30.dylib

@conan-center-bot conan-center-bot merged commit ad66679 into conan-io:master Jan 26, 2023
@uilianries uilianries deleted the package/gnutls branch January 26, 2023 14:18
StellaSmith pushed a commit to StellaSmith/conan-center-index that referenced this pull request Feb 2, 2023
* Add GNU TLS

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

* export vars

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

* prepare gnutls for Conan v2

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

* Fix yaml format

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

* Fix optional logic

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

* Fix yaml format

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

* remove .la files

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

* Update recipes/gnutls/all/test_v1_package/conanfile.py

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

* Update recipes/gnutls/all/conanfile.py

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

* Update recipes/gnutls/all/conanfile.py

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

* Remove pkgconfig folder

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

* fix copy license

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

* fix test_v1_package

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

* Fix license file name

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

* Disable rpath

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

* Fix licenses

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

* Add workaround for Mac framework

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

* Remove workaround

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

* Requires Conan 1.55

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

* Skip apple debug

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

* Fix Mac debug build

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

* Try to fix cross-building on ARM

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

Signed-off-by: Uilian Ries <uilianries@gmail.com>
Co-authored-by: Chris Mc <prince.chrismc@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.

4 participants