From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id GLMfFbxqDV8vRQAA0tVLHw (envelope-from ) for ; Tue, 14 Jul 2020 08:20:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 2DH0ELxqDV8CeQAAbx9fmQ (envelope-from ) for ; Tue, 14 Jul 2020 08:20:12 +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 DF8069403C9 for ; Tue, 14 Jul 2020 08:20:11 +0000 (UTC) Received: from localhost ([::1]:46566 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jvGAc-0001aS-TW for larch@yhetil.org; Tue, 14 Jul 2020 04:20:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34020) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jvGAU-0001ZL-Vn for guix-patches@gnu.org; Tue, 14 Jul 2020 04:20:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38539) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jvGAU-0008GU-MN for guix-patches@gnu.org; Tue, 14 Jul 2020 04:20:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jvGAU-0003W7-Hp for guix-patches@gnu.org; Tue, 14 Jul 2020 04:20:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42348] [PATCH 2/4] gnu: Add libportal. 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:02 +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.159471474813430 (code B ref 42348); Tue, 14 Jul 2020 08:20:02 +0000 Received: (at 42348) by debbugs.gnu.org; 14 Jul 2020 08:19:08 +0000 Received: from localhost ([127.0.0.1]:50080 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jvG9c-0003US-9w for submit@debbugs.gnu.org; Tue, 14 Jul 2020 04:19:08 -0400 Received: from mail-lj1-f178.google.com ([209.85.208.178]:44052) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jvG9Z-0003Tc-Bg for 42348@debbugs.gnu.org; Tue, 14 Jul 2020 04:19:06 -0400 Received: by mail-lj1-f178.google.com with SMTP id s9so21400205ljm.11 for <42348@debbugs.gnu.org>; Tue, 14 Jul 2020 01:19:05 -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=ZmDYKKV/xAw8gkT8tYdNdqjfYWivF+FVpnsni+sGLnk=; b=ZbmW8pdKiZz57YXMdMTroJA870hjGVrlX6ofP8KA/cQOA0Alde59CfXflhb2itSBCY xqcGW2hs77xEGJ23yslm7vlPZcLgaXLzcP0dpOZalOKG2F9HhKGtYStLhZ48t4Q9W0OY hH0tIo9rAU9TwBWkbVOMZ8laXsstPvRZTFlSqCCnATiZdUKd+L7XlzE+6PdIUMBZO/0w r990L5kefxQ0Nh/QkYZtC/SnRpFoTG9kPrSPWcCAspWwOH0f3tB/ZfhdYAbskqjJIrtG JWoUcYYyklHjHJt+PHNkJmtviPL4Z4ulPhmaqdWABac2pgrLqGDPYGOR/0v4HatbBcDn x1LA== 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=ZmDYKKV/xAw8gkT8tYdNdqjfYWivF+FVpnsni+sGLnk=; b=rpLAzKDbGvQyWvjoqqW5+yJW6U6rg+b6yfAALyXplOH7V2/DY6cn4C3JhZNk3f1lRM q+9S8YnseTatPAjuFvO4bn5WVhsPKc8DGK9CXHTbPOZXwqljVpas7IsudibHhIa5AVCD EN4WU23ESKfT9sM+3zMgfyHNvG52aNJKrf0MgDPvuk+nNSOAU2TbxY/i6X2km7WwNcFC FKN/PyjbxpoAr5Usz+DfnGZj1jCMttX4Fz4AUKp0Y3u4y1X/SMuqPPWhWdauoNQTk4gA Ai6KVqNEAOcMSf4k88TUwlEEkCgtq7LdlU2XJm0skGQJ/T4+ozYOi8h5Dtca6MR1pbAV 8oOA== X-Gm-Message-State: AOAM531SwJdPy6fNzr5ytmQ69H4ZvYvlX8CZUhzWJbag8qhkkgcy9NKB 3bs8pyh8LR5Bec9Y0lQniL4lm3zg1GI= X-Google-Smtp-Source: ABdhPJyiaNrPkfP47XJrcAuG3xk55Y+h40P/y6MTEMaMXAuhU5waQxeIyXubt8F07NO9YHQ00Zvz4w== X-Received: by 2002:a2e:9b41:: with SMTP id o1mr1844405ljj.360.1594714739346; Tue, 14 Jul 2020 01:18:59 -0700 (PDT) Received: from localhost (c80-216-202-233.bredband.comhem.se. [80.216.202.233]) by smtp.gmail.com with ESMTPSA id y24sm5168799lfy.49.2020.07.14.01.18.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jul 2020 01:18:58 -0700 (PDT) From: Anders =?UTF-8?Q?Thun=C3=A9?= Date: Tue, 14 Jul 2020 10:18:52 +0200 Message-Id: <20200714081854.2003-2-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-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 2.2 (++) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: 1.2 (+) 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=ZbmW8pdK; 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: 0.09 X-TUID: ImGEzDQ6qd8h * gnu/packages/freedesktop.scm (libportal): New variable. --- gnu/packages/freedesktop.scm | 45 ++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index 23cd1aabf9..1c5226182b 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -20,6 +20,7 @@ ;;; Copyright © 2020 Jakub Kądziołka ;;; Copyright © 2020 Rene Saavedra ;;; Copyright © 2020 Nicolò Balzarotti +;;; Copyright © 2020 Anders Thuné ;;; ;;; This file is part of GNU Guix. ;;; @@ -1881,3 +1882,47 @@ useful with system integration.") into the Unity menu bar. Based on KSNI, it also works in KDE and will fallback to generic Systray support if none of those are available.") (license license:lgpl2.1+))) + +(define-public libportal + (let ((commit "bff3289") + (revision "1")) + (package + (name "libportal") + (version (git-version "0.3" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/flatpak/libportal") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "104b91qircr1i9jkmm6f725awywky52aimrki303kiaadn2v8b5i")))) + (build-system meson-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'install 'move-doc + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (doc (assoc-ref outputs "doc")) + (html "/share/gtk-doc")) + (copy-recursively (string-append out html) + (string-append doc html)) + (delete-file-recursively (string-append out html)) + #t)))))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("gtk-doc" ,gtk-doc) + ("docbook-xsl" ,docbook-xsl) + ("docbook-xml" ,docbook-xml) + ("libxml2" ,libxml2) + ("glib:bin" ,glib "bin"))) + (propagated-inputs + `(("glib" ,glib))) + (outputs '("out" "doc")) + (home-page "https://github.com/flatpak/libportal") + (synopsis "Flatpak portal library") + (description + "A library providing GIO-style async APIs for most Flatpak portals.") + (license license:lgpl2.1+)))) -- 2.27.0