<html>
 <body>
  <div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
   <table bgcolor="#f9f3c9" width="100%" cellpadding="8" style="border: 1px #c9c399 solid;">
    <tr>
     <td>
      This is an automatically generated e-mail. To reply, visit:
      <a href="https://git.reviewboard.kde.org/r/117997/">https://git.reviewboard.kde.org/r/117997/</a>
     </td>
    </tr>
   </table>
   <br />




<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" style="background-image: url('https://git.reviewboard.kde.org/static/rb/images/review_request_box_top_bg.ab6f3b1072c9.png'); background-position: left top; background-repeat: repeat-x; border: 1px black solid;">
 <tr>
  <td>

<div>Review request for KDE Frameworks and Chusslove Illich.</div>
<div>By Aurélien Gâteau.</div>










<div style="margin-top: 1.5em;">
 <b style="color: #575012; font-size: 10pt;">Repository: </b>
ki18n
</div>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
 <table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: 1px solid #b8b5a0">
 <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">The CMake gettext functions fail when trying to install .po files with the same name. That is, if the directory structure looks like this:

app/
  src/
  po/
    es/
      app.po
    fr/
      app.po
  CMakeLists.txt

If app/CMakeLists.txt calls ki18n_install(po) it fails because gettext_process_po_files() tries to create two rules to turn app.po into app.gmo in the build dir.

This patch work around that issue by copying gettext code from CMake and prepending the language to the name of the .gmo file which is generated in the build dir. I filed a bug and described this workaround on CMake bug tracker ( http://public.kitware.com/Bug/view.php?id=14904 ).

We have the same issue in kdoctools with the kdoctools_install() function, going to fix it as well.</pre>
  </td>
 </tr>
</table>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Testing </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: 1px solid #b8b5a0">
 <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">Copied two .po files from l10n-kf5 in kconfigwidgets. Built and installed as expected.</pre>
  </td>
 </tr>
</table>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> </h1>
<ul style="margin-left: 3em; padding-left: 0;">

 <li>cmake/KF5I18NMacros.cmake <span style="color: grey">(4549fb8)</span></li>

</ul>

<p><a href="https://git.reviewboard.kde.org/r/117997/diff/" style="margin-left: 3em;">View Diff</a></p>







  </td>
 </tr>
</table>




  </div>
 </body>
</html>