git: 4390eca330bc - main - x11/gnome-shell: update to 47.10

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Tue, 16 Sep 2025 09:37:13 UTC
The branch main has been updated by fluffy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4390eca330bc2eaad5a4d7b8d84496b6a5654756

commit 4390eca330bc2eaad5a4d7b8d84496b6a5654756
Author:     Olivier Duchateau <duchateau.olivier@gmail.com>
AuthorDate: 2025-09-14 14:41:41 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2025-09-16 09:36:16 +0000

    x11/gnome-shell: update to 47.10
    
    Note: this is the latest release of 47.x
    
    Release notes:  https://download.gnome.org/sources/gnome-shell/47/gnome-shell-47.9.news \
                    https://download.gnome.org/sources/gnome-shell/47/gnome-shell-47.10.news
    PR:             288779
---
 x11/gnome-shell/Makefile          |  5 ++---
 x11/gnome-shell/distinfo          |  6 +++---
 x11/gnome-shell/files/xprofile.in | 25 +++++++++++++++----------
 3 files changed, 20 insertions(+), 16 deletions(-)

diff --git a/x11/gnome-shell/Makefile b/x11/gnome-shell/Makefile
index 75a9f06a0e42..eb43216e27ee 100644
--- a/x11/gnome-shell/Makefile
+++ b/x11/gnome-shell/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	gnome-shell
-PORTVERSION=	47.8
-PORTREVISION=	1
+PORTVERSION=	47.10
 CATEGORIES=	x11 gnome
 MASTER_SITES=	GNOME
 DIST_SUBDIR=	gnome
@@ -37,7 +36,7 @@ CPE_VENDOR=	gnome
 USE_GNOME=	atk evolutiondataserver3 gdkpixbuf glib20 \
 		gnomedesktop4 gnomecontrolcenter3 gtk40 introspection \
 		libxml2 libxslt:build
-USE_XORG=	x11 xfixes
+USE_XORG=	x11 xfixes xext
 
 PORTSCOUT=	limit:^47\.
 
diff --git a/x11/gnome-shell/distinfo b/x11/gnome-shell/distinfo
index 0dedebf54cb1..72647c61e07a 100644
--- a/x11/gnome-shell/distinfo
+++ b/x11/gnome-shell/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1751312448
-SHA256 (gnome/gnome-shell-47.8.tar.xz) = 42d19a2ff449ce0cb139ec240b4a969d8df9ad7c9b938364461a0360f1c3a028
-SIZE (gnome/gnome-shell-47.8.tar.xz) = 2142660
+TIMESTAMP = 1757857239
+SHA256 (gnome/gnome-shell-47.10.tar.xz) = 5174d25bb05d35f3612498efc33a1de533fc4e0f39e3eb377fd09591c94a10e6
+SIZE (gnome/gnome-shell-47.10.tar.xz) = 2144616
diff --git a/x11/gnome-shell/files/xprofile.in b/x11/gnome-shell/files/xprofile.in
index 00c1ed131e99..fb2f001c9742 100644
--- a/x11/gnome-shell/files/xprofile.in
+++ b/x11/gnome-shell/files/xprofile.in
@@ -1,15 +1,20 @@
 #!/bin/sh
 
-# Set $XDG_RUNTIME_DIR
-_user_id=$(id -u)
-if [ -d "/var/run/user/${_user_id}" ]; then
-    XDG_RUNTIME_DIR="/var/run/user/${_user_id}"
-    export XDG_RUNTIME_DIR
+_version=$(sysctl kern.osreldate | awk -F " " '{printf("%s", $2);}')
 
-    if [ ! -d "/var/run/user/${_user_id}" ]; then
-        mkdir "/var/run/user/${_user_id}/pulse"
-    fi
-fi
+# Set $XDG_RUNTIME_DIR (uncomment if use with login manager other than gdm)
+#if [ ${_version} -gt 1401000 ]; then
+#    _user_id=$(id -un)
+#    if [ -d "/var/run/xdg/${_user_id}" ]; then
+#        XDG_RUNTIME_DIR="/var/run/xdg/${_user_id}"
+#    fi
+#else
+#    _user_id=$(id -u)
+#    if [ -d "/var/run/user/${_user_id}" ]; then
+#        XDG_RUNTIME_DIR="/var/run/user/${_user_id}"
+#    fi
+#fi
+#export XDG_RUNTIME_DIR
 
 # Set environment variables for D-Bus session services
 if command -v dbus-update-activation-environment >/dev/null 2>&1 ; then
@@ -60,7 +65,7 @@ fi
 
 # Unlock gnome-keyring-daemon
 if test -n "$DESKTOP_SESSION" ; then
-    SSH_AUTH_SOCK="/var/run/user/${_user_id}/keyring/ssh"
+    SSH_AUTH_SOCK="${XDG_RUNTIME_DIR}/keyring"
 
     # If .xinitrc is used, uncomment the next line
     #eval $(gnome-keyring-daemon --start --components=pkc11,secrets,ssh)