zhrexl / DrawOnYourScreen2

GNU General Public License v3.0
209 stars 20 forks source link

Branch to support Gnome < v45 #65

Closed lukew151 closed 3 weeks ago

lukew151 commented 3 weeks ago

Gnome 45 introduced new standards for the extension API (https://release.gnome.org/45/developers/index.html#gnome-shell-extensions) which is fixed in main

However, several major distros are still shipping older version of Gnome (Ubuntu 22 LTS, Fedora 39, amongst others). These users can no longer use this extension. At the current time, the way to install this extension on older Gnome versions is something like the following:

cd .local/share/gnome-shell/extensions/
git clone https://github.com/zhrexl/DrawOnYourScreen2.git draw-on-your-screen2@zhrexl.github.com
cd draw-on-your-screen2@zhrexl.github.com
## now go back in time to before the Gnome45 changes were merged:
git reset --hard b8567d1f

A suggestion is to have an official branch, (possibly named main/preGnome45support)that allows extension releases that are compatible with Gnome < 45. As this plugin is pretty stable, and doesn't have a great number of commits, it shouldn't become too much of an issue. At the time of running, there is only one commit that would need to be cherry-picked on to the new branch.

lukew151 commented 3 weeks ago

Oh I've just found the GNOMEv42 branch, it already exists, perhaps just needs documenting on the front ReadMe, and a compatible extension bundled for extensions.gnome.org