Skip to content

[cpptrace] Add new port#32826

Closed
jeremy-rifkin wants to merge 13 commits intomicrosoft:masterfrom
jeremy-rifkin:jr/cpptrace
Closed

[cpptrace] Add new port#32826
jeremy-rifkin wants to merge 13 commits intomicrosoft:masterfrom
jeremy-rifkin:jr/cpptrace

Conversation

@jeremy-rifkin
Copy link
Copy Markdown
Contributor

  • Changes comply with the maintainer guide
  • The name of the port matches an existing name for this component on https://repology.org/ if possible, and/or is strongly associated with that component on search engines.
  • Optional dependencies are resolved in exactly one way. For example, if the component is built with CMake, all find_package calls are REQUIRED, are satisfied by vcpkg.json's declared dependencies, or disabled with CMAKE_DISABLE_FIND_PACKAGE_Xxx
  • The versioning scheme in vcpkg.json matches what upstream says.
  • The license declaration in vcpkg.json matches what upstream says.
  • The installed as the "copyright" file matches what upstream says.
  • The source code of the component installed comes from an authoritative source.
  • The generated "usage text" is accurate. See adding-usage for context.
  • The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
  • Only one version is in the new port's versions file.
  • Only one version is added to each modified port's versions file.

@LilyWangLL LilyWangLL self-assigned this Jul 31, 2023
@LilyWangLL LilyWangLL added the category:new-port The issue is requesting a new library to be added; consider making a PR! label Jul 31, 2023
Comment on lines +2 to +16
"name": "cpptrace",
"version-string": "v0.1",
"description": "Lightweight, zero-configuration-required, and cross-platform stacktrace library for C++ ",
"homepage": "https://github.com/jeremy-rifkin/cpptrace",
"license": "MIT",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please use command .\vcpkg.exe format-manifest ports/cpptrace/vcpkg.json to format the file vcpkg.json.

Comment on lines +2 to +7
OUT_SOURCE_PATH SOURCE_PATH
REPO jeremy-rifkin/cpptrace
REF 4b11b87e4d905d003d0325a53994441cc767017a
SHA512
7800f38e765bf667abf6b91dff88041ec9f3d6bc94a98f0745c90cfa575b6694adbe9f620de9518ebab1b1cb65d2c3c16fc58d8fae23084a94d3806cd7901c5b
HEAD_REF main
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
OUT_SOURCE_PATH SOURCE_PATH
REPO jeremy-rifkin/cpptrace
REF 4b11b87e4d905d003d0325a53994441cc767017a
SHA512
7800f38e765bf667abf6b91dff88041ec9f3d6bc94a98f0745c90cfa575b6694adbe9f620de9518ebab1b1cb65d2c3c16fc58d8fae23084a94d3806cd7901c5b
HEAD_REF main
OUT_SOURCE_PATH SOURCE_PATH
REPO jeremy-rifkin/cpptrace
REF 4b11b87e4d905d003d0325a53994441cc767017a
SHA512 7800f38e765bf667abf6b91dff88041ec9f3d6bc94a98f0745c90cfa575b6694adbe9f620de9518ebab1b1cb65d2c3c16fc58d8fae23084a94d3806cd7901c5b
HEAD_REF main

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Just some suggestions on formatting.

)

vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
SOURCE_PATH "${SOURCE_PATH}"
SOURCE_PATH "${SOURCE_PATH}"

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO jeremy-rifkin/cpptrace
REF 4b11b87e4d905d003d0325a53994441cc767017a
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
REF 4b11b87e4d905d003d0325a53994441cc767017a
REF "v${VERSION}"

(Note that this requires a change to SHA512.)

@@ -0,0 +1,17 @@
{
"name": "cpptrace",
"version-string": "v0.1",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
"version-string": "v0.1",
"version": "0.1",

@LilyWangLL
Copy link
Copy Markdown
Contributor

Pinging @jeremy-rifkin for response. Is work still being done for this PR?

@jeremy-rifkin
Copy link
Copy Markdown
Contributor Author

Hi @LilyWangLL, thank you so much for the comments! I've gotten sidetracked - I will close this and create a new PR when I'm able to return to this.

@jeremy-rifkin jeremy-rifkin mentioned this pull request Oct 2, 2023
11 tasks
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!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants