From ad69a39c688ce6262c911f7bedc2723cd032c0ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jeremy=20B=C3=ADcha?= Date: Sat, 14 Sep 2024 18:56:15 -0400 Subject: [PATCH] Split extensions into separate packages (Closes: #1081798) Add gnome-classic package as alternative to gnome-session to install GNOME Shell, the GNOME Classic session files, and the extensions it needs (Closes: #777538) Add gnome-classic-xsession package for the GNOME Classic on Xorg session. Gbp-Dch: Full --- debian/control | 312 ++++++++++++++++-- debian/gnome-classic-xsession.install | 1 + debian/gnome-classic.install | 4 + .../gnome-shell-extension-apps-menu.install | 2 + ...-shell-extension-auto-move-windows.install | 2 + .../gnome-shell-extension-drive-menu.install | 1 + ...hell-extension-launch-new-instance.install | 1 + .../gnome-shell-extension-light-style.install | 1 + ...-extension-native-window-placement.install | 2 + .../gnome-shell-extension-places-menu.install | 1 + ...-extension-screenshot-window-sizer.install | 2 + ...gnome-shell-extension-status-icons.install | 1 + ...ome-shell-extension-system-monitor.install | 2 + .../gnome-shell-extension-user-theme.install | 2 + .../gnome-shell-extension-window-list.install | 2 + ...-shell-extension-windows-navigator.install | 1 + ...hell-extension-workspace-indicator.install | 2 + debian/gnome-shell-extensions-common.install | 1 + debian/install | 1 - debian/rules | 3 - 20 files changed, 313 insertions(+), 31 deletions(-) create mode 100644 debian/gnome-classic-xsession.install create mode 100644 debian/gnome-classic.install create mode 100644 debian/gnome-shell-extension-apps-menu.install create mode 100644 debian/gnome-shell-extension-auto-move-windows.install create mode 100644 debian/gnome-shell-extension-drive-menu.install create mode 100644 debian/gnome-shell-extension-launch-new-instance.install create mode 100644 debian/gnome-shell-extension-light-style.install create mode 100644 debian/gnome-shell-extension-native-window-placement.install create mode 100644 debian/gnome-shell-extension-places-menu.install create mode 100644 debian/gnome-shell-extension-screenshot-window-sizer.install create mode 100644 debian/gnome-shell-extension-status-icons.install create mode 100644 debian/gnome-shell-extension-system-monitor.install create mode 100644 debian/gnome-shell-extension-user-theme.install create mode 100644 debian/gnome-shell-extension-window-list.install create mode 100644 debian/gnome-shell-extension-windows-navigator.install create mode 100644 debian/gnome-shell-extension-workspace-indicator.install create mode 100644 debian/gnome-shell-extensions-common.install delete mode 100644 debian/install diff --git a/debian/control b/debian/control index b7907b81..5d9970be 100644 --- a/debian/control +++ b/debian/control @@ -15,35 +15,293 @@ Vcs-Git: https://salsa.debian.org/gnome-team/gnome-shell-extensions.git Homepage: https://wiki.gnome.org/Projects/GnomeShell/Extensions Package: gnome-shell-extensions +Section: oldlibs Architecture: all -Depends: gir1.2-adw-1, - gir1.2-atk-1.0, - gir1.2-glib-2.0, - gir1.2-gmenu-3.0, - gir1.2-graphene-1.0 (>= 1.10.2), - gir1.2-gtk-4.0, - gir1.2-gtop-2.0, - gir1.2-pango-1.0, - gnome-session-bin (>= 3.8), - gnome-settings-daemon (>= 3.24), +Depends: gnome-shell-extension-apps-menu, + gnome-shell-extension-auto-move-windows, + gnome-shell-extension-drive-menu, + gnome-shell-extension-launch-new-instance, + gnome-shell-extension-light-style, + gnome-shell-extension-native-window-placement, + gnome-shell-extension-places-menu, + gnome-shell-extensions-common, + gnome-shell-extension-screenshot-window-sizer, + gnome-shell-extension-system-monitor, + gnome-shell-extension-user-theme, + gnome-shell-extension-window-list, + gnome-shell-extension-windows-navigator, + gnome-shell-extension-workspace-indicator, + ${misc:Depends} +Recommends: gnome-classic +Description: Extensions to extend functionality of GNOME Shell + GNOME Shell is extensible using extensions. This package contains + all the official GNOME Shell extensions. + . + This is an empty transitional package and will likely be removed + in the future. + +Package: gnome-classic +Architecture: all +Depends: fonts-cantarell, + gnome-session-bin (>= 46), + gnome-session-common (>= 46), + gnome-shell-extension-apps-menu, + gnome-shell-extension-places-menu, + gnome-shell-extension-launch-new-instance, + gnome-shell-extension-window-list, + xdg-desktop-portal-gnome, + ${misc:Depends} +Recommends: gnome-classic-xsession +Provides: x-session-manager +Breaks: gnome-shell-extensions (<< 47) +Replaces: gnome-shell-extensions (<< 47) +Description: Classic version of the GNOME desktop + This package contains the required components for the GNOME Classic + session, based on the GNOME Shell. It can be started from a display + manager such as GDM, and requires 3D acceleration to work properly. + . + The GNOME Shell provides core interface functions like switching + windows, launching applications or see your notifications. It takes + advantage of the capabilities of modern graphics hardware and + introduces innovative user interface concepts to provide a + delightful and easy to use experience. GNOME Shell is the defining + technology of the GNOME user experience. + . + GNOME Classic provides an alternative version of GNOME Shell that uses + more traditional design elements. + +Package: gnome-classic-xsession +Architecture: all +Depends: gnome-classic, + ${misc:Depends} +Provides: x-session-manager +Breaks: gnome-shell-extensions (<< 47) +Replaces: gnome-shell-extensions (<< 47) +Description: Classic version of the GNOME desktop using Xorg + This package contains the required components for the GNOME Classic on Xorg + session, based on the GNOME Shell. It can be started from a display + manager such as GDM, and requires 3D acceleration to work properly. + . + The GNOME Shell provides core interface functions like switching + windows, launching applications or see your notifications. It takes + advantage of the capabilities of modern graphics hardware and + introduces innovative user interface concepts to provide a + delightful and easy to use experience. GNOME Shell is the defining + technology of the GNOME user experience. + . + GNOME Classic provides an alternative version of GNOME Shell that uses + more traditional design elements. + +Package: gnome-shell-extensions-common +Architecture: all +Depends: ${misc:Depends} +Breaks: gnome-shell-extensions (<< 47) +Replaces: gnome-shell-extensions (<< 47) +Description: common files for official GNOME Shell extensions + GNOME Shell is extensible using extensions. This package contains + common data files such as translations for the official GNOME Shell + extensions. + +Package: gnome-shell-extension-apps-menu +Architecture: all +Depends: gir1.2-gmenu-3.0, gnome-shell (<< ${gnome:NextVersion}), gnome-shell (>= ${gnome:Version}), - gvfs (>= 1.16.0), + gnome-shell-extensions-common (= ${source:Version}), ${misc:Depends} -Recommends: gnome-shell-extension-prefs -Replaces: gnome-shell-common (<< 3.18), - gnome-shell-extension-system-monitor (<< 40-7~) -Breaks: gnome-shell-common (<< 3.18), - gnome-shell-extension-system-monitor (<< 40-7~) -Description: Extensions to extend functionality of GNOME Shell - The GNOME Shell redefines user interactions with the GNOME desktop. In - particular, it offers new paradigms for launching applications, - accessing documents, and organizing open windows in GNOME. Later, it - will introduce a new applets eco-system and offer new solutions for - other desktop features, such as notifications and contacts management. - The GNOME Shell is intended to replace functions handled by the GNOME - Panel and by the window manager in previous versions of GNOME. The GNOME - Shell has rich visual effects enabled by new graphical technologies. +Recommends: gnome-shell-extension-prefs | gnome-shell-extension-manager +Breaks: gnome-shell-extensions (<< 47) +Replaces: gnome-shell-extensions (<< 47) +Description: Category based app menu for GNOME Shell + GNOME Shell is extensible using extensions. This package contains an + official GNOME Shell extension to add a category based Apps menu + similar to what is found in classic desktops. . - GNOME Shell is extensible using extensions. This package contains - official GNOME Shell extensions. + This package is part of the GNOME Classic default set of extensions. + +Package: gnome-shell-extension-auto-move-windows +Architecture: all +Depends: gnome-shell (<< ${gnome:NextVersion}), + gnome-shell (>= ${gnome:Version}), + gnome-shell-extensions-common (= ${source:Version}), + ${misc:Depends} +Recommends: gnome-shell-extension-prefs | gnome-shell-extension-manager +Breaks: gnome-shell-extensions (<< 47) +Replaces: gnome-shell-extensions (<< 47) +Description: GNOME Shell extension to move apps to specific workspaces + GNOME Shell is extensible using extensions. This package contains an + official GNOME Shell extension to move apps to specific workspaces when + they create windows. + +Package: gnome-shell-extension-drive-menu +Architecture: all +Depends: gnome-shell (<< ${gnome:NextVersion}), + gnome-shell (>= ${gnome:Version}), + gnome-shell-extensions-common (= ${source:Version}), + ${misc:Depends} +Recommends: gnome-shell-extension-prefs | gnome-shell-extension-manager +Breaks: gnome-shell-extensions (<< 47) +Replaces: gnome-shell-extensions (<< 47) +Description: Removable drive status menu for GNOME Shell + GNOME Shell is extensible using extensions. This package contains an + official GNOME Shell extension to add a status menu for accessing and + unmounting removable devices. + +Package: gnome-shell-extension-launch-new-instance +Architecture: all +Depends: gnome-shell (<< ${gnome:NextVersion}), + gnome-shell (>= ${gnome:Version}), + gnome-shell-extensions-common (= ${source:Version}), + ${misc:Depends} +Recommends: gnome-shell-extension-prefs | gnome-shell-extension-manager +Breaks: gnome-shell-extensions (<< 47) +Replaces: gnome-shell-extensions (<< 47) +Description: GNOME Shell extension to launch new instances of apps + GNOME Shell is extensible using extensions. This package contains an + official GNOME Shell extension to always launch a new instance of an + app when clicking in the Dash or the application view. + . + This package is part of the GNOME Classic default set of extensions. + +Package: gnome-shell-extension-light-style +Architecture: all +Depends: gnome-shell (<< ${gnome:NextVersion}), + gnome-shell (>= ${gnome:Version}), + gnome-shell-extensions-common (= ${source:Version}), + ${misc:Depends} +Recommends: gnome-shell-extension-prefs | gnome-shell-extension-manager +Breaks: gnome-shell-extensions (<< 47) +Replaces: gnome-shell-extensions (<< 47) +Description: GNOME Shell extension to switch the Shell to light style + GNOME Shell is extensible using extensions. This package contains an + official GNOME Shell extension to switch GNOME Shell to use a light + style instead of the default. + +Package: gnome-shell-extension-native-window-placement +Architecture: all +Depends: gnome-shell (<< ${gnome:NextVersion}), + gnome-shell (>= ${gnome:Version}), + gnome-shell-extensions-common (= ${source:Version}), + ${misc:Depends} +Recommends: gnome-shell-extension-prefs | gnome-shell-extension-manager +Breaks: gnome-shell-extensions (<< 47) +Replaces: gnome-shell-extensions (<< 47) +Description: GNOME Shell extension to arrange windows in a more compact way + GNOME Shell is extensible using extensions. This package contains an + official GNOME Shell extension to arrange windows in the GNOME Shell + overview in a more compact way. + +Package: gnome-shell-extension-places-menu +Architecture: all +Depends: gnome-shell (<< ${gnome:NextVersion}), + gnome-shell (>= ${gnome:Version}), + gnome-shell-extensions-common (= ${source:Version}), + ${misc:Depends} +Recommends: gnome-shell-extension-prefs | gnome-shell-extension-manager +Breaks: gnome-shell-extensions (<< 47) +Replaces: gnome-shell-extensions (<< 47) +Description: Places menu for GNOME Shell + GNOME Shell is extensible using extensions. This package contains an + official GNOME Shell extension to add a menu for quickly navigating to + places in the system, similar to the menu in GNOME 2. + . + This package is part of the GNOME Classic default set of extensions. + +Package: gnome-shell-extension-screenshot-window-sizer +Architecture: all +Depends: gnome-shell (<< ${gnome:NextVersion}), + gnome-shell (>= ${gnome:Version}), + gnome-shell-extensions-common (= ${source:Version}), + ${misc:Depends} +Recommends: gnome-shell-extension-prefs | gnome-shell-extension-manager +Breaks: gnome-shell-extensions (<< 47) +Replaces: gnome-shell-extensions (<< 47) +Description: GNOME Shell extension to resize windows for GNOME Software screenshots + GNOME Shell is extensible using extensions. This package contains an + official GNOME Shell extension to resize windows to the recommended + size for creating screenshots for use in the GNOME Software app. + +Package: gnome-shell-extension-status-icons +Architecture: all +Depends: gnome-shell (<< ${gnome:NextVersion}), + gnome-shell (>= ${gnome:Version}), + gnome-shell-extensions-common (= ${source:Version}), + ${misc:Depends} +Recommends: gnome-shell-extension-prefs | gnome-shell-extension-manager +Description: GNOME Shell extension to show some status icons in the top bar + GNOME Shell is extensible using extensions. This package contains an + official GNOME Shell extension to show some status icons in the top bar. + +Package: gnome-shell-extension-system-monitor +Architecture: all +Depends: gnome-shell (<< ${gnome:NextVersion}), + gnome-shell (>= ${gnome:Version}), + gnome-shell-extensions-common (= ${source:Version}), + ${misc:Depends} +Recommends: gnome-shell-extension-prefs | gnome-shell-extension-manager +Breaks: gnome-shell-extensions (<< 47) +Replaces: gnome-shell-extensions (<< 47) +Description: Display system information in GNOME Shell status bar + GNOME Shell is extensible using extensions. This package contains an + official GNOME Shell extension to display system information such as + memory usage, cpu usage, network rates and more in the top bar. + +Package: gnome-shell-extension-user-theme +Architecture: all +Depends: gnome-shell (<< ${gnome:NextVersion}), + gnome-shell (>= ${gnome:Version}), + gnome-shell-extensions-common (= ${source:Version}), + ${misc:Depends} +Recommends: gnome-shell-extension-prefs | gnome-shell-extension-manager +Breaks: gnome-shell-extensions (<< 47) +Replaces: gnome-shell-extensions (<< 47) +Description: GNOME Shell extension to load alternative GNOME Shell themes + GNOME Shell is extensible using extensions. This package contains an + official GNOME Shell extension to allow switching to alternative + GNOME Shell themes. + +Package: gnome-shell-extension-window-list +Architecture: all +Depends: gnome-shell (<< ${gnome:NextVersion}), + gnome-shell (>= ${gnome:Version}), + gnome-shell-extensions-common (= ${source:Version}), + ${misc:Depends} +Recommends: gnome-shell-extension-prefs | gnome-shell-extension-manager +Breaks: gnome-shell-extensions (<< 47) +Replaces: gnome-shell-extensions (<< 47) +Description: GNOME Shell extension to display a window list + GNOME Shell is extensible using extensions. This package contains an + official GNOME Shell extension to display a window list at the bottom + of the screen. + . + This package is part of the GNOME Classic default set of extensions. + +Package: gnome-shell-extension-windows-navigator +Architecture: all +Depends: gnome-shell (<< ${gnome:NextVersion}), + gnome-shell (>= ${gnome:Version}), + gnome-shell-extensions-common (= ${source:Version}), + ${misc:Depends} +Recommends: gnome-shell-extension-prefs | gnome-shell-extension-manager +Breaks: gnome-shell-extensions (<< 47) +Replaces: gnome-shell-extensions (<< 47) +Description: GNOME Shell extension to allow keyboard selection in overlay mode + GNOME Shell is extensible using extensions. This package contains an + official GNOME Shell extension to allow keyboard selections of windows + and workspaces in overlay mode. Ctrl+number selects a workspace and + Alt+number selects a window. + +Package: gnome-shell-extension-workspace-indicator +Architecture: all +Depends: gnome-shell (<< ${gnome:NextVersion}), + gnome-shell (>= ${gnome:Version}), + gnome-shell-extensions-common (= ${source:Version}), + ${misc:Depends} +Recommends: gnome-shell-extension-prefs | gnome-shell-extension-manager +Breaks: gnome-shell-extensions (<< 47) +Replaces: gnome-shell-extensions (<< 47) +Description: Workspace indicator for GNOME Shell + GNOME Shell is extensible using extensions. This package contains an + official GNOME Shell extension to add an indicator to the panel to + show what workspace you are using and allow you to switch to a different + workspace. diff --git a/debian/gnome-classic-xsession.install b/debian/gnome-classic-xsession.install new file mode 100644 index 00000000..24f18724 --- /dev/null +++ b/debian/gnome-classic-xsession.install @@ -0,0 +1 @@ +usr/share/xsessions diff --git a/debian/gnome-classic.install b/debian/gnome-classic.install new file mode 100644 index 00000000..3a181b5f --- /dev/null +++ b/debian/gnome-classic.install @@ -0,0 +1,4 @@ +debian/local/gnome-session-classic usr/bin +usr/share/glib-2.0/schemas/00_org.gnome.shell.extensions.classic.gschema.override +usr/share/gnome-shell/modes/classic.json +usr/share/wayland-sessions diff --git a/debian/gnome-shell-extension-apps-menu.install b/debian/gnome-shell-extension-apps-menu.install new file mode 100644 index 00000000..65b81f48 --- /dev/null +++ b/debian/gnome-shell-extension-apps-menu.install @@ -0,0 +1,2 @@ +usr/share/glib-2.0/schemas/org.gnome.shell.extensions.apps-menu.gschema.xml +usr/share/gnome-shell/extensions/apps-menu@gnome-shell-extensions.gcampax.github.com diff --git a/debian/gnome-shell-extension-auto-move-windows.install b/debian/gnome-shell-extension-auto-move-windows.install new file mode 100644 index 00000000..0ce012dc --- /dev/null +++ b/debian/gnome-shell-extension-auto-move-windows.install @@ -0,0 +1,2 @@ +usr/share/glib-2.0/schemas/org.gnome.shell.extensions.auto-move-windows.gschema.xml +usr/share/gnome-shell/extensions/auto-move-windows@gnome-shell-extensions.gcampax.github.com diff --git a/debian/gnome-shell-extension-drive-menu.install b/debian/gnome-shell-extension-drive-menu.install new file mode 100644 index 00000000..fa43cb7b --- /dev/null +++ b/debian/gnome-shell-extension-drive-menu.install @@ -0,0 +1 @@ +usr/share/gnome-shell/extensions/drive-menu@gnome-shell-extensions.gcampax.github.com diff --git a/debian/gnome-shell-extension-launch-new-instance.install b/debian/gnome-shell-extension-launch-new-instance.install new file mode 100644 index 00000000..d1d7467e --- /dev/null +++ b/debian/gnome-shell-extension-launch-new-instance.install @@ -0,0 +1 @@ +usr/share/gnome-shell/extensions/launch-new-instance@gnome-shell-extensions.gcampax.github.com diff --git a/debian/gnome-shell-extension-light-style.install b/debian/gnome-shell-extension-light-style.install new file mode 100644 index 00000000..2a484441 --- /dev/null +++ b/debian/gnome-shell-extension-light-style.install @@ -0,0 +1 @@ +usr/share/gnome-shell/extensions/light-style@gnome-shell-extensions.gcampax.github.com diff --git a/debian/gnome-shell-extension-native-window-placement.install b/debian/gnome-shell-extension-native-window-placement.install new file mode 100644 index 00000000..778bfb75 --- /dev/null +++ b/debian/gnome-shell-extension-native-window-placement.install @@ -0,0 +1,2 @@ +usr/share/glib-2.0/schemas/org.gnome.shell.extensions.native-window-placement.gschema.xml +usr/share/gnome-shell/extensions/native-window-placement@gnome-shell-extensions.gcampax.github.com diff --git a/debian/gnome-shell-extension-places-menu.install b/debian/gnome-shell-extension-places-menu.install new file mode 100644 index 00000000..94f82cfd --- /dev/null +++ b/debian/gnome-shell-extension-places-menu.install @@ -0,0 +1 @@ +usr/share/gnome-shell/extensions/places-menu@gnome-shell-extensions.gcampax.github.com diff --git a/debian/gnome-shell-extension-screenshot-window-sizer.install b/debian/gnome-shell-extension-screenshot-window-sizer.install new file mode 100644 index 00000000..ee6caae0 --- /dev/null +++ b/debian/gnome-shell-extension-screenshot-window-sizer.install @@ -0,0 +1,2 @@ +usr/share/glib-2.0/schemas/org.gnome.shell.extensions.screenshot-window-sizer.gschema.xml +usr/share/gnome-shell/extensions/screenshot-window-sizer@gnome-shell-extensions.gcampax.github.com diff --git a/debian/gnome-shell-extension-status-icons.install b/debian/gnome-shell-extension-status-icons.install new file mode 100644 index 00000000..427770a2 --- /dev/null +++ b/debian/gnome-shell-extension-status-icons.install @@ -0,0 +1 @@ +usr/share/gnome-shell/extensions/status-icons@gnome-shell-extensions.gcampax.github.com diff --git a/debian/gnome-shell-extension-system-monitor.install b/debian/gnome-shell-extension-system-monitor.install new file mode 100644 index 00000000..630f7a38 --- /dev/null +++ b/debian/gnome-shell-extension-system-monitor.install @@ -0,0 +1,2 @@ +usr/share/glib-2.0/schemas/org.gnome.shell.extensions.system-monitor.gschema.xml +usr/share/gnome-shell/extensions/system-monitor@gnome-shell-extensions.gcampax.github.com diff --git a/debian/gnome-shell-extension-user-theme.install b/debian/gnome-shell-extension-user-theme.install new file mode 100644 index 00000000..627bde32 --- /dev/null +++ b/debian/gnome-shell-extension-user-theme.install @@ -0,0 +1,2 @@ +usr/share/glib-2.0/schemas/org.gnome.shell.extensions.user-theme.gschema.xml +usr/share/gnome-shell/extensions/user-theme@gnome-shell-extensions.gcampax.github.com diff --git a/debian/gnome-shell-extension-window-list.install b/debian/gnome-shell-extension-window-list.install new file mode 100644 index 00000000..45ee28b0 --- /dev/null +++ b/debian/gnome-shell-extension-window-list.install @@ -0,0 +1,2 @@ +usr/share/glib-2.0/schemas/org.gnome.shell.extensions.window-list.gschema.xml +usr/share/gnome-shell/extensions/window-list@gnome-shell-extensions.gcampax.github.com diff --git a/debian/gnome-shell-extension-windows-navigator.install b/debian/gnome-shell-extension-windows-navigator.install new file mode 100644 index 00000000..a2122eaa --- /dev/null +++ b/debian/gnome-shell-extension-windows-navigator.install @@ -0,0 +1 @@ +usr/share/gnome-shell/extensions/windowsNavigator@gnome-shell-extensions.gcampax.github.com diff --git a/debian/gnome-shell-extension-workspace-indicator.install b/debian/gnome-shell-extension-workspace-indicator.install new file mode 100644 index 00000000..8f70942d --- /dev/null +++ b/debian/gnome-shell-extension-workspace-indicator.install @@ -0,0 +1,2 @@ +usr/share/glib-2.0/schemas/org.gnome.shell.extensions.workspace-indicator.gschema.xml +usr/share/gnome-shell/extensions/workspace-indicator@gnome-shell-extensions.gcampax.github.com diff --git a/debian/gnome-shell-extensions-common.install b/debian/gnome-shell-extensions-common.install new file mode 100644 index 00000000..36354806 --- /dev/null +++ b/debian/gnome-shell-extensions-common.install @@ -0,0 +1 @@ +usr/share/locale diff --git a/debian/install b/debian/install deleted file mode 100644 index 5287a384..00000000 --- a/debian/install +++ /dev/null @@ -1 +0,0 @@ -debian/local/gnome-session-classic usr/bin diff --git a/debian/rules b/debian/rules index 5e21062a..82d44e2c 100755 --- a/debian/rules +++ b/debian/rules @@ -9,6 +9,3 @@ override_dh_auto_configure: -Dclassic_mode=true override_dh_gnome_clean: - -execute_after_dh_auto_install: - rm -rf debian/gnome-shell-extensions/usr/share/gnome-shell/extensions/status-icons@gnome-shell-extensions.gcampax.github.com