Enable msgmerge to test bug #628073

This commit is contained in:
Milan Crha 2010-10-01 08:29:08 +02:00
parent 871767966e
commit efa9fae4bd

View File

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