I will check those packages!
Thanks for the hint!
Hello again
El 14/07/16 a las 19:22, Jaime Robles escribió:
>
> Hello Laura,
>
> Thank you so much for the very quick answer!
>
> Maybe I did not explained my self properly.
>
> I mean, when I am packaging KLog to create the deb package, I execute
> the lrelease in the debian/rules file and the qm files are placed in the
> building folder :-)
>
> This is OK.
>
> The problem is that after that step, I need to place the qm files in the
> debian archive tree... and I don't know where I should place it so it is
> compliant with the Debian rules :-)
> I need to create the debian package (the deb one) so the qm files are
> properly placed when the user install the klog package.
>
> Should I placed them in:
> usr/share/klog
> usr/share/klog/translations
> usr/share/ANY-OTHER?
>
Ah, this, I don't know, I'm not a packager... but what I can say is:
I have pumpa (Qt) installed and its debian.tar.xz includes a
"debian/source/include-binaries" file with this info:
translations/pumpa_en.qm
translations/pumpa_es.qm
translations/pumpa_fr.qm
translations/pumpa_it.qm
translations/pumpa_nvi.qm
translations/pumpa_de.qm
But I cannot find the qm files in my computer (?)
The original source code of pumpa has a pumpa.qrc with (only relevant
files pasted):
<RCC>
<qresource>
[...]
<file>translations/pumpa_en.qm</file>
<file>translations/pumpa_es.qm</file>
<file>translations/pumpa_fr.qm</file>
<file>translations/pumpa_nvi.qm</file>
<file>translations/pumpa_it.qm</file>
<file>translations/pumpa_de.qm</file>
<file>translations/pumpa_ru.qm</file>
<file>translations/pumpa_fi.qm</file>
</qresource>
</RCC>
Dianara (also Qt, same packager), same style, a
"debian/source/include-binaries" file with this info:
translations/dianara_ca.qm
translations/dianara_es.qm
And also the original source code (other upstream) with a dianara.qrc
file with references to icon, images and translations.
HTH
--
Laura Arjona Reina
https://wiki.debian.org/LauraArjona