[rkward] [Bug 393195] translations are not installed

2018-04-18 Thread Thomas Friedrichsmeier
https://bugs.kde.org/show_bug.cgi?id=393195

--- Comment #9 from Thomas Friedrichsmeier 
 ---
Git commit 134d592a7916e10b1ec0d2a1dbdc9c17b79e523a by Thomas Friedrichsmeier.
Committed on 18/04/2018 at 08:40.
Pushed by tfry into branch 'master'.

Installation destination for translations was not yet correct.

M  +2-2i18n/CMakeLists.txt
M  +1-1i18n/compile_po.cmake

https://commits.kde.org/rkward/134d592a7916e10b1ec0d2a1dbdc9c17b79e523a

-- 
You are receiving this mail because:
You are watching all bug changes.

[rkward] [Bug 393195] translations are not installed

2018-04-17 Thread Wolfgang Bauer
https://bugs.kde.org/show_bug.cgi?id=393195

--- Comment #8 from Wolfgang Bauer  ---
https://cgit.kde.org/rkward.git/commit/?id=23f685bb2d1eddd1eed2b16bde079c17112f5fdd
seems to work fine here.
Translations are still installed, empty directories are not created anymore for
the too incomplete ones.

-- 
You are receiving this mail because:
You are watching all bug changes.

[rkward] [Bug 393195] translations are not installed

2018-04-17 Thread Wolfgang Bauer
https://bugs.kde.org/show_bug.cgi?id=393195

--- Comment #7 from Wolfgang Bauer  ---
(In reply to Thomas Friedrichsmeier from comment #6)
> Alright, RKWard 0.7.0b packages have hit the servers, now. These simply
> revert the commit, as you suggested.

Yes, I saw it 3 hours ago already... ;-)

And I can confirm that 0.7.0b builds fine here and does install the
translations.

Haven't tried the new commit in master yet, but will do so later.

-- 
You are receiving this mail because:
You are watching all bug changes.

[rkward] [Bug 393195] translations are not installed

2018-04-17 Thread Thomas Friedrichsmeier
https://bugs.kde.org/show_bug.cgi?id=393195

Thomas Friedrichsmeier  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|UNCONFIRMED |RESOLVED

--- Comment #6 from Thomas Friedrichsmeier 
 ---
Alright, RKWard 0.7.0b packages have hit the servers, now. These simply revert
the commit, as you suggested.

In git master, there is a new attempt at avoiding empty directories, without
breaking installation:
https://cgit.kde.org/rkward.git/commit/?id=23f685bb2d1eddd1eed2b16bde079c17112f5fdd
.

Thanks a lot for reporting! I will try not to mess up as badly for the next
release, and especially be much more careful about changes late in release
phase.

-- 
You are receiving this mail because:
You are watching all bug changes.

[rkward] [Bug 393195] translations are not installed

2018-04-16 Thread Thomas Friedrichsmeier
https://bugs.kde.org/show_bug.cgi?id=393195

--- Comment #5 from Thomas Friedrichsmeier 
 ---
You are right, again. The problem turns out to be that IF(EXISTS ...) checks
whether the file exists at the time that cmake is run, not at the time of make
install. Which it did, when I was testing without a complete wipe of the build
directory, but of course not when building from scratch.

Reverting seems like the best option for now, since the only downside is a
couple of empty directories in the installation.

-- 
You are receiving this mail because:
You are watching all bug changes.

[rkward] [Bug 393195] translations are not installed

2018-04-16 Thread Thomas Friedrichsmeier
https://bugs.kde.org/show_bug.cgi?id=393195

--- Comment #4 from Thomas Friedrichsmeier 
 ---
Git commit 2364009a4986d354541d7f083d043d5417a87a8e by Thomas Friedrichsmeier.
Committed on 16/04/2018 at 19:52.
Pushed by tfry into branch 'releases/0.7.0'.

Revert "Avoid creating empty directories for purged translations."

This reverts commit 161f8230c5fd5d947981013ef7393827441dcd25.

M  +5-7i18n/CMakeLists.txt

https://commits.kde.org/rkward/2364009a4986d354541d7f083d043d5417a87a8e

-- 
You are receiving this mail because:
You are watching all bug changes.

[rkward] [Bug 393195] translations are not installed

2018-04-16 Thread Wolfgang Bauer
https://bugs.kde.org/show_bug.cgi?id=393195

--- Comment #3 from Wolfgang Bauer  ---
(In reply to Thomas Friedrichsmeier from comment #2)
> For the record, the real culprit is the quotes I added about ${_gmoFile} one
> commit later in
> https://cgit.kde.org/rkward.git/commit/i18n/CMakeLists.txt?h=releases/0.7.
> 0=68b9fba32fd510203ded51dcb73553ecad7523ba .

That's what I tried to revert first, but it didn't help.

Only removing the added IF(EXISTS ...) fixes it here.

I'm not a cmake expert, but I assume the .gmo will only be created after the
IF, so the INSTALL is never executed...
Another possible fix may be to use execute_process() instead of
add_custom_command(), I think.

-- 
You are receiving this mail because:
You are watching all bug changes.

[rkward] [Bug 393195] translations are not installed

2018-04-16 Thread Thomas Friedrichsmeier
https://bugs.kde.org/show_bug.cgi?id=393195

Thomas Friedrichsmeier  changed:

   What|Removed |Added

 CC||thomas.friedrichsmeier@ruhr
   ||-uni-bochum.de

--- Comment #2 from Thomas Friedrichsmeier 
 ---
Ouch. Thanks for reporting.

For the record, the real culprit is the quotes I added about ${_gmoFile} one
commit later in
https://cgit.kde.org/rkward.git/commit/i18n/CMakeLists.txt?h=releases/0.7.0=68b9fba32fd510203ded51dcb73553ecad7523ba
.

I'll try to upload a 0.7.0a with this fix, really soon, but I suppose you will
also be able to patch this in your packaging.

(Note: Without the quotes, you get a lot of empty directories for those
.mo-file s that got purged for being not complete enough. Of course still
better than this...)

-- 
You are receiving this mail because:
You are watching all bug changes.

[rkward] [Bug 393195] translations are not installed

2018-04-16 Thread Thomas Friedrichsmeier
https://bugs.kde.org/show_bug.cgi?id=393195

--- Comment #1 from Thomas Friedrichsmeier 
 ---
Git commit 3554b69362e37d277bbb7f55cbc401f66932fab1 by Thomas Friedrichsmeier.
Committed on 16/04/2018 at 18:19.
Pushed by tfry into branch 'releases/0.7.0'.

Must not quote parameter, here!

M  +2-2i18n/CMakeLists.txt

https://commits.kde.org/rkward/3554b69362e37d277bbb7f55cbc401f66932fab1

-- 
You are receiving this mail because:
You are watching all bug changes.