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. # 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.