Balló György pushed to branch main at Arch Linux / Packaging / Packages / 
gnome-shell-extension-dash-to-panel


Commits:
a88944ea by Balló György at 2024-12-28T23:40:37+01:00
upgpkg: 64-3: Update patch to disconnect signal on disable

- - - - -


3 changed files:

- .SRCINFO
- PKGBUILD
- gnome-shell-extension-dash-to-panel-fix-crash-on-shutdown.patch


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = gnome-shell-extension-dash-to-panel
        pkgdesc = Extension for GNOME Shell to combine the dash and main panel
        pkgver = 64
-       pkgrel = 2
+       pkgrel = 3
        url = https://github.com/home-sweet-gnome/dash-to-panel
        arch = any
        license = GPL-2.0-or-later
@@ -14,6 +14,6 @@ pkgbase = gnome-shell-extension-dash-to-panel
        b2sums = 
1df4c413601f5f9e26ccab9e380059cd75230a95ce0c30375c5c109d05a86f142b0d5cf9825d792903b721d79c52ab9c546684069fc8161e4294e6f9d049dcaf
        b2sums = 
710fc53e3f8a8f783261707ec2d9281ab2f8544f4def5fd373738999195c9a76f810cdce1b57711e5f76540d29bd115412ccfb15c072cb11c63d95ee3e9efe69
        b2sums = 
d899985e4a704196463e33808880dccb1227cfb6a5ef0ec3ca1dc8d392299d13842338f7e90ad1f3a89670cacbb7083c7b3b5c429ea245ac6545853c574a6e4d
-       b2sums = 
4cdf88aa2a67d6ef86d9311fab2f26b52d53fa92c53562c93cb7633b7803b9e9fdff5c5ea2a1958f91390f184ee3501c56ac4576b517149dae5324e54e4e248e
+       b2sums = 
528dfe5da6b211fa2cae4fbb29178ad8f53e76821a3fe41788c210178432f50154a8ef6a2be81c3a97875a73bd1f21f6e84ce87cc830248480b689c9fb78b13e
 
 pkgname = gnome-shell-extension-dash-to-panel


=====================================
PKGBUILD
=====================================
@@ -5,7 +5,7 @@
 pkgname=gnome-shell-extension-dash-to-panel
 _pkgname=dash-to-panel
 pkgver=64
-pkgrel=2
+pkgrel=3
 pkgdesc='Extension for GNOME Shell to combine the dash and main panel'
 arch=(any)
 url='https://github.com/home-sweet-gnome/dash-to-panel'
@@ -18,10 +18,12 @@ source=(
   gnome-shell-extension-dash-to-panel-fix-crash-on-close.patch
   gnome-shell-extension-dash-to-panel-fix-crash-on-shutdown.patch
 )
-b2sums=('1df4c413601f5f9e26ccab9e380059cd75230a95ce0c30375c5c109d05a86f142b0d5cf9825d792903b721d79c52ab9c546684069fc8161e4294e6f9d049dcaf'
-        
'710fc53e3f8a8f783261707ec2d9281ab2f8544f4def5fd373738999195c9a76f810cdce1b57711e5f76540d29bd115412ccfb15c072cb11c63d95ee3e9efe69'
-        
'd899985e4a704196463e33808880dccb1227cfb6a5ef0ec3ca1dc8d392299d13842338f7e90ad1f3a89670cacbb7083c7b3b5c429ea245ac6545853c574a6e4d'
-        
'4cdf88aa2a67d6ef86d9311fab2f26b52d53fa92c53562c93cb7633b7803b9e9fdff5c5ea2a1958f91390f184ee3501c56ac4576b517149dae5324e54e4e248e')
+b2sums=(
+  
1df4c413601f5f9e26ccab9e380059cd75230a95ce0c30375c5c109d05a86f142b0d5cf9825d792903b721d79c52ab9c546684069fc8161e4294e6f9d049dcaf
+  
710fc53e3f8a8f783261707ec2d9281ab2f8544f4def5fd373738999195c9a76f810cdce1b57711e5f76540d29bd115412ccfb15c072cb11c63d95ee3e9efe69
+  
d899985e4a704196463e33808880dccb1227cfb6a5ef0ec3ca1dc8d392299d13842338f7e90ad1f3a89670cacbb7083c7b3b5c429ea245ac6545853c574a6e4d
+  
528dfe5da6b211fa2cae4fbb29178ad8f53e76821a3fe41788c210178432f50154a8ef6a2be81c3a97875a73bd1f21f6e84ce87cc830248480b689c9fb78b13e
+)
 
 prepare() {
   cd $_pkgname


=====================================
gnome-shell-extension-dash-to-panel-fix-crash-on-shutdown.patch
=====================================
@@ -1,29 +1,31 @@
-From b6b0c2c57e45a20681c78c1c965016c28e3439f0 Mon Sep 17 00:00:00 2001
+From aafa1f7d6210d93aa0d92db26d0d2678c2c54b45 Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= <[email protected]>
 Date: Sun, 30 Jun 2024 01:53:37 +0200
 Subject: [PATCH] Destroy panel barriers on shutdown
 
 It was being leaked, which is detected on mutter shutdown and caused SIGABRT 
in the Xorg session.
 ---
- panelManager.js | 8 ++++++++
- 1 file changed, 8 insertions(+)
+ panelManager.js | 7 +++++++
+ 1 file changed, 7 insertions(+)
 
 diff --git a/panelManager.js b/panelManager.js
-index 917c91dd..5ddedea7 100755
+index 917c91dd..a17d1287 100755
 --- a/panelManager.js
 +++ b/panelManager.js
-@@ -59,6 +59,14 @@ export const PanelManager = class {
-         this._injectionManager = new InjectionManager();
- 
-         this._saveMonitors();
+@@ -215,9 +215,16 @@ export const PanelManager = class {
+         // keep GS overview.js from blowing away custom panel styles
+         if(!SETTINGS.get_boolean('stockgs-keep-top-panel'))
+             Object.defineProperty(Main.panel, "style", {configurable: true, 
set(v) {}});
 +
-+        global.connect('shutdown', () => {
-+            if (this.allPanels) {
-+                this.allPanels.forEach(p => {
-+                    this._removePanelBarriers(p);
-+                });
-+            }
++        this._shutdownId = global.connect('shutdown', () => {
++            this.allPanels.forEach(p => {
++                this._removePanelBarriers(p);
++            });
 +        });
      }
  
-     enable(reset) {
+     disable(reset) {
++        global.disconnect(this._shutdownId);
+         this.primaryPanel && this.overview.disable();
+         this.proximityManager.destroy();
+ 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/gnome-shell-extension-dash-to-panel/-/commit/a88944eaac337c00a22a7bfc775b6ae39c2a6cd6

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/gnome-shell-extension-dash-to-panel/-/commit/a88944eaac337c00a22a7bfc775b6ae39c2a6cd6
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to