GNU bug report logs - #26487
Add antlr3

Previous Next

Package: guix-patches;

Reported by: Julien Lepiller <julien <at> lepiller.eu>

Date: Thu, 13 Apr 2017 20:47:01 UTC

Severity: normal

Done: Ricardo Wurmus <rekado <at> elephly.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Julien Lepiller <julien <at> lepiller.eu>
To: 26487 <at> debbugs.gnu.org
Subject: bug#26487: Add antlr3
Date: Mon, 17 Apr 2017 15:03:53 +0200
[Message part 1 (text/plain, inline)]
Le Sat, 15 Apr 2017 15:59:17 -0400,
Kei Kebreau <kei <at> openmailbox.org> a écrit :

> Julien Lepiller <julien <at> lepiller.eu> writes:
> 
> > Hi, here are patches to add antlr3, a parser generator.
> >
> > * 0001-guix-ant-build-system-Add-src-dir-parameter.patch: adds a
> >   #:src-dir parameter to the ant-build-system, to change the source
> >   directory and possibly specify more than one directory.
> > * 0002-gnu-Add-antlr2.patch: Adds antlr2, an older version of antlr,
> >   that is required by antlr3 to generate some of its source files,
> > and because parts of it is used by antlr3 (such as the CommonTree
> > class).
> > * 0003-gnu-Add-stringtemplate3.patch: Adds stringtemplate3, a
> > runtime requirement of antlr3. It is a library to generate strings
> > using templates.
> > * 0004-gnu-Add-antlr3-and-stringtemplate4.patch: a big patch that
> > adds antlr3 and stringtemplate4 (ST4). ST4 is a newer version of
> > ST3, is a runtime dependency of antlr3 and needs antlr3 to generate
> > some of its source files. antlr3 depends on ST4 too. I didn't find
> > a way to split this patch further.
> >
> > I wanted to package antlr4, but I'm still working on its
> > dependencies (antlr3 is one of them).  
> 
> Everything looks good except for the antlr2 jar file, where the
> timestamps inside the jar file differ. Is there a way to fix this that
> you are aware of?

Hi, I fixed the reproducibility issue by copying part of the
ant-build-system in antlr2's recipe.
[0001-guix-ant-build-system-Add-src-dir-parameter.patch (text/x-patch, attachment)]
[0002-gnu-Add-antlr2.patch (text/x-patch, attachment)]
[0003-gnu-Add-stringtemplate3.patch (text/x-patch, attachment)]
[0004-gnu-Add-antlr3-and-stringtemplate4.patch (text/x-patch, attachment)]

This bug report was last modified 8 years and 92 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.