public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Matt Turner" <mattst88@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-extra/gnome-shell-extensions/files/, gnome-extra/gnome-shell-extensions/
Date: Mon, 10 May 2021 00:52:59 +0000 (UTC)	[thread overview]
Message-ID: <1620607970.35e3514030b905e16a44074ea4aee6a8e7fef30c.mattst88@gentoo> (raw)

commit:     35e3514030b905e16a44074ea4aee6a8e7fef30c
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Mon May 10 00:52:12 2021 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Mon May 10 00:52:50 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35e35140

gnome-extra/gnome-shell-extensions: Add patch to fix compatibility

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 ...owsNavigator-Adjust-to-gnome-shell-change.patch | 43 ++++++++++++++++++++++
 ...build => gnome-shell-extensions-40.0-r1.ebuild} |  4 ++
 2 files changed, 47 insertions(+)

diff --git a/gnome-extra/gnome-shell-extensions/files/40.0-windowsNavigator-Adjust-to-gnome-shell-change.patch b/gnome-extra/gnome-shell-extensions/files/40.0-windowsNavigator-Adjust-to-gnome-shell-change.patch
new file mode 100644
index 00000000000..9e335b781aa
--- /dev/null
+++ b/gnome-extra/gnome-shell-extensions/files/40.0-windowsNavigator-Adjust-to-gnome-shell-change.patch
@@ -0,0 +1,43 @@
+From e094dead91389c4a5f602e5bef2747ad5e73e8bd Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
+Date: Thu, 8 Apr 2021 16:38:40 +0200
+Subject: [PATCH] windowsNavigator: Adjust to gnome-shell change
+
+Parts of WindowPreview were moved to C for performance reasons, which
+turned a formerly private JS property into a GObject property.
+
+https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/issues/302
+
+Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/170>
+---
+ extensions/windowsNavigator/extension.js | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/extensions/windowsNavigator/extension.js b/extensions/windowsNavigator/extension.js
+index 0ea9645..bb72d7b 100644
+--- a/extensions/windowsNavigator/extension.js
++++ b/extensions/windowsNavigator/extension.js
+@@ -84,17 +84,17 @@ class MyWorkspace extends Workspace.Workspace {
+             });
+ 
+             this._text.add_constraint(new Clutter.BindConstraint({
+-                source: this._windowContainer,
++                source: this.windowContainer,
+                 coordinate: Clutter.BindCoordinate.POSITION,
+             }));
+             this._text.add_constraint(new Clutter.AlignConstraint({
+-                source: this._windowContainer,
++                source: this.windowContainer,
+                 align_axis: Clutter.AlignAxis.X_AXIS,
+                 pivot_point: new Graphene.Point({ x: 0.5, y: -1 }),
+                 factor: this._closeButtonSide === St.Side.LEFT ? 1 : 0,
+             }));
+             this._text.add_constraint(new Clutter.AlignConstraint({
+-                source: this._windowContainer,
++                source: this.windowContainer,
+                 align_axis: Clutter.AlignAxis.Y_AXIS,
+                 pivot_point: new Graphene.Point({ x: -1, y: 0.5 }),
+                 factor: 0,
+-- 
+2.26.3
+

diff --git a/gnome-extra/gnome-shell-extensions/gnome-shell-extensions-40.0.ebuild b/gnome-extra/gnome-shell-extensions/gnome-shell-extensions-40.0-r1.ebuild
similarity index 95%
rename from gnome-extra/gnome-shell-extensions/gnome-shell-extensions-40.0.ebuild
rename to gnome-extra/gnome-shell-extensions/gnome-shell-extensions-40.0-r1.ebuild
index 3c33ad2de50..1d9b5892655 100644
--- a/gnome-extra/gnome-shell-extensions/gnome-shell-extensions-40.0.ebuild
+++ b/gnome-extra/gnome-shell-extensions/gnome-shell-extensions-40.0-r1.ebuild
@@ -35,6 +35,10 @@ BDEPEND="
 	virtual/pkgconfig
 "
 
+PATCHES=(
+	"${FILESDIR}"/${PV}-windowsNavigator-Adjust-to-gnome-shell-change.patch
+)
+
 DISABLE_AUTOFORMATTING="yes"
 DOC_CONTENTS="Installed extensions installed are initially disabled by default.
 To change the system default and enable some extensions, you can use


             reply	other threads:[~2021-05-10  0:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-10  0:52 Matt Turner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-02-03  9:05 [gentoo-commits] repo/gentoo:master commit in: gnome-extra/gnome-shell-extensions/files/, gnome-extra/gnome-shell-extensions/ Sam James
2021-07-16  8:17 Pacho Ramos
2019-09-06 21:47 Mart Raudsepp
2016-01-10 18:30 Pacho Ramos
2015-12-26 15:28 Pacho Ramos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1620607970.35e3514030b905e16a44074ea4aee6a8e7fef30c.mattst88@gentoo \
    --to=mattst88@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox