From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51058) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g9yqc-0001jF-KW for guix-patches@gnu.org; Tue, 09 Oct 2018 16:43:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g9yqT-0006TV-4q for guix-patches@gnu.org; Tue, 09 Oct 2018 16:43:16 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:38356) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g9yqM-0006OY-3y for guix-patches@gnu.org; Tue, 09 Oct 2018 16:43:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g9yqM-0004jx-0r for guix-patches@gnu.org; Tue, 09 Oct 2018 16:43:02 -0400 Subject: [bug#32923] [PATCH 0/3] Add Arduino basics. Resent-Message-ID: Date: Tue, 9 Oct 2018 22:42:47 +0200 From: =?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?= Message-ID: <20181009224247.1420d6e9@alma-ubu> In-Reply-To: <20181009172628.38d19f63@scratchpost.org> References: <20181003194205.3627-1-dannym@scratchpost.org> <20181009094414.38cde83b@alma-ubu> <20181009172628.38d19f63@scratchpost.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/6iIpY1ZmSSeCCpW_qmTKYD+"; 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: Danny Milosavljevic Cc: 32923@debbugs.gnu.org --Sig_/6iIpY1ZmSSeCCpW_qmTKYD+ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, 9 Oct 2018 17:26:28 +0200 Danny Milosavljevic wrote: > Hi Bj=C3=B6rn, >=20 > On Tue, 9 Oct 2018 09:44:14 +0200 > Bj=C3=B6rn H=C3=B6fling wrote: >=20 > > I haven't looked into the package definitions, just: > >=20 > > There is already a file avr.scm. Is there any reason you are not > > adding to this file? =20 >=20 > Newer arduino versions support other platforms, not just avr. They > are an IDE and development environment, with only the "arduinocore-" > packages differing. >=20 > So in light of this I wouldn't put it into "avr.scm". OK. Thanks for clarification. I thought that "AVR" and "Arduino" are somehow synonyms. > The newer arduino versions require batik, so packages for batik have > to be finished first. > That requires xalan, so that has to be finished first. > And that requires java-cup which cannot be bootstrapped without > binaries. I see. CUP requires at least cup.jar and jflex.jar. jfex.jar uses jflex.jar...=20 I took a quick look: Jflex 1.4.1's LexParse.java: https://github.com/jflex-de/jflex/blob/release_1_4_1/jflex/src/JFlex/LexPar= se.java was generated by CUPS v0.10.k. And if you download that: http://www2.cs.tum.edu/projects/cup/releases/ the 0.10.k's parser.java was generated by CUP v0.10k... And that doesn't look like it counts as source code: /** Production table. */ protected static final short _production_table[][] =3D=20 unpackFromStrings(new String[] { "\000\153\000\002\002\004\000\002\055\002\000\002\003" + "\012\000\002\003\007\000\002\056\002\000\002\004\006" + "\000\002\004\003\000\002\005\004\000\002\005\003\000" + [..] Is it that what you meant by bootstrapping from binaries? It would be so simple, if one just wouldn't care ... Bj=C3=B6rn --Sig_/6iIpY1ZmSSeCCpW_qmTKYD+ Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlu9EsgACgkQvyhstlk+X/2dYgCgpecDRZeO+1l5RyGYN7YEbkUs X8MAn1qQ61VFMS8siHl/DuSmh2OWdCPy =SuGG -----END PGP SIGNATURE----- --Sig_/6iIpY1ZmSSeCCpW_qmTKYD+--