From: "Anders Thuné" <asse.97@gmail.com>
To: 42348@debbugs.gnu.org
Cc: "Anders Thuné" <asse.97@gmail.com>
Subject: [bug#42348] [PATCH 3/4] gnu: Add xdg-desktop-portal.
Date: Tue, 14 Jul 2020 10:18:53 +0200 [thread overview]
Message-ID: <20200714081854.2003-3-asse.97@gmail.com> (raw)
In-Reply-To: <20200714081854.2003-1-asse.97@gmail.com>
* gnu/packages/freedesktop.scm (xdg-desktop-portal): New variable.
---
gnu/packages/freedesktop.scm | 48 ++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 1c5226182b..5572ef4da5 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -61,6 +61,7 @@
#:use-module (gnu packages disk)
#:use-module (gnu packages docbook)
#:use-module (gnu packages documentation)
+ #:use-module (gnu packages fontutils)
#:use-module (gnu packages gawk)
#:use-module (gnu packages gettext)
#:use-module (gnu packages ghostscript)
@@ -78,6 +79,7 @@
#:use-module (gnu packages man)
#:use-module (gnu packages m4)
#:use-module (gnu packages nss)
+ #:use-module (gnu packages package-management)
#:use-module (gnu packages perl)
#:use-module (gnu packages perl-check)
#:use-module (gnu packages pkg-config)
@@ -1926,3 +1928,49 @@ fallback to generic Systray support if none of those are available.")
(description
"A library providing GIO-style async APIs for most Flatpak portals.")
(license license:lgpl2.1+))))
+
+(define-public xdg-desktop-portal
+ (package
+ (name "xdg-desktop-portal")
+ (version "1.7.2")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/flatpak/xdg-desktop-portal")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0rkwpsmbn3d3spkzc2zsd50l2r8pp4la390zcpsawaav8w7ql7xm"))))
+ (build-system gnu-build-system)
+ (native-inputs
+ `(("pkg-config" ,pkg-config)
+ ("autoconf" ,autoconf)
+ ("automake" ,automake)
+ ("libtool" ,libtool)
+ ("glib:bin" ,glib "bin")
+ ("which" ,which)
+ ("gettext" ,gettext-minimal)))
+ (inputs
+ `(("glib" ,glib)
+ ("flatpak" ,flatpak)
+ ("fontconfig" ,fontconfig)
+ ("json-glib" ,json-glib)
+ ("libportal" ,libportal)
+ ("dbus" ,dbus)
+ ("geoclue" ,geoclue)
+ ("pipewire" ,pipewire-0.3)
+ ("fuse" ,fuse)))
+ (home-page "https://github.com/flatpak/xdg-desktop-portal")
+ (synopsis "Desktop integration portal for sandboxed apps")
+ (description
+ "A portal frontend service for Flatpak and possibly other desktop
+containment frameworks.
+
+xdg-desktop-portal works by exposing a series of D-Bus interfaces known as
+portals under a well-known name (org.freedesktop.portal.Desktop) and object
+path (/org/freedesktop/portal/desktop).
+
+The portal interfaces include APIs for file access, opening URIs, printing
+and others.")
+ (license license:lgpl2.1+)))
--
2.27.0
next prev parent reply other threads:[~2020-07-14 8:20 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-13 23:20 [bug#42348] [PATCH 0/4] Add xdg-desktop-portal Anders Thuné
2020-07-14 7:58 ` Giovanni Biscuolo
2020-07-14 8:16 ` Anders Thuné
2020-07-14 13:02 ` Giovanni Biscuolo
2020-07-14 8:18 ` [bug#42348] [PATCH 1/4] gnu: Add pipewire-0.3 Anders Thuné
2020-07-14 8:18 ` [bug#42348] [PATCH 2/4] gnu: Add libportal Anders Thuné
2020-07-14 8:18 ` Anders Thuné [this message]
2020-07-14 8:18 ` [bug#42348] [PATCH 4/4] gnu: Add xdg-desktop-portal-gtk Anders Thuné
2020-07-27 9:55 ` bug#42348: [PATCH 0/4] Add xdg-desktop-portal Ludovic Courtès
2020-08-01 20:02 ` [bug#42348] " Anders Thuné
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=20200714081854.2003-3-asse.97@gmail.com \
--to=asse.97@gmail.com \
--cc=42348@debbugs.gnu.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.