[gpm] [PATCH] switch to xz

Nico Schottelius nico-gpm@schottelius.org
Sun Oct 28 14:52:18 CET 2012


Hey Mike,

long time no see! Applied both.

Cheers,

Nico

Mike Frysinger [Sun, Oct 28, 2012 at 07:16:07AM -0400]:
> The lzma format is dead and everyone has moved to xz.
> 
> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
> ---
>  Makefile.in | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/Makefile.in b/Makefile.in
> index 5412334..542110c 100644
> --- a/Makefile.in
> +++ b/Makefile.in
> @@ -102,7 +102,7 @@ TAGS:	$(SRCS) $(HDRS) src/prog/gpm-root.y do-TAGS
>  
>  ### RELEASE STUFF
>  TARS  =../gpm-$(release).tar.gz
> -TARS +=../gpm-$(release).tar.bz2 ../gpm-$(release).tar.lzma
> +TARS +=../gpm-$(release).tar.bz2 ../gpm-$(release).tar.xz
>  
>  M_HOST=arcana.linux.it
>  M_DIR=gpm/
> @@ -122,8 +122,8 @@ distconf: Makefile.in Makefile.include.in configure acinclude.m4 $(versionfiles)
>  ../gpm-$(release).tar.bz2:  ../gpm-$(release).tar
>  	bzip2 -9 -c $< > $@
>  
> -../gpm-$(release).tar.lzma:  ../gpm-$(release).tar
> -	lzma -9 -c $< > $@
> +../gpm-$(release).tar.xz:  ../gpm-$(release).tar
> +	xz -9 -c $< > $@
>  
>  # 3. Put package together into .tar.gz and .tar.bz2
>  dist: disttest distclean distconf $(TARS)
> -- 
> 1.7.12
> 

Mike Frysinger [Sun, Oct 28, 2012 at 07:25:40AM -0400]:
> This is executable code, so it should have +x perms on the file.
> 
> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
> ---
>  src/Makefile.in | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/Makefile.in b/src/Makefile.in
> index d3b1dcd..6b60ad3 100644
> --- a/src/Makefile.in
> +++ b/src/Makefile.in
> @@ -113,7 +113,7 @@ install:	check
>  	# 2.x goes along; unfortunately that means an additional
>  	# headache in cases like this
>  	if test "x@SHLIB@" != "x" ; then \
> -		$(INSTALL_DATA) -m 644 lib/libgpm.so.@abi_full@ $(libdir)/libgpm.so.@abi_full@	;	\
> +		$(INSTALL_DATA) -m 755 lib/libgpm.so.@abi_full@ $(libdir)/libgpm.so.@abi_full@	;	\
>  		cd $(libdir) && $(LN_S) -f libgpm.so.@abi_full@ libgpm.so.@abi_lev@ 					;	\
>        echo "WARNING: We installed a lib, you should now call ldconfig" 						; 	\
>        echo "f.i.: ldconfig -n -l $(libdir)/libgpm.so.@abi_full@" 								;	\
> -- 
> 1.7.12
> 


-- 
PGP key: 7ED9 F7D3 6B10 81D7 0EC5  5C09 D7DC C8E4 3187 7DF0


More information about the gpm mailing list