From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33846) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g8SXM-000315-QM for guix-patches@gnu.org; Fri, 05 Oct 2018 12:01:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g8SXI-00012t-Le for guix-patches@gnu.org; Fri, 05 Oct 2018 12:01:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:33879) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g8SXH-00012W-3o for guix-patches@gnu.org; Fri, 05 Oct 2018 12:01:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g8SXG-0001tt-AP for guix-patches@gnu.org; Fri, 05 Oct 2018 12:01:02 -0400 Subject: [bug#32947] [PATCH 1/3] gnu: Add java-cup. Resent-Message-ID: Date: Fri, 5 Oct 2018 18:00:48 +0200 From: Danny Milosavljevic Message-ID: <20181005180048.56b2ff27@scratchpost.org> In-Reply-To: <9094b40c6c25c077212da6428dcc30dc@lepiller.eu> References: <20181005151859.9616-1-dannym@scratchpost.org> <20181005152044.9682-1-dannym@scratchpost.org> <9094b40c6c25c077212da6428dcc30dc@lepiller.eu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/mtBG9vvq_SBpJsSrsulF055"; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Julien Lepiller Cc: 32947@debbugs.gnu.org --Sig_/mtBG9vvq_SBpJsSrsulF055 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Julien, On Fri, 05 Oct 2018 17:28:51 +0200 Julien Lepiller wrote: > Le 2018-10-05 17:20, Danny Milosavljevic a =C3=A9crit=C2=A0: > > * gnu/packages/java.scm (java-cup): New variable. > > --- > > gnu/packages/java.scm | 44 +++++++++++++++++++++++++++++++++++++++++++ > > 1 file changed, 44 insertions(+) > >=20 > > diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm > > index 96da495c2..4ddffb357 100644 > > --- a/gnu/packages/java.scm > > +++ b/gnu/packages/java.scm > > @@ -69,6 +69,7 @@ > > #:use-module (gnu packages perl) > > #:use-module (gnu packages popt) > > #:use-module (gnu packages kerberos) > > + #:use-module (gnu packages version-control) > > #:use-module (gnu packages xml) > > #:use-module (gnu packages xorg) > > #:use-module (gnu packages texinfo) > > @@ -9634,6 +9635,49 @@ Candidate Recommendation, and will correctly > > serialize XML 1.1 documents if > > the DOM level 3 load/save API's are in use.") > > (license license:asl2.0))) > >=20 > > +(define-public java-cup > > + (package > > + (name "java-cupx") =20 >=20 > Why x? Leftover from testing. Dunno how they always slip though :) > Maybe that should be a snippet? Often I had problems that the entire "unpack" phase suddenly unpacked nothing when I tried to do that in a snippet. I'll try it with this packag= e. > I don't know if that's an issue, but the source code bundles generated=20 > source by java-cup and jflex. I've tried to bootstrap both correctly,=20 > but there is no version of jflex you can build without jflex and cup. Oops, that's pretty bad. >I have a recipe for java-jflex and java-cup that are built without=20 > pre-generated source, using two bootstrap jars. Then, I could use them=20 > to build other packages that I need for the future maven-build-system. I= =20 > wasn't able to build java-jflex with the latest java-cup. > Do you want me to send these recipes for comparison? Yes, please. If we could get maven to work that would be cool. I've packaged batik and it's not fun to emulate maven manually... If we can't get maven to work, a recursive guix importer that reads the pom.xml would be a great improvement instead. I can help with both. --Sig_/mtBG9vvq_SBpJsSrsulF055 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlu3irAACgkQ5xo1VCww uqXGSgf9ELgCCjsJyP2XX0Gb4cXjab8j/hbXhCpqazOn5dA9eNlcL4FpyW0hSKYl Cn7F7UKLjKstZ2UdavJAzolwuhUTp6FXuIeJEJvVbUFZKyiRm+B6v4KVWAXPthXP IfTA7Wo+enbWO7AzMQYpipRCVnFJDTw8uWUz2dleBg80AMUfY4wzHq7K4LDcHgv/ qvEjTsfKC+tcQcxxuf/8iIyGYE16mxxWo2dldlrm3nCdmB6+ias+wJAbvR6ucAJF JhWSCP2rUbj4ElWiMx0L8J5SuG52zlfPM9okQU+Eftq/5K77Foz61R1UZyNPRf3N WhmtX6CJsyi4sBaaDv2+R2Srsk3Hxg== =arnH -----END PGP SIGNATURE----- --Sig_/mtBG9vvq_SBpJsSrsulF055--