From patchwork Sat May 8 15:29:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 29166 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 1B25B27BC82; Sat, 8 May 2021 16:32:12 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIM_ADSP_ALL, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id D560C27BC81 for ; Sat, 8 May 2021 16:32:11 +0100 (BST) Received: from localhost ([::1]:35370 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lfOw6-0008Ki-U5 for patchwork@mira.cbaines.net; Sat, 08 May 2021 11:32:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50982) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfOv0-0008JF-I1 for guix-patches@gnu.org; Sat, 08 May 2021 11:31:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39302) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lfOv0-0005Q9-9r for guix-patches@gnu.org; Sat, 08 May 2021 11:31:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lfOv0-0002Uu-72 for guix-patches@gnu.org; Sat, 08 May 2021 11:31:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48288] [PATCH] gnu: Add xdg-desktop-portal-wlr. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 08 May 2021 15:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48288 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48288@debbugs.gnu.org Cc: Giacomo Leidi X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16204878129586 (code B ref -1); Sat, 08 May 2021 15:31:02 +0000 Received: (at submit) by debbugs.gnu.org; 8 May 2021 15:30:12 +0000 Received: from localhost ([127.0.0.1]:50845 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfOuB-0002UY-QL for submit@debbugs.gnu.org; Sat, 08 May 2021 11:30:12 -0400 Received: from lists.gnu.org ([209.51.188.17]:36852) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfOu9-0002UQ-Qg for submit@debbugs.gnu.org; Sat, 08 May 2021 11:30:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50728) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfOu9-0008Ag-IL for guix-patches@gnu.org; Sat, 08 May 2021 11:30:09 -0400 Received: from latitanza.investici.org ([2001:888:2000:56::19]:46493) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfOu7-0004lE-59 for guix-patches@gnu.org; Sat, 08 May 2021 11:30:09 -0400 Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4Fcrpy1mrrz8vyM; Sat, 8 May 2021 15:30:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1620487802; bh=KLND78s6tKm4vU3WbgX07Vt9TaOcoYt3QRKQIq2lBKo=; h=From:To:Cc:Subject:Date:From; b=jDhDb6aPGZS5blu1YB4aYu+NQAZoZBP83b1pxGjFenCMU0AEJE/okOWKbaKkRJ8ZY sqg3WFQ/isdlqWhOEvkOwzTf8bk6M1s50V0YRGU1QiKVzpQwuWiDyqMWwWjwoTC/AY ScN67gYt3PvJEnS46CiNt7cN/AOsXq8VNcirT3Wk= Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4Fcrpx6vrLz8vy6; Sat, 8 May 2021 15:30:01 +0000 (UTC) From: Giacomo Leidi Date: Sat, 8 May 2021 17:29:45 +0200 Message-Id: <20210508152945.17190-1-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2001:888:2000:56::19; envelope-from=goodoldpaul@autistici.org; helo=latitanza.investici.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/freedesktop.scm (xdg-desktop-portal-wlr): New variable. --- gnu/packages/freedesktop.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index c82ad230d7..7f8da7f3e4 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -95,6 +95,7 @@ #:use-module (gnu packages python) #:use-module (gnu packages python-crypto) #:use-module (gnu packages python-xyz) + #:use-module (gnu packages samba) #:use-module (gnu packages sqlite) #:use-module (gnu packages valgrind) #:use-module (gnu packages video) @@ -2330,3 +2331,35 @@ which uses GTK+ and various pieces of GNOME infrastructure, such as the @code{org.gnome.Shell.Screenshot} or @code{org.gnome.SessionManager} D-Bus interfaces.") (license license:lgpl2.1+))) + +(define-public xdg-desktop-portal-wlr + (package + (name "xdg-desktop-portal-wlr") + (version "0.3.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/emersion/xdg-desktop-portal-wlr") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "18nlkqqxgxh7k0r2nk867wnp2nmaiinl6z67lrfv7rmiym0x82p8")))) + (build-system meson-build-system) + (native-inputs + `(("cmake" ,cmake) + ("pkg-config" ,pkg-config))) + (inputs + `(("elogind" ,elogind) + ("iniparser" ,iniparser) + ("pipewire" ,pipewire-0.3) + ("wayland" ,wayland) + ("wayland-protocols" ,wayland-protocols))) + (home-page "https://github.com/emersion/xdg-desktop-portal-wlr") + (synopsis "@code{xdg-desktop-portal} backend for wlroots") + (description + "This package provides @code{xdg-desktop-portal-wlr}. This project +seeks to add support for the screenshot, screencast, and possibly +remote-desktop @code{xdg-desktop-portal} interfaces for wlroots based +compositors.") + (license license:expat)))