KDE_INSTALL_LOCALEDIR - where should point?

šumski hrvoje.senjan at gmail.com
Wed Jan 25 16:22:06 UTC 2017


On srijeda, 25. siječnja 2017. 17:08:49 CET Michail Vourlakos wrote:
> On 25/01/2017 06:02 μμ, šumski wrote:
> >>> Unless you have something like this[1] in ki18n package,
> >>> translations will be found only in $prefix/share/locale...
> >> 
> >> the mentioned package is just a plasma5 plasmoid that should install its
> >> translations at /usr/share/locale/kf5 (according to openSUSE directory
> >> tree). In order to achieve this in openSUSE at its cmake main file we
> >> use:
> >> 
> >> KDE_INSTALL_LOCALEDIR/kf5
> >> 
> >> but this from distro to distro creates breakage. This is why I am asking
> >> if
> >> aKF5_INSTALL_LOCALEDIR would be a good idea. regards, michail
> > 
> > The standard location is still read/searched, just after share/locale/kf5.
> 
> I am sorry but I didnt understand the solution from your comments.
> So, what (is) / (will be) the preferred way to install translations for
> Plasma 5 plasmoids in openSUSE?

The upstream way. We only added the kf5 sufix for the packages we know 
conflicted with kde4 workspace. The need to have this is now gone, as most 
kdelibs4 packages are dead.

> How /usr/share/locale/kf5 is going to be reached through CMake ?

We're passing -DCMAKE_INSTALL_LOCALEDIR=/usr/share/locale/kf5 in plasma5-
workspace spec.


Cheers,
Hrvoje

> 
> regards,
> michail




More information about the Plasma-devel mailing list