Skip to content

Gnome 40(-44?) requires legacy #15

@bbenne10

Description

@bbenne10

Attempting to load the latest code from main fails under Gnome 40 on RHEL9 (...we're on ancient machines at work. It's probably better not to ask...). Opening ~/.local/share/gnome-shell/extensions/simple-tiling@domoel/extension.js, I notice that the imports are in the new ESM style. legacy has the right import style, but is marked as only supporting 3.38 in metadata.json. The following patch seems to get it working, but I'm unsure if there are additional things that aren't working, as I am unfamiliar with this extension beyond my work with it this morning.

diff --git a/metadata_legacy.json.in b/metadata_legacy.json.in
index ed08dcf..59fcd7b 100644
--- a/metadata_legacy.json.in
+++ b/metadata_legacy.json.in
@@ -5,6 +5,7 @@
   "version": __VERSION__,
   "shell-version": [
     "3.38"
+    "40"
   ],
   "settings-schema": "org.gnome.shell.extensions.simple-tiling.domoel",
   "preferences_ui": "prefs.js",

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions