From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id YK1aC7tqDV9WLQAA0tVLHw (envelope-from ) for ; Tue, 14 Jul 2020 08:20:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id cNE0B7tqDV8ZfgAA1q6Kng (envelope-from ) for ; Tue, 14 Jul 2020 08:20:11 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C16F99401CF for ; Tue, 14 Jul 2020 08:20:10 +0000 (UTC) Received: from localhost ([::1]:46694 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jvGAb-0001dv-OE for larch@yhetil.org; Tue, 14 Jul 2020 04:20:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34024) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jvGAV-0001ZS-FW for guix-patches@gnu.org; Tue, 14 Jul 2020 04:20:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38540) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jvGAV-0008GZ-6j for guix-patches@gnu.org; Tue, 14 Jul 2020 04:20:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jvGAV-0003WF-2t for guix-patches@gnu.org; Tue, 14 Jul 2020 04:20:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42348] [PATCH 3/4] gnu: Add xdg-desktop-portal. Resent-From: Anders =?UTF-8?Q?Thun=C3=A9?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 14 Jul 2020 08:20:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42348 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42348@debbugs.gnu.org Cc: Anders =?UTF-8?Q?Thun=C3=A9?= Received: via spool by 42348-submit@debbugs.gnu.org id=B42348.159471474813436 (code B ref 42348); Tue, 14 Jul 2020 08:20:03 +0000 Received: (at 42348) by debbugs.gnu.org; 14 Jul 2020 08:19:08 +0000 Received: from localhost ([127.0.0.1]:50082 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jvG9c-0003UZ-Kb for submit@debbugs.gnu.org; Tue, 14 Jul 2020 04:19:08 -0400 Received: from mail-lj1-f170.google.com ([209.85.208.170]:41492) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jvG9a-0003Tf-SY for 42348@debbugs.gnu.org; Tue, 14 Jul 2020 04:19:07 -0400 Received: by mail-lj1-f170.google.com with SMTP id z24so21401939ljn.8 for <42348@debbugs.gnu.org>; Tue, 14 Jul 2020 01:19:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Tn8wCNctDzqjudTocfmR74ZlHxZ4Y8lJFutd28ipYKU=; b=mZOi7TG/wf0I2bclIq9Max7maBV+8m6Ng5vYOpzAYnZzKn+D8WXykg+mIA85Sad7JC 96gkj0FhEpYF0DyPeVcTuD+K08DdasmaxU53thE4OpnhtjOYtfh1zXEECOJX6cY+P4Ci pIKQfkpOQefnDh95Al9tJ4aUaZ4lOlEn2affXi0gbtBZpmooN3BatQnE1LZ3l+Hdtrg+ NhTy8fzveFirjKDlJMmNp911mqF1jkj22fpHGEXpxRdmbMtUNG0Z8qSDQoJiXiNtbUNw ZvynRVh0JB2y13kDKN7cs+yfDspwYkEXKkRUwXITP3XPSCFZKIdl8OnJzalRJ/HAF9Re x+5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Tn8wCNctDzqjudTocfmR74ZlHxZ4Y8lJFutd28ipYKU=; b=KggDFW++nOAlIoFBYQaLzOOmRjRO9pd92GcojU2t3xKcxYlCPjtPHlYDi7bd5NqfEI sN9Ddph+HlF7v4hhM92e9yneHOpujglHLjLxXZ4Nvz9JfkqUNwYi0JnEsgXLd8Ou+1Ji P7JLfjlQ/7LJTGlfiJOPP6uD+iQ6roy//lmz/TNYjXABw9qcD+tFaVhp2OJfyhiwffK+ 9bO765snxh8U5xADfVXGShjaYMZ1WskpuEjcgF4dHEYdIFzp74yPS1VV9qTarlL5S9JJ SYDBGMHXjaz/jDnRCtvfhDYr1bbam+Hof/JS1Zgs8g1vbBIyJNazil31rkgoMeElEwZv JR5g== X-Gm-Message-State: AOAM530iVOBjqQAs9b47epfZncPhsE0+u0T6zUnJ8W3DqcxRzY7IJ2I5 huqrzfdPtj7Fy0Jdp5xOJbEfJkLNyj8= X-Google-Smtp-Source: ABdhPJwtDtyIivWcJsJjKiLkIGW+Xi0riskv2R9w0II5mnO8HZVjdGNYyA75ZW5Erb2dX8l1fjteSg== X-Received: by 2002:a2e:81c8:: with SMTP id s8mr1741922ljg.281.1594714740775; Tue, 14 Jul 2020 01:19:00 -0700 (PDT) Received: from localhost (c80-216-202-233.bredband.comhem.se. [80.216.202.233]) by smtp.gmail.com with ESMTPSA id t4sm5144289lfp.21.2020.07.14.01.18.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jul 2020 01:19:00 -0700 (PDT) From: Anders =?UTF-8?Q?Thun=C3=A9?= Date: Tue, 14 Jul 2020 10:18:53 +0200 Message-Id: <20200714081854.2003-3-asse.97@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200714081854.2003-1-asse.97@gmail.com> References: <20200714081854.2003-1-asse.97@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -0.8 (/) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=mZOi7TG/; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 4.09 X-TUID: zhX3ffvarTLW * 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