From nobody Fri Mar 21 14:30:36 2025 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4ZK4cM1x7Rz5rHwC; Fri, 21 Mar 2025 14:30:43 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZK4cL5mpMz46dp; Fri, 21 Mar 2025 14:30:42 +0000 (UTC) (envelope-from jbeich@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1742567442; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=jGUao4zbCYXo6IhbeJiOyoe6EOdTROZyx/911SMv1yU=; b=lS539sOOnFGu6FU9RY01H5G5VJmdg7fXxq7WReLvPmfi18dYiAgJekgwvNEREEkPfvsxKl 2NeaR2BZIXNukt4m7Z/OA6efZ1JevFT/lHNtzy9BcjK3M/8YUbhJz6ZZkegyazIo7zEUmf 5j64jsuXmZj4S56vZhQL6F7TLRxjW/R0XBojs2bSkbsB5Dye8V9bK69Xwi3BIfZ5Iys8wW n9fCFyRnNi3EMJt6NkkajqT1JF8t/kYTNeAg91nzp4NIBXUgw4iIxvMqxIpPm1nCRkvV9K OF6IsRvOk7GdTfi10GY9SXpscMh88G4Fr9lasWscJ15iWiRoiNEjTxvvvHWqIg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1742567442; a=rsa-sha256; cv=none; b=B/z1inxh8G91pZyGZxhXToGTFnSHiUb3xjxT72sYSI/fT4VdPzD1/QEkIO+w8GL/Kj1puq ugk3+k06leo8/2jRfleoNeahkX9JpBJjeCY3rx01a6/Xl8lYkMxYasD5c+sjIVXyFIT1nA qCISaIQ4em9Cl/1AvtZ7NVrDzhI2hGWSv4qWm+H87snUa5bOvGw5QmItbQdXjypnswvz/p dOOVMIbgH2xCa2walYGmXw60MWchJZvpOomc+GgKzrQxLy1ODf+KzOENbQyoKaju5jjeev 7XZVCIFSnU+/RBnsx+wV/TbGP901Cr1+rFeOCsNt1IDfKL20HQCrhvMyecfxVA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1742567442; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=jGUao4zbCYXo6IhbeJiOyoe6EOdTROZyx/911SMv1yU=; b=U8MR7AFe3eoUJICj+E453A76pXwElDaBxfmVk0o6KKK9hYsXUR1R1xZKJ/ZcKhlD7uMKQO 0ya3k/j7aXZ1dxV1oVIc4cw9GAHDQIMKwgokUTOfIoRYVco9wF9GbG63qFC0oMvpL2J6Uv JitUqeYllxrIapmgfQty8DckWxf9il7H6QpFs8TdYLYFYn76F1J2hkb8UfmIAS0owr1yEd tY9ik8B7P88oVOt5FyFZh0t6SXZVE/NGEUEERYxjQE4ElMoidJm5XT5Vtwy7fXe4e+5lBA TCHDxgaDsnyVDBJbIDzc5E5Ay5lcGYHvhjZufUaVGRXyjWRBru6X+yRhodnN/A== Received: by freefall.freebsd.org (Postfix, from userid 1354) id BCF88E2F0; Fri, 21 Mar 2025 14:30:42 +0000 (UTC) From: Jan Beich To: Gleb Popov Cc: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: Re: git: d9c63d9e7e80 - main - sysutils/consolekit2: Pull in commit adding GetSession method In-Reply-To: <202503210645.52L6jjGI081246@gitrepo.freebsd.org> (Gleb Popov's message of "Fri, 21 Mar 2025 06:45:45 GMT") References: <202503210645.52L6jjGI081246@gitrepo.freebsd.org> Date: Fri, 21 Mar 2025 15:30:36 +0100 Message-ID: List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Gleb Popov writes: > -GH_TAGNAME= 70b5f7d6f710377f288b4723a32923290dc16501 > +GH_TAGNAME= fbf7045c8d83b0c3f08535577aa2365bf9b250bf Does GetSession support auto instead of SessionN as argument? See https://github.com/ConsoleKit2/ConsoleKit2/issues/151 $ dbus-send --system --dest=org.freedesktop.ConsoleKit \ --type=method_call --print-reply --reply-timeout=2000 \ /org/freedesktop/ConsoleKit/Manager \ org.freedesktop.ConsoleKit.Manager.GetSession string:Session1 method return time=[...] sender=:1.75 -> destination=:1.149 serial=195 reply_serial=2 object path "/org/freedesktop/ConsoleKit/Session1" $ dbus-send --system --dest=org.freedesktop.ConsoleKit \ --type=method_call --print-reply --reply-timeout=2000 \ /org/freedesktop/ConsoleKit/Manager \ org.freedesktop.ConsoleKit.Manager.GetSession string:auto Error org.freedesktop.ConsoleKit.Manager.Error.General: Unable to find session for ID --=-=-= Content-Type: text/plain Content-Disposition: inline; filename=hypridle-getsession.diff Content-Description: x11/hypridle: switch to GetSession after d9c63d9e7e80 >From 45e535adf6fd542019dcbdd11f63bd545ba39888 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Fri, 21 Mar 2025 14:36:26 +0100 Subject: [PATCH] x11/hypridle: switch to GetSession after d9c63d9e7e80 --- x11/hypridle/Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/x11/hypridle/Makefile b/x11/hypridle/Makefile index f57788955fd0..36fb02b2da92 100644 --- a/x11/hypridle/Makefile +++ b/x11/hypridle/Makefile @@ -1,7 +1,7 @@ PORTNAME= hypridle DISTVERSIONPREFIX= v DISTVERSION= 0.1.5 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org @@ -31,8 +31,6 @@ post-patch: @${REINPLACE_CMD} -e 's,/login1,/ConsoleKit/Manager,' \ -e 's,login1,ConsoleKit,' \ -e 's,logind,consolekit2,' \ - -e 's,GetSession,&ByPID,' \ - -e 's,"auto",uint32_t{getpid()},' \ ${WRKSRC}/src/core/Hypridle.cpp .include --=-=-=--