aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris A. Dekshteyn <boris.dekshteyn@gmail.com>2019-08-16 13:47:53 +1200
committerLudovic Courtès <ludo@gnu.org>2019-10-18 12:02:52 +0200
commitad8aaf47f50e3b0360b8c27557753333ae44ad5f (patch)
treead1c2fa82cb284af614c146f7872a66f7fd63237
parente6ea74d86c628c6b5365b69e23c3e5ef3e15c336 (diff)
downloadpatches-ad8aaf47f50e3b0360b8c27557753333ae44ad5f.tar
patches-ad8aaf47f50e3b0360b8c27557753333ae44ad5f.tar.gz
gnu: Add FontManager.
* gnu/packages/fontutils.scm (fontmanager): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/packages/fontutils.scm51
1 files changed, 50 insertions, 1 deletions
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index e355f7bb89..aba6f07537 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -46,6 +46,9 @@
#:use-module (gnu packages xorg)
#:use-module (gnu packages gtk)
#:use-module (gnu packages xml)
+ #:use-module (gnu packages sqlite)
+ #:use-module (gnu packages gnome)
+ #:use-module (gnu packages freedesktop)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
@@ -53,7 +56,8 @@
#:use-module (guix git-download)
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
- #:use-module (guix build-system python))
+ #:use-module (guix build-system python)
+ #:use-module (guix build-system meson))
(define-public freetype
(package
@@ -725,3 +729,48 @@ maintain the Noto Fonts project.")
(license:non-copyleft
"file://sample_texts/attributions.txt"
"See sample_texts/attributions.txt in the distribution.")))))
+
+(define-public fontmanager
+ (package
+ (name "fontmanager")
+ (version "0.7.5")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/FontManager/font-manager")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "16hma8rrkam6ngn5vbdaryn31vdixvii6920g9z928gylz9xkd3g"))))
+ (build-system meson-build-system)
+ (arguments
+ `(#:glib-or-gtk? #t
+ #:build-type "release"
+ #:configure-flags
+ (list (string-append "-Dc_link_args=-Wl,-rpath="
+ (assoc-ref %outputs "out")
+ "/lib/font-manager"))))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)
+ ("vala" ,vala)
+ ("yelp-tools" ,yelp-tools)
+ ("gettext" ,gettext-minimal)
+ ("glib" ,glib "bin")
+ ("gobject-introspection" ,gobject-introspection)
+ ("desktop-file-utils" ,desktop-file-utils)))
+ (inputs
+ `(("json-glib" ,json-glib)
+ ("sqlite-with-column-metadata" ,sqlite-with-column-metadata)
+ ("fonconfig" ,fontconfig)
+ ("freetype" ,freetype)
+ ("gtk+" ,gtk+)))
+ (home-page "https://fontmanager.github.io/")
+ (synopsis "Simple font management for GTK+ desktop environments")
+ (description "Font Manager is intended to provide a way for users to
+easily manage desktop fonts, without having to resort to command-line
+tools or editing configuration files by hand.
+While designed primarily with the GNOME Desktop Environment in mind, it should
+work well with other GTK+ desktop environments.")
+ (license license:gpl3+)))