GNU bug report logs - #71544
[PATCH 0/2] drawterm update and drawterm-wayland package

Previous Next

Package: guix-patches;

Reported by: iyzsong <at> envs.net

Date: Fri, 14 Jun 2024 04:27:01 UTC

Severity: normal

Tags: patch

Done: 宋文武 <iyzsong <at> envs.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: iyzsong <at> envs.net
To: 71544 <at> debbugs.gnu.org
Cc: 宋文武 <iyzsong <at> member.fsf.org>
Subject: [bug#71544] [PATCH 2/2] gnu: Add drawterm-wayland.
Date: Fri, 14 Jun 2024 12:27:51 +0800
From: 宋文武 <iyzsong <at> member.fsf.org>

* gnu/packages/plan9.scm (drawterm-wayland): New variable.

Change-Id: Ice435f5a0d44df61974bf2e028fe364e98a89d80
---
 gnu/packages/plan9.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/plan9.scm b/gnu/packages/plan9.scm
index 34df16c369..584b25a3c8 100644
--- a/gnu/packages/plan9.scm
+++ b/gnu/packages/plan9.scm
@@ -28,7 +28,11 @@ (define-module (gnu packages plan9)
   #:use-module (gnu packages bash)
   #:use-module (gnu packages commencement)
   #:use-module (gnu packages fontutils)
+  #:use-module (gnu packages freedesktop)
+  #:use-module (gnu packages linux)
   #:use-module (gnu packages perl)
+  #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages xorg))
 
 (define-public drawterm
@@ -71,6 +75,20 @@ (define-public drawterm
 reconstruct a Plan 9 terminal-like experience from a non-Plan 9 system.")
       (license license:expat))))
 
+(define-public drawterm-wayland
+  (package
+    (inherit drawterm)
+    (name "drawterm-wayland")
+    (arguments
+     (substitute-keyword-arguments (package-arguments drawterm)
+       ((#:make-flags _)
+        `(list "CONF=linux"
+               ,(string-append "CC=" (cc-for-target))))))
+    (native-inputs
+     (list pkg-config))
+    (inputs
+     (list libxkbcommon pipewire wayland wayland-protocols wlr-protocols))))
+
 (define-public plan9port
   ;; no releases
   (let ((commit "f8681acb374fa0d5ed1568dbedb00a4abe1ca6f1")
-- 
2.41.0





This bug report was last modified 302 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.