gnome-shell does not contain gjs dependence

Bug #1993831 reported by Sabri Ünal
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-shell (Ubuntu)
Triaged
Low
Unassigned

Bug Description

Hi, I updated from Ubuntu 22.04 to Ubuntu 22.10 and I had an issue with GNOME shell "Extensions" app.

I replaced "Extensions" (gnome-shell-extension-prefs) with Flatpak version of it from Flathub using GNOME "Software" center.

After this, I'm not sure, I might have used the "sudo apt auto-remove" command.

After these changes, Flatpak version of the "Extensions" app gave an error: (https://github.com/flathub/org.gnome.Extensions/issues/13)

After a bit of digging, I realized removing "Extensions" packages also removes gjs dependence. So I installed gjs package and "Extensions" works again.

1) OS
OS: Ubuntu 22.10
Desktop: GNOME

2) Package
gnome-shell: 43.0-1ubuntu2
gnome-shell-extension-prefs: 43.0-1ubuntu2

3) What you expected to happen

Removing the package and installing Flatpak version without any error.

4) What happened instead

I replaced the app with Flatpak version and it removed gjs and gnome-shell extension support.

Tags: kinetic
Revision history for this message
Jeremy Bícha (jbicha) wrote :

I am closing this bug.

In the upstream report, upstream confirms that gnome-shell itself does not need 'gjs', only the gjs library.

The gnome-shell-extension-prefs app packaged as a .deb correctly depends on gjs.

A default Ubuntu Desktop install includes gjs. For you to remove gjs, you will have needed to remove the GNOME Characters app and the Desktop Icons NG extension and the ubuntu-desktop metapackage. At that point, you're outside the fully supported Ubuntu Desktop experience.

Maybe the Flatpak needs to bundle 'gjs' if it requires gjs.

Changed in gnome-shell (Ubuntu):
status: New → Invalid
importance: Undecided → Low
status: Invalid → Triaged
Revision history for this message
Jeremy Bícha (jbicha) wrote :

After I started typing this comment, upstream left a later comment

"gnome-shell includes some small external D-Bus services - namely org.gnome.Shell.Extensions.service, org.gnome.Shell.Notifications.service and org.gnome.Shell.Screencast.service - that require the standalone gjs executable. The package that provides /usr/bin/gjs should therefore be a dependency of the package that includes those services (gnome-shell/gnome-shell-common)."

Having working notifications and screencasting is important, so I'm reopening this bug. Thank you for taking the time to help make Ubuntu better.

tags: added: kinetic
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.