From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id SGQXADoPvV8afQAA0tVLHw (envelope-from ) for ; Tue, 24 Nov 2020 13:48:42 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id COKSNzkPvV97IgAAbx9fmQ (envelope-from ) for ; Tue, 24 Nov 2020 13:48:41 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7567794011C for ; Tue, 24 Nov 2020 13:48:41 +0000 (UTC) Received: from localhost ([::1]:38546 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1khYgS-0001hE-E1 for larch@yhetil.org; Tue, 24 Nov 2020 08:48:40 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58772) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1khYgD-0001fi-1N for guix-devel@gnu.org; Tue, 24 Nov 2020 08:48:26 -0500 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]:52147) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1khYgB-0007jy-EV for guix-devel@gnu.org; Tue, 24 Nov 2020 08:48:24 -0500 Received: by mail-wm1-x336.google.com with SMTP id a186so2487059wme.1 for ; Tue, 24 Nov 2020 05:48:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version :content-transfer-encoding; bh=ZWkF3wPxcAl4XYle79SmBjqR12h8QVEsDtn55XQMzlo=; b=m9ECbpIXtVqkvRNY0IPFYq5vhOdSTqjrsjAENO1Hot07tizSbiJfIhwSac1XFrfTh+ t/8S58cydpESZf9v1bczhvsegnQJM5ZeG/vxhvxdPv00Xg8U+2X8T3D57nADLNPc7wHc tgoL9FpvKgmy2gjatzp8hQnPbyAKqM/jLxDu4Euop/J8z9lEblrVHq1aeVKx0u0gKbs4 OyvhN5hNwdjFzXeFDDFxcP6NZmLm7+qMpMJY8mphuhFzZlWwPXakcHSK40+d+8NQUgjf kB0CPYGtCPdb3uy31YF7NOQ8bDgsEItkErpE+gOt6BkC6+QrnNeaC2QNtkylOfRJtyfP RtFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=ZWkF3wPxcAl4XYle79SmBjqR12h8QVEsDtn55XQMzlo=; b=FiPMkO2aKSrSiW3boteB+kpkSOT0VrlpSk2ZPzE0mVlo1UIok3u1aK1Df5qR7LAIvN Shg461gVuC9kMdLw5sS3pebZ+X0zpcA0msfEEZfvkDKxogRcE/KEXGDpJASelFtMATm3 4kppvgMpt52s9jdZTk4eiXKm4AHwpV321WcRoKjYQn++K2+tYytc5Y+dzK2vVtXE7oEu h92ec0J7zf3JYkQ2eJEoulkjk/ghraYvxK3vKJQDQEMLbqo1AP3AIsAXNyyP9qjS7+bQ DmiDAorbPyGYMX25Hk7zZAXYK+wBhBuIC7FmF5ErrRtFhzjkmEprWniWBtFA3dhrPGqQ kX8w== X-Gm-Message-State: AOAM533dx3Oxw17pBR87oLdjja3XCnxlGPD1mvb1kd06LnxY1zbfD5NH 9EklnXjIACqKwrIDZ3V9Uwyr/whKAMc= X-Google-Smtp-Source: ABdhPJxfGC6SHaqtA+afPCTYCVOGtPcysJ6ffa20G61awYwUlLaqReM9pU90tG+KExd9Vmt5F+C8Ig== X-Received: by 2002:a1c:c302:: with SMTP id t2mr4634276wmf.189.1606225701767; Tue, 24 Nov 2020 05:48:21 -0800 (PST) Received: from guixSD (host-79-54-131-134.retail.telecomitalia.it. [79.54.131.134]) by smtp.gmail.com with ESMTPSA id v64sm5737940wme.25.2020.11.24.05.48.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Nov 2020 05:48:21 -0800 (PST) From: =?utf-8?Q?Nicol=C3=B2?= Balzarotti To: Julien Lepiller , guix-devel@gnu.org Subject: Re: Dart Compiler In-Reply-To: References: <87v9duyjgn.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> Date: Tue, 24 Nov 2020 14:48:20 +0100 Message-ID: <87sg8yyifv.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::336; envelope-from=anothersms@gmail.com; helo=mail-wm1-x336.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=m9ECbpIX; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: -1.71 X-TUID: QN/KY8Gho4Zz Hi! Julien Lepiller writes: > Wow, impressive :) > > Le 24 novembre 2020 08:26:16 GMT-05:00, "Nicol=C3=B2 Balzarotti" a =C3=A9crit : >> >>Hello Guix! >> >>In the last few months I've been working on the dart compiler. >> >>Dart is a programming language by google [1], mostly used with the UI >>Framework flutter [2]. When the android-sdk will be available on guix, >>it should be possible to use dart+flutter to write android programs. >> >>As you can guess, dart compiler is written in dart. The latest stable >>version is 2.10. Luckily, I was able to compile an old 2.0.0-dev >>version from source. Using this version, I could build the following: >> >>2.0.0-dev.8.0 -> 2.0.0-dev.20.0 -> 2.0.0-dev.24.0 -> 2.0.0-dev.36.0 -> >>2.0.0-dev.42.0 -> 2.0.0-dev.54.0 -> 2.0.0-dev.65.0 -> 2.0.0-dev.65.0-2 >>-> 2.0.0-dev.66.0 -> 2.0.0-dev.67.0 -> 2.1.0-dev5.0 -> 2.1.0-dev6.0 -> >>2.2.0 -> 2.4.0 -> 2.5.0 >> >>I should be able to build the latest stable (2.10) with some more work >>using version 2.5. >> >>I'm polishing the code a bit, and then I'll submit the patches. >>However, the codebase is enormous, and the download page says that >>analytics are enabled by default (but they can be disabled). I'd patch >>the analytic part disabling it all. However, is there some process >>that >>the package should undergo? Like, we have ungoogled-chromium, but I >>know of no project that has "ungoogled" dart. > > To disable analytics entirely, you should use patches or snippets. When y= ou send your patch series, we'll review tge source code and give you feed b= ack if needed. > Perfect > Some things to be aware of: some packages include pre-built versions of t= heir dependencies. Can you check none of the package you build has a hidder= .jar somewhere? If so, we have to remove them in a snippet. > I might be wrong, but java should not be involved here (I'm not including java as an input). I think it will be required when building with the android sdk, but I still haven't tried running flutter yet, so I've no idea. However, during the "code polishing" I'll verify again that no binaries are in the repo! (At first I tried using their tar.gz release, but they included a full debian distribution (1.1Gb of gzipped data, 45Mb of code)). The repo is quite clean (with the downside that I have to specify all compiler dart dependencies by hand. I'll send a tentative patch series during the week, hopefully. Thanks! Nicol=C3=B2 >> >>What is the way forward? >>Thanks, Nicol=C3=B2 >> >> >>[1] http://https://dart.dev >>[2] https://flutter.dev/