flutter-engine (3.50.1+ds1-1) unstable; urgency=medium

  * New upstream release.  Its DEPS pins dart 3.14.0 (fa8c1270c37), the
    dart-sdk the archive now carries.
  * Depend on the dart-sdk whose kernel files match the shipped patched SDK:
    flutter-patched-sdk now requires dart-sdk (>= 3.14.0) and (<< 3.15~).
    Those .dill files are produced by the dart-sdk of the build, and the
    kernel compiler refuses a format from another minor version, which is what
    broke dart-leak-tracker-flutter-testing's autopkgtest once dart-sdk 3.14.0
    reached unstable.
  * Link the system re2: impeller's shader compiler uses it since 3.50, so
    patches/0004 and 0009 cover its include and build file (libre2-dev is
    a new build dependency).
  * Drop flutter/ci from the orig tarball, and with it the CI builder that
    patch 0018 used to add.
  * Read the upstream tags page in debian/watch instead of using the git
    protocol: the uscan run that feeds qa.debian.org has no git support, so
    DDPO reported no new upstream version for this package at all.
  * Autopkgtest: list the supported architectures explicitly, riscv64
    included.

 -- Emfox Zhou <emfox@debian.org>  Sat, 28 Nov 2026 22:08:50 +0800

flutter-engine (3.47.9+ds1-3) unstable; urgency=medium

  * Add patch 0020 so that the engine builds with clang 23: it deprecates the
    "this" argument of [[clang::lifetime_capture_by]], which the -Werror build
    turns into an error in every translation unit that includes the absl mutex
    header (FTBFS of 3.47.9+ds1-2 on all buildds).

 -- Emfox Zhou <emfox@debian.org>  Fri, 27 Nov 2026 00:20:00 +0800

flutter-engine (3.47.9+ds1-2) unstable; urgency=medium

  * Add riscv64 to the architectures.
    - new patch 0018: upstream support for riscv64 desktop linux engines,
      needed so that tools/gn accepts --linux-cpu riscv64 at all
      (https://github.com/flutter/flutter/pull/178712).
    - new patch 0019: let tools/gn run on a riscv64 host, so the engine
      builds natively like it does on armhf.
  * Ship the source tree unpatched: the quilt state (.pc) is no longer kept
    in the repository, so the patches only live in debian/patches.
  * Mark flutter-patched-sdk and the two -dev packages Multi-Arch: same.
  * Build against LLVM 23 (Closes: #1155417).
  * Set the Maintainer to myself; there is no Debian Flutter team.

 -- Emfox Zhou <emfox@debian.org>  Thu, 26 Nov 2026 22:35:00 +0800
flutter-engine (3.47.9+ds1-1) unstable; urgency=medium

  * New upstream release.
  * Install the engine artifacts under /usr/lib/<multiarch>/flutter-engine:
    they are binaries, so lintian wants them in an architecture-specific
    directory.
  * Mark the packages the multiarch hinter flagged: foreign for the Dart data
    packages, same for the ones shipping per-architecture binaries.

 -- Emfox Zhou <emfox@debian.org>  Fri, 06 Nov 2026 21:17:52 +0800

flutter-engine (3.47.5+ds1-4) unstable; urgency=medium

  * Build flutter-patched-sdk on each architecture instead of all.  Its
    .install file places the kernel under linux-${FLUTTER_CPU}, but an
    Architecture: all package is built on amd64, so arm64 and armhf got
    the x64 files and Flutter could not compile applications there.
  * Pick the toolchain directory by architecture in the autopkgtest,
    instead of requiring exactly one.
  * Do not run the gn include check: the gn from generate-ninja 2026-11-03
    rejects public headers that include private dependencies, which
    upstream's tree triggers in several places.
  * Build the generated flatbuffer headers in a pass of their own: ninja only
    sees them through #include, so it schedules them after the first
    hundred compiles and the build hits the users first.

 -- Emfox Zhou <emfox@debian.org>  Fri, 06 Nov 2026 12:48:39 +0800

flutter-engine (3.47.5+ds1-3) unstable; urgency=medium

  * Do not depend on analyze_snapshot on 32-bit arm hosts.  The target
    only exists for the 64-bit architectures, and a native armhf build
    reaches it through host_toolchain == current_toolchain, which broke
    the GN dependency graph.
  * Drop the pinned language version from the entries of the Dart package
    config, so the SDK decides it.
  * Build the engine artifacts on 32-bit arm.  Upstream switched them off
    there in 2020 (flutter/flutter#74322), which left libpath_ops,
    font-subset, flutter_tester and the patched SDK archives out of an armhf
    build and made four binary packages impossible.

 -- Emfox Zhou <emfox@debian.org>  Mon, 26 Oct 2026 11:50:09 +0800

flutter-engine (3.47.5+ds1-2) unstable; urgency=medium

  * Build the platform kernel with the kernel compiler from the
    dart-kernel-compiler package.  The tool cannot be compiled here because
    the repack leaves the Dart sources out.
  * New binary packages: sky-engine, flutter-patched-sdk and flutter-tester,
    the artefacts the Dart and Flutter tooling needs to resolve and run
    Flutter code.
  * Point the Dart tree at the dart-args and dart-path packages so that the
    ui_web sources can be rewritten as upstream does.
  * flutter-patched-sdk carries the product kernel that a release build
    compiles as well as the JIT one.
  * Build on armhf.  The Dart SDK comes from the archive, so the prebuilts
    upstream ships no longer limit the architectures; the gn script learns
    what a 32-bit arm host is, and hard float without NEON matches the armhf
    baseline.

 -- Emfox Zhou <emfox@debian.org>  Sat, 24 Oct 2026 15:05:00 +0800

flutter-engine (3.47.5+ds1-1) unstable; urgency=medium

  * Initial packaging. (Closes: #1150753)
  * Build every runtime mode and package the engine tools, the embedder
    library and the font subsetting tool.
  * Accept any dart-sdk at or above the version the engine was generated
    against.

 -- Emfox Zhou <emfox@debian.org>  Tue, 20 Oct 2026 13:10:15 +0000
