andlabs / libui

Simple and portable (but not inflexible) GUI library in C that uses the native GUI technologies of each platform it supports.
Other
10.7k stars 613 forks source link

Conan package #288

Open zamazan4ik opened 6 years ago

zamazan4ik commented 6 years ago

Hello, Do you know about Conan? Conan is modern dependency manager for C++. And will be great if your library will be available via package manager for other developers.

Here you can find example, how you can create package for the library.

If you have any questions, just ask :-)

solvingj commented 5 years ago

Hey @ZaMaZaN4ik , we have now successfully created a third-party Conan package for libui, based on the Alpha 0.4.1 version. It's in the public bincrafters repository.

https://bintray.com/bincrafters/public-conan/libui%3Abincrafters

The recipe and CI files are stored here:

https://github.com/bincrafters/conan-libui

The CI logs are here:

https://travis-ci.com/bincrafters/conan-libui/builds https://ci.appveyor.com/project/BinCrafters/conan-libui

For those new to Conan, users always have the option to build from source or use one of the pre-compiled binaries for their platform. Our CI builds a variety of configurations for Windows, Linux, and macOS. This includes multiple compilers and versions, both debug and release, both 32 and 64 bit, etc. Over 100 in total.

@andlabs Long-term, it's preferred if upstream library maintainers own and release official packages, but in general packaging adds a significant burden, especially as there are many package ecosystems these days. Nonetheless, we always offer to transfer the recipe repository ownership to library maintainers maintainers who are willing and interested. Example: https://github.com/saprykin/conan-plibsys

On the other hand, if you'd prefer to have us maintain it long-term, then this ticket can probably be closed. In either case, please let us know if you have any feedback, we would be grateful for any support or tips you can give on improving. Also, the package is currently in our "Bincrafters Public" repository (it's analagous to "Software Collections" in RHEL/CentOS world). Conan has a moderated central repository called "Conan Center", which we generally submit our stable packages to. Since the library is still in Alpha status, we'll likely wait until a 1.0.0 release before submitting this package for inclusion in Conan Center. Again, let us know what you think.

Thanks again for the great library!