Skip to content

Conversation

@fre3dm4n
Copy link
Contributor

Describe the pull request

  • What does your PR fix?

  1. Add new port [zycore], which is a dependency of port [zydis]
  • Which triplets are supported/not supported? Have you updated the CI baseline?

all ,Yes

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/

@JonLiu1993 JonLiu1993 self-assigned this Oct 12, 2022
@JonLiu1993 JonLiu1993 added the category:new-port The issue is requesting a new library to be added; consider making a PR! label Oct 12, 2022
@JonLiu1993 JonLiu1993 changed the title Add new port [zycore] [zycore] Add new port Oct 12, 2022
github-actions[bot]
github-actions bot previously approved these changes Oct 12, 2022
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

You have modified or added at least one vcpkg.json where you should check the license field.

If you feel able to do so, please consider adding a "license" field to the following files:

  • ports/zycore/vcpkg.json

Valid values for the license field can be found in the documentation

@JonLiu1993
Copy link
Contributor

Please consider adding a "license" field to the vcpkg.json files

@fre3dm4n
Copy link
Contributor Author

Seems I submitted some redundant commits... Forgive me, I'm new to vcpkg😢.

github-actions[bot]
github-actions bot previously approved these changes Oct 13, 2022
@fre3dm4n fre3dm4n requested review from JonLiu1993 and flobernd and removed request for JonLiu1993 and flobernd October 13, 2022 02:41
JonLiu1993
JonLiu1993 previously approved these changes Oct 13, 2022
github-actions[bot]
github-actions bot previously approved these changes Oct 13, 2022
@JonLiu1993
Copy link
Contributor

Tetsed zycore:x64-windows usage successfully.

@JonLiu1993 JonLiu1993 added info:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this. and removed requires:author-response labels Oct 13, 2022
Comment on lines 9 to 13
- ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
- LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
Copy link
Contributor

Choose a reason for hiding this comment

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

This patch can be minimized. We only need to insert RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} in the middle.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done



vcpkg_cmake_config_fixup(
CONFIG_PATH lib/cmake/${PORT}
Copy link
Contributor

Choose a reason for hiding this comment

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

Please don't use the PORT variable here. CONFIG_PATH is a source path. It doesn't depend on the value of PORT but on the literal name chosen by the package.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

CONFIG_PATH lib/cmake/${PORT}
)

configure_file(${SOURCE_PATH}/LICENSE "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" COPYONLY)
Copy link
Contributor

Choose a reason for hiding this comment

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

For consistency in all ports, I would prever to see copyrigh handled in the last line. The common pattern is file(INSTALL ... DESTINATION ... RENAME "copyright") but now there is also a vcpkg_install_copyright command.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

Copy link
Contributor

@dg0yt dg0yt left a comment

Choose a reason for hiding this comment

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

Thanks for the update and the patience.

@vicroms vicroms merged commit 0967abd into microsoft:master Oct 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category:new-port The issue is requesting a new library to be added; consider making a PR! info:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants