Page MenuHomeSolus

Initial commit for dart
Needs ReviewPublic

Authored by GZGavinZhao on Apr 11 2022, 9:21 PM.
Referenced Files
F11006617: D13126.diff
Tue, Aug 1, 4:15 PM
F11003968: D13126.diff
Mon, Jul 31, 8:42 PM
F10989312: D13126.diff
Mon, Jul 24, 2:41 PM
F10975430: D13126.diff
Sat, Jul 22, 5:02 AM
F10975150: D13126.diff
Sat, Jul 22, 3:58 AM
F10863419: D13126.diff
Jun 17 2023, 2:17 AM
F10829384: D13126.diff
Jun 4 2023, 11:59 AM
F10805711: D13126.diff
May 29 2023, 9:44 PM
Tokens
"Party Time" token, awarded by Jacek.

Details

Reviewers
None
Group Reviewers
Triage Team
Maniphest Tasks
T4974: Dartlang
Summary

Fixes T4974.

Test Plan

Compiled and ran various programs to JS and executable, such as AngularDart, webdev, and dart-sass. Flutter was not tested because it has its own requirements on the version of the SDK.

Signed-off-by: Gavin Zhao <git@gzgz.dev>

Diff Detail

Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 4120
Build 4120: arc lint + arc unit

Event Timeline

Yipee my IT department was kind enough to lent me a 2TB hard drive, so my computer is now alive and back!

Back to the topic: the time stamp issue occured because it was not a stable build. I have verified that after I build a stable version of the Dart SDK, the time stamp appears.

Ready for review o(^▽^)o

GZGavinZhao retitled this revision from [WIP] Initial commit for dart to Initial commit for dart.May 17 2022, 1:44 AM
GZGavinZhao edited the summary of this revision. (Show Details)

The time stamp is inconsistence. Needs further investigation.

Welp, the new GCC broke the build... I have to investigate that.

it's okay you can build with clang :)

Was able to make force it to build with system Clang! After I solve the time stamp issue everything should be ready,

Add the mysteriously disappeared MAINTAINERS.md.

ReillyBrogan added inline comments.
dartlang-solus-tarball.sh
63–65

I wouldn't recommend using sed with specific lines because it'll end up being very fragile and will break with any changes to that file. I'd recommend trying to patch that file instead perhaps replacing the logic so that the "fallback" is the only option.

Use patch files and separate files in /usr/bin into the -devel package.

Built this locally the other day and found out solbuild supports file:// URIs no problem. e.g. file:///home/foo/solus/dart/dartlang-2.17.6.tar.zst

Built this locally the other day and found out solbuild supports file:// URIs no problem. e.g. file:///home/foo/solus/dart/dartlang-2.17.6.tar.zst

No way! This will make testing some changes so much easier!

GZGavinZhao marked an inline comment as done.

Update to Dart 2.18.0.

Update link to our own source tarball.

Please use the new MAINTAINERS.md file.