Daiki Ueno <u...@gnu.org> writes:

> Paul Eggert <egg...@cs.ucla.edu> writes:
>
>> On 11/22/2016 12:58 AM, Daiki Ueno wrote:
>>> Why can't we continue
>>> syncing with the gettext releases, even if one checks in a change into
>>> gnulib directly?
>>
>> I assume this is because Karl's procedure, which he runs periodically,
>> is to grab the latest release from various sources, and to copy the
>> relevant files to Gnulib.
>
> Ah, I see.  Thank you for the explanation.
> Then I will try to find another way around.

How about this?

- introduce "release" option in srclist.txt

- check the dev tree, but if the "release" option is specified, also
  check the most recently tagged revision in the git repository, before
  reporting conflict

That can be done by the attached patch (though it's a bit ugly).

git clone git://git.sv.gnu.org/gettext.git
git clone git://git.sv.gnu.org/gnulib.git
cd gnulib
git am < 000*.patch
sed -i 's/^verbose=false/verbose=true/' config/srclist-update
grep GETTEXT config/srclist.txt | $PWD/config/srclist-update $PWD

## /tmp/codeset.m4:v0.19.8.1 m4/codeset.m4  # unchanged
## /tmp/gettext.m4:v0.19.8.1 m4/gettext.m4  # unchanged
## /tmp/iconv.m4 m4/iconv.m4  # unchanged
## /tmp/intl.m4:v0.19.8.1 m4/intl.m4  # unchanged
## /tmp/intldir.m4:v0.19.8.1 m4/intldir.m4  # unchanged
## /tmp/intlmacosx.m4:v0.19.8.1 m4/intlmacosx.m4  # unchanged
## /tmp/lcmessage.m4:v0.19.8.1 m4/lcmessage.m4  # unchanged
## /tmp/nls.m4:v0.19.8.1 m4/nls.m4  # unchanged
## /tmp/po.m4:v0.19.8.1 m4/po.m4  # unchanged
## /tmp/Makefile.in.in:v0.19.8.1 build-aux/po/Makefile.in.in  # unchanged
## /tmp/remove-potcdate.sin:v0.19.8.1 build-aux/po/remove-potcdate.sin  # 
unchanged

Regards,
-- 
Daiki Ueno
>From 37e9208f5f32cfc6577a0140731099aa3f0b65d1 Mon Sep 17 00:00:00 2001
From: Daiki Ueno <u...@gnu.org>
Date: Wed, 23 Nov 2016 12:46:09 +0100
Subject: [PATCH 1/2] srclist: add "release" option

If the option is specified, the script also compares the files with the
most recently tagged revision, as well as the latest master.  That
allows "safe" changes to be installed in both Gnulib and the external
projects.
---
 config/srclist-update |  46 ++++++--
 config/srclist.txt    | 284 +++++++++++++++++++++++++-------------------------
 2 files changed, 177 insertions(+), 153 deletions(-)

diff --git a/config/srclist-update b/config/srclist-update
index 8fa4a61..f6fec8d 100755
--- a/config/srclist-update
+++ b/config/srclist-update
@@ -9,7 +9,8 @@
 #   the first word is the source, the second word is the destination,
 #   other optional words are options.
 # The possible options are "gpl" (to replace the license with the GPL)
-#   and "doclicense" (to replace @include doclicense.texi with fdl.texi).
+#   and "doclicense" (to replace @include doclicense.texi with fdl.texi)
+#   and "release" (to check files from the release).
 #   Unrecognized options are ignored.
 # $VARIABLE expansions are done (with sh eval).
 #
@@ -85,10 +86,10 @@ fixlicense='
 # Quote the $ so that CVS does not expand it in this script.
 remove_id_lines='/[$]Id:.*[$]/d'
 
-# $1 is input file, $2 is output.
-# Remove $Id lines, since they'll differ between source locations.
-# If $options contains "gpl", change the license to be the standard
-# GPL.  We use this for libc files, et al.
+# $1 is the root directory of input file, $2 is input file, $3 is
+# output.  Remove $Id lines, since they'll differ between source
+# locations.  If $options contains "gpl", change the license to be the
+# standard GPL.  We use this for libc files, et al.
 #
 fixfile() \
 {
@@ -102,20 +103,34 @@ fixfile() \
     sed_command="$sed_command; s/@include doclicense.texi/@include fdl.texi/";;
   esac
 
-  sed "$sed_command" $1 >$2
+  sed "$sed_command" $1 >$2-t && mv $2-t $2
 }
 
 
 # 
-cat | while read src dst options; do
-  #echo "src=$src, dst=$dst, options=$options" >&2
-  case $src:$dst in
-    *: ) continue;;    # skip lines without second element
+cat | while read top src dst options; do
+  #echo "top=$top, src=$src, dst=$dst, options=$options" >&2
+  case $top:$src:$dst in
+    *: ) continue;;    # skip lines without last element
     '#'* ) continue;;  # skip comment-only lines
   esac
 
+  release=false
+  case " $options " in
+    *' release '*)
+      release=true
+      ;;
+  esac
+
+  eval top=$top
+  if test ! -d $top/.git; then
+    echo "$0: 'release' option only works with git checkout"
+    release=false
+  fi
+
   # Expand variables and make sure we have an input file.
-  eval src=$src
+  src1=$src
+  eval src=$top/$src
   if test ! -r $src; then
     echo "$0: cannot read $src" >&2
     continue
@@ -127,6 +142,13 @@ cat | while read src dst options; do
   eval dst=$dst
   test -d $dst && dst=$dst/`basename $src`
 
+  if $release; then
+    rev=$(git --git-dir=$top/.git describe --abbrev=0)
+    reltmp=$TMPDIR/`basename $src1`:$rev
+    git --git-dir=$top/.git show $rev:$src1 > $reltmp
+    fixfile $reltmp $reltmp
+  fi
+
   # Fix files in both src and dst, for the sake
   # of a clean comparison.
   srctmp=$TMPDIR/`basename $src`
@@ -139,6 +161,8 @@ cat | while read src dst options; do
   if test ! -e $dst; then
     echo "## $srctmp $dst  # new"
     $chicken cp -p $srctmp $dst
+  elif $release && cmp -s $reltmp $dsttmp; then
+    $verbose && echo "## $reltmp $dst  # unchanged"
   elif cmp -s $srctmp $dsttmp; then
     $verbose && echo "## $srctmp $dst  # unchanged"
   else
diff --git a/config/srclist.txt b/config/srclist.txt
index 9e3fc45..ca6bc96 100644
--- a/config/srclist.txt
+++ b/config/srclist.txt
@@ -1,90 +1,90 @@
 # Files for which we are not the source.  See ./srclistvars.sh for the
 # variable definitions.
 
-$GNUCONFIG/config.guess		build-aux
-$GNUCONFIG/config.sub		build-aux
+$GNUCONFIG config.guess		build-aux
+$GNUCONFIG config.sub		build-aux
 
-$AUTOMAKE/lib/ar-lib		build-aux
-$AUTOMAKE/lib/compile		build-aux
-$AUTOMAKE/lib/depcomp		build-aux
-$AUTOMAKE/lib/install-sh	build-aux
-$AUTOMAKE/lib/mdate-sh		build-aux
-$AUTOMAKE/lib/mkinstalldirs	build-aux
+$AUTOMAKE lib/ar-lib		build-aux
+$AUTOMAKE lib/compile		build-aux
+$AUTOMAKE lib/depcomp		build-aux
+$AUTOMAKE lib/install-sh	build-aux
+$AUTOMAKE lib/mdate-sh		build-aux
+$AUTOMAKE lib/mkinstalldirs	build-aux
 
-$TEXINFOSRC/doc/texinfo.tex		build-aux
+$TEXINFOSRC doc/texinfo.tex		build-aux
 
 # we generate INSTALL from this via a rule in doc/Makefile.
-$AUTOCONF/doc/install.texi	doc
+$AUTOCONF doc/install.texi	doc
 
-$GNUSTANDARDS/maintain.texi	doc
-$GNUSTANDARDS/standards.texi	doc
-$GNUSTANDARDS/make-stds.texi	doc
-$GNUSTANDARDS/gnu-oids.texi	doc
-$GNUSTANDARDS/fdl.texi		doc
+$GNUSTANDARDS maintain.texi	doc
+$GNUSTANDARDS standards.texi	doc
+$GNUSTANDARDS make-stds.texi	doc
+$GNUSTANDARDS gnu-oids.texi	doc
+$GNUSTANDARDS fdl.texi		doc
 
-$GNUWWWLICENSES/lgpl-3.0.txt			doc/COPYING.LESSERv3
-$GNUWWWLICENSES/old-licenses/lgpl-2.1.txt	doc/COPYING.LESSERv2
-$GNUWWWLICENSES/gpl-3.0.txt			doc/COPYINGv3
-$GNUWWWLICENSES/old-licenses/gpl-2.0.txt	doc/COPYINGv2
-$GNUWWWLICENSES/old-licenses/lgpl-2.1.texi	doc
-$GNUWWWLICENSES/old-licenses/gpl-2.0.texi	doc
+$GNUWWWLICENSES lgpl-3.0.txt			doc/COPYING.LESSERv3
+$GNUWWWLICENSES old-licenses/lgpl-2.1.txt	doc/COPYING.LESSERv2
+$GNUWWWLICENSES gpl-3.0.txt			doc/COPYINGv3
+$GNUWWWLICENSES old-licenses/gpl-2.0.txt	doc/COPYINGv2
+$GNUWWWLICENSES old-licenses/lgpl-2.1.texi	doc
+$GNUWWWLICENSES old-licenses/gpl-2.0.texi	doc
 # no longer modified and fails @acronym checks
-#$GNUWWWLICENSES/old-licenses/fdl-1.2.texi	doc
-$GNUWWWLICENSES/agpl-3.0.texi			doc
-$GNUWWWLICENSES/fdl-1.3.texi			doc
-$GNUWWWLICENSES/gpl-3.0.texi			doc
-$GNUWWWLICENSES/lgpl-3.0.texi			doc
+#$GNUWWWLICENSES old-licenses/fdl-1.2.texi	doc
+$GNUWWWLICENSES agpl-3.0.texi			doc
+$GNUWWWLICENSES fdl-1.3.texi			doc
+$GNUWWWLICENSES gpl-3.0.texi			doc
+$GNUWWWLICENSES lgpl-3.0.texi			doc
 
 # The official forms for contributors to fill out, mentioned in maintain.
 # We intentionally do not mirror assign.* or disclaim.* files; the
 # request-* files are sufficient to give the copyright clerk enough
 # information to tell the candidate of the right procedures to use.
-$GNUORG/conditions.text				doc/Copyright
-$GNUORG/Copyright/request-assign.changes	doc/Copyright
-$GNUORG/Copyright/request-assign.future		doc/Copyright
-$GNUORG/Copyright/request-assign.program	doc/Copyright
-$GNUORG/Copyright/request-disclaim.changes	doc/Copyright
+$GNUORG conditions.text				doc/Copyright
+$GNUORG Copyright/request-assign.changes	doc/Copyright
+$GNUORG Copyright/request-assign.future		doc/Copyright
+$GNUORG Copyright/request-assign.program	doc/Copyright
+$GNUORG Copyright/request-disclaim.changes	doc/Copyright
 
 # Although gettext-runtime/m4 has other .m4 files, they are maintained
 # in gnulib.
-$GETTEXT/gettext-runtime/m4/codeset.m4		m4
-$GETTEXT/gettext-runtime/m4/gettext.m4		m4
-$GETTEXT/gettext-runtime/m4/iconv.m4		m4
-$GETTEXT/gettext-runtime/m4/intl.m4		m4
-$GETTEXT/gettext-runtime/m4/intldir.m4		m4
-$GETTEXT/gettext-runtime/m4/intlmacosx.m4	m4
-$GETTEXT/gettext-runtime/m4/lcmessage.m4	m4
-$GETTEXT/gettext-runtime/m4/nls.m4		m4
-$GETTEXT/gettext-runtime/m4/po.m4		m4
+$GETTEXT gettext-runtime/m4/codeset.m4		m4
+$GETTEXT gettext-runtime/m4/gettext.m4		m4
+$GETTEXT gettext-runtime/m4/iconv.m4		m4
+$GETTEXT gettext-runtime/m4/intl.m4		m4
+$GETTEXT gettext-runtime/m4/intldir.m4		m4
+$GETTEXT gettext-runtime/m4/intlmacosx.m4	m4
+$GETTEXT gettext-runtime/m4/lcmessage.m4	m4
+$GETTEXT gettext-runtime/m4/nls.m4		m4
+$GETTEXT gettext-runtime/m4/po.m4		m4
 
-$GETTEXT/gettext-runtime/po/Makefile.in.in	build-aux/po
-$GETTEXT/gettext-runtime/po/remove-potcdate.sin	build-aux/po
+$GETTEXT gettext-runtime/po/Makefile.in.in	build-aux/po
+$GETTEXT gettext-runtime/po/remove-potcdate.sin	build-aux/po
 
 # 
 # All below here commented out in forlorn hope of future syncs.
 
 # new argp not in glibc yet --13feb06.
-#$LIBCSRC/argp/argp-ba.c			lib gpl
-#$LIBCSRC/argp/argp-eexst.c		lib gpl
-#$LIBCSRC/argp/argp-fmtstream.c		lib gpl
-#$LIBCSRC/argp/argp-fmtstream.h		lib gpl
-#$LIBCSRC/argp/argp-fs-xinl.c		lib gpl
-#$LIBCSRC/argp/argp-help.c		lib gpl
-#$LIBCSRC/argp/argp-namefrob.h		lib gpl
-#$LIBCSRC/argp/argp-parse.c		lib gpl
-#$LIBCSRC/argp/argp-pv.c			lib gpl
-#$LIBCSRC/argp/argp-pvh.c		lib gpl
-#$LIBCSRC/argp/argp-xinl.c		lib gpl
-#$LIBCSRC/argp/argp.h			lib gpl
-#$LIBCSRC/stdlib/getsubopt.c		lib gpl
-#$LIBCSRC/posix/getopt.c		lib gpl
-#$LIBCSRC/posix/getopt.h		lib gpl (getopt.in.h in gnulib)
-#$LIBCSRC/posix/getopt1.c		lib gpl
-#$LIBCSRC/posix/getopt_int.h		lib gpl
+#$LIBCSRC argp/argp-ba.c			lib gpl
+#$LIBCSRC argp/argp-eexst.c		lib gpl
+#$LIBCSRC argp/argp-fmtstream.c		lib gpl
+#$LIBCSRC argp/argp-fmtstream.h		lib gpl
+#$LIBCSRC argp/argp-fs-xinl.c		lib gpl
+#$LIBCSRC argp/argp-help.c		lib gpl
+#$LIBCSRC argp/argp-namefrob.h		lib gpl
+#$LIBCSRC argp/argp-parse.c		lib gpl
+#$LIBCSRC argp/argp-pv.c			lib gpl
+#$LIBCSRC argp/argp-pvh.c		lib gpl
+#$LIBCSRC argp/argp-xinl.c		lib gpl
+#$LIBCSRC argp/argp.h			lib gpl
+#$LIBCSRC stdlib/getsubopt.c		lib gpl
+#$LIBCSRC posix/getopt.c		lib gpl
+#$LIBCSRC posix/getopt.h		lib gpl (getopt.in.h in gnulib)
+#$LIBCSRC posix/getopt1.c		lib gpl
+#$LIBCSRC posix/getopt_int.h		lib gpl
 #
 # http://sources.redhat.com/bugzilla/show_bug.cgi?id=1293
-#$LIBCSRC/libidn/iconvme.h		lib gpl
-#$LIBCSRC/libidn/iconvme.c		lib gpl
+#$LIBCSRC libidn/iconvme.h		lib gpl
+#$LIBCSRC libidn/iconvme.c		lib gpl
 
 # http://sources.redhat.com/bugzilla/show_bug.cgi?id=1057
 # http://sources.redhat.com/bugzilla/show_bug.cgi?id=1217
@@ -102,11 +102,11 @@ $GETTEXT/gettext-runtime/po/remove-potcdate.sin	build-aux/po
 # http://sources.redhat.com/bugzilla/show_bug.cgi?id=1285
 # http://sources.redhat.com/bugzilla/show_bug.cgi?id=1291
 # http://sources.redhat.com/bugzilla/show_bug.cgi?id=1302
-#$LIBCSRC/posix/regcomp.c		lib gpl
+#$LIBCSRC posix/regcomp.c		lib gpl
 #
 # http://sources.redhat.com/bugzilla/show_bug.cgi?id=1238
 # http://sources.redhat.com/bugzilla/show_bug.cgi?id=1245
-#$LIBCSRC/posix/regex.c			lib gpl
+#$LIBCSRC posix/regex.c			lib gpl
 #
 # http://sources.redhat.com/bugzilla/show_bug.cgi?id=1201
 # http://sources.redhat.com/bugzilla/show_bug.cgi?id=1207
@@ -115,7 +115,7 @@ $GETTEXT/gettext-runtime/po/remove-potcdate.sin	build-aux/po
 # http://sources.redhat.com/bugzilla/show_bug.cgi?id=1236
 # http://sources.redhat.com/bugzilla/show_bug.cgi?id=1240
 # http://sources.redhat.com/bugzilla/show_bug.cgi?id=1281
-#$LIBCSRC/posix/regex.h			lib gpl
+#$LIBCSRC posix/regex.h			lib gpl
 #
 # http://sources.redhat.com/bugzilla/show_bug.cgi?id=1215
 # http://sources.redhat.com/bugzilla/show_bug.cgi?id=1218
@@ -133,7 +133,7 @@ $GETTEXT/gettext-runtime/po/remove-potcdate.sin	build-aux/po
 # http://sources.redhat.com/bugzilla/show_bug.cgi?id=1287
 # http://sources.redhat.com/bugzilla/show_bug.cgi?id=1291
 # http://sources.redhat.com/bugzilla/show_bug.cgi?id=1302
-#$LIBCSRC/posix/regex_internal.c		lib gpl
+#$LIBCSRC posix/regex_internal.c		lib gpl
 #
 # http://sources.redhat.com/bugzilla/show_bug.cgi?id=1054
 # http://sources.redhat.com/bugzilla/show_bug.cgi?id=1221
@@ -147,7 +147,7 @@ $GETTEXT/gettext-runtime/po/remove-potcdate.sin	build-aux/po
 # http://sources.redhat.com/bugzilla/show_bug.cgi?id=1285
 # http://sources.redhat.com/bugzilla/show_bug.cgi?id=1291
 # http://sources.redhat.com/bugzilla/show_bug.cgi?id=1302
-#$LIBCSRC/posix/regex_internal.h		lib gpl
+#$LIBCSRC posix/regex_internal.h		lib gpl
 #
 # http://sources.redhat.com/bugzilla/show_bug.cgi?id=1216
 # http://sources.redhat.com/bugzilla/show_bug.cgi?id=1220
@@ -165,7 +165,7 @@ $GETTEXT/gettext-runtime/po/remove-potcdate.sin	build-aux/po
 # http://sources.redhat.com/bugzilla/show_bug.cgi?id=1284
 # http://sources.redhat.com/bugzilla/show_bug.cgi?id=1285
 # http://sources.redhat.com/bugzilla/show_bug.cgi?id=1302
-#$LIBCSRC/posix/regexec.c		lib gpl
+#$LIBCSRC posix/regexec.c		lib gpl
 #
 # c89 changes $LIBCSRC/string/strdup.c		lib gpl
 #tab changes $LIBCSRC/stdlib/strtoll.c		lib gpl
@@ -174,100 +174,100 @@ $GETTEXT/gettext-runtime/po/remove-potcdate.sin	build-aux/po
 # (gnulib needs config.h?) $LIBCSRC/string/memmem.c		lib gpl
 # still sync-able, but it's the only one left in libc. not worth it.
 # paul e will do by hand.
-#$LIBCSRC/time/mktime.c			lib gpl
+#$LIBCSRC time/mktime.c			lib gpl
 
 #
 # http://sourceware.org/bugzilla/show_bug.cgi?id=1439
-#$LIBCSRC/crypt/md5.c			lib gpl
-#$LIBCSRC/crypt/md5.h			lib gpl
+#$LIBCSRC crypt/md5.c			lib gpl
+#$LIBCSRC crypt/md5.h			lib gpl
 # These are close, but ...
-#$LIBCSRC/locale/programs/xmalloc.c	lib gpl
-#$LIBCSRC/locale/programs/xstrdup.c	lib gpl
+#$LIBCSRC locale/programs/xmalloc.c	lib gpl
+#$LIBCSRC locale/programs/xstrdup.c	lib gpl
 #
-#$LIBCSRC/login/forkpty.c		lib gpl
-#$LIBCSRC/login/programs/pt_chown.c	lib gpl
+#$LIBCSRC login/forkpty.c		lib gpl
+#$LIBCSRC login/programs/pt_chown.c	lib gpl
 #
 # http://sources.redhat.com/bugzilla/show_bug.cgi?id=321
-#$LIBCSRC/malloc/obstack.c		lib gpl
+#$LIBCSRC malloc/obstack.c		lib gpl
 #
 # http://sources.redhat.com/bugzilla/show_bug.cgi?id=321
-#$LIBCSRC/malloc/obstack.h		lib gpl
-#$LIBCSRC/misc/error.c			lib gpl
-#$LIBCSRC/misc/error.h			lib gpl
-#$LIBCSRC/misc/getpass.c		lib gpl
-#$LIBCSRC/misc/mkstemp.c		lib gpl
-#$LIBCSRC/posix/fnmatch.c		lib gpl
-#$LIBCSRC/posix/fnmatch.h		lib gpl (fnmatch.in.h in gnulib)
-#$LIBCSRC/posix/fnmatch_loop.c		lib gpl
+#$LIBCSRC malloc/obstack.h		lib gpl
+#$LIBCSRC misc/error.c			lib gpl
+#$LIBCSRC misc/error.h			lib gpl
+#$LIBCSRC misc/getpass.c		lib gpl
+#$LIBCSRC misc/mkstemp.c		lib gpl
+#$LIBCSRC posix/fnmatch.c		lib gpl
+#$LIBCSRC posix/fnmatch.h		lib gpl (fnmatch.in.h in gnulib)
+#$LIBCSRC posix/fnmatch_loop.c		lib gpl
 #
 # http://sources.redhat.com/bugzilla/show_bug.cgi?id=1060
 # http://sources.redhat.com/bugzilla/show_bug.cgi?id=1062
-#$LIBCSRC/posix/glob.c			lib gpl
+#$LIBCSRC posix/glob.c			lib gpl
 #
 # http://sources.redhat.com/bugzilla/show_bug.cgi?id=1060
-#$LIBCSRC/posix/glob.h			lib gpl (glob-libc.h in gnulib)
+#$LIBCSRC posix/glob.h			lib gpl (glob-libc.h in gnulib)
 #
-#$LIBCSRC/stdlib/putenv.c		lib gpl
-#$LIBCSRC/stdlib/random.c		lib gpl
-#$LIBCSRC/stdlib/random_r.c		lib gpl
-#$LIBCSRC/stdlib/rpmatch.c		lib gpl
-#$LIBCSRC/stdlib/strtol.c		lib gpl
-#$LIBCSRC/string/strndup.c		lib gpl
-#$LIBCSRC/string/strverscmp.c		lib gpl
+#$LIBCSRC stdlib/putenv.c		lib gpl
+#$LIBCSRC stdlib/random.c		lib gpl
+#$LIBCSRC stdlib/random_r.c		lib gpl
+#$LIBCSRC stdlib/rpmatch.c		lib gpl
+#$LIBCSRC stdlib/strtol.c		lib gpl
+#$LIBCSRC string/strndup.c		lib gpl
+#$LIBCSRC string/strverscmp.c		lib gpl
 #
-#$LIBCSRC/string/memchr.c		lib gpl
-#$LIBCSRC/string/memcmp.c		lib gpl
-#$LIBCSRC/string/memrchr.c		lib gpl
-#$LIBCSRC/string/stpcpy.c		lib gpl
-#$LIBCSRC/string/stpncpy.c		lib gpl
-#$LIBCSRC/string/strcspn.c		lib gpl
-#$LIBCSRC/string/strpbrk.c		lib gpl
-#$LIBCSRC/string/strstr.c		lib gpl
-#$LIBCSRC/sysdeps/generic/pty-private.h	lib gpl
-#$LIBCSRC/sysdeps/posix/dup2.c		lib gpl
-#$LIBCSRC/sysdeps/posix/euidaccess.c	lib gpl
-#$LIBCSRC/sysdeps/posix/tempname.c	lib gpl
-#$LIBCSRC/sysdeps/unix/bsd/poll.c	lib gpl
-#$LIBCSRC/sysdeps/unix/bsd/ptsname.c	lib gpl
-#$LIBCSRC/sysdeps/unix/bsd/unlockpt.c	lib gpl
-#$LIBCSRC/sysdeps/unix/dirfd.c		lib gpl
-#$LIBCSRC/sysdeps/unix/grantpt.c	lib gpl
-#$LIBCSRC/sysdeps/unix/rmdir.c		lib gpl
-#$LIBCSRC/time/strftime.c		lib gpl
+#$LIBCSRC string/memchr.c		lib gpl
+#$LIBCSRC string/memcmp.c		lib gpl
+#$LIBCSRC string/memrchr.c		lib gpl
+#$LIBCSRC string/stpcpy.c		lib gpl
+#$LIBCSRC string/stpncpy.c		lib gpl
+#$LIBCSRC string/strcspn.c		lib gpl
+#$LIBCSRC string/strpbrk.c		lib gpl
+#$LIBCSRC string/strstr.c		lib gpl
+#$LIBCSRC sysdeps/generic/pty-private.h	lib gpl
+#$LIBCSRC sysdeps/posix/dup2.c		lib gpl
+#$LIBCSRC sysdeps/posix/euidaccess.c	lib gpl
+#$LIBCSRC sysdeps/posix/tempname.c	lib gpl
+#$LIBCSRC sysdeps/unix/bsd/poll.c	lib gpl
+#$LIBCSRC sysdeps/unix/bsd/ptsname.c	lib gpl
+#$LIBCSRC sysdeps/unix/bsd/unlockpt.c	lib gpl
+#$LIBCSRC sysdeps/unix/dirfd.c		lib gpl
+#$LIBCSRC sysdeps/unix/grantpt.c	lib gpl
+#$LIBCSRC sysdeps/unix/rmdir.c		lib gpl
+#$LIBCSRC time/strftime.c		lib gpl
 # These are close, but we are using the gettext versions.
-#$LIBCSRC/misc/mkdtemp.c		lib gpl
-#$LIBCSRC/stdlib/setenv.c		lib gpl (setenv.c, unsetenv.c)
+#$LIBCSRC misc/mkdtemp.c		lib gpl
+#$LIBCSRC stdlib/setenv.c		lib gpl (setenv.c, unsetenv.c)
 #
 # These implementations are quite different.
-#$LIBCSRC/io/lstat.c				lib gpl
-#$LIBCSRC/libio/__fpending.c			lib gpl
-#$LIBCSRC/malloc/malloc.c			lib gpl
-#$LIBCSRC/misc/dirname.c			lib gpl
-#$LIBCSRC/misc/getusershell.c			lib gpl
-#$LIBCSRC/stdio-common/getline.c		lib gpl
-#$LIBCSRC/stdlib/atexit.c			lib gpl
-#$LIBCSRC/stdlib/exit.h				lib gpl
-#$LIBCSRC/stdlib/strtod.c			lib gpl
-#$LIBCSRC/stdlib/strtoimax.c			lib gpl
-#$LIBCSRC/stdlib/strtoull.c			lib gpl
-#$LIBCSRC/stdlib/strtoumax.c			lib gpl
-#$LIBCSRC/string/basename.c			lib gpl
-#$LIBCSRC/string/bcopy.c			lib gpl
-#$LIBCSRC/string/memcpy.c			lib gpl
-#$LIBCSRC/string/memmove.c			lib gpl
-#$LIBCSRC/string/memset.c			lib gpl
-#$LIBCSRC/string/strcasecmp.c			lib gpl
-#$LIBCSRC/string/strchrnul.c			lib gpl
-#$LIBCSRC/string/strerror.c			lib gpl
-#$LIBCSRC/string/strnlen.c			lib gpl
-#$LIBCSRC/sysdeps/posix/gettimeofday.c		lib gpl
-#$LIBCSRC/sysdeps/posix/rename.c		lib gpl
-#$LIBCSRC/sysdeps/unix/mkdir.c			lib gpl
-#$LIBCSRC/sysdeps/unix/sysv/gethostname.c	lib gpl
-#$LIBCSRC/sysdeps/unix/utime.c			lib gpl
+#$LIBCSRC io/lstat.c				lib gpl
+#$LIBCSRC libio/__fpending.c			lib gpl
+#$LIBCSRC malloc/malloc.c			lib gpl
+#$LIBCSRC misc/dirname.c			lib gpl
+#$LIBCSRC misc/getusershell.c			lib gpl
+#$LIBCSRC stdio-common/getline.c		lib gpl
+#$LIBCSRC stdlib/atexit.c			lib gpl
+#$LIBCSRC stdlib/exit.h				lib gpl
+#$LIBCSRC stdlib/strtod.c			lib gpl
+#$LIBCSRC stdlib/strtoimax.c			lib gpl
+#$LIBCSRC stdlib/strtoull.c			lib gpl
+#$LIBCSRC stdlib/strtoumax.c			lib gpl
+#$LIBCSRC string/basename.c			lib gpl
+#$LIBCSRC string/bcopy.c			lib gpl
+#$LIBCSRC string/memcpy.c			lib gpl
+#$LIBCSRC string/memmove.c			lib gpl
+#$LIBCSRC string/memset.c			lib gpl
+#$LIBCSRC string/strcasecmp.c			lib gpl
+#$LIBCSRC string/strchrnul.c			lib gpl
+#$LIBCSRC string/strerror.c			lib gpl
+#$LIBCSRC string/strnlen.c			lib gpl
+#$LIBCSRC sysdeps/posix/gettimeofday.c		lib gpl
+#$LIBCSRC sysdeps/posix/rename.c		lib gpl
+#$LIBCSRC sysdeps/unix/mkdir.c			lib gpl
+#$LIBCSRC sysdeps/unix/sysv/gethostname.c	lib gpl
+#$LIBCSRC sysdeps/unix/utime.c			lib gpl
 
 # Now derived from concatenation of separate .c files in glibc.
 # See argz.mk for details.
-#$LIBTOOL/libltdl/argz.c			lib gpl
-#$LIBTOOL/libltdl/argz_.h			lib gpl
-#$LIBTOOL/libltdl/m4/argz.m4			m4
+#$LIBTOOL libltdl/argz.c			lib gpl
+#$LIBTOOL libltdl/argz_.h			lib gpl
+#$LIBTOOL libltdl/m4/argz.m4			m4
-- 
2.7.4

>From 4b012f74683306079b9a43076b13b06c6e7c7992 Mon Sep 17 00:00:00 2001
From: Daiki Ueno <u...@gnu.org>
Date: Wed, 23 Nov 2016 13:39:30 +0100
Subject: [PATCH 2/2] srclist: sync with released gettext

---
 config/srclist.txt | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/config/srclist.txt b/config/srclist.txt
index ca6bc96..65a8f57 100644
--- a/config/srclist.txt
+++ b/config/srclist.txt
@@ -47,18 +47,18 @@ $GNUORG Copyright/request-disclaim.changes	doc/Copyright
 
 # Although gettext-runtime/m4 has other .m4 files, they are maintained
 # in gnulib.
-$GETTEXT gettext-runtime/m4/codeset.m4		m4
-$GETTEXT gettext-runtime/m4/gettext.m4		m4
-$GETTEXT gettext-runtime/m4/iconv.m4		m4
-$GETTEXT gettext-runtime/m4/intl.m4		m4
-$GETTEXT gettext-runtime/m4/intldir.m4		m4
-$GETTEXT gettext-runtime/m4/intlmacosx.m4	m4
-$GETTEXT gettext-runtime/m4/lcmessage.m4	m4
-$GETTEXT gettext-runtime/m4/nls.m4		m4
-$GETTEXT gettext-runtime/m4/po.m4		m4
+$GETTEXT gettext-runtime/m4/codeset.m4		m4 release
+$GETTEXT gettext-runtime/m4/gettext.m4		m4 release
+$GETTEXT gettext-runtime/m4/iconv.m4		m4 release
+$GETTEXT gettext-runtime/m4/intl.m4		m4 release
+$GETTEXT gettext-runtime/m4/intldir.m4		m4 release
+$GETTEXT gettext-runtime/m4/intlmacosx.m4	m4 release
+$GETTEXT gettext-runtime/m4/lcmessage.m4	m4 release
+$GETTEXT gettext-runtime/m4/nls.m4		m4 release
+$GETTEXT gettext-runtime/m4/po.m4		m4 release
 
-$GETTEXT gettext-runtime/po/Makefile.in.in	build-aux/po
-$GETTEXT gettext-runtime/po/remove-potcdate.sin	build-aux/po
+$GETTEXT gettext-runtime/po/Makefile.in.in	build-aux/po release
+$GETTEXT gettext-runtime/po/remove-potcdate.sin	build-aux/po release
 
 # 
 # All below here commented out in forlorn hope of future syncs.
-- 
2.7.4

Reply via email to