changeset 27998:ece72b94486f stable

eliminate gnulib subrepo (bug #57044) After this change, bootstrap will check out the gnulib sources to the revision set in the bootstrap.conf file. You may also use ./bootstrap --gnulib-srcdir=/path/to/gnulib to use an external copy of gnulib. If GNULIB_REVISION is unset, then the external repo will be updated to the version specified in bootstrap.conf. If GNULIB_REVISION is set in the environment when running bootstrap, that version will be used. If GNULIB_REVISION is set but empty, the current version in the external repo will be used: GNULIB_REVISION= ./bootstrap --gnulib-srcdir=/path/to/gnulib Thanks to Kai T. Ohlhus for the initial version of this change. * bootstrap.conf: Set GNULIB_REVISION unless it is already set in the environment. * .hgsub, .hgsubstate: Delete.
author John W. Eaton <jwe@octave.org>
date Thu, 23 Jan 2020 17:56:39 -0500
parents f4b6b170a761
children 9d4711b6cd43 717e3780805c
files .hgsub .hgsubstate bootstrap.conf
diffstat 3 files changed, 8 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/.hgsub	Fri Jan 24 16:04:41 2020 +0900
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-gnulib = http://hg.octave.org/gnulib
--- a/.hgsubstate	Fri Jan 24 16:04:41 2020 +0900
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-b64e28406423601fb61aab21a70030a3325a2050 gnulib
--- a/bootstrap.conf	Fri Jan 24 16:04:41 2020 +0900
+++ b/bootstrap.conf	Thu Jan 23 17:56:39 2020 -0500
@@ -174,10 +174,14 @@
 gnulib_name="libgnu"
 source_base="libgnu"
 
-# Don't use git to update gnulib sources. We keep gnulib under a
-# Mercurial subrepository instead.
-use_git=false
-GNULIB_SRCDIR=gnulib
+# Go to https://git.savannah.gnu.org/cgit/gnulib.git to find out the latest
+# revision ID.  Paste it below and run
+#
+#   ./bootstrap --bootstrap-sync
+#
+# To update the ./bootstrap file with that from ./gnulib/build-aux/bootstrap
+
+: ${GNULIB_REVISION=a8e125d24942bc581fda1628a61a60b979ab7087}
 
 # Don't check for translations since we don't have any in Octave yet.
 # This avoids the need for sha1sum or compatible utility in bootstrap.