And disable msgmerge again
This commit is contained in:
parent
88421eef05
commit
c0695c1a00
@ -250,15 +250,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.
|
||||
|
Loading…
Reference in New Issue
Block a user