Balló György pushed to branch main at Arch Linux / Packaging / Packages / gnome-commander
Commits: 55384b8e by Balló György at 2025-04-25T21:29:45+02:00 upgpkg: 1.18.2-1: Update to new release - - - - - 3 changed files: - .SRCINFO - PKGBUILD - + gnome-commander-prgname.patch Changes: ===================================== .SRCINFO ===================================== @@ -1,7 +1,7 @@ pkgbase = gnome-commander pkgdesc = Graphical two-pane filemanager for GNOME - pkgver = 1.18.1 - pkgrel = 3 + pkgver = 1.18.2 + pkgrel = 1 url = https://gcmd.github.io/ arch = x86_64 license = GPL-2.0-or-later @@ -26,8 +26,10 @@ pkgbase = gnome-commander depends = pango depends = poppler-glib depends = taglib - source = git+https://gitlab.gnome.org/GNOME/gnome-commander.git?signed#tag=1.18.1 + source = git+https://gitlab.gnome.org/GNOME/gnome-commander.git?signed#tag=1.18.2 + source = gnome-commander-prgname.patch validpgpkeys = 7627E6FCECF4FC066A03B673F50A89A3ADE4C6E8 - b2sums = 573070af651d6acb9b5d7a12987228222f6ec36f1a11e6a755f69fd1c5a30cc5dc15f6c91093d4368515060cc13ef4c2a5e65424ba8372e608b405836539875e + b2sums = 9a9ef4ce4ef4152de834bb84a224feef00a89cb648ac433f0ca07339b6c3e7f29001c3adedb15b1a94fd0c01e5634da0f6e457321a02a5cff1d67060eafe4793 + b2sums = 62e7453c198dcbd7da3d7705bb5284c260de25c2de2f66703b19ffd17cd88116974cf8b236f92d9521f4eae5fa2f5589a4e6d2e425d4b265520af11d0847728a pkgname = gnome-commander ===================================== PKGBUILD ===================================== @@ -6,8 +6,8 @@ # Contributor: Johannes Sjolund <j.sjol...@gmail.com> pkgname=gnome-commander -pkgver=1.18.1 -pkgrel=3 +pkgver=1.18.2 +pkgrel=1 pkgdesc='Graphical two-pane filemanager for GNOME' arch=(x86_64) url='https://gcmd.github.io/' @@ -37,10 +37,26 @@ makedepends=( smbclient ) checkdepends=(xorg-server-xvfb) -source=("git+https://gitlab.gnome.org/GNOME/gnome-commander.git?signed#tag=$pkgver") -b2sums=(573070af651d6acb9b5d7a12987228222f6ec36f1a11e6a755f69fd1c5a30cc5dc15f6c91093d4368515060cc13ef4c2a5e65424ba8372e608b405836539875e) +source=( + "git+https://gitlab.gnome.org/GNOME/gnome-commander.git?signed#tag=$pkgver" + gnome-commander-prgname.patch +) +b2sums=( + 9a9ef4ce4ef4152de834bb84a224feef00a89cb648ac433f0ca07339b6c3e7f29001c3adedb15b1a94fd0c01e5634da0f6e457321a02a5cff1d67060eafe4793 + 62e7453c198dcbd7da3d7705bb5284c260de25c2de2f66703b19ffd17cd88116974cf8b236f92d9521f4eae5fa2f5589a4e6d2e425d4b265520af11d0847728a +) validpgpkeys=(7627E6FCECF4FC066A03B673F50A89A3ADE4C6E8) # Uwe Scholz <u.schol...@gmx.de> +prepare() { + cd $pkgname + + # Don't check for pixbufloader-xpm; we build gdk-pixbuf2 with xpm support + git revert -n 9077d4423f0ca0b02fc6000b8ff95d7fac1d4b74 + + # https://gitlab.gnome.org/GNOME/gnome-commander/-/merge_requests/274 + git apply -3 ../gnome-commander-prgname.patch +} + build() { arch-meson $pkgname build meson compile -C build ===================================== gnome-commander-prgname.patch ===================================== @@ -0,0 +1,29 @@ +From 38fa728f17f53005a9c2dd200ee80ad1bfd1bdbb Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= <ballog...@gmail.com> +Date: Fri, 25 Apr 2025 19:01:36 +0000 +Subject: [PATCH] Set prgname to application ID + +Using the application ID ensures that Wayland compositors could match the +window with the application and show the appropriate icon for them. +--- + src/gnome-cmd-application.cc | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/src/gnome-cmd-application.cc b/src/gnome-cmd-application.cc +index e38de0d27..d5b0e3d43 100644 +--- a/src/gnome-cmd-application.cc ++++ b/src/gnome-cmd-application.cc +@@ -77,6 +77,10 @@ static void gnome_cmd_application_startup(GApplication *application) + if (debug_flags && strchr(debug_flags,'a')) + debug_flags = g_strdup("cdfgiklmnpstuvwyzx"); + ++ // set prgname to app ID, needed for Wayland ++ g_set_prgname ("org.gnome.gnome-commander"); ++ g_set_application_name (_("GNOME Commander")); ++ + // disable beeping for the application + g_object_set (gtk_settings_get_default (), "gtk-error-bell", FALSE, NULL); + +-- +GitLab + View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/gnome-commander/-/commit/55384b8e8b672a890ef9428bb9861d74c50ea77c -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/gnome-commander/-/commit/55384b8e8b672a890ef9428bb9861d74c50ea77c You're receiving this email because of your account on gitlab.archlinux.org.