From patchwork Thu Jun 29 10:21:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Ahmad Draidi X-Patchwork-Id: 51420 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 3045027BBE9; Thu, 29 Jun 2023 11:23:27 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id E891227BBE2 for ; Thu, 29 Jun 2023 11:23:25 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qEont-0005Xv-GL; Thu, 29 Jun 2023 06:23:09 -0400 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 1qEonn-0005Uc-2c for guix-patches@gnu.org; Thu, 29 Jun 2023 06:23:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qEonm-0006Ye-Qg for guix-patches@gnu.org; Thu, 29 Jun 2023 06:23:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qEonm-0003hD-DF for guix-patches@gnu.org; Thu, 29 Jun 2023 06:23:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64348] [PATCH] gnu: Add durden. Resent-From: Ahmad Draidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 29 Jun 2023 10:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64348 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64348@debbugs.gnu.org Cc: Ahmad Draidi X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168803413214112 (code B ref -1); Thu, 29 Jun 2023 10:23:02 +0000 Received: (at submit) by debbugs.gnu.org; 29 Jun 2023 10:22:12 +0000 Received: from localhost ([127.0.0.1]:52346 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qEomy-0003fW-1i for submit@debbugs.gnu.org; Thu, 29 Jun 2023 06:22:12 -0400 Received: from lists.gnu.org ([209.51.188.17]:33528) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qEomv-0003fO-PG for submit@debbugs.gnu.org; Thu, 29 Jun 2023 06:22:10 -0400 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 1qEomv-0004rf-2b for guix-patches@gnu.org; Thu, 29 Jun 2023 06:22:09 -0400 Received: from rainycloud.ext.redscript.org ([2402:28c0:4:1081::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qEoms-0006Qg-Ed for guix-patches@gnu.org; Thu, 29 Jun 2023 06:22:08 -0400 Received: from localhost.localdomain (bba-92-96-47-138.alshamil.net.ae [92.96.47.138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by rainycloud.ext.redscript.org (Postfix) with ESMTPSA id B55642E28; Thu, 29 Jun 2023 10:21:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redscript.org; s=mail1-rsa; t=1688034115; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=KlW0+o1+GlWhVc08nY2jqKU4pr8A0gX/iTNH6qfL2n0=; b=wjdEx/t/XvFKfXbsKCX9Kg+KultJHGwRbBr8udH584Eqs4qS6IL25kPT3gdACBg9BXGfsb VQgyjQUHRSKauBmCPy2BMuen7cHBi0qvxnSuEYd221UnDtOOzsKIc1QZc34RETIQRhCj4e I8YbL4qfsyp0KR6DludbmXt9jOgHmhuvVsrFmIMp3U2D9TszWm18OCm19DqhySisUW4xnn CER9JHN+5yMBNNXF4jjIoqcH3DxZQSHXUJPG/yPJuyJqpQVOFMvt5maY7pakiXnzhrATdn tPTntJ6ofIFgvXF/JyDoQGTOazI5lL2511SPGchnycbkaEb6UHz2pHRINfLzqV86TkRdm8 w+pFgrpDeRonlBx8QzkQXx1eElft8X9r6hGW+5G0QUsKFlS/0M07zvTUcnOGeAui/cSGuy Ta4RZYsJs/xmZ4XqIQ2whfdRZKd3/cYIQ35Ken9AOSEKCUi87qlZs4Q50S/OvCyu/aI+rT ERtmwu0Sz/pE4BJ57iaqVOhYByX8Wnc+mZR48YiNu66gmGc/4LroZ8ZFfRP1Ao56XSO81h kTOE4Vsn9hTLa64C3WbN8oUqZKJg/59EgwLYb/NyaNupaYH+TqeNip/4Wwlcm1syxH201B HFgmcLQajWzvEAxqYG6vbXmcM2g9LxK3pm1kZUgamLB0okfd+Oy7I= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=redscript.org; s=mail1-ed25519; t=1688034115; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=KlW0+o1+GlWhVc08nY2jqKU4pr8A0gX/iTNH6qfL2n0=; b=FAnyGh3mw64ONl0kaBsdKzwCJJeN4ICfx0KRHubAuz5cdbK/0wFy8RadJPe8nxO7B0t6Tb 1AXsZXGGDlI1uNCQ== Date: Thu, 29 Jun 2023 14:21:44 +0400 Message-Id: <3136090a794cd91a2500d3979236bfc3701f17d9.1688034098.git.a.r.draidi@redscript.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2402:28c0:4:1081::1; envelope-from=a.r.draidi@redscript.org; helo=rainycloud.ext.redscript.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_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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: , Reply-to: Ahmad Draidi X-ACL-Warn: , Ahmad Draidi via Guix-patches X-Patchwork-Original-From: Ahmad Draidi via Guix-patches via From: Ahmad Draidi Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/arcan.scm (durden): New variable. --- gnu/packages/arcan.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) base-commit: ac86174e22fcd762893bd4515786b1376af9397b diff --git a/gnu/packages/arcan.scm b/gnu/packages/arcan.scm index 7483777ff0..cf85fc95ef 100644 --- a/gnu/packages/arcan.scm +++ b/gnu/packages/arcan.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2019 L p R n d n ;;; Copyright © 2021 Guillaume Le Vaillant +;;; Copyright © 2023 Ahmad Draidi ;;; ;;; This file is part of GNU Guix. ;;; @@ -19,7 +20,9 @@ (define-module (gnu packages arcan) #:use-module (guix build-system cmake) + #:use-module (guix build-system copy) #:use-module (guix build-system gnu) + #:use-module (guix gexp) #:use-module (guix git-download) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) @@ -272,3 +275,37 @@ (define-public arcan-wayland with an Arcan connection point. It allows Wayland compatible clients to connect and render using Arcan.") (license license:bsd-3))) + +(define-public durden + (package + (name "durden") + (version "0.6.1") + (source (origin + (method git-fetch) + (file-name (git-file-name name version)) + (uri (git-reference + (url "https://github.com/letoram/durden") + (commit version))) + (sha256 + (base32 + "03ry8ypsvpjydb9s4c28y3iffz9375pfgwq9q9y68hmj4d89bjvz")))) + (build-system copy-build-system) + (arguments + (list #:install-plan #~'(("durden/" "share/arcan/appl/durden/") + ("distr/durden" "bin/durden")) + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'patch-paths + (lambda* (#:key outputs #:allow-other-keys) + (substitute* "distr/durden" + (("/usr/share/\\$applname") + (string-append (assoc-ref outputs "out") + "/share/arcan/appl")))))))) + (home-page "https://durden.arcan-fe.com/") + (synopsis "Desktop Environment for Arcan") + (description + "Durden is a desktop environment for the Arcan Display Server. +It serves both as a reference showcase on how to take advantage of some of the +features in Arcan, and as an entry to the advanced-user side of the desktop +environment spectrum.") + (license (list license:bsd-3 license:expat license:cc-by3.0 + license:cc-by4.0 license:asl2.0))))