From: Scott Murray Date: Fri, 7 Mar 2025 07:36:01 +0000 (-0500) Subject: flutter-ics-homescreen: work around Rive plugin issue X-Git-Tag: 19.0.1~1 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F71%2F30871%2F3;p=AGL%2Fmeta-agl-demo.git flutter-ics-homescreen: work around Rive plugin issue Add a LD_PRELOAD of the Rive plugin library since it currently fails to auto-load. This fixes the HVAC animation behavior. Bug-AGL: SPEC-5348 Change-Id: I8f6172305f3d695d47209b2503a99f79047d2ea2 Signed-off-by: Scott Murray Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/30903 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account (cherry picked from commit 63b2f3a747d2149d846af179293907ef0732a111) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/30871 Tested-by: Jan-Simon Moeller Reviewed-by: Jan-Simon Moeller --- diff --git a/recipes-demo/flutter-ics-homescreen/files/flutter-ics-homescreen.service b/recipes-demo/flutter-ics-homescreen/files/flutter-ics-homescreen.service index be1acf52b..bffcc4347 100644 --- a/recipes-demo/flutter-ics-homescreen/files/flutter-ics-homescreen.service +++ b/recipes-demo/flutter-ics-homescreen/files/flutter-ics-homescreen.service @@ -7,6 +7,8 @@ User=agl-driver EnvironmentFile=/etc/default/flutter EnvironmentFile=-/etc/default/flutter-ics-homescreen Environment=XDG_RUNTIME_DIR=/run/user/1001/ +# NOTE: Check if still required on flutter-auto upgrades post-3.27.1 +Environment=LD_PRELOAD=/usr/lib/librive_text.so ExecStart=/usr/bin/flutter-auto -b /usr/share/flutter/flutter_ics_homescreen/${FLUTTER_VERSION}/${FLUTTER_RUNTIME} --xdg-shell-app-id homescreen Restart=on-failure