GNU bug report logs - #58655
[PATCH 2/3] gnu: Add swc.

Previous Next

Package: guix-patches;

Reported by: zamfofex <zamfofex <at> twdb.moe>

Date: Thu, 20 Oct 2022 12:28:03 UTC

Severity: normal

Tags: patch

Merged with 58654, 58656, 58657

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 58655 in the body.
You can then email your comments to 58655 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#58655; Package guix-patches. (Thu, 20 Oct 2022 12:28:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to zamfofex <zamfofex <at> twdb.moe>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 20 Oct 2022 12:28:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: zamfofex <zamfofex <at> twdb.moe>
To: guix-patches <at> gnu.org
Cc: zamfofex <zamfofex <at> twdb.moe>
Subject: [PATCH 2/3] gnu: Add swc.
Date: Thu, 20 Oct 2022 09:25:12 -0300
* 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





Merged 58654 58655 58656 58657. Request was from Tobias Geerinckx-Rice <me <at> tobias.gr> to control <at> debbugs.gnu.org. (Thu, 20 Oct 2022 12:37:01 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org:
bug#58655; Package guix-patches. (Mon, 28 Nov 2022 21:49:02 GMT) Full text and rfc822 format available.

Message #10 received at 58655-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: zamfofex <zamfofex <at> twdb.moe>
Cc: 58654-done <at> debbugs.gnu.org, 58655-done <at> debbugs.gnu.org
Subject: Re: bug#58654: [PATCH 0/3] add velox
Date: Mon, 28 Nov 2022 22:48:23 +0100
[Message part 1 (text/plain, inline)]
Hi,

zamfofex <zamfofex <at> twdb.moe> skribis:

> * gnu/packages/wm.scm (swc): New variable.

Finally applied with the changes below to address ‘guix lint’ warnings.

Thanks and apologies for the delay!

Ludo’.

[Message part 2 (text/x-patch, inline)]
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index f873101615..96b3c3a666 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -2997,14 +2997,15 @@ (define-public swc
       (source (origin
                 (method git-fetch)
                 (uri (git-reference
-                       (url "https://github.com/michaelforney/swc")
-                       (commit commit)))
+                      (url "https://github.com/michaelforney/swc")
+                      (commit commit)))
                 (sha256
-                  (base32
-                    "19rpbwpi81pm92fkhsmbx7pzagpah5m9ih5h5k3m8dy6r8ihdh35"))))
+                 (base32
+                  "19rpbwpi81pm92fkhsmbx7pzagpah5m9ih5h5k3m8dy6r8ihdh35"))
+                (file-name (git-file-name name version))))
       (build-system gnu-build-system)
       (arguments
-       `(#:tests? #f ; no tests
+       `(#:tests? #f                              ;no tests
          #:make-flags
          (list (string-append "CC=" ,(cc-for-target))
                (string-append "PREFIX=" %output))
@@ -3021,7 +3022,7 @@ (define-public swc
                     xcb-util-wm))
       (native-inputs (list pkg-config))
       (home-page "https://github.com/michaelforney/swc")
-      (synopsis "A library for making a simple Wayland compositor")
+      (synopsis "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,

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 27 Dec 2022 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 177 days ago.

Previous Next


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