Accepting request 795142 from GNOME:Next

Repush, rebased

OBS-URL: https://build.opensuse.org/request/show/795142
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-shell-extensions?expand=0&rev=214
This commit is contained in:
Dominique Leuenberger 2020-04-17 22:56:26 +00:00 committed by Git OBS Bridge
parent 85cf792a37
commit d94b383afe
6 changed files with 87 additions and 34 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a1e16e75a06ea511435a6f7478de92aff21d02d4e1d59ec8ce7fb6396819b4b8
size 204860

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:de18927a7d0f5652628d97f03e102c84e576b9c873a878b8e1a53c21183b5039
size 207980

View File

@ -1,3 +1,55 @@
-------------------------------------------------------------------
Fri Apr 17 03:36:01 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 3.36.1:
+ Updated translations.
-------------------------------------------------------------------
Fri Apr 17 03:36:00 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 3.36.0:
+ Update sass submodule.
+ build: Switch to js68 for tests.
-------------------------------------------------------------------
Fri Apr 17 03:35:55 UTC 2020 - xiaoguang wang <xwang@suse.com>
- Adapt sle-classic to 3.35.92:
+ Update gse-sle-classic-ext.patch
+ Update sle-classic@suse.com.tar.gz
-------------------------------------------------------------------
Fri Apr 17 03:35:54 UTC 2020 - bjorn.lie@gmail.com
- Update to version 3.35.92:
+ Update sass submodule.
-------------------------------------------------------------------
Fri Apr 17 03:35:53 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
- Build extension-user-theme as noarch: there is nothing arch
dependant in this package.
-------------------------------------------------------------------
Fri Apr 17 03:35:52 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 3.35.91:
+ Updated translations.
-------------------------------------------------------------------
Fri Apr 17 03:35:50 UTC 2020 - dimstar@opensuse.org
- Update to version 3.35.90:
+ Adjust to gnome-shell changes.
+ Force single-line window titles in window list.
+ Misc. bug fixes and cleanup.
- Changes from version 3.35.2:
+ Adjust to gnome-shell changes.
+ window-list, workspace-indicator: Exclude DESKTOP windows from
previews.
+ screenshot-window-sizer: Fix cycling through all valid sizes.
+ Updated translations.
-------------------------------------------------------------------
Mon Mar 16 06:44:29 UTC 2020 - Xiaoguang Wang <xwang@suse.com>

View File

@ -19,13 +19,13 @@
%global __requires_exclude typelib\\(Meta\\)
Name: gnome-shell-extensions
Version: 3.34.2
Version: 3.36.1
Release: 0
Summary: A collection of extensions for GNOME Shell
License: GPL-2.0-or-later
Group: System/GUI/GNOME
URL: https://wiki.gnome.org/Projects/GnomeShell/Extensions
Source0: https://download.gnome.org/sources/gnome-shell-extensions/3.34/%{name}-%{version}.tar.xz
Source0: https://download.gnome.org/sources/gnome-shell-extensions/3.36/%{name}-%{version}.tar.xz
Source1: README.SUSE
Source2: sle-classic.desktop
Source3: SLE-theme.tar.gz
@ -106,6 +106,7 @@ gnome-shell classic.
%package -n gnome-shell-extension-user-theme
Summary: Allow the user to change GNOME Shell Themes
Group: System/GUI/GNOME
BuildArch: noarch
%description -n gnome-shell-extension-user-theme
This extension allows the user to switch to different themes. It's possible

View File

@ -1,7 +1,7 @@
Index: gnome-shell-extensions-3.34.1/extensions/window-list/extension.js
Index: gnome-shell-extensions-3.35.92/extensions/window-list/extension.js
===================================================================
--- gnome-shell-extensions-3.34.1.orig/extensions/window-list/extension.js
+++ gnome-shell-extensions-3.34.1/extensions/window-list/extension.js
--- gnome-shell-extensions-3.35.92.orig/extensions/window-list/extension.js
+++ gnome-shell-extensions-3.35.92/extensions/window-list/extension.js
@@ -23,6 +23,9 @@ const GroupingMode = {
ALWAYS: 2,
};
@ -12,7 +12,7 @@ Index: gnome-shell-extensions-3.34.1/extensions/window-list/extension.js
function _minimizeOrActivateWindow(window) {
let focusWindow = global.display.focus_window;
@@ -691,11 +694,13 @@ const WindowList = GObject.registerClass
@@ -687,11 +690,13 @@ class WindowList extends St.Widget {
let box = new St.BoxLayout({ x_expand: true, y_expand: true });
this.add_actor(box);
@ -30,7 +30,7 @@ Index: gnome-shell-extensions-3.34.1/extensions/window-list/extension.js
let layout = new Clutter.BoxLayout({ homogeneous: true });
this._windowList = new St.Widget({
@@ -837,7 +842,8 @@ const WindowList = GObject.registerClass
@@ -833,7 +838,8 @@ class WindowList extends St.Widget {
let workspacesOnMonitor = this._monitor === Main.layoutManager.primaryMonitor ||
!this._mutterSettings.get_boolean('workspaces-only-on-primary');
@ -40,7 +40,7 @@ Index: gnome-shell-extensions-3.34.1/extensions/window-list/extension.js
}
_updateWindowListVisibility() {
@@ -873,6 +879,9 @@ const WindowList = GObject.registerClass
@@ -869,6 +875,9 @@ class WindowList extends St.Widget {
}
_getMaxWindowListWidth() {
@ -50,7 +50,7 @@ Index: gnome-shell-extensions-3.34.1/extensions/window-list/extension.js
let indicatorsBox = this._workspaceIndicator.get_parent();
return this.width - indicatorsBox.get_preferred_width(-1)[1];
}
@@ -1082,7 +1091,8 @@ const WindowList = GObject.registerClass
@@ -1078,7 +1087,8 @@ class WindowList extends St.Widget {
this._mutterSettings.disconnect(this._workspacesOnlyOnPrimaryChangedId);
this._mutterSettings.disconnect(this._dynamicWorkspacesChangedId);
@ -60,7 +60,7 @@ Index: gnome-shell-extensions-3.34.1/extensions/window-list/extension.js
Main.ctrlAltTabManager.removeGroup(this);
@@ -1122,6 +1132,7 @@ class Extension {
@@ -1118,6 +1128,7 @@ class Extension {
constructor() {
this._windowLists = null;
this._hideOverviewOrig = Main.overview.hide;
@ -68,7 +68,7 @@ Index: gnome-shell-extensions-3.34.1/extensions/window-list/extension.js
}
enable() {
@@ -1141,19 +1152,47 @@ class Extension {
@@ -1137,19 +1148,47 @@ class Extension {
this._hideOverviewOrig.call(Main.overview);
};
@ -120,7 +120,7 @@ Index: gnome-shell-extensions-3.34.1/extensions/window-list/extension.js
}
disable() {
@@ -1167,6 +1206,11 @@ class Extension {
@@ -1163,6 +1202,11 @@ class Extension {
this._monitorsChangedId = 0;
this._windowLists.forEach(windowList => {
@ -132,7 +132,7 @@ Index: gnome-shell-extensions-3.34.1/extensions/window-list/extension.js
windowList.hide();
windowList.destroy();
});
@@ -1175,6 +1219,11 @@ class Extension {
@@ -1171,6 +1215,11 @@ class Extension {
Main.windowPicker.destroy();
delete Main.windowPicker;
@ -144,10 +144,10 @@ Index: gnome-shell-extensions-3.34.1/extensions/window-list/extension.js
Main.overview.hide = this._hideOverviewOrig;
}
Index: gnome-shell-extensions-3.34.1/extensions/window-list/sle-classic.css
Index: gnome-shell-extensions-3.35.92/extensions/window-list/sle-classic.css
===================================================================
--- /dev/null
+++ gnome-shell-extensions-3.34.1/extensions/window-list/sle-classic.css
+++ gnome-shell-extensions-3.35.92/extensions/window-list/sle-classic.css
@@ -0,0 +1,46 @@
+@import url("stylesheet.css");
+
@ -195,10 +195,10 @@ Index: gnome-shell-extensions-3.34.1/extensions/window-list/sle-classic.css
+ color: #888;
+ box-shadow: inset -1px -1px 1px rgba(0,0,0,0.5);
+ }
Index: gnome-shell-extensions-3.34.1/extensions/places-menu/extension.js
Index: gnome-shell-extensions-3.35.92/extensions/places-menu/extension.js
===================================================================
--- gnome-shell-extensions-3.34.1.orig/extensions/places-menu/extension.js
+++ gnome-shell-extensions-3.34.1/extensions/places-menu/extension.js
--- gnome-shell-extensions-3.35.92.orig/extensions/places-menu/extension.js
+++ gnome-shell-extensions-3.35.92/extensions/places-menu/extension.js
@@ -133,13 +133,21 @@ function init() {
let _indicator;
@ -222,10 +222,10 @@ Index: gnome-shell-extensions-3.34.1/extensions/places-menu/extension.js
}
function disable() {
Index: gnome-shell-extensions-3.34.1/extensions/apps-menu/extension.js
Index: gnome-shell-extensions-3.35.92/extensions/apps-menu/extension.js
===================================================================
--- gnome-shell-extensions-3.34.1.orig/extensions/apps-menu/extension.js
+++ gnome-shell-extensions-3.34.1/extensions/apps-menu/extension.js
--- gnome-shell-extensions-3.35.92.orig/extensions/apps-menu/extension.js
+++ gnome-shell-extensions-3.35.92/extensions/apps-menu/extension.js
@@ -27,6 +27,10 @@ const NAVIGATION_REGION_OVERSHOOT = 50;
Gio._promisify(Gio._LocalFilePrototype, 'query_info_async', 'query_info_finish');
Gio._promisify(Gio._LocalFilePrototype, 'set_attributes_async', 'set_attributes_finish');
@ -237,7 +237,7 @@ Index: gnome-shell-extensions-3.34.1/extensions/apps-menu/extension.js
var ApplicationMenuItem = GObject.registerClass(
class ApplicationMenuItem extends PopupMenu.PopupBaseMenuItem {
_init(button, app) {
@@ -728,8 +732,6 @@ class ApplicationsButton extends PanelMe
@@ -710,8 +714,6 @@ class ApplicationsButton extends PanelMe
this.applicationsByCategory = {};
this._tree.load_sync();
let root = this._tree.get_root_directory();
@ -246,7 +246,7 @@ Index: gnome-shell-extensions-3.34.1/extensions/apps-menu/extension.js
let iter = root.iter();
let nextType;
while ((nextType = iter.next()) !== GMenu.TreeItemType.INVALID) {
@@ -744,11 +746,15 @@ class ApplicationsButton extends PanelMe
@@ -726,11 +728,15 @@ class ApplicationsButton extends PanelMe
this.applicationsByCategory[categoryId] = [];
this._loadCategory(categoryId, dir);
if (this.applicationsByCategory[categoryId].length > 0) {
@ -264,7 +264,7 @@ Index: gnome-shell-extensions-3.34.1/extensions/apps-menu/extension.js
// Load applications
this._displayButtons(this._listApplications(null));
@@ -811,7 +817,10 @@ let appsMenuButton;
@@ -793,7 +799,10 @@ let appsMenuButton;
function enable() {
appsMenuButton = new ApplicationsButton();
let index = Main.sessionMode.panel.left.indexOf('activities') + 1;
@ -276,11 +276,11 @@ Index: gnome-shell-extensions-3.34.1/extensions/apps-menu/extension.js
}
function disable() {
Index: gnome-shell-extensions-3.34.1/data/gnome-classic.scss
Index: gnome-shell-extensions-3.35.92/data/gnome-classic.scss
===================================================================
--- gnome-shell-extensions-3.34.1.orig/data/gnome-classic.scss
+++ gnome-shell-extensions-3.34.1/data/gnome-classic.scss
@@ -62,9 +62,9 @@ $variant: 'light';
--- gnome-shell-extensions-3.35.92.orig/data/gnome-classic.scss
+++ gnome-shell-extensions-3.35.92/data/gnome-classic.scss
@@ -63,9 +63,9 @@ $variant: 'light';
&.lock-screen,
&.unlock-screen,
&.login-screen {
@ -293,7 +293,7 @@ Index: gnome-shell-extensions-3.34.1/data/gnome-classic.scss
border-bottom: none;
.panel-button { color: $osd_fg_color; }
}
@@ -93,3 +93,5 @@ $variant: 'light';
@@ -94,3 +94,5 @@ $variant: 'light';
background-image: url("calendar-today.svg");
}

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b0f1f6b94ceb6671ec8ae1a23c0b40bdb0aaed07b59be5e618f7d8276385f1c2
size 4533
oid sha256:d05d0229a3f4d371a8989282bf51bb933be733c93652c9ce3839269782f5decb
size 4491