From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 2ADVGsJqDV/uQgAA0tVLHw (envelope-from ) for ; Tue, 14 Jul 2020 08:20:18 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id kA+uFsJqDV8hMAAAB5/wlQ (envelope-from ) for ; Tue, 14 Jul 2020 08:20:18 +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 19A3D9403AB for ; Tue, 14 Jul 2020 08:20:18 +0000 (UTC) Received: from localhost ([::1]:47096 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jvGAj-0001oQ-3g for larch@yhetil.org; Tue, 14 Jul 2020 04:20:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34032) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jvGAV-0001Zh-TD for guix-patches@gnu.org; Tue, 14 Jul 2020 04:20:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38541) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jvGAV-0008Gd-JF 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-0003WO-FT for guix-patches@gnu.org; Tue, 14 Jul 2020 04:20:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42348] [PATCH 4/4] gnu: Add xdg-desktop-portal-gtk. 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.159471475213447 (code B ref 42348); Tue, 14 Jul 2020 08:20:03 +0000 Received: (at 42348) by debbugs.gnu.org; 14 Jul 2020 08:19:12 +0000 Received: from localhost ([127.0.0.1]:50084 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jvG9f-0003Up-UZ for submit@debbugs.gnu.org; Tue, 14 Jul 2020 04:19:12 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:42243) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jvG9c-0003Ty-4m for 42348@debbugs.gnu.org; Tue, 14 Jul 2020 04:19:08 -0400 Received: by mail-lj1-f196.google.com with SMTP id h22so21396262lji.9 for <42348@debbugs.gnu.org>; Tue, 14 Jul 2020 01:19:08 -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=VyyV1bkvJOR9tu0AAlhZMZ3aBydTJCJnkrBKSk+JXbk=; b=eirmMn+O6lbjKKaC5AHazKkn1454A6NvKLdBvxkcZhCbmtrbjl42MrZjCD7V2+SmeO zG15LEmA6Oon234A9LEpZ4hnqLAp74PNF/MHnwS5kgSjaHNhTm3J6rSGOJtt/IN75jhz 0TG1KsqdvvjyxiCCPQ+XjCO1mSVbyzEF+EQhOUrzj+aig3pR68lP7G8086qNW4Hape8k UTzKuYhNb1tDBBvMX/12fGcnebs8jVjXdw36k9s31R1Fjqpm4bmCp91a59kye1R1yvca 6xmPmRwtohiPCErCRp85WrAYYMmozlGJIrch1MGvUlv2f7y5QF9UXQrpNFGD34SwhyhQ FeOw== 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=VyyV1bkvJOR9tu0AAlhZMZ3aBydTJCJnkrBKSk+JXbk=; b=FFiw5M84YH6EmmqHaX2F4YCN088ueM9UbZwIIKJrWKVOmu9UJ//lMIZOvtKFUKwoR4 4ii4zWv1chwG41H+I0LKCAs7WFCWyvannN0a7UYyWXLO5Vgd5P8PLXR3Ay302sDkOw1Z VPE9/k0DAhrxiTjnspsX7O1i9GjNlly51R1Zff4ex6lBmLLGafABYNF4eaUZunxN+duT aTFDUdr/tpPGrdITYY+CbnPu2lulHFlvxzur5jbO6ndGm3YDX5zRcx8noUJPNTDoEpKc 9lXIPatDsI1FUKM8G/oH5TAUszmSb2LrT+eW6q1h9Uf1PQQHh5EJnZUhA2vy0PZy5NbW PL+A== X-Gm-Message-State: AOAM532xlrsc64roOEgqvIPQUZurzcUOzcT0bSuFotju8Ie1DUP2UBHx SFPwuupCXMIpIA1kKsofUrvpmTi3XYM= X-Google-Smtp-Source: ABdhPJwRzNjf/4YPmrQRFdPRkl1//7/RKjQ+qtwMcpdima0DIqToddWUNZHBIbRKNHQv2GeDSmwgEA== X-Received: by 2002:a2e:a54a:: with SMTP id e10mr1814673ljn.198.1594714742029; Tue, 14 Jul 2020 01:19:02 -0700 (PDT) Received: from localhost (c80-216-202-233.bredband.comhem.se. [80.216.202.233]) by smtp.gmail.com with ESMTPSA id b6sm4520937ljj.89.2020.07.14.01.19.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jul 2020 01:19:01 -0700 (PDT) From: Anders =?UTF-8?Q?Thun=C3=A9?= Date: Tue, 14 Jul 2020 10:18:54 +0200 Message-Id: <20200714081854.2003-4-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=eirmMn+O; 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: qN+pA8qyCyhp * gnu/packages/freedesktop.scm (xdg-desktop-portal-gtk): New variable. --- gnu/packages/freedesktop.scm | 51 ++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index 5572ef4da5..a8e097d760 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -48,6 +48,7 @@ #:use-module (guix build-system meson) #:use-module (guix build-system perl) #:use-module (guix build-system python) + #:use-module (guix build-system glib-or-gtk) #:use-module (gnu packages) #:use-module (gnu packages acl) #:use-module (gnu packages admin) @@ -1974,3 +1975,53 @@ path (/org/freedesktop/portal/desktop). The portal interfaces include APIs for file access, opening URIs, printing and others.") (license license:lgpl2.1+))) + +(define-public xdg-desktop-portal-gtk + (package + (name "xdg-desktop-portal-gtk") + (version "1.7.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/flatpak/xdg-desktop-portal-gtk") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "183iha9dxmvprn99ymgz17jx1lyn1fj5jyj6ghxl716zn9mxmird")))) + (build-system glib-or-gtk-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'po-chmod + (lambda _ + ;; Make sure 'msgmerge' can modify the PO files. + (for-each (lambda (po) + (chmod po #o666)) + (find-files "po" "\\.po$"))))))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("autoconf" ,autoconf) + ("automake" ,automake) + ("libtool" ,libtool) + ("xdg-desktop-portal" ,xdg-desktop-portal) + ("glib:bin" ,glib "bin") + ("which" ,which) + ("gettext" ,gettext-minimal))) + (inputs + `(("glib" ,glib) + ("gtk" ,gtk+) + ("fontconfig" ,fontconfig) + ("gnome-desktop" ,gnome-desktop) + ("gsettings-desktop-schemas" ,gsettings-desktop-schemas))) + (native-search-paths + (list (search-path-specification + (variable "XDG_DESKTOP_PORTAL_DIR") + (files '("share/xdg-desktop-portal/portals"))))) + (home-page "https://github.com/flatpak/xdg-desktop-portal-gtk") + (synopsis "Gtk implementation of xdg-desktop-portal") + (description + "A backend implementation for xdg-desktop-portal which uses GTK+ and +various pieces of GNOME infrastructure, such as the org.gnome.Shell.Screenshot +or org.gnome.SessionManager D-Bus interfaces.") + (license license:lgpl2.1+))) -- 2.27.0