Balló György pushed to branch main at Arch Linux / Packaging / Packages / gnome-shell-extension-dash-to-panel
Commits: 1060a52e by Balló György at 2024-05-12T18:38:32+02:00 Switch to git source - - - - - 3 changed files: - .SRCINFO - PKGBUILD - − gnome-shell-extension-dash-to-panel-menu-button.patch Changes: ===================================== .SRCINFO ===================================== @@ -5,14 +5,13 @@ pkgbase = gnome-shell-extension-dash-to-panel url = https://github.com/home-sweet-gnome/dash-to-panel arch = any license = GPL-2.0-or-later + makedepends = git depends = gnome-shell - source = https://github.com/home-sweet-gnome/dash-to-panel/archive/v62/dash-to-panel-62.tar.gz + source = git+https://github.com/home-sweet-gnome/dash-to-panel.git#tag=v62 source = gnome-shell-extension-dash-to-panel-system-install-paths.patch source = gnome-shell-extension-dash-to-panel-fix-crash-on-close.patch - source = gnome-shell-extension-dash-to-panel-menu-button.patch - sha256sums = b3b23fbcfd37fa6b9bae84820aaa364b1fa2c8acf599d5e3038e242eaac7a74b - sha256sums = b9c247fc8ab7f1ee18ce2c98f8312f86da0340622d4c5daadd3a4579f4213fc5 - sha256sums = d772d9aa2995602e5b11fa9624586d7a1c485fde9b21f046f2cf52e5fb099735 - sha256sums = 3c06765d11e1df3e8b73b96042c1034e7ea153378076293cee8efe2ae7996e43 + b2sums = 6ff7ed4d7a1c4b15458a00b81835f0e901af921be155b8245fad29189ccf6768671d96710e4db1ae5fb72fb55c183f8ad0c17edd2018c1ac6ef60e3f70f36349 + b2sums = 002f42ce10ee78d9feadfed965036600ba4d12904e7ca2d67fda5dbc2c623544fab5c8df644ea371b65dccee1a676d4841ca20e7d0bf04a9ef3e5926feef96f6 + b2sums = d899985e4a704196463e33808880dccb1227cfb6a5ef0ec3ca1dc8d392299d13842338f7e90ad1f3a89670cacbb7083c7b3b5c429ea245ac6545853c574a6e4d pkgname = gnome-shell-extension-dash-to-panel ===================================== PKGBUILD ===================================== @@ -11,33 +11,33 @@ arch=('any') url='https://github.com/home-sweet-gnome/dash-to-panel' license=('GPL-2.0-or-later') depends=('gnome-shell') -source=("https://github.com/home-sweet-gnome/$_pkgname/archive/v$pkgver/$_pkgname-$pkgver.tar.gz" +makedepends=('git') +source=("git+https://github.com/home-sweet-gnome/dash-to-panel.git#tag=v$pkgver" 'gnome-shell-extension-dash-to-panel-system-install-paths.patch' - 'gnome-shell-extension-dash-to-panel-fix-crash-on-close.patch' - 'gnome-shell-extension-dash-to-panel-menu-button.patch') -sha256sums=('b3b23fbcfd37fa6b9bae84820aaa364b1fa2c8acf599d5e3038e242eaac7a74b' - 'b9c247fc8ab7f1ee18ce2c98f8312f86da0340622d4c5daadd3a4579f4213fc5' - 'd772d9aa2995602e5b11fa9624586d7a1c485fde9b21f046f2cf52e5fb099735' - '3c06765d11e1df3e8b73b96042c1034e7ea153378076293cee8efe2ae7996e43') + 'gnome-shell-extension-dash-to-panel-fix-crash-on-close.patch') +b2sums=('6ff7ed4d7a1c4b15458a00b81835f0e901af921be155b8245fad29189ccf6768671d96710e4db1ae5fb72fb55c183f8ad0c17edd2018c1ac6ef60e3f70f36349' + '002f42ce10ee78d9feadfed965036600ba4d12904e7ca2d67fda5dbc2c623544fab5c8df644ea371b65dccee1a676d4841ca20e7d0bf04a9ef3e5926feef96f6' + 'd899985e4a704196463e33808880dccb1227cfb6a5ef0ec3ca1dc8d392299d13842338f7e90ad1f3a89670cacbb7083c7b3b5c429ea245ac6545853c574a6e4d') prepare() { - cd $_pkgname-$pkgver + cd $_pkgname + + # Fix added panel menu button detection + git cherry-pick -n 12675269a860728adea9c962ba67d613376dc397 + # https://github.com/home-sweet-gnome/dash-to-panel/pull/1948 patch -Np1 -i ../gnome-shell-extension-dash-to-panel-system-install-paths.patch # https://github.com/home-sweet-gnome/dash-to-panel/pull/1969 patch -Np1 -i ../gnome-shell-extension-dash-to-panel-fix-crash-on-close.patch - - # https://github.com/home-sweet-gnome/dash-to-panel/commit/12675269a860728adea9c962ba67d613376dc397 - patch -Np1 -i ../gnome-shell-extension-dash-to-panel-menu-button.patch } build() { - cd $_pkgname-$pkgver + cd $_pkgname make } package() { - cd $_pkgname-$pkgver + cd $_pkgname make VERSION="$pkgver" DESTDIR="$pkgdir" install } ===================================== gnome-shell-extension-dash-to-panel-menu-button.patch deleted ===================================== @@ -1,28 +0,0 @@ -From 12675269a860728adea9c962ba67d613376dc397 Mon Sep 17 00:00:00 2001 -From: Charles Gagnon <charles...@outlook.com> -Date: Wed, 3 Apr 2024 21:01:02 -0400 -Subject: [PATCH] Fix added panel menu button detection - ---- - panelManager.js | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -diff --git a/panelManager.js b/panelManager.js -index c76a2720..917c91dd 100755 ---- a/panelManager.js -+++ b/panelManager.js -@@ -202,9 +202,11 @@ export const PanelManager = class { - [ - Main.panel[c], - 'child-added', -- (parent, child) => -- this.primaryPanel && -- this._adjustPanelMenuButton(this._getPanelMenuButton(child), this.primaryPanel.monitor, this.primaryPanel.getPosition()) -+ (parent, child) => { -+ this.primaryPanel && -+ child instanceof St.Bin && -+ this._adjustPanelMenuButton(this._getPanelMenuButton(child.get_first_child()), this.primaryPanel.monitor, this.primaryPanel.getPosition()) -+ } - ] - )); - View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/gnome-shell-extension-dash-to-panel/-/commit/1060a52e78d81182d52e616ffd4f5c9044d2fbe9 -- This project does not include diff previews in email notifications. View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/gnome-shell-extension-dash-to-panel/-/commit/1060a52e78d81182d52e616ffd4f5c9044d2fbe9 You're receiving this email because of your account on gitlab.archlinux.org.