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
[libgourou] Add new port and its dep #28037
base: master
Are you sure you want to change the base?
Conversation
… port and its dependency
… Remove "lib" prefix }
… Fix `INSTALL_DESTINATION` }
Please use vcpkg_install_copyright instead of Other cl failures can be found in the log here: https://dev.azure.com/vcpkg/public/_build/results?buildId=81584&view=artifacts&pathAsName=false&type=publishedArtifacts |
…ll ; [ports/libgourou/portfile.cmake] { [{cmake/modules,utils/CMakeLists.txt}] Use regular OpenSSL `find_package` mechanism ; [utils/*.cpp] Use `std::cout` once over multiple lines }
…nstall_copyright`; [ports/updfparser/portfile.cmake] Implementing testing and disable build with tests for vcpkg
…`find_package` and `target_link_libraries` libcurl } ; [ports/{libgourou,updfparser}/vcpkg.json] Specify lack of Windows support
@Cheney-W That should do the trick. |
@@ -0,0 +1,23 @@ | |||
{ | |||
"name": "libgourou", | |||
"version": "0.8.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The upstream repository on GitHub doesn't have any releases or tags, so where did this version come from?
I see that you are actually using the latest commit, so if there is no release or tags available, you should use "version-date": "2022-11-28"
here (date of submission of this pr).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See the tags on the left https://indefero.soutade.fr/p/libgourou/source/tree/master/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The upstream repository on GitHub doesn't have any releases or tags, so where did this version come from?
@Cheney-W IIUC you are looking at an unofficial fork, but upstream is there:
See the tags on the left https://indefero.soutade.fr/p/libgourou/source/tree/master/
So shouldn't this port download from real upstream?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've been messaging the maintainer we can wait to see if he accepts my patches I guess?- He accepted some but not all so I think this might work, but happy to try again if you push it.
I tried to test the usage on Linux machine with following CMakelist.txt:
and I got below errors:
For fixing above errors, I think you should add below contents into the https://github.com/SamuelMarks/libgourou/blob/cmake/cmake/Config.cmake.in file:
|
@Cheney-W Darn, it's been open for 2 years and no activity for 3 months (whence someone had built solution on their fork): https://gitlab.kitware.com/cmake/cmake/-/issues/20511 I'll make the changes you suggested & thanks |
…party dependencies with `find_dependency` to Config }
@SamuelMarks Could you please apply my suggestions? |
@Cheney-W I thought I did a week ago? - Or did I miss something? |
I added some comments in |
@SamuelMarks Are you still working on this PR? |
}, | ||
{ | ||
"git-tree": "c1ce55a66a9b2cbd947c9574ae85e543ae5df418", | ||
"version": "0.8.0", | ||
"port-version": 0 | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
}, | |
{ | |
"git-tree": "c1ce55a66a9b2cbd947c9574ae85e543ae5df418", | |
"version": "0.8.0", | |
"port-version": 0 | |
} | |
} |
@SamuelMarks Are you still working on this PR? |
Yes, I thought maybe I'd add Windows support first then send it through Otherwise it's basically ready at is |
OK, please apply my suggestions by the way when you add new changes. |
Describe the pull request
New port
What does your PR fix?
N/A
Which triplets are supported/not supported? Have you updated the CI baseline?
Linux, macOS
Does your PR follow the maintainer guide?
Yes
If you have added/updated a port: Have you run
./vcpkg x-add-version --all
and committed the result?Yes
If you are still working on the PR, open it as a Draft: https://github.blog/2019-02-14-introducing-draft-pull-requests/