Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package cinnamon for openSUSE:Factory checked in at 2021-08-01 21:51:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cinnamon (Old)
and /work/SRC/openSUSE:Factory/.cinnamon.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cinnamon"
Sun Aug 1 21:51:44 2021 rev:52 rq:909605 version:5.0.5
Changes:
--------
--- /work/SRC/openSUSE:Factory/cinnamon/cinnamon.changes 2021-07-17 23:37:20.097647697 +0200
+++ /work/SRC/openSUSE:Factory/.cinnamon.new.1899/cinnamon.changes 2021-08-01 21:51:59.235211360 +0200
@@ -1,0 +2,16 @@
+Wed Jul 28 10:37:18 UTC 2021 - andy great <andythe_great(a)pm.me>
+
+- Update to version 5.0.5.
+ * util.js: Remove long parenthesized text in network device labels.
+ * org.cinnamon.gschema.xml: Add lxterminal and xfce4-terminal to
+ focus passthru list.
+ * org.cinnamon.gschema.xml: Add firefox to focus passthru list.
+ * window list applet: Track urgent/demanding attention separately
+ from other-workspace transience during initial window item
+ creation.
+ * menu applet: Restore a max button width constraint, and the old
+ width calculations for the application box.
+ * menu applet: Fix the fallback sort method for search results.
+ * org.cinnamon.gschema.xml: Add libreoffice to focus passthru list.
+
+-------------------------------------------------------------------
Old:
----
cinnamon-5.0.4.tar.gz
New:
----
cinnamon-5.0.5.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ cinnamon.spec ++++++
--- /var/tmp/diff_new_pack.KkJIKr/_old 2021-08-01 21:51:59.759210744 +0200
+++ /var/tmp/diff_new_pack.KkJIKr/_new 2021-08-01 21:51:59.763210739 +0200
@@ -18,7 +18,7 @@
%define _version 5.0.0
Name: cinnamon
-Version: 5.0.4
+Version: 5.0.5
Release: 0
Summary: GNU/Linux Desktop featuring a traditional layout
License: GPL-2.0-or-later AND LGPL-2.1-only
++++++ cinnamon-5.0.4.tar.gz -> cinnamon-5.0.5.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cinnamon-5.0.4/data/org.cinnamon.gschema.xml new/cinnamon-5.0.5/data/org.cinnamon.gschema.xml
--- old/cinnamon-5.0.4/data/org.cinnamon.gschema.xml 2021-07-02 17:19:14.000000000 +0200
+++ new/cinnamon-5.0.5/data/org.cinnamon.gschema.xml 2021-07-14 16:23:43.000000000 +0200
@@ -623,7 +623,7 @@
</key>
<key type="as" name="demands-attention-passthru-wm-classes">
- <default>['gnome-screenshot']</default>
+ <default>['gnome-screenshot', 'lxterminal', 'xfce4-terminal', 'firefox', 'libreoffice', 'soffice']</default>
<summary>WM class names to always give focus to in windowAttentionHandler.js</summary>
</key>
<key name="app-menu-icon-name" type="s">
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cinnamon-5.0.4/debian/changelog new/cinnamon-5.0.5/debian/changelog
--- old/cinnamon-5.0.4/debian/changelog 2021-07-02 17:19:14.000000000 +0200
+++ new/cinnamon-5.0.5/debian/changelog 2021-07-14 16:23:43.000000000 +0200
@@ -1,3 +1,16 @@
+cinnamon (5.0.5) uma; urgency=medium
+
+ [ Michael Webster ]
+ * util.js: Remove long parenthesized text in network device labels.
+ * org.cinnamon.gschema.xml: Add lxterminal and xfce4-terminal to focus passthru list.
+ * org.cinnamon.gschema.xml: Add firefox to focus passthru list.
+ * window list applet: Track urgent/demanding attention separately from other-workspace transience during initial window item creation.
+ * menu applet: Restore a max button width constraint, and the old width calculations for the application box.
+ * menu applet: Fix the fallback sort method for search results.
+ * org.cinnamon.gschema.xml: Add libreoffice to focus passthru list.
+
+ -- Clement Lefebvre <root(a)linuxmint.com> Wed, 14 Jul 2021 15:23:16 +0100
+
cinnamon (5.0.4) uma; urgency=medium
* GWL: Remove Super+space shortcut
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cinnamon-5.0.4/files/usr/share/cinnamon/applets/menu(a)cinnamon.org/applet.js new/cinnamon-5.0.5/files/usr/share/cinnamon/applets/menu(a)cinnamon.org/applet.js
--- old/cinnamon-5.0.4/files/usr/share/cinnamon/applets/menu(a)cinnamon.org/applet.js 2021-07-02 17:19:14.000000000 +0200
+++ new/cinnamon-5.0.5/files/usr/share/cinnamon/applets/menu(a)cinnamon.org/applet.js 2021-07-14 16:23:43.000000000 +0200
@@ -39,11 +39,7 @@
let appsys = Cinnamon.AppSystem.get_default();
-// The defaults are in settings-schema.json.
-const POPUP_MIN_WIDTH = 500;
-const POPUP_MAX_WIDTH = 800;
-const POPUP_MIN_HEIGHT = 400;
-const POPUP_MAX_HEIGHT = 950;
+const MAX_BUTTON_WIDTH = "max-width: 20em;";
const RefreshFlags = Object.freeze({
APP: 0b000001,
@@ -186,6 +182,7 @@
this._signals = new SignalManager.SignalManager();
this.actor = new St.BoxLayout({ style_class: params.styleClass,
+ style: MAX_BUTTON_WIDTH,
reactive: params.reactive,
accessible_role: Atk.Role.MENU_ITEM });
@@ -1425,22 +1422,12 @@
}
_resizeApplicationsBox() {
- let widths = [];
+ let width = -1;
Util.each(this.applicationsBox.get_children(), c => {
- // This is absurd... but using get_preferred_width doesn't seem work in some
- // themes. See mint-y vs mint-x.
- let layout = c._delegate.label.clutter_text.get_layout();
- let icon_width = c._delegate.icon ? c._delegate.icon.icon_size : 0;
- let [w, h] = layout.get_pixel_size();
- widths.push(w + icon_width);
+ let [min, nat] = c.get_preferred_width(-1.0);
+ if (nat > width)
+ width = nat;
});
-
- widths.sort((a, b) => a - b);
-
- // discard the highest ~5% of widths then use the highest remaining value
- let n_trimmed = Math.round(widths.length * .05);
- let width = widths[widths.length - n_trimmed];
-
this.applicationsBox.set_width(width + 42); // The answer to life...
}
@@ -3045,7 +3032,7 @@
return 1;
}
- return ba.searchStrings < bb.searchStrings ? -1 : 1;
+ return ba.searchStrings[0] < bb.searchStrings[0];
});
for (let i = 0; i < buttons.length; i++) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cinnamon-5.0.4/files/usr/share/cinnamon/applets/window-list(a)cinnamon.org/applet.js new/cinnamon-5.0.5/files/usr/share/cinnamon/applets/window-list(a)cinnamon.org/applet.js
--- old/cinnamon-5.0.4/files/usr/share/cinnamon/applets/window-list(a)cinnamon.org/applet.js 2021-07-02 17:19:14.000000000 +0200
+++ new/cinnamon-5.0.5/files/usr/share/cinnamon/applets/window-list(a)cinnamon.org/applet.js 2021-07-14 16:23:43.000000000 +0200
@@ -254,7 +254,7 @@
}
class AppMenuButton {
- constructor(applet, metaWindow, alert) {
+ constructor(applet, metaWindow, transient) {
this.actor = new Cinnamon.GenericContainer({
name: 'appMenu',
style_class: 'window-list-item-box',
@@ -264,7 +264,8 @@
this._applet = applet;
this.metaWindow = metaWindow;
- this.alert = alert || metaWindow.is_demanding_attention() || metaWindow.is_urgent();
+ this.transient = transient;
+ let initially_urgent = transient || metaWindow.is_demanding_attention() || metaWindow.is_urgent();
this.labelVisible = false;
this._signals = new SignalManager.SignalManager();
this.xid = metaWindow.get_xwindow();
@@ -336,7 +337,7 @@
this.onPreviewChanged();
- if (!this.alert) {
+ if (!this.transient) {
this._menuManager = new PopupMenu.PopupMenuManager(this);
this.rightClickMenu = new AppMenuButtonRightClickMenu(this, this.metaWindow, this._applet.orientation);
this._menuManager.addMenu(this.rightClickMenu);
@@ -360,7 +361,7 @@
this.onFocus();
this.setIcon();
- if (this.alert)
+ if (initially_urgent)
this.getAttention();
this._signals.connect(this.metaWindow, 'notify::title', this.setDisplayTitle, this);
@@ -529,7 +530,7 @@
destroy() {
this._signals.disconnectAllSignals();
this._tooltip.destroy();
- if (!this.alert) {
+ if (!this.transient) {
this.rightClickMenu.destroy();
this._menuManager.destroy();
}
@@ -561,7 +562,7 @@
this.actor.remove_style_class_name("window-list-item-demands-attention-top");
this._needsAttention = false;
- if (this.alert) {
+ if (this.transient) {
this.destroy();
this._windows.splice(this._windows.indexOf(this), 1);
}
@@ -572,7 +573,7 @@
_onButtonRelease(actor, event) {
this._tooltip.hide();
- if (this.alert) {
+ if (this.transient) {
if (event.get_button() == 1)
this._toggleWindow(false);
return false;
@@ -591,7 +592,7 @@
_onButtonPress(actor, event) {
this._tooltip.hide();
- if (!this.alert && event.get_button() == 3) {
+ if (!this.transient && event.get_button() == 3) {
this.rightClickMenu.mouseEvent = event;
this.rightClickMenu.toggle();
@@ -1208,7 +1209,7 @@
* AppMenuButton. If this is actually a temporary AppMenuButton for
* urgent windows on other workspaces, it is shown iff the normal
* one isn't shown! */
- if (window.alert)
+ if (window.transient)
window.actor.visible = !window.actor.visible;
if (window.actor.visible)
@@ -1280,13 +1281,13 @@
this._applySavedOrder();
}
- _addWindow(metaWindow, alert) {
+ _addWindow(metaWindow, transient) {
for (let window of this._windows)
if (window.metaWindow == metaWindow &&
- window.alert == alert)
+ window.transient == transient)
return;
- let appButton = new AppMenuButton(this, metaWindow, alert);
+ let appButton = new AppMenuButton(this, metaWindow, transient);
this.manager_container.add_actor(appButton.actor);
this._windows.push(appButton);
@@ -1295,7 +1296,7 @@
* workspace. So if we add an AppMenuButton for a window in another
* workspace, put it in the right position. It is at the end by
* default, so move it to the start if needed */
- if (alert) {
+ if (transient) {
if (metaWindow.get_workspace().index() < global.screen.get_active_workspace_index())
this.manager_container.set_child_at_index(appButton.actor, 0);
} else {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cinnamon-5.0.4/js/misc/util.js new/cinnamon-5.0.5/js/misc/util.js
--- old/cinnamon-5.0.4/js/misc/util.js 2021-07-02 17:19:14.000000000 +0200
+++ new/cinnamon-5.0.5/js/misc/util.js 2021-07-14 16:23:43.000000000 +0200
@@ -322,6 +322,11 @@
function fixupPCIDescription(desc) {
desc = desc.replace(/[_,]/, ' ');
+ /* Remove any parenthesized info longer than 2 chars (which
+ may be disambiguating numbers if there are multiple identical
+ cards present) */
+ desc = desc.replace(/\([\s\S][^\(\)]{2,}\)/, '');
+
/* Attempt to shorten ID by ignoring certain phrases */
for (let i = 0; i < _IGNORED_PHRASES.length; i++) {
let item = _IGNORED_PHRASES[i];
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cinnamon-5.0.4/meson.build new/cinnamon-5.0.5/meson.build
--- old/cinnamon-5.0.4/meson.build 2021-07-02 17:19:14.000000000 +0200
+++ new/cinnamon-5.0.5/meson.build 2021-07-14 16:23:43.000000000 +0200
@@ -1,4 +1,4 @@
-project('Cinnamon', 'c', version : '5.0.4', meson_version : '>=0.46.0')
+project('Cinnamon', 'c', version : '5.0.5', meson_version : '>=0.46.0')
gnome = import('gnome')
i18n = import('i18n')