[gnome-terminal/f14/master] drop a space-saving hack that is running into gettext trouble

Matthias Clasen mclasen at fedoraproject.org
Fri Aug 20 02:01:03 UTC 2010


commit 71281df8fa5c15851b40527f5cd31fe9ff3ec3aa
Author: Matthias Clasen <mclasen at redhat.com>
Date:   Thu Aug 19 21:59:44 2010 -0400

    drop a space-saving hack that is running into gettext trouble

 gnome-terminal.spec |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/gnome-terminal.spec b/gnome-terminal.spec
index 86eb072..fc94195 100644
--- a/gnome-terminal.spec
+++ b/gnome-terminal.spec
@@ -62,16 +62,6 @@ make %{?_smp_mflags}
 
 cp %{SOURCE1} src
 
-# strip unneeded translations from .mo files
-cd po
-grep -v ".*[.]desktop[.]in.*\|.*[.]server[.]in$" POTFILES.in > POTFILES.keep
-mv POTFILES.keep POTFILES.in
-intltool-update --pot
-for p in *.po; do
-  msgmerge $p %{gettext_package}.pot > $p.out
-  msgfmt -o `basename $p .po`.gmo $p.out
-done
-
 %install
 export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
 make install DESTDIR=$RPM_BUILD_ROOT


More information about the scm-commits mailing list