[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Automake-commit] [SCM] GNU Automake branch, maint, updated. v1.11-617-g
From: |
Stefano Lattarini |
Subject: |
[Automake-commit] [SCM] GNU Automake branch, maint, updated. v1.11-617-g2804075 |
Date: |
Sun, 01 Jan 2012 10:22:40 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Automake".
http://git.sv.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=280407599a72f8229c7b89d64b703e2dbc94cc87
The branch, maint has been updated
via 280407599a72f8229c7b89d64b703e2dbc94cc87 (commit)
via 2a461709e2be1394951a01fc9f08f6b4bacaad9b (commit)
via e637fa2a0b19cb2fd9b79f20bd46662a4ea9bcfb (commit)
from bbce9c2b229b4791974f0433c75b0bdd4ebc7c4e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
NEWS | 4 ++++
doc/automake.texi | 6 +++---
lib/Automake/Options.pm | 10 +++++++++-
tests/lzma.test | 22 ++++++++++++++++++----
4 files changed, 34 insertions(+), 8 deletions(-)
mode change 100644 => 100755 tests/lzip.test
diff --git a/NEWS b/NEWS
index 7b3dedf..fa1e75e 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,10 @@ New in 1.11.0a:
* WARNING: Future backward-incompatibilities!
+ - The `lzma' compression format for distribution archives has been
+ deprecated in favor of `xz' and `lzip', and will be removed in the
+ next major Automake release (1.12).
+
- The Automake support for automatic de-ANSI-fication will be removed in
the next major Automake release (1.12).
diff --git a/doc/automake.texi b/doc/automake.texi
index 4bae611..dd87e93 100644
--- a/doc/automake.texi
+++ b/doc/automake.texi
@@ -8672,10 +8672,10 @@ archives are frequently smaller than
@command{bzip2}-compressed archives.
@trindex dist-lzip
@item @code{dist-lzma}
-Generate an @samp{lzma} tar archive of the distribution. @command{lzma}
-archives are frequently smaller than @command{bzip2}-compressed archives.
+Generate an @samp{lzma} tar archive of the distribution.
The @samp{lzma} format is obsolete, you should use the @samp{xz} format
-instead.
+instead. @emph{Support for @samp{lzma}-compressed archives will be
+removed in the next major Automake release.}
@trindex dist-lzma
@item @code{dist-shar}
diff --git a/lib/Automake/Options.pm b/lib/Automake/Options.pm
index 388d4b9..e3d23ae 100644
--- a/lib/Automake/Options.pm
+++ b/lib/Automake/Options.pm
@@ -261,10 +261,18 @@ sub _process_option_list (\%$@)
# directory. We save the actual option for later.
$options->{'ansi2knr'} = [$_, $where];
}
+ elsif ($_ eq 'dist-lzma')
+ {
+ # Creation of distribution tarball compressed with lzma is
+ # deprecated, will be removed in the next major release.
+ msg 'obsolete', $where,
+ "lzma compression is deprecated; use `dist-xz' " .
+ "or `dist-lzip' instead\n";
+ }
elsif ($_ eq 'no-installman' || $_ eq 'no-installinfo'
|| $_ eq 'dist-shar' || $_ eq 'dist-zip'
|| $_ eq 'dist-tarZ' || $_ eq 'dist-bzip2'
- || $_ eq 'dist-lzip' || $_ eq 'dist-lzma' || $_ eq 'dist-xz'
+ || $_ eq 'dist-lzip' || $_ eq 'dist-xz'
|| $_ eq 'no-dist-gzip' || $_ eq 'no-dist'
|| $_ eq 'dejagnu' || $_ eq 'no-texinfo.tex'
|| $_ eq 'readme-alpha' || $_ eq 'check-news'
diff --git a/tests/lzip.test b/tests/lzip.test
old mode 100644
new mode 100755
diff --git a/tests/lzma.test b/tests/lzma.test
index 11bb93d..7ee59f7 100755
--- a/tests/lzma.test
+++ b/tests/lzma.test
@@ -1,5 +1,5 @@
#! /bin/sh
-# Copyright (C) 2003, 2007 Free Software Foundation, Inc.
+# Copyright (C) 2003, 2007, 2011 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -16,11 +16,17 @@
# Check support for no-dist-gzip with lzma
-required=lzma
. ./defs || Exit 1
+errmsg='lzma.*deprecated.*dist-xz.*dist-lzip.*instead'
+
set -e
+echo AUTOMAKE_OPTIONS = dist-lzma > Makefile.am
+$ACLOCAL --force
+AUTOMAKE_fails -Wnone -Wobsolete
+grep "^Makefile\\.am:1:.*$errmsg" stderr
+
cat > configure.in << 'END'
AC_INIT([lzma], [1.0])
AM_INIT_AUTOMAKE([no-dist-gzip dist-lzma])
@@ -34,8 +40,16 @@ test: distcheck
test -f $(DIST_ARCHIVES)
END
-$ACLOCAL
+$ACLOCAL --force
+AUTOMAKE_fails
+grep "^configure\\.in:2:.*$errmsg" stderr
+
+$AUTOMAKE -Wno-obsolete
+
+lzma --version || skip_ "lzma compressor required for the rest of the test"
+
$AUTOCONF
-$AUTOMAKE
./configure
$MAKE test
+
+:
hooks/post-receive
--
GNU Automake
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Automake-commit] [SCM] GNU Automake branch, maint, updated. v1.11-617-g2804075,
Stefano Lattarini <=