[Parted-commits] GNU Parted Official Repository: Changes to 'master'

Jim Meyering meyering at alioth.debian.org
Sun Oct 10 17:10:48 UTC 2010


 README         |    3 ++
 bootstrap      |   70 +++++++++++++++++++++++++++++++++--------------
 bootstrap.conf |   84 +++++++++++++++++++++++++++++----------------------------
 gnulib         |    2 -
 4 files changed, 98 insertions(+), 61 deletions(-)

New commits:
commit dd50a992cc95654e0642a3480bedead6a1dc9c79
Author: Jim Meyering <meyering at redhat.com>
Date:   Sun Oct 10 19:01:52 2010 +0200

    maint: don't use obsolete gnulib modules
    
    * bootstrap.conf (gnulib_modules): Use calloc-gnu, malloc-gnu
    and realloc-gnu modules, rather than calloc, malloc and realloc.
    The shorter-named modules are now deprecated.

diff --git a/bootstrap.conf b/bootstrap.conf
index 5a8f8f1..01f354b 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -24,46 +24,50 @@ avoided_gnulib_modules='
 
 # gnulib modules used by this package.
 gnulib_modules="
-	$avoided_gnulib_modules
-	alloca announce-gen assert
-	argmatch
-	calloc config-h configmake
-	canonicalize-lgpl
-	close
-	closeout
-	dirname
-	do-release-commit-and-tag
-	fdl
-	fsync
-	gettext-h
-	git-version-gen
-	gitlog-to-changelog
-	gnu-web-doc-update
-	gnumakefile
-	gnupload
-	inttypes
-	lib-ignore
-	long-options
-	lseek
-	malloc
-	maintainer-makefile
-	manywarnings
-	mkstemp
-	mktempd
-	realloc
-	rpmatch
-	progname
-	safe-read
-	stdbool
-	strdup-posix
-	unlink
-	update-copyright
-	useless-if-before-free
-	usleep
-	vc-list-files
-	version-etc-fsf
-	warnings
-	xstrtol
+  $avoided_gnulib_modules
+  alloca
+  announce-gen
+  argmatch
+  assert
+  calloc-gnu
+  canonicalize-lgpl
+  close
+  closeout
+  config-h
+  configmake
+  dirname
+  do-release-commit-and-tag
+  fdl
+  fsync
+  gettext-h
+  git-version-gen
+  gitlog-to-changelog
+  gnu-web-doc-update
+  gnumakefile
+  gnupload
+  inttypes
+  lib-ignore
+  long-options
+  lseek
+  maintainer-makefile
+  malloc-gnu
+  manywarnings
+  mkstemp
+  mktempd
+  progname
+  realloc-gnu
+  rpmatch
+  safe-read
+  stdbool
+  strdup-posix
+  unlink
+  update-copyright
+  useless-if-before-free
+  usleep
+  vc-list-files
+  version-etc-fsf
+  warnings
+  xstrtol
 "
 
 # Additional xgettext options to use.  Use "\\\newline" to break lines.

commit f538bc26ed4235af43eb0d2873386fc6b23a5d89
Author: Jim Meyering <meyering at redhat.com>
Date:   Sat Oct 9 15:24:48 2010 +0200

    maint: describe policy on copyright year number ranges
    
    * README: Mention coreutils' long-standing policy on use of M-N
    ranges in copyright year lists.  Requested by Richard Stallman.

diff --git a/README b/README
index 398c0ac..3196aee 100644
--- a/README
+++ b/README
@@ -43,6 +43,9 @@ Or view it on-line at:
  * send bug reports, requests for help, feature requests, comments, etc. to
    bug-parted at gnu.org.
 
+For any copyright year range specified as YYYY-ZZZZ in this package
+note that the range specifies every single year in that closed interval.
+
 
 NOTE TO DISTRIBUTIONS
 ---------------------

commit 08699c353db951a2f4352e609591f992649685c0
Author: Jim Meyering <meyering at redhat.com>
Date:   Sun Oct 10 17:59:27 2010 +0200

    build: update gnulib submodule to latest, and update bootstrap
    
    * bootstrap: update from gnulib

diff --git a/bootstrap b/bootstrap
index 5ab4cf7..43684f1 100755
--- a/bootstrap
+++ b/bootstrap
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Print a version string.
-scriptversion=2010-07-06.10; # UTC
+scriptversion=2010-10-10.16; # UTC
 
 # Bootstrap this package from checked-out sources.
 
@@ -80,6 +80,10 @@ gnulib_modules=
 # Any gnulib files needed that are not in modules.
 gnulib_files=
 
+# A function to be called to edit gnulib.mk right after it's created.
+# Override it via your own definition in bootstrap.conf.
+gnulib_mk_hook() { :; }
+
 # A function to be called after everything else in this script.
 # Override it via your own definition in bootstrap.conf.
 bootstrap_epilogue() { :; }
@@ -346,8 +350,12 @@ check_versions() {
   ret=0
 
   while read app req_ver; do
+    # We only need libtoolize from the libtool package.
+    if test "$app" = libtool; then
+      app=libtoolize
+    fi
     # Honor $APP variables ($TAR, $AUTOCONF, etc.)
-    appvar=`echo $app | tr '[a-z]' '[A-Z]'`
+    appvar=`echo $app | tr '[a-z]-' '[A-Z]_'`
     test "$appvar" = TAR && appvar=AMTAR
     eval "app=\${$appvar-$app}"
     inst_ver=$(get_version $app)
@@ -370,16 +378,30 @@ check_versions() {
 print_versions() {
   echo "Program    Min_version"
   echo "----------------------"
-  printf "$buildreq"
+  printf %s "$buildreq"
   echo "----------------------"
   # can't depend on column -t
 }
 
+use_libtool=0
+# We'd like to use grep -E, to see if any of LT_INIT,
+# AC_PROG_LIBTOOL, AM_PROG_LIBTOOL is used in configure.ac,
+# but that's not portable enough (e.g., for Solaris).
+grep '^[	 ]*A[CM]_PROG_LIBTOOL' configure.ac >/dev/null \
+  && use_libtool=1
+grep '^[	 ]*LT_INIT' configure.ac >/dev/null \
+  && use_libtool=1
+if test $use_libtool = 1; then
+  find_tool LIBTOOLIZE glibtoolize libtoolize
+fi
+
 if ! printf "$buildreq" | check_versions; then
-  test -f README-prereq &&
-  echo "See README-prereq for notes on obtaining these prerequisite programs:" >&2
-  echo
-  print_versions
+  echo >&2
+  if test -f README-prereq; then
+    echo "See README-prereq for how to get the prerequisite programs" >&2
+  else
+    echo "Please install the prerequisite programs" >&2
+  fi
   exit 1
 fi
 
@@ -660,7 +682,8 @@ slurp() {
     for file in `ls -a $1/$dir`; do
       case $file in
       .|..) continue;;
-      .*) continue;; # FIXME: should all file names starting with "." be ignored?
+      # FIXME: should all file names starting with "." be ignored?
+      .*) continue;;
       esac
       test -d $1/$dir/$file && continue
       for excluded_file in $excluded_files; do
@@ -669,10 +692,12 @@ slurp() {
       if test $file = Makefile.am && test "X$gnulib_mk" != XMakefile.am; then
         copied=$copied${sep}$gnulib_mk; sep=$nl
         remove_intl='/^[^#].*\/intl/s/^/#/;'"s!$bt_regex/!!g"
-        sed "$remove_intl" $1/$dir/$file | cmp - $dir/$gnulib_mk > /dev/null || {
+        sed "$remove_intl" $1/$dir/$file |
+        cmp - $dir/$gnulib_mk > /dev/null || {
           echo "$0: Copying $1/$dir/$file to $dir/$gnulib_mk ..." &&
           rm -f $dir/$gnulib_mk &&
-          sed "$remove_intl" $1/$dir/$file >$dir/$gnulib_mk
+          sed "$remove_intl" $1/$dir/$file >$dir/$gnulib_mk &&
+          gnulib_mk_hook $dir/$gnulib_mk
         }
       elif { test "${2+set}" = set && test -r $2/$dir/$file; } ||
            version_controlled_file $dir $file; then
@@ -705,7 +730,14 @@ slurp() {
         # the name with just ".h".  Many gnulib headers are generated,
         # e.g., stdint.in.h -> stdint.h, dirent.in.h ->..., etc.
         # Likewise for .gperf -> .h, .y -> .c, and .sin -> .sed
-        f=`echo "$copied"|sed 's/\.in\.h$/.h/;s/\.sin$/.sed/;s/\.y$/.c/;s/\.gperf$/.h/'`
+        f=`echo "$copied" |
+          sed '
+            s/\.in\.h$/.h/
+            s/\.sin$/.sed/
+            s/\.y$/.c/
+            s/\.gperf$/.h/
+          '
+        `
         insert_sorted_if_absent $ig "$f"
 
         # For files like sys_stat.in.h and sys_time.in.h, record as
@@ -736,6 +768,12 @@ gnulib_tool_options="\
  --local-dir $local_gl_dir\
  $gnulib_tool_option_extras\
 "
+if test $use_libtool = 1; then
+  case "$gnulib_tool_options " in
+    *' --libtool '*) ;;
+    *) gnulib_tool_options="$gnulib_tool_options --libtool" ;;
+  esac
+fi
 echo "$0: $gnulib_tool $gnulib_tool_options --import ..."
 $gnulib_tool $gnulib_tool_options --import $gnulib_modules &&
 slurp $bt || exit
@@ -778,20 +816,12 @@ grep -E '^[	 ]*AC_CONFIG_HEADERS?\>' configure.ac >/dev/null ||
 
 for command in \
   libtool \
-  "${ACLOCAL-aclocal} --force -I m4" \
+  "${ACLOCAL-aclocal} --force -I m4 $ACLOCAL_FLAGS" \
   "${AUTOCONF-autoconf} --force" \
   "${AUTOHEADER-autoheader} --force" \
   "${AUTOMAKE-automake} --add-missing --copy --force-missing"
 do
   if test "$command" = libtool; then
-    use_libtool=0
-    # We'd like to use grep -E, to see if any of LT_INIT,
-    # AC_PROG_LIBTOOL, AM_PROG_LIBTOOL is used in configure.ac,
-    # but that's not portable enough (e.g., for Solaris).
-    grep '^[	 ]*A[CM]_PROG_LIBTOOL' configure.ac >/dev/null \
-      && use_libtool=1
-    grep '^[	 ]*LT_INIT' configure.ac >/dev/null \
-      && use_libtool=1
     test $use_libtool = 0 \
       && continue
     command="${LIBTOOLIZE-libtoolize} -c -f"
diff --git a/gnulib b/gnulib
index 3f08220..e9e556f 160000
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit 3f08220c1a263dfc45f6e0ce6dcee97631dd5e56
+Subproject commit e9e556f53c74014cb122e8c7fd0405f40f7c9acb



More information about the Parted-commits mailing list