From 3ce6bef8364f6dfe00b73c8edfe1d1e091ed3853 Mon Sep 17 00:00:00 2001 From: Shelley Vohr Date: Tue, 20 Aug 2024 13:17:42 +0200 Subject: [PATCH] fix: Electron needs libnotify --- build/linux/sysroot_scripts/sysroot_creator.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/build/linux/sysroot_scripts/sysroot_creator.py b/build/linux/sysroot_scripts/sysroot_creator.py index 7367ca1..f80f223 100755 --- a/build/linux/sysroot_scripts/sysroot_creator.py +++ b/build/linux/sysroot_scripts/sysroot_creator.py @@ -540,6 +540,12 @@ "zlib1g-dev", ] +# Electron needs this independent of Chromium. +DEBIAN_PACKAGES_ELECTRON = [ + "libnotify4", + "libnotify-dev", +] + DEBIAN_PACKAGES_ARCH = { "amd64": [ "libasan6", @@ -757,7 +763,7 @@ def generate_package_list(arch: str) -> dict[str, str]: # Read the input file and create a dictionary mapping package names to URLs # and checksums. - missing = set(DEBIAN_PACKAGES + DEBIAN_PACKAGES_ARCH[arch]) + missing = set(DEBIAN_PACKAGES + DEBIAN_PACKAGES_ELECTRON + DEBIAN_PACKAGES_ARCH[arch]) package_dict: dict[str, str] = {} for meta in package_meta.values(): package = meta["Package"]