From: zamfofex <zamfofex@twdb.moe>
To: 58655@debbugs.gnu.org
Cc: zamfofex <zamfofex@twdb.moe>
Subject: [bug#58655] [PATCH 2/3] gnu: Add swc.
Date: Thu, 20 Oct 2022 09:25:12 -0300 [thread overview]
Message-ID: <189e15e5a0cc583fddd0c5ffc094298543af25c9.1666268609.git.zamfofex@twdb.moe> (raw)
In-Reply-To: <cover.1666268609.git.zamfofex@twdb.moe>
* gnu/packages/wm.scm (swc): New variable.
---
gnu/packages/wm.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 94dfd28f4a..d5c5dc4ed2 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -2966,3 +2966,48 @@ (define-public wld
(synopsis "A primitive drawing library targeted at Wayland")
(description "wld is a drawing library that targets Wayland.")
(license license:expat))))
+
+(define-public swc
+ (let ((commit "a7b615567f83d9e48d585251015048c441ca0239")
+ (revision "1"))
+ (package
+ (name "swc")
+ (version (git-version "0" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/michaelforney/swc")
+ (commit commit)))
+ (sha256
+ (base32
+ "19rpbwpi81pm92fkhsmbx7pzagpah5m9ih5h5k3m8dy6r8ihdh35"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:tests? #f ; no tests
+ #:make-flags
+ (list (string-append "CC=" ,(cc-for-target))
+ (string-append "PREFIX=" %output))
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure))))
+ (inputs (list libdrm
+ libinput
+ libxcb
+ libxkbcommon
+ wayland
+ wayland-protocols
+ wld
+ xcb-util-wm))
+ (native-inputs (list pkg-config))
+ (home-page "https://github.com/michaelforney/swc")
+ (synopsis "A library for making a simple Wayland compositor")
+ (description "swc is a small Wayland compositor implemented as a library.
+
+It has been designed primarily with tiling window managers in mind. Additionally,
+notable features include:
+@itemize
+@item Easy to follow code base
+@item XWayland support
+@item Can place borders around windows
+@end itemize")
+ (license license:expat))))
--
2.38.0
next prev parent reply other threads:[~2022-10-20 14:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-20 12:25 [bug#58654] [PATCH 0/3] add velox zamfofex
2022-10-20 12:25 ` [bug#58657] [PATCH 1/3] gnu: Add wld zamfofex
2022-11-18 13:51 ` bug#58657: " Ludovic Courtès
2022-10-20 12:25 ` zamfofex [this message]
2022-11-28 21:48 ` [bug#58654] [PATCH 0/3] add velox Ludovic Courtès
2022-10-20 12:25 ` [bug#58656] [PATCH 3/3] gnu: Add velox zamfofex
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=189e15e5a0cc583fddd0c5ffc094298543af25c9.1666268609.git.zamfofex@twdb.moe \
--to=zamfofex@twdb.moe \
--cc=58655@debbugs.gnu.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).