Skip to content
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

[exiv2] Make add nls feature #18964

Merged
merged 3 commits into from
Jul 19, 2021
Merged

[exiv2] Make add nls feature #18964

merged 3 commits into from
Jul 19, 2021

Conversation

m-kuhn
Copy link
Contributor

@m-kuhn m-kuhn commented Jul 15, 2021

Describe the pull request

  • optional support for nls

@m-kuhn m-kuhn mentioned this pull request Jul 15, 2021
@@ -53,6 +53,11 @@ vcpkg_install_cmake()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/exiv2)
vcpkg_fixup_pkgconfig()

if("nls" IN_LIST FEATURES)
set(EXIV2_ENABLE_NLS ON)
Copy link
Member

Choose a reason for hiding this comment

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

This doesn't seem connected to anything? I think you need to move it up and change

-DEXIV2_ENABLE_NLS=OFF
to
-DEXIV2_ENABLE_NLS=${EXIV2_ENABLE_NLS}

Copy link
Member

Choose a reason for hiding this comment

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

Actually I note that this if is already the behavior of the vcpkg_check_features above.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

Ah, I see. That makes sense, thanks! I also missed that there is a ${FEATURE_OPTIONS} for the other features so I was mistaken about that too -- thanks GitHub for hiding important context in your code review tool :(

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thanks GitHub for hiding important context in your code review tool :(

deciding what's relevant to get the best signal to noise ratio sounds like a non-trivial job ...

but while we are at it, I think this repository could benefit from some ci tooling to detect things like incorrect or missing usage of x-add-version and ideally even some integrated bot magic for fixing these issues...

Copy link
Member

Choose a reason for hiding this comment

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

deciding what's relevant to get the best signal to noise ratio sounds like a non-trivial job ...

The Azure DevOps code review tool just always shows you the whole file, it's never confusing. But there's no way to configure GitHub to do that :(

Copy link
Member

@BillyONeal BillyONeal left a comment

Choose a reason for hiding this comment

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

The feature doesn't seem to be connected.

@@ -53,6 +53,11 @@ vcpkg_install_cmake()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/exiv2)
vcpkg_fixup_pkgconfig()

if("nls" IN_LIST FEATURES)
set(EXIV2_ENABLE_NLS ON)
Copy link
Member

Choose a reason for hiding this comment

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

Actually I note that this if is already the behavior of the vcpkg_check_features above.

@JonLiu1993 JonLiu1993 added the category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist label Jul 16, 2021
versions/e-/exiv2.json Outdated Show resolved Hide resolved
Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
@@ -53,6 +53,11 @@ vcpkg_install_cmake()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/exiv2)
vcpkg_fixup_pkgconfig()

if("nls" IN_LIST FEATURES)
set(EXIV2_ENABLE_NLS ON)
Copy link
Member

Choose a reason for hiding this comment

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

Ah, I see. That makes sense, thanks! I also missed that there is a ${FEATURE_OPTIONS} for the other features so I was mistaken about that too -- thanks GitHub for hiding important context in your code review tool :(

@BillyONeal BillyONeal requested a review from JonLiu1993 July 16, 2021 21:51
@BillyONeal BillyONeal dismissed JonLiu1993’s stale review July 19, 2021 23:42

Version database was updated.

@BillyONeal BillyONeal merged commit 7c42464 into microsoft:master Jul 19, 2021
@BillyONeal
Copy link
Member

Thanks for your contribution!

@m-kuhn m-kuhn deleted the exiv2 branch July 20, 2021 05:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants