[gedit] Do not use the reserved GZIP variable. Bug #583940



commit 190b8971a9ac061b5aec926c832d73425981fc71
Author: Paolo Borelli <porelli gnome org>
Date:   Sat Aug 1 14:22:07 2009 +0200

    Do not use the reserved GZIP variable. Bug #583940

 configure.ac                |    1 -
 plugins/taglist/Makefile.am |    4 +++-
 2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index ecfbd5d..28a08cf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -43,7 +43,6 @@ AC_ISC_POSIX
 AC_PROG_CC
 AC_PROG_INSTALL
 AC_PROG_MAKE_SET
-AC_PATH_PROG(GZIP, gzip)
 
 AC_SYS_LARGEFILE
 
diff --git a/plugins/taglist/Makefile.am b/plugins/taglist/Makefile.am
index d5db864..33e3cf8 100644
--- a/plugins/taglist/Makefile.am
+++ b/plugins/taglist/Makefile.am
@@ -35,9 +35,11 @@ plugin_in_files = taglist.gedit-plugin.desktop.in
 %.gedit-plugin: %.gedit-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po)
 	$(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
 
+GZIP_ENV = -9
+
 %.tags.gz: %.tags.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po)
 	LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< $(@:.gz=) -x -u -c $(top_builddir)/po/.intltool-merge-cache
-	$(GZIP) --best -f $(@:.gz=)
+	GZIP=$(GZIP_ENV) gzip -c $(@:.gz=) >$@
 
 plugin_DATA = $(plugin_in_files:.gedit-plugin.desktop.in=.gedit-plugin)
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]