From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id mAY2MCgdK2dVuwAAqHPOHw:P1 (envelope-from ) for ; Wed, 06 Nov 2024 07:39:20 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id mAY2MCgdK2dVuwAAqHPOHw (envelope-from ) for ; Wed, 06 Nov 2024 08:39:20 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=DAPE4tXr; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=agHUnTh9; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1730878760; a=rsa-sha256; cv=none; b=r5BCprOOOYjPfkhJfgTdTEvluqdMjyLzhhrfp+X9F7/sQuxLkhA2abK/u8I/aYfbCnss8X h/dGSgf5nlmBEHRD5butQ4suuMT/FjoVw8ycCu+1dESjshhNQRUa4BJRVnTCo/lfK5CxLJ zEp+o2BfppHAzJ0JFJfj7pK5ckI1FrCD7S65nMqR2X+4xJGwklBPhB7IHotZWpnv/EhNxr p+QHfOsy12kKttgLpALNp3vEG+SIHBwpNXRt2eqPSuNyyY05okqEI1wCulpQ0rBN19+48O 0O0uJFhDu3OkmmUenBp2vppZIbbh7kGAUY8PJAUwXFBZI/bnKiAEWyHJbRiAsg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=DAPE4tXr; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=agHUnTh9; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1730878760; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=3rYcQO3YysmPgQlJBY3FSoJFcY5iML1Akdy9otnHM7U=; b=kQw6TAEBn/CFCUncNNfqUk1c6D0VMUVoaSQ5EXTXNCJSVIxB+ac7SmUvnNh5w1hocXeQ40 eTWQRH9sGrR1Vmi+wkI1PJ+XbnL3DuMNXXFgP2LQiQ/Qd2OE0dDu+WLVfyCUICL6dSBzZf hXADASw0S9gQPfRnPbJ/XBeVVlBicr1sRp6rnHbmY17PDq96KX5e/23WfzDTlBRqqTRaYh JFQLxomhq8hTI29ASY/WVk/XYa0qBMPTqFUV23Rl3GIkI+bQ7+DHnHoxWzafRIVy44prHg YfjYwrgvfeiqezjbtGfFiQGZEZrZiieQ3G4qBvOiGgq03SzOqcfEzIlGZ9wwIA== 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 6F05C60E79 for ; Wed, 06 Nov 2024 08:39:20 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t8acM-0008JG-MF; Wed, 06 Nov 2024 02:38:18 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t8ac9-0008Fe-OE for guix-patches@gnu.org; Wed, 06 Nov 2024 02:38:07 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t8ac9-0003mI-G0 for guix-patches@gnu.org; Wed, 06 Nov 2024 02:38:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=3rYcQO3YysmPgQlJBY3FSoJFcY5iML1Akdy9otnHM7U=; b=DAPE4tXrBGdZeZ58qrbFx+OALigNmxG4NA1mVC+io0via7Vsf0++UbwOYMRqQi+Iu8m1JaHs/QARJdtnKcn7WLUq6R9Iguf6yIRTwIneipyUPAS8McRuo0Z2KWizFGSBgWZxc02skI4RzuRzjS21RxuGP5IZJTUGAiGR3lPY5zrmVvb4WTcO0BE0wrZ5JpQWWAbAwRLZ2OEQfALBgZ3pWbwTXjS6FJxRxmu/5mZ5L2JC6MXhkmd0xmLfvYHwEd/GRkJjwqjXScclwddlIDjDjgiXnSkGpWVIVrJKN+AoQFnNiQGZLlFy1+jWmUom3083SttZR7oSzN1Yd8FFhTSMYA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t8ac9-0000eB-Al for guix-patches@gnu.org; Wed, 06 Nov 2024 02:38:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74223] [PATCH 09/11] gnu: Add xdg-desktop-portal-hyprland. Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 06 Nov 2024 07:38:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74223 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74223@debbugs.gnu.org Cc: Hilton Chain , Ryan Schanzenbacher Received: via spool by 74223-submit@debbugs.gnu.org id=B74223.17308786352354 (code B ref 74223); Wed, 06 Nov 2024 07:38:05 +0000 Received: (at 74223) by debbugs.gnu.org; 6 Nov 2024 07:37:15 +0000 Received: from localhost ([127.0.0.1]:39112 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8abL-0000bn-0c for submit@debbugs.gnu.org; Wed, 06 Nov 2024 02:37:15 -0500 Received: from mail.boiledscript.com ([144.168.59.46]:43368) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8abG-0000aQ-VX for 74223@debbugs.gnu.org; Wed, 06 Nov 2024 02:37:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1730878630; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3rYcQO3YysmPgQlJBY3FSoJFcY5iML1Akdy9otnHM7U=; b=agHUnTh9lAJ9QEmUCXHVk+GwPpuPtbdp11U+aPiUb7RiuvMGW/s8eqn5eHH9hSdym4C1si tRjQvNAvEj1UtnaygHOJV9SEv4hpCNtXLUwRUSzaBG6wXLjfaLVg/sW/BUj3VCG/Ma/CQk vmOFtnL1C8shHlZWnmJq8eEY1Ij7YFjI5Qdqfxh+EdRO0vnNssG7U2A8CqJjdUY9TSMvyT piZ1OyuE6bNtf1pSPfIvD/aZmLP0a7IYcmOcsdwh/g/6s5I1FC6SWSMakqmO7eiKCQTxje +7finvH9BWdIA7RFMmaEosU+k2o/L2ox/I/ZxT22FRyy/G8BjmRemUKJ045yzA== Date: Wed, 6 Nov 2024 15:36:25 +0800 Message-ID: <3fd8afbd7d61de3707161cefc1e770882ed09b98.1730877074.git.hako@ultrarare.space> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spamd-Bar: ----- 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: , Reply-to: Hilton Chain X-ACL-Warn: , Hilton Chain via Guix-patches From: Hilton Chain via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 1.06 X-Spam-Score: 1.06 X-Migadu-Queue-Id: 6F05C60E79 X-Migadu-Scanner: mx12.migadu.com X-TUID: kDKxUgQY22ft From: Ryan Schanzenbacher * gnu/packages/freedesktop.scm (xdg-desktop-portal-hyprland): New variable. Co-authored-by: Hilton Chain Change-Id: If8c413319b089ed5d8d75aa0503f886a81697278 --- gnu/packages/freedesktop.scm | 52 ++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index 7969603613..43ebecabbb 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -83,6 +83,7 @@ (define-module (gnu packages freedesktop) #:use-module (gnu packages check) #:use-module (gnu packages cmake) #:use-module (gnu packages compression) + #:use-module (gnu packages cpp) #:use-module (gnu packages crypto) #:use-module (gnu packages cryptsetup) #:use-module (gnu packages cups) @@ -141,6 +142,7 @@ (define-module (gnu packages freedesktop) #:use-module (gnu packages virtualization) #:use-module (gnu packages w3m) #:use-module (gnu packages web) + #:use-module (gnu packages wm) #:use-module (gnu packages xdisorg) #:use-module (gnu packages xml) #:use-module (gnu packages xorg) @@ -3193,6 +3195,56 @@ (define-public xdg-desktop-portal-gtk interfaces.") (license license:lgpl2.1+))) +(define-public xdg-desktop-portal-hyprland + (package + (name "xdg-desktop-portal-hyprland") + (version "1.3.6") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/hyprwm/xdg-desktop-portal-hyprland") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "17ba9jkccyp8gv79ds70khgm5wm6x8zs5m9nkilq4n2j7fsa8cfl")))) + (build-system qt-build-system) + (arguments + (list #:tests? #f ;No tests + #:qtbase qtbase + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'fix-path + (lambda* (#:key inputs #:allow-other-keys) + (substitute* (find-files "." "\\.cp?*$") + (("/bin/sh") "sh") + (("\\<(sh|grim|hyprctl|slurp)\\>" _ cmd) + (search-input-file inputs (string-append "bin/" cmd)))) + (substitute* "src/shared/ScreencopyShared.cpp" + (("\\<(hyprland-share-picker)\\>" _ cmd) + (string-append #$output "/bin/" cmd)))))))) + (native-inputs + (list gcc-13 hyprwayland-scanner pkg-config)) + (inputs + (list bash-minimal + grim + hyprland + hyprland-protocols + hyprlang + hyprutils + mesa + pipewire + qtwayland + sdbus-c++ + slurp + wayland + wayland-protocols)) + (home-page "https://github.com/hyprwm/xdg-desktop-portal-hyprland") + (synopsis "Hyprland implementation of @code{xdg-desktop-portal} backend") + (description + "This package provides an @code{xdg-desktop-portal} backend for Hyprland.") + (license license:bsd-3))) + (define-public xdg-desktop-portal-kde (package (name "xdg-desktop-portal-kde") -- 2.46.0