Mailinglist Archive: opensuse-gnome (84 mails)
| < Previous | Next > |
Re: [opensuse-gnome] Interesting space saving trick for our packages...
- From: Michael Wolf <maw@xxxxxxxxxx>
- Date: Mon, 03 Nov 2008 12:42:01 -0600
- Message-id: <1225737721.10756.670.camel@linux>
On Tue, 2008-10-28 at 11:28 +1000, Magnus Boman wrote:
Looks interesting indeed, but it needs to be done via an RPM macro or
not at all.
Michael.
--
To unsubscribe, e-mail: opensuse-gnome+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-gnome+help@xxxxxxxxxxxx
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
========
Looks interesting indeed, but it needs to be done via an RPM macro or
not at all.
Michael.
--
To unsubscribe, e-mail: opensuse-gnome+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-gnome+help@xxxxxxxxxxxx
| < Previous | Next > |