Re: find-lang.sh search path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon 01 Jul 2013 08:53:44 PM CEST, Michael Schwendt wrote:
> On Mon, 01 Jul 2013 20:36:25 +0200, Antonio wrote:
>
>> In qgifer package building (Bug#979702), I need to include language
>> *.qm files from source software.
>>
>> Currently, 'cmake' command puts language files into /usr/share/locale
>> directory but find-lang.sh doesn't locate them in $RPM_BUILD_ROOT. Why ?
>
> The usage of %find_lang seems incorrect:
>
>> + /usr/lib/rpm/find-lang.sh
>> /home/sagitter/rpmbuild/BUILDROOT/qgifer-0.2.1-1.fc19.x86_64 pl --with-qt
>> No translations found for pl in
>> /home/sagitter/rpmbuild/BUILDROOT/qgifer-0.2.1-1.fc19.x86_64
>
> There's a suspicious "pl" in there.
>

"pl" is the file name without extension (pl.qm). In .spec file:

...
%find_lang pl --with-qt
%find_lang ru --with-qt
...

Are they correct ?

----
Antonio Trande

mailto: sagitter@xxxxxxxxxxxxxxxxx
Homepage: http://www.fedoraos.worpress.com
GPG Key: D400D6C4
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux