Mailinglist Archive: opensuse-gnome (65 mails)
| < Previous | Next > |
[opensuse-gnome] Interesting space saving trick for our packages...
- From: Magnus Boman <captain.magnus@xxxxxxxxx>
- Date: Tue, 28 Oct 2008 11:28:40 +1000
- Message-id: <1225157320.4153.8.camel@xxxxxxxxxxxxxxx>
Hello,
I was spying on Fedoras GDM package and came across something
interesting:
========
# strip unneeded translations from .mo files
# ideally intltool (ha!) would do that for us
# http://bugzilla.gnome.org/show_bug.cgi?id=474987
cd po
grep -v ".*[.]desktop[.]in.*\|.*[.]server[.]in[.]in$\|.*[.]schemas[.]in$"
POTFILES.in > POTFILES.keep
mv POTFILES.keep POTFILES.in
intltool-update --pot
for p in *.po; do
msgmerge $p %{name}.pot > $p.out
msgfmt -o `basename $p .po`.gmo $p.out
done
========
The bug mentions that for Evolution, the package shrinks by ~10%.
If we're doing translations etc the same way as RH, it'd be worth looking at,
since we could potentially fit more goodies on the LiveCD :-) Any takers?
Cheers,
Magnus
--
To unsubscribe, e-mail: opensuse-gnome+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-gnome+help@xxxxxxxxxxxx
I was spying on Fedoras GDM package and came across something
interesting:
========
# strip unneeded translations from .mo files
# ideally intltool (ha!) would do that for us
# http://bugzilla.gnome.org/show_bug.cgi?id=474987
cd po
grep -v ".*[.]desktop[.]in.*\|.*[.]server[.]in[.]in$\|.*[.]schemas[.]in$"
POTFILES.in > POTFILES.keep
mv POTFILES.keep POTFILES.in
intltool-update --pot
for p in *.po; do
msgmerge $p %{name}.pot > $p.out
msgfmt -o `basename $p .po`.gmo $p.out
done
========
The bug mentions that for Evolution, the package shrinks by ~10%.
If we're doing translations etc the same way as RH, it'd be worth looking at,
since we could potentially fit more goodies on the LiveCD :-) Any takers?
Cheers,
Magnus
--
To unsubscribe, e-mail: opensuse-gnome+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-gnome+help@xxxxxxxxxxxx
| < Previous | Next > |