-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
[libosmscout] Add new port #14485
[libosmscout] Add new port #14485
Conversation
@OgreTransporter, could your format the vcpkg.json file? See https://github.com/microsoft/vcpkg/blob/master/docs/maintainers/maintainer-guide.md#manifests for solution. I also suggest to rename the port to 'framstag-libosmscout', I noticed there is also another package named to libosmscout. https://repology.org/project/libosmscout/versions Thanks for your contribution! |
I would be happy about a reasonable error message.
is not very helpful. Of course I used
I am against renaming the port. If the name is changed, repology probably cannot recognize the vcpkg package. For example, cairo is also called cairo everywhere. The listed packages have also not been maintained for years and are very outdated.
|
For the name issue, @strega-nil, could you help confirm if it's okay in vcpkg? Here is CI test failures, @OgreTransporter, could you confirm if it supports uwp and arm? let me know if you need full logs.
x64-uwp:
x64-windows-static:
x64-linux:
|
@PhoebeHui Thanks a lot for your help! I find it strange that the Linux build fails because the CI (https://ci.appveyor.com/project/Framstag/libosmscout/builds/36178606) of libosmscout works. What kind of Linux and which settings were used? static-windows I have fixed, UWP and ARM I will probably disable. |
I can build libsomscout statically with CMake and my own libraries, but not with vcpkg:
If the bug #12094 is fixed, I activate it again. |
@OgreTransporter, for linux, the CI test machine using ubuntu 18.04 with gnu 7.5.0, this issue could repro locally in my vm. I attached the full log: For CI test machine deployment in linux, see https://github.com/microsoft/vcpkg/blob/master/scripts/azure-pipelines/linux/provision-image.sh Noted that the linux passed in CI testing now since you add '!static' in supports, it actually skipped. |
All features test passed with x64-windows. |
When I found the Linux error I will activate it again. The CIs of libosmscout work under Ubuntu 18.04:
Windows static does not work for me because glib (dependency of a dependency) cannot be built. So, the package is only available as Windows DLLs for now. Later I can update it. |
There is 2 packages named to libosmscout, and users may confused with the names, see doc https://github.com/Framstag/libosmscout |
Both are the same library, except that the Open Mandriva Association directory is outdated and https://github.com/Framstag/libosmscout is the official repository. The Mandriva directory is just an outdated build script like a vcpkg port. |
Confirmed that libosmscout is the correct name. |
Many thanks for your help. |
Thank you @OgreTransporter ! :) |
This is a new port of libosmscout (https://github.com/Framstag/libosmscout).