From d17e6dab9f298a3dd2246b77e492f028ed6ee459 Mon Sep 17 00:00:00 2001 From: Gio Lodi Date: Fri, 16 Aug 2024 06:58:34 +1000 Subject: [PATCH] Remove `gconf2` dependency (#3244) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is an attempt to fix the issue reported by users who cannot install Simplenote on various Linux systems because the `gconf2` dependency cannot be satisfied. See https://github.com/Automattic/simplenote-electron/issues/3241 The [`electron-builder` docs](https://www.electron.build/configuration/linux.html) mention that `gconf2` can give issues if one wants to support [KDE](https://kde.org/). > If need to support KDE, `gconf2` and `gconf-service` should be removed > as it’s no longer used > [by GNOME](https://packages.debian.org/bullseye/gconf2). Moreover, [the `gconf2` entry in the Debian packages repository](https://packages.debian.org/bullseye/gconf2) states: > This package is for legacy applications and no longer used by GNOME. Given the above, this PR is an attempt to see what the app would do without the dependency. My guess is that everything should run fine in most modern systems, because all information points to `gconf2` not being in use there. --- electron-builder.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/electron-builder.json b/electron-builder.json index 93b0a28d1..4367a2fdd 100644 --- a/electron-builder.json +++ b/electron-builder.json @@ -110,8 +110,7 @@ } ], "deb": { - "compression": "gz", - "depends": ["gconf2"] + "compression": "gz" }, "afterSign": "./after_sign_hook.js", "afterAllArtifactBuild": "./after_sign_hook.js"