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

Add custom update-pot target #1907

Merged
merged 3 commits into from
Sep 24, 2021
Merged

Conversation

cjwatson
Copy link
Contributor

While working on a separate localization bug, I noticed that
po/exiv2.pot hasn't been updated since 2017, and that with the removal
of the autotools build system there's no longer any way to update it.
Add a simple update-pot target to do so, and bring po/POTFILES.in up
to date with the current source tree.

I haven't updated po/exiv2.pot itself because that would be a large
diff, though I've checked that the output looks reasonable. I suggest
that maintainers do this.

While working on a separate localization bug, I noticed that
`po/exiv2.pot` hasn't been updated since 2017, and that with the removal
of the autotools build system there's no longer any way to update it.
Add a simple `update-pot` target to do so, and bring `po/POTFILES.in` up
to date with the current source tree.

I haven't updated `po/exiv2.pot` itself because that would be a large
diff, though I've checked that the output looks reasonable.  I suggest
that maintainers do this.
@codecov
Copy link

codecov bot commented Sep 17, 2021

Codecov Report

Merging #1907 (38e836d) into main (774e662) will increase coverage by 0.26%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1907      +/-   ##
==========================================
+ Coverage   60.87%   61.13%   +0.26%     
==========================================
  Files          96       96              
  Lines       19041    19051      +10     
  Branches     9726     9729       +3     
==========================================
+ Hits        11591    11647      +56     
+ Misses       5138     5090      -48     
- Partials     2312     2314       +2     
Impacted Files Coverage Δ
src/exiv2.cpp 57.85% <0.00%> (ø)
src/futils.cpp 72.06% <0.00%> (ø)
src/properties.cpp 73.36% <0.00%> (ø)
src/pentaxmn_int.cpp 72.92% <0.00%> (+0.23%) ⬆️
src/convert.cpp 53.84% <0.00%> (+0.34%) ⬆️
src/value.cpp 73.18% <0.00%> (+0.46%) ⬆️
src/tags_int.cpp 76.81% <0.00%> (+0.47%) ⬆️
src/tags.cpp 71.02% <0.00%> (+23.92%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 774e662...38e836d. Read the comment docs.

@kevinbackhouse
Copy link
Collaborator

@cjwatson: Thanks for this! I don't know anything about pot files, so please can you confirm that this is what you recommend we do:

mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=ON -DEXIV2_ENABLE_PNG=ON -DEXIV2_ENABLE_WEBREADY=ON -DEXIV2_ENABLE_CURL=ON -DEXIV2_BUILD_UNIT_TESTS=ON -DEXIV2_ENABLE_BMFF=ON -DEXIV2_TEAM_WARNINGS_AS_ERRORS=ON -DEXIV2_ENABLE_NLS=ON ..
make
make update-pot

Then check in the updated version of po/exiv2.pot?

@kevinbackhouse kevinbackhouse added this to the v1.00 milestone Sep 18, 2021
kevinbackhouse added a commit to kevinbackhouse/exiv2 that referenced this pull request Sep 18, 2021
@kevinbackhouse kevinbackhouse mentioned this pull request Sep 18, 2021
@cjwatson
Copy link
Contributor Author

@kevinbackhouse Yes, that all seems about right. (It probably doesn't need most of those options, though at least -DEXIV2_ENABLE_NLS=ON will be required - but whatever's convenient.)

@kevinbackhouse kevinbackhouse merged commit 41543e9 into Exiv2:main Sep 24, 2021
kevinbackhouse added a commit to kevinbackhouse/exiv2 that referenced this pull request Sep 24, 2021
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.

2 participants