summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpinoaffe <pinoaffe@gmail.com>2025-09-22 09:39:07 +0200
committerSteve George <steve@futurile.net>2026-02-14 21:34:27 +0000
commit003eae50f166a4f4fd0cb5da0387aa73afedc069 (patch)
treee91a30897ec5d18f45a6eeb903b311466ce09f28
parent87a7c9272dce3959bec84f616b30e628dc175979 (diff)
gnu: Add birdfont.
* gnu/packages/fontutils.scm (birdfont): New variable. Closes: guix/guix#2881 Change-Id: I23e297e48cbd6a93ef1be199b1ad3280bd5482f3 Signed-off-by: Steve George <steve@futurile.net>
-rw-r--r--gnu/packages/fontutils.scm54
1 files changed, 53 insertions, 1 deletions
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index d507a79399c..42365ec01cc 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -19,7 +19,7 @@
;;; Copyright © 2023 gemmaro <gemmaro.dev@gmail.com>
;;; Copyright © 2023 John Kehayias <john.kehayias@protonmail.com>
;;; Copyright © 2023 Janneke Nieuwenhuizen <janneke@gnu.org>
-;;; Copyright © 2023 pinoaffe <pinoaffe@gmail.com>
+;;; Copyright © 2023, 2025 pinoaffe <pinoaffe@gmail.com>
;;; Copyright © 2023 Liliana Marie Prikler <liliana.prikler@gmail.com>
;;; Copyright © 2024 Sören Tempel <soeren@soeren-tempel.net>
;;; Copyright © 2023 Zheng Junjie <873216071@qq.com>
@@ -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