Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

diffutils now uses git

0 views
Skip to first unread message

Jim Meyering

unread,
Nov 12, 2009, 3:34:26 AM11/12/09
to bug-gn...@gnu.org
The GNU diffutils now use Git for version control.

Here's the gitweb link:

http://git.savannah.gnu.org/cgit/diffutils.git/

Converting this repository from CVS to Git was a challenge,
due to the unusual way in which some change sets (in particular deletions)
were recorded.

Well, first, just to get parsecvs to process all of the ,v
files required a handful of NULL-dereference fixes to that tool.
Then, the resuling git repository had no tags, and a clone
had many files that had been removed from cvs.

I inserted a single commit to remove all of those files, making
it so a clone the git repo was identical to the latest checkout
from cvs.

For now, I have added a single signed tag, for the most recent
release. I'll add the remaining ones later.

I've made some changes to start making diffutils work with
e.g., "make syntax-check" and some other things like I've done
with coreutils. Here's a summary of the changes

build: update build/release infrastructure
maint: require newer automake, new non-major version string, dist-xz
maint/sc: remove useless if-before-free tests
maint: rename ChangeLog to ChangeLog-2008
maint/sc: remove cast of xmalloc return value
maint/sc: enable check for duplicate "the"; fix one
maint: record previous version
maint/sc: enable check for CVS keyword expansion
maint/sc: enforce "file system" spelling
maint/sc: use STREQ, not strcmp(a,b) == 0
maint/sc: enable the po check
maint/sc: enable two config.h-checking rules
maint/sc: enable check for unmarked diagnostics
build: rely on gnulib's mbrtowc module
maint/sc: enable the space-TAB check
build: rely on gnulib's progname module
maint/sc: enable the m4 quote check
admin: update all copyright notices to include the year 2009
build: generate ChangeLog (from git logs) into distribution tarball
maint: tell git what it can ignore
maint: use a git submodule for gnulib


Eric Blake

unread,
Nov 12, 2009, 10:20:21 AM11/12/09
to bug-gn...@gnu.org
Jim Meyering <jim <at> meyering.net> writes:

> http://git.savannah.gnu.org/cgit/diffutils.git/

Thanks!

However, you need this patch before diffutils is usable on all platforms,
because I got this link error when building on cygwin:

| ../lib/libdiffutils.a(c-stack.o): In function `c_stack_action':
| /home/eblake/diffutils/lib/c-stack.c:199: undefined reference to
`_stackoverflow_install_handler'


From: Eric Blake <eb...@byu.net>
Date: Thu, 12 Nov 2009 08:17:56 -0700
Subject: [PATCH] build: avoid link failure when libsigsegv is used

* src/Makefile.am (LDADD): Link against LIBCSTACK.
---
src/Makefile.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index 99c011b..f8491ac 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -23,7 +23,7 @@ localedir = $(datadir)/locale

AM_CPPFLAGS = -I../lib -I$(top_srcdir)/lib

-LDADD = ../lib/libdiffutils.a $(LIBINTL)
+LDADD = ../lib/libdiffutils.a $(LIBINTL) $(LIBSIGSEGV)
diff_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME)

cmp_SOURCES = cmp.c
--
1.6.4.2

Jim Meyering

unread,
Nov 16, 2009, 8:03:46 AM11/16/09
to Eric Blake, bug-gn...@gnu.org
Eric Blake wrote:
> Jim Meyering <jim <at> meyering.net> writes:
>
>> http://git.savannah.gnu.org/cgit/diffutils.git/
>
> Thanks!
>
> However, you need this patch before diffutils is usable on all platforms,
> because I got this link error when building on cygwin:
...

> Subject: [PATCH] build: avoid link failure when libsigsegv is used
>
> * src/Makefile.am (LDADD): Link against LIBCSTACK.

Thanks. It is now in my queue.


0 new messages