unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: iyzsong--- via Guix-patches via <guix-patches@gnu.org>
To: 71544@debbugs.gnu.org
Cc: 宋文武 <iyzsong@member.fsf.org>
Subject: [bug#71544] [PATCH 2/2] gnu: Add drawterm-wayland.
Date: Fri, 14 Jun 2024 12:27:51 +0800	[thread overview]
Message-ID: <730c76b4abe71901bd53396ce5928fb8fb36eb66.1718339095.git.iyzsong@member.fsf.org> (raw)
In-Reply-To: <cover.1718339095.git.iyzsong@member.fsf.org>

From: 宋文武 <iyzsong@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





  parent reply	other threads:[~2024-06-14  4:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-14  4:25 [bug#71544] [PATCH 0/2] drawterm update and drawterm-wayland package iyzsong--- via Guix-patches via
2024-06-14  4:27 ` [bug#71544] [PATCH 1/2] gnu: drawterm: Update to 20240523-1.8391a9e iyzsong--- via Guix-patches via
2024-06-14  4:27 ` iyzsong--- via Guix-patches via [this message]
2024-06-14 11:51 ` [bug#71544] [PATCH] gnu: simde: Update to 0.8.2 iyzsong--- via Guix-patches via
2024-06-20  6:53   ` bug#71549: " jgart via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=730c76b4abe71901bd53396ce5928fb8fb36eb66.1718339095.git.iyzsong@member.fsf.org \
    --to=guix-patches@gnu.org \
    --cc=71544@debbugs.gnu.org \
    --cc=iyzsong@envs.net \
    --cc=iyzsong@member.fsf.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).