And disable msgmerge again

This commit is contained in:
Milan Crha 2010-11-05 18:29:36 +01:00
parent 88421eef05
commit c0695c1a00

View File

@ -250,15 +250,15 @@ make %{?_smp_mflags} LIBTOOL=/usr/bin/libtool CFLAGS="$CFLAGS -fno-strict-aliasi
# Strip unneeded translations from .mo files. # Strip unneeded translations from .mo files.
# This reduces the RPM size by several megabytes. # This reduces the RPM size by several megabytes.
#disabled since 2.31.91 because of a msgmerge floating point exception (see RH bug 628073) #disabled since 2.31.91 because of a msgmerge floating point exception (see RH bug 628073)
cd po #cd po
grep -v ".*[.]desktop[.]in[.]in$" POTFILES.in > POTFILES.keep #grep -v ".*[.]desktop[.]in[.]in$" POTFILES.in > POTFILES.keep
mv POTFILES.keep POTFILES.in #mv POTFILES.keep POTFILES.in
intltool-update --gettext-package=%{name}-%{evo_base_version} --pot #intltool-update --gettext-package=%{name}-%{evo_base_version} --pot
for p in *.po; do #for p in *.po; do
msgmerge $p %{name}-%{evo_base_version}.pot > $p.out # msgmerge $p %{name}-%{evo_base_version}.pot > $p.out
msgfmt -o `basename $p .po`.gmo $p.out # msgfmt -o `basename $p .po`.gmo $p.out
done #done
cd - #cd -
# Replace identical images in the help by links. # Replace identical images in the help by links.
# This reduces the RPM size by several megabytes. # This reduces the RPM size by several megabytes.