-
-
Notifications
You must be signed in to change notification settings - Fork 198
kImageAnnotator not tanslated with deb package #359
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
Comments
@hosiet you mentioned that you package for debian, just wanted to ask if you know how to include files in a deb package that are not part of the installation? I have translation files for kImageAnnotator that I need to package together with ksnip but kImageAnnotator is included as a static library in ksnip and therefor build before ksnip. Any idea how to solve this? |
If it's only about copying extra files when building a deb package, that's surely doable. Please refer to the FILES section in https://manpages.debian.org/unstable/debhelper/dh_install.1.en.html . But kimageannotator might be a little different since the translation files are plaintext .ts files in the source repo. Maybe you should consider invoking lrelease before build actually starts. For packages in Debian's official repo (pending Debian's internal review now), the libraries I prepared are dynamic libraries so installation of translation files is not a problem. |
I'm planning to use the .qm files. During installation of the ksnip those files need to be installed at Or they could be even placed in the same directory as ksnip's own translations. I'm doing this already for other packages like rpm, appImage, windows executable. |
@hosiet any idea how to resolve this for out deb package? The lImageAnnotator is not a dynamic library in this case. |
Obviously the .qm files are not installed in the final .deb file. Where are these files during build? Once located, we can manually copy them and put then into .deb file during packaging. |
Translation files for the annotator are not packaged with the deb package, the CI needs to be adjusted to package those files too.
The text was updated successfully, but these errors were encountered: