public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/xdg-desktop-portal/, sys-apps/xdg-desktop-portal/files/
Date: Fri, 28 Feb 2025 12:08:46 +0000 (UTC)	[thread overview]
Message-ID: <1740744428.97e7889ff8bd49e52fe72d5408ccd4bf6659ee22.sam@gentoo> (raw)

commit:     97e7889ff8bd49e52fe72d5408ccd4bf6659ee22
Author:     Anna (navi) Figueiredo Gomes <navi <AT> vlhl <DOT> dev>
AuthorDate: Thu Feb 27 10:51:00 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> 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 <navi <AT> vlhl.dev>
Signed-off-by: Sam James <sam <AT> 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


             reply	other threads:[~2025-02-28 12:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-28 12:08 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-19 22:50 [gentoo-commits] repo/gentoo:master commit in: sys-apps/xdg-desktop-portal/, sys-apps/xdg-desktop-portal/files/ Sam James
2023-10-14  2:26 Sam James
2023-09-22  6:40 Andrew Ammerlaan
2021-01-23  0:25 Andreas Sturmlechner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1740744428.97e7889ff8bd49e52fe72d5408ccd4bf6659ee22.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox