[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/08: gnu: Add berry.
From: |
guix-commits |
Subject: |
04/08: gnu: Add berry. |
Date: |
Tue, 19 Jul 2022 17:32:54 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 5d66756662d03e568d7204cd2a90d4e89d2dd9d7
Author: jgart <jgart@dismail.de>
AuthorDate: Sun Jul 10 03:17:35 2022 -0500
gnu: Add berry.
* gnu/packages/wm.scm (berry): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/wm.scm | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 57 insertions(+)
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 8fef7de77b..f27f8af8d4 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -2715,6 +2715,63 @@ which do not support it.")
(description "wlogout is a logout menu for Wayland environments.")
(license license:expat)))
+(define-public berry
+ (package
+ (name "berry")
+ (version "0.1.11")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jlervin/berry")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1qyq3g0m7rb9gpk1i5kfy9nr8sqivjiilbi4g0nw4d400rblvkbj"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:tests? #f ; There are no tests.
+ #:make-flags
+ ,#~(list (string-append "CC=" #$(cc-for-target))
+ (string-append "prefix=" #$output)
+ (string-append "CFLAGS="
+ "-I" (assoc-ref %build-inputs "freetype")
+ "/include/freetype2"))
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure)
+ (add-after 'build 'install-xsession
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((output (assoc-ref outputs "out"))
+ (xsessions (string-append output "/share/xsessions")))
+ (mkdir-p xsessions)
+ (with-output-to-file (string-append xsessions "/berry.desktop")
+ (lambda _
+ (format #t
+ "\
+[Desktop Entry]~@
+Name=berry~@
+Comment=Berry Window Manager~@
+Exec=~a/bin/berry~@
+TryExec=~@*~a/bin/berry~@
+Icon=~@
+Type=Application~%"
+ output)))))))))
+ (native-inputs
+ (list pkg-config))
+ (inputs
+ (list freetype
+ fontconfig
+ libxext
+ libx11
+ libxft
+ libxinerama))
+ (home-page "https://berrywm.org/")
+ (synopsis "Healthy, byte-sized window manager")
+ (description
+ "@code{berry} is a healthy, bite-sized window manager written in C using
XLib.")
+ (license license:expat)))
+
(define-public avizo
(package
(name "avizo")
- branch master updated (dbf0987971 -> 22530b2645), guix-commits, 2022/07/19
- 03/08: gnu: Add glop, guix-commits, 2022/07/19
- 01/08: gnu: Add python-clrprint., guix-commits, 2022/07/19
- 02/08: gnu: Add python-bsdiff4., guix-commits, 2022/07/19
- 05/08: gnu: Add texlive-generic-babel-norsk., guix-commits, 2022/07/19
- 06/08: gnu: Add texlive-babel-danish., guix-commits, 2022/07/19
- 07/08: gnu: gaupol: Update to 1.11., guix-commits, 2022/07/19
- 04/08: gnu: Add berry.,
guix-commits <=
- 08/08: gnu: flameshot: Update to 12.1.0., guix-commits, 2022/07/19