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)

