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

[easyexif] create a new port #27118

Merged
merged 4 commits into from
Oct 6, 2022
Merged

[easyexif] create a new port #27118

merged 4 commits into from
Oct 6, 2022

Conversation

luncliff
Copy link
Contributor

@luncliff luncliff commented Oct 6, 2022

What does your PR fix?

Create a new port with https://github.com/mayanklahiri/easyexif.
My team started using the project recently. Opening a PR for integration.

Which triplets are supported/not supported? Have you updated the CI baseline?

Create a very small static library with CMakeLists.txt.
Every triplet must be available.

Does your PR follow the maintainer guide?

Yes.

github-actions[bot]
github-actions bot previously approved these changes Oct 6, 2022
github-actions[bot]
github-actions bot previously approved these changes Oct 6, 2022
@vicroms vicroms merged commit e2667a4 into microsoft:master Oct 6, 2022
@luncliff luncliff deleted the port/easyexif branch October 6, 2022 18:54
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.

Why not review properly?

I think it could be complemented by unofficial cmake config.

Comment on lines +11 to +13
PROPERTIES
CXX_STANDARD 11
PUBLIC_HEADER exif.h
Copy link
Contributor

Choose a reason for hiding this comment

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

Missing indentation.

Comment on lines +17 to +19
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
Copy link
Contributor

Choose a reason for hiding this comment

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

Missing double qutoes.

ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
)
install(FILES LICENSE DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/${PROJECT_NAME}) # share/easyexif
Copy link
Contributor

Choose a reason for hiding this comment

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

Missing Double quotes. But actually obsolete, because it is handled in the portfile, including renaming to copyright.

file(REMOVE_RECURSE
"${CURRENT_PACKAGES_DIR}/debug/include"
"${CURRENT_PACKAGES_DIR}/debug/share"
"${CURRENT_PACKAGES_DIR}/share"
Copy link
Contributor

Choose a reason for hiding this comment

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

We never remove share.

"version-date": "2022-10-07",
"description": "Tiny ISO-compliant C++ EXIF parsing library, third-party dependency free",
"homepage": "https://github.com/mayanklahiri/easyexif",
"license": null,
Copy link
Contributor

Choose a reason for hiding this comment

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

https://tools.spdx.org/app/check_license/ says: "Close match found! The following license ID(s) match: BSD-2-Clause"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh there was a tool! I will make another PR with this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants