From: jgart via Guix-patches via <guix-patches@gnu.org>
To: 56477@debbugs.gnu.org
Cc: jgart <jgart@dismail.de>
Subject: [bug#56477] [PATCH] gnu: Add berry.
Date: Sun, 10 Jul 2022 03:17:35 -0500 [thread overview]
Message-ID: <20220710081735.9815-1-jgart@dismail.de> (raw)
* gnu/packages/wm.scm (berry): New variable.
---
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 @@ (define-public wlogout
(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")
--
2.37.0
next reply other threads:[~2022-07-10 8:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-10 8:17 jgart via Guix-patches via [this message]
2022-07-19 21:06 ` bug#56477: [PATCH] gnu: Add berry Ludovic Courtès
2022-07-21 23:12 ` [bug#56477] " 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220710081735.9815-1-jgart@dismail.de \
--to=guix-patches@gnu.org \
--cc=56477@debbugs.gnu.org \
--cc=jgart@dismail.de \
/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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.