-
Notifications
You must be signed in to change notification settings - Fork 279
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_TEST_VERSION is removed in 0.27 #555
Comments
@busykai Thank You for bringing this to our attention. I have submitted a change which I would like @piponazo to review.
|
Hi. I have to admit that I went to fast doing these changes. I did not see any usage of those macros and functions in our code and I thought they were some leftovers. I just learned about the existence of gexiv2. Thanks for informing us about this issue, I will check in the future projects like gexiv2 or digikam before removing stuff from the API. @clanmills It seems that you did not push that commit yet into github. The branch 0.27-RC3 is not there yet. I will review your changes when you push it. |
I have restored the Macro EXIV2_TEST_VERSION in include/exiv2/version.hpp I have added an option --version-test to exifprint.cpp to test/validate EXIV2_TEST_VERSION works as documented. Version strings in Exiv2 v0.27 and later have a fourth digit to indicate the pre-release number of the build. Pre-release builds should never be used for production purposes.
I've pushed a bit harder. I thought it was odd that GitHub didn't offer a PR. It is now. I have more changes I'd like to add this week. |
Thank you, guys, for quick response. I can confirm it fixes the gexiv2 build. Some patching on gexiv2 side is still needed to P.S. The rename of |
Thanks for giving us feedback. I want to discourage everybody from including individual header files. Using So, can we summarise this issue as one error each. Our error is to have removed EXIV2_TEST_VERSION and your error is to have broken the rule about I gave @piponazo encouragement to clean up relics in the code. I've added the use of EXIV2_TEST_VERSION to samples/exifprint.cpp to be sure that we'll break our own build if we remove the macro. Good Start to the week. |
Thank you, good to know! I'm not contributing to gexiv2 though. I was just reporting my observations. |
@busykai Thanks for this update. Can you let the gexiv2 team know about our discussion, please. |
Thanks for letting me know! |
To improve compatibility with exiv2 0.27 as recommended in Fixes #34 Exiv2/exiv2#555 (comment)
To improve compatibility with exiv2 0.27 as recommended in Fixes #34 Exiv2/exiv2#555 (comment)
Wow. It's amazing how effective team-work can be. I think this is done/dusted/dead. Thanks Everybody. I'm going to close this. |
Import upstream patch to fix build against graphcis/exiv2-0.27: Exiv2/exiv2#555 (comment) PR: 235943 git-svn-id: svn+ssh://svn.freebsd.org/ports/head@495064 35697150-7ecd-e111-bb59-0022644237b5
Import upstream patch to fix build against graphcis/exiv2-0.27: Exiv2/exiv2#555 (comment) PR: 235943
Import upstream patch to fix build against graphcis/exiv2-0.27: Exiv2/exiv2#555 (comment) PR: 235943 git-svn-id: svn+ssh://svn.freebsd.org/ports/head@495064 35697150-7ecd-e111-bb59-0022644237b5
Import upstream patch to fix build against graphcis/exiv2-0.27: Exiv2/exiv2#555 (comment) PR: 235943
This commit removes
EXIV2_TEST_VERSION
macro along with deprecatedEXIV2_CHECK_VERSION
, seemingly by error.It brakes
gexiv2
, for example. I'm not at all sure the intention was to leave no way to check the version.The text was updated successfully, but these errors were encountered: