- "make"; "make dist"; "make distcheck"
- cd gettext-tools/misc
- cp archive.cvs.tar.gz-<last-release-number> archive.cvs.tar.gz
+ cp archive.dir.tar.gz-<last-release-number> archive.dir.tar.gz
./add-to-archive /somewhere/gettext-0.xx.yy.tar.gz
- Then update the case statement and the table in autopoint.in.
+ Then update the case statement in autopoint.in.
- again: "make dist"
* Upload to ftp-upload.gnu.org according to the procedure given by
+2010-06-03 Bruno Haible <bruno@clisp.org>
+
+ Deprecate the --with-cvs option.
+ * DEPENDENCIES: Update entries for git, CVS. Remove entry for RCS.
+ * PACKAGING: Update comments about archive.*.tar.gz.
+
2010-05-19 Bruno Haible <bruno@clisp.org>
Link with libunistring, if it exists.
* git 1.6 or newer
+ Recommended.
- Needed by the 'autopoint' program, if configured with --with-git.
+ Needed by the 'autopoint' program, if not configured with --without-git
+ or --with-cvs.
+ Homepage:
http://git-scm.com/
+ Download:
+ If it is installed in a nonstandard directory, pass the option
--with-libunistring-prefix=DIR to 'configure'.
-
-The following packages should be installed when GNU gettext is installed
-(runtime dependencies, but not build dependencies):
-
* CVS 1.11 or newer
- + Recommended.
- Needed by the 'autopoint' program, if not configured with --without-cvs
- or --with-git.
+ + Optional but deprecated.
+ Needed by the 'autopoint' program, if configured with --with-cvs.
+ Homepage:
http://ximbiot.com/cvs/wiki/index.php?title=Main_Page
http://www.nongnu.org/cvs/
http://ftp.gnu.org/non-gnu/cvs/
+The following packages should be installed when GNU gettext is installed
+(runtime dependencies, but not build dependencies):
+
+None.
+
+
The following should be installed when GNU gettext is built, but are not
needed later, once it is installed (build dependencies, but not runtime
dependencies):
+ Download:
http://ftp.gnu.org/gnu/grep/
ftp://ftp.gnu.org/gnu/grep/
-
-* CVS 1.11 or newer
- + Recommended.
- Needed if configuring with --without-cvs or --with-git.
- + Homepage:
- http://ximbiot.com/cvs/wiki/index.php?title=Main_Page
- http://www.nongnu.org/cvs/
- + Download:
- http://ftp.gnu.org/non-gnu/cvs/
-
-* RCS 5.7 or newer
- + Recommended.
- Needed if configuring with --without-cvs or --with-git.
- + Homepage:
- http://www.cs.purdue.edu/homes/trinkle/RCS/
- + Download:
- http://www.cs.purdue.edu/homes/trinkle/RCS/rcs-5.7.tar
* Dependencies:
The libraries and programs are now linked with libunistring if this library
is already installed.
+
+* Installation options:
+ The configure option --with-cvs is deprecated. The 'autopoint' program will
+ now use the 'git' program by default to compress its archive. If the
+ configure option --without-git is specified, 'autopoint' will not rely on
+ 'git', but will instead rely on a locally installed a 3 MB large archive.
\f
Version 0.18 - May 2010
$prefix/share/gettext/gettext.h
$prefix/share/gettext/gettext.jar (only installed if gcj is not present)
$prefix/share/gettext/msgunfmt.tcl
- $prefix/share/gettext/archive.cvs.tar.gz
- $prefix/share/gettext/archive.git.tar.gz (only installed if --with-git specified)
- $prefix/share/gettext/archive.dir.tar.gz (only installed if --without-cvs specified)
+ $prefix/share/gettext/archive.git.tar.gz
+ $prefix/share/gettext/archive.dir.tar.gz (only installed if --without-git specified)
+ $prefix/share/gettext/archive.cvs.tar.gz (only installed if --with-cvs specified)
$prefix/share/aclocal/codeset.m4
$prefix/share/aclocal/fcntl-o.m4
$prefix/share/aclocal/gettext.m4
+2010-06-03 Bruno Haible <bruno@clisp.org>
+
+ Deprecate the --with-cvs option.
+ * configure.ac: Document options --without-git, --with-cvs.
+ (ARCHIVE_FORMAT): Use cvs only when explicitly asked for.
+
2010-05-24 Bruno Haible <bruno@clisp.org>
Use the newest regex module from gnulib.
AC_SUBST([aclocaldir])
dnl Check how to install the set of previous versions, for autopoint.
-AC_ARG_WITH([cvs],
- [ --without-cvs don't use cvs to compress the infrastructure archive],
- [gt_use_cvs=$withval],
- [gt_use_cvs=maybe])
AC_ARG_WITH([git],
- [ --with-git use git to compress the infrastructure archive],
+ [ --without-git don't use git to compress the infrastructure archive],
[gt_use_git=$withval],
- [gt_use_git=no])
-if test "$gt_use_cvs" != no && test "$gt_use_cvs" != maybe; then
- # --with-cvs is specified. Even if --with-git is also specified, we use the
- # cvs format, because it yields smaller archives than the git format.
- ARCHIVE_FORMAT=cvs
+ [gt_use_git=maybe])
+AC_ARG_WITH([cvs],
+ [ --with-cvs use cvs to compress the infrastructure archive
+ (deprecated)],
+ [gt_use_cvs=$withval],
+ [gt_use_cvs=no])
+# The CVS format is deprecated, because "cvs init" does not work in all
+# circumstances
+# (see <http://lists.gnu.org/archive/html/bug-cvs/2010-05/msg00003.html>)
+# and we are not allowed to distribute the cvs infrastructure files ourselves
+# (see <http://lists.gnu.org/archive/html/bug-cvs/2010-06/msg00011.html>).
+if test "$gt_use_git" != no && test "$gt_use_git" != maybe; then
+ # --with-git is specified. Even if --with-cvs is also specified, we use the
+ # git format.
+ ARCHIVE_FORMAT=git
else
- if test "$gt_use_git" != no; then
- # --with-git is specified.
- ARCHIVE_FORMAT=git
+ if test "$gt_use_cvs" != no; then
+ # --with-cvs is specified.
+ ARCHIVE_FORMAT=cvs
else
- # Neither --with-cvs not --with-git is specified.
- if test "$gt_use_cvs" != no; then
- # --without-cvs is not specified. Use cvs format.
- ARCHIVE_FORMAT=cvs
+ # Neither --with-git nor --with-cvs is specified.
+ if test "$gt_use_git" != no; then
+ # --without-git is not specified. Use git format.
+ ARCHIVE_FORMAT=git
else
- # --without-cvs is specified.
+ # --without-git is specified.
ARCHIVE_FORMAT=dir
fi
fi
+2010-06-03 Bruno Haible <bruno@clisp.org>
+
+ Deprecate the --with-cvs option.
+ * autopoint.in: Update comments.
+ * add-to-archive: Update archive.dir.tar.gz, not archive.cvs.tar.gz.
+ * Makefile.am (CLEANFILES): Add archive.cvs.tar.gz instead of
+ archive.dir.tar.gz.
+ (EXTRA_DIST): Add archive.dir.tar.gz instead of archive.cvs.tar.gz.
+ (archive.dir.tar.gz): Adapted from archive.cvs.tar.gz rule.
+ (archive.git.tar.gz, archive.cvs.tar.gz): Generate from
+ archive.dir.tar.gz.
+
2010-05-26 Bruno Haible <bruno@clisp.org>
Interoperability with newer versions of 'cvs'.
## Makefile for the gettext-tools/misc subdirectory of GNU gettext
-## Copyright (C) 1995-1997, 2000-2003, 2005-2007, 2009 Free Software Foundation, Inc.
+## Copyright (C) 1995-1997, 2000-2003, 2005-2007, 2009-2010 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
DISTCLEANFILES += gettextize autopoint convert-archive
-CLEANFILES += archive.dir.tar.gz archive.git.tar.gz
+CLEANFILES += archive.cvs.tar.gz archive.git.tar.gz
-EXTRA_DIST += add-to-archive cvsuser.c archive.cvs.tar.gz
+EXTRA_DIST += add-to-archive cvsuser.c archive.dir.tar.gz
gettextsrcdir = $(datadir)/gettext
gettextsrc_DATA = archive.@ARCHIVE_FORMAT@.tar.gz
-# The archive.cvs.tar.gz is not in the CVS. Alpha-testers must use the one from
+# The archive.dir.tar.gz is not in the CVS. Alpha-testers must use the one from
# an already installed release.
-archive.cvs.tar.gz:
- if test -f $(gettextsrcdir)/archive.cvs.tar.gz; then \
- cp -p $(gettextsrcdir)/archive.cvs.tar.gz $@; \
+archive.dir.tar.gz:
+ if test -f $(gettextsrcdir)/archive.dir.tar.gz; then \
+ cp -p $(gettextsrcdir)/archive.dir.tar.gz $@; \
else \
- echo "archive.cvs.tar.gz is not under version control. Please copy the archive.cvs.tar.gz from an already installed release to gettext-tools/misc/." 1>&2; \
+ echo "archive.dir.tar.gz is not under version control. Please copy the archive.dir.tar.gz from an already installed release to gettext-tools/misc/." 1>&2; \
exit 1; \
fi
-# The archive.dir.tar.gz is generated from archive.cvs.tar.gz.
-archive.dir.tar.gz: archive.cvs.tar.gz
- if test -f archive.cvs.tar.gz; then \
- inputfile=archive.cvs.tar.gz; \
+# The archive.git.tar.gz is generated from archive.dir.tar.gz.
+archive.git.tar.gz: archive.dir.tar.gz
+ if test -f archive.dir.tar.gz; then \
+ inputfile=archive.dir.tar.gz; \
else \
- inputfile='$(srcdir)'/archive.cvs.tar.gz; \
+ inputfile='$(srcdir)'/archive.dir.tar.gz; \
fi; \
- ./convert-archive cvs dir "$$inputfile" $@
+ ./convert-archive dir git "$$inputfile" $@
-# The archive.git.tar.gz is generated from archive.cvs.tar.gz.
-archive.git.tar.gz: archive.cvs.tar.gz
- if test -f archive.cvs.tar.gz; then \
- inputfile=archive.cvs.tar.gz; \
+# The archive.cvs.tar.gz is generated from archive.dir.tar.gz.
+archive.cvs.tar.gz: archive.dir.tar.gz
+ if test -f archive.dir.tar.gz; then \
+ inputfile=archive.dir.tar.gz; \
else \
- inputfile='$(srcdir)'/archive.cvs.tar.gz; \
+ inputfile='$(srcdir)'/archive.dir.tar.gz; \
fi; \
- ./convert-archive cvs git "$$inputfile" $@
+ ./convert-archive dir cvs "$$inputfile" $@
# Emacs Lisp code.
#! /bin/sh
#
-# Copyright (C) 2002, 2006, 2009 Free Software Foundation, Inc.
+# Copyright (C) 2002, 2006, 2009-2010 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
#
# Usage: add-to-archive /somewhere/gettext-0.xx.yy.tar.gz
-# Adds the infrastructure files for gettext version 0.xx.yy to the compressed
-# CVS repository in the archive.cvs.tar.gz file.
+# Adds the infrastructure files for gettext version 0.xx.yy to the reposutory
+# in the archive.dir.tar.gz file.
if test $# != 1; then
echo "Usage: add-to-archive /somewhere/gettext-0.xx.yy.tar.gz"
pack=`echo "$pack_ver" | sed -e 's/^\([^-]*\)-.*/\1/'`
ver=`echo "$pack_ver" | sed -e 's/^[^-]*-\(.*\)/\1/'`
-# Set a nonstandard variable, for a good-looking cvs history.
-cvsuser=bruno
-gcc -shared -fPIC -O cvsuser.c -o cvsuser.so
-cvsuser_hack=`pwd`/cvsuser.so
-
# Unpack, build and install the source distribution.
myprefix=`pwd`/${pack_ver}-inst
gunzip -c < "$sourcetgz" | tar xvf -
)
# Add the contents of this directory to the repository.
-cvsroot=`pwd`/autopoint-files
-mkdir "$cvsroot"
-cvs -d "$cvsroot" init
-(cd autopoint-files && tar xvfz ../archive.cvs.tar.gz)
-cvsver=$pack-`echo "$ver" | sed -e 's/\./_/g'`
-(cd "$work_archive"
- CVSUSER=$cvsuser LD_PRELOAD=$cvsuser_hack \
- cvs -d "$cvsroot" import -m "Import $pack_ver" archive release "$cvsver"
-)
-(cd autopoint-files && tar cvfz ../archive.cvs.tar.gz --owner=root --group=root archive)
-(cd autopoint-files && du archive)
+mkdir autopoint-files
+(cd autopoint-files && tar xfz ../archive.dir.tar.gz)
+mkdir autopoint-files/$pack_ver
+(cd "$work_archive" && tar cf - .) | (cd autopoint-files/$pack_ver && tar xf -)
+(cd autopoint-files && tar cfz ../archive.dir.tar.gz --owner=root --group=root *)
# Clean up.
-rm -rf "$cvsroot"
+rm -rf autopoint-files
rm -rf "$work_dir"
rm -f cvsuser.so
rm -rf "$myprefix"
;;
cvs)
- # We distribute the many different versions of the files in a CVS
- # repository. This guarantees a good compression rate:
+ # We distributed the many different versions of the files in a CVS
+ # repository. This guaranteed a good compression rate:
#
# Including version size in KB of
# "du autopoint-files/archive"
# a severe restrictions, because most of the people who use autopoint are
# users of CVS.
#
+ # But the CVS format is now deprecated, because "cvs init" does not work in
+ # all circumstances
+ # (see <http://lists.gnu.org/archive/html/bug-cvs/2010-05/msg00003.html>)
+ # and we are not allowed to distribute the cvs infrastructure files
+ # ourselves
+ # (see <http://lists.gnu.org/archive/html/bug-cvs/2010-06/msg00011.html>).
+ #
# Check availability of the CVS program.
(cvs -v) >/dev/null 2>/dev/null || func_fatal_error "cvs program not found"