guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 003eae50f166a4f4fd0cb5da0387aa73afedc069
Author: pinoaffe <[email protected]>
AuthorDate: Mon Sep 22 09:39:07 2025 +0200
gnu: Add birdfont.
* gnu/packages/fontutils.scm (birdfont): New variable.
Closes: guix/guix#2881
Change-Id: I23e297e48cbd6a93ef1be199b1ad3280bd5482f3
Signed-off-by: Steve George <[email protected]>
---
gnu/packages/fontutils.scm | 54 +++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 53 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index d507a79399..42365ec01c 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -19,7 +19,7 @@
;;; Copyright © 2023 gemmaro <[email protected]>
;;; Copyright © 2023 John Kehayias <[email protected]>
;;; Copyright © 2023 Janneke Nieuwenhuizen <[email protected]>
-;;; Copyright © 2023 pinoaffe <[email protected]>
+;;; Copyright © 2023, 2025 pinoaffe <[email protected]>
;;; Copyright © 2023 Liliana Marie Prikler <[email protected]>
;;; Copyright © 2024 Sören Tempel <[email protected]>
;;; Copyright © 2023 Zheng Junjie <[email protected]>
@@ -2249,6 +2249,58 @@ edit the fonts that your GNU/Linux kernel is using to
display your text on text-
based (vs graphical) terminals.")
(license license:gpl3+)))
+(define-public birdfont
+ (package
+ (name "birdfont")
+ (version "2.33.6")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/johanmattssonm/birdfont")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "137qmfjdhs8m06j95iqcdv5hrpp2kf8p6l0sa0jr7vl7ziin65gg"))))
+ (build-system gnu-build-system)
+ (arguments (list
+ #:tests? #f ; no tests
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'configure
+ (lambda* (#:key outputs (configure-flags '())
#:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (apply system*
+ "python3"
+ "configure"
+ ;; Required for RUNPATH validation.
+ (string-append "--ldflags=-Wl,-rpath=" out
"/lib")
+ (string-append "--prefix=" out)
+ configure-flags))))
+ (replace 'build
+ (lambda _ (system* "python3" "build.py")))
+ (replace 'install
+ (lambda _ (system* "python3" "install.py"
"--libdir=/lib"))))))
+ (inputs (list cairo
+ gdk-pixbuf
+ glib
+ gtk+
+ libgee
+ libnotify
+ libsoup
+ sqlite
+ webkitgtk-for-gtk3
+ xmlbird))
+ (native-inputs (list gettext-minimal
+ pkg-config
+ python-doit
+ python-wrapper
+ vala))
+ (home-page "https://github.com/johanmattssonm/birdfont")
+ (synopsis "Font editor for creating fonts in TTF, EOT, and SVG format")
+ (description "Birdfont is a font editor which can create vector graphics
and export
+TTF, EOT, and SVG fonts. It includes a graphical as well as a commandline
interface.")
+ (license license:gpl3)))
(define-public lcdf-typetools
(package