Bug#1140414: ITP: dart - Dart SDK (Dart VM, dart2js and tools)

Juan M. Méndez Rey <[email protected]>
Newsgroups gmane.linux.debian.devel.general
Message-ID <VVlmmvyMy5g21LyQfcbfVQDkDSMcdFy_ERclBXExMrB5zlkoARAxdQf3ey4fpiskZrWAOciPAuvNniByKfWNeuFWcn9kjh-qvp5DQG1BxMU=__11028.6329918139$1781917419$gmane$org@proton.me>
Package: wnpp
Severity: wishlist
Owner: Juan Manuel Mendez Rey <[email protected]>
X-Debbugs-Cc: [email protected]

* Package name : dart
Version : 3.13.x
Upstream Authors : The Dart project authors (Google LLC)
* URL : https://dart.dev
Source : https://github.com/dart-lang/sdk
* License : BSD-3-Clause (plus bundled third-party trees, each under
its own DFSG-compatible license; see debian/copyright)
Programming Lang: Dart, C++
Description : Dart SDK (Dart VM, dart2js and tools)

The Dart SDK provides the Dart VM, the AOT/native compilers, the
dart-to-JavaScript compiler (dart2js), the analyzer and the dart command-line
developer tools. It is the reference toolchain for the Dart language.

Why this matters for Debian: several requested packages are blocked solely
because Dart is not in the archive:
- #998024 RFP: Dart Sass -- the reference Sass compiler, built with dart2js
- #931793 RFP: fluttersdk -- Flutter, which is built on the Dart SDK
- #1051470 ITP: esbuild-sass-plugin (depends on the above)

Packaging note (the one unusual point, expanded on debian-devel):
Dart is self-hosting (its front-end is written in Dart), so building it needs a
previously-built Dart, exactly like ghc, gnat (Ada) and ocaml. The package
Build-Depends on a previous dart for that bootstrap; the source tarball contains
NO prebuilt binary. A working proof of concept that builds the Dart SDK FROM
SOURCE, offline, in sbuild --chroot-mode=unshare, with the Debian system
toolchain (gn, ninja, clang, lld) and de-vendored zlib/double-conversion, is at:
https://salsa.debian.org/mendezr/dart

I intend to maintain this within a suitable team (home-assistant/js)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.