From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2392D1582EF for ; Fri, 28 Feb 2025 12:08:50 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 05E7C3431AB for ; Fri, 28 Feb 2025 12:08:50 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 01F8F1102C9; Fri, 28 Feb 2025 12:08:49 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id E8E601102C9 for ; Fri, 28 Feb 2025 12:08:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 99D863431AB for ; Fri, 28 Feb 2025 12:08:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CA4FA2731 for ; Fri, 28 Feb 2025 12:08:46 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1740744428.97e7889ff8bd49e52fe72d5408ccd4bf6659ee22.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/xdg-desktop-portal/, sys-apps/xdg-desktop-portal/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/xdg-desktop-portal/files/xdg-desktop-portal.initd sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.18.4-r1.ebuild sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.18.4.ebuild X-VCS-Directories: sys-apps/xdg-desktop-portal/files/ sys-apps/xdg-desktop-portal/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 97e7889ff8bd49e52fe72d5408ccd4bf6659ee22 X-VCS-Branch: master Date: Fri, 28 Feb 2025 12:08:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: afeaf5dd-f3ca-45c2-a37d-4c8475c2b7ca X-Archives-Hash: 6fcbf0d3f4ced544aa872e58f5f5c05e commit: 97e7889ff8bd49e52fe72d5408ccd4bf6659ee22 Author: Anna (navi) Figueiredo Gomes vlhl dev> AuthorDate: Thu Feb 27 10:51:00 2025 +0000 Commit: Sam James gentoo org> CommitDate: Fri Feb 28 12:07:08 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97e7889f sys-apps/xdg-desktop-portal: add user initd Signed-off-by: Anna (navi) Figueiredo Gomes vlhl.dev> Signed-off-by: Sam James gentoo.org> sys-apps/xdg-desktop-portal/files/xdg-desktop-portal.initd | 11 +++++++++++ ...rtal-1.18.4.ebuild => xdg-desktop-portal-1.18.4-r1.ebuild} | 6 ++++-- sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.18.4.ebuild | 2 +- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/sys-apps/xdg-desktop-portal/files/xdg-desktop-portal.initd b/sys-apps/xdg-desktop-portal/files/xdg-desktop-portal.initd new file mode 100644 index 000000000000..5fe428be554f --- /dev/null +++ b/sys-apps/xdg-desktop-portal/files/xdg-desktop-portal.initd @@ -0,0 +1,11 @@ +#!/sbin/openrc-run +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License, v2 or later + +depend() { + need dbus +} + +DBUS_SESSION_BUS_ADDRESS="unix:path=${XDG_RUNTIME_DIR}/bus" +supervisor=supervise-daemon +command="/usr/libexec/xdg-desktop-portal" diff --git a/sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.18.4.ebuild b/sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.18.4-r1.ebuild similarity index 94% copy from sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.18.4.ebuild copy to sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.18.4-r1.ebuild index 995a8b46daf0..6948deab963d 100644 --- a/sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.18.4.ebuild +++ b/sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.18.4-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -13,7 +13,7 @@ SRC_URI="https://github.com/flatpak/${PN}/releases/download/${PV}/${P}.tar.xz" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv x86" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" IUSE="geolocation flatpak seccomp systemd test" RESTRICT="!test? ( test )" # Upstream expect flatpak to be used w/ seccomp and flatpak needs bwrap anyway @@ -99,6 +99,8 @@ src_install() { # for minimalist WMs etc. insinto /usr/share/xdg-desktop-portal newins "${FILESDIR}"/default-portals.conf portals.conf + exeinto /etc/user/init.d + newexe "${FILESDIR}"/xdg-desktop-portal.initd xdg-desktop-portal } pkg_postinst() { diff --git a/sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.18.4.ebuild b/sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.18.4.ebuild index 995a8b46daf0..86612571b2ab 100644 --- a/sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.18.4.ebuild +++ b/sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.18.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8