On Sat, 7 Nov 2015 20:31:45 +0200 Efraim Flashner wrote: > On Thu, 05 Nov 2015 22:28:42 +0100 > ludo@gnu.org (Ludovic Courtès) wrote: > > > Efraim Flashner skribis: > > > > > * gnu/packages/qt.scm (qtkeychain): New variable. > > > > [...] > > > > > + (modify-phases > > > + %standard-phases > > > > ‘%standard-phases’ goes on the previous line. > > > > > + (add-before > > > + 'configure 'set-qt-trans-dir > > > + (lambda _ > > > + (substitute* "CMakeLists.txt" > > > + (("\\$\\{qt_translations_dir\\}") > > > + "${CMAKE_INSTALL_PREFIX}/share/qtkeychain/translations"))))))) > > > > Is Qt able to find translations installed there? Is some environment > > variable needed to tell it where to look for them? > > I don't really know. Without this it tries to install them to /gnu/store/...qt5/translations, so I tried to make a directory that would make sense. In this patch I've changed it to just /translations, but I still didn't see it in .guix-profile/share/{de,ro}/LC_MESSAGES/, so I don't really know what to do with it. > > -- > > Thanks, > > Ludo’. > I took a look at Nix's qtkeychain package and I saw they put the translations in /share/qt/translations so I changed the output (again) to there, and when I installed it, there it was in .guix-profile/share/qt/translations, so I think we may actually be at the right point with it. I don't know what the difference is between /share/qt/translations and /share/$lang/LC_MESSAGES. I installed qt and didn't see any difference. I could change the output so that it lands in LC_MESSAGES, but that seems even messier than the other options since it has to be filtered by language. -- Efraim Flashner אפרים פלשנר GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted