1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2013, 2014, 2015 Andreas Enge <andreas@enge.fr>
3 ;;; Copyright © 2014, 2016 Eric Bavier <bavier@member.fsf.org>
4 ;;; Copyright © 2016 Mark H Weaver <mhw@netris.org>
5 ;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
6 ;;; Copyright © 2017 Rene Saavedra <rennes@openmailbox.org>
7 ;;; Copyright © 2017 Leo Famulari <leo@famulari.name>
8 ;;; Copyright © 2017 ng0 <ng0@n0.is>
9 ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
10 ;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net>
11 ;;; Copyright © 2018, 2019 Ludovic Courtès <ludo@gnu.org>
12 ;;; Copyright © 2019 Marius Bakke <mbakke@fastmail.com>
14 ;;; This file is part of GNU Guix.
16 ;;; GNU Guix is free software; you can redistribute it and/or modify it
17 ;;; under the terms of the GNU General Public License as published by
18 ;;; the Free Software Foundation; either version 3 of the License, or (at
19 ;;; your option) any later version.
21 ;;; GNU Guix is distributed in the hope that it will be useful, but
22 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
23 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24 ;;; GNU General Public License for more details.
26 ;;; You should have received a copy of the GNU General Public License
27 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
29 (define-module (gnu packages fontutils)
30 #:use-module (gnu packages)
31 #:use-module (gnu packages compression)
32 #:use-module (gnu packages check)
33 #:use-module (gnu packages ghostscript)
34 #:use-module (gnu packages linux)
35 #:use-module (gnu packages perl)
36 #:use-module (gnu packages pkg-config)
37 #:use-module (gnu packages autotools)
38 #:use-module (gnu packages gettext)
39 #:use-module (gnu packages python)
40 #:use-module (gnu packages python-xyz)
41 #:use-module (gnu packages image)
42 #:use-module (gnu packages bison)
43 #:use-module (gnu packages flex)
44 #:use-module (gnu packages glib)
45 #:use-module (gnu packages gperf)
46 #:use-module (gnu packages xorg)
47 #:use-module (gnu packages gtk)
48 #:use-module (gnu packages xml)
49 #:use-module (gnu packages sqlite)
50 #:use-module (gnu packages gnome)
51 #:use-module (gnu packages freedesktop)
52 #:use-module ((guix licenses) #:prefix license:)
53 #:use-module (guix packages)
54 #:use-module (guix download)
55 #:use-module (guix svn-download)
56 #:use-module (guix git-download)
57 #:use-module (guix build-system cmake)
58 #:use-module (guix build-system gnu)
59 #:use-module (guix build-system python)
60 #:use-module (guix build-system meson))
62 (define-public freetype
68 (uri (string-append "mirror://savannah/freetype/freetype-"
71 "0vx2dg1jh5kq34dd6ifpjywkpapp8a7p1bvyq9yq5zi1i94gmnqn"))))
72 (build-system gnu-build-system)
74 ;; The use of "freetype-config" is deprecated, but other packages still
76 `(#:configure-flags (list "--enable-freetype-config")))
78 `(("pkg-config" ,pkg-config)))
80 ;; These are all in the Requires.private field of freetype2.pc.
84 (synopsis "Font rendering library")
86 "Freetype is a library that can be used by applications to access the
87 contents of font files. It provides a uniform interface to access font files.
88 It supports both bitmap and scalable formats, including TrueType, OpenType,
89 Type1, CID, CFF, Windows FON/FNT, X11 PCF, and others. It supports high-speed
90 anti-aliased glyph bitmap generation with 256 gray levels.")
91 (license license:freetype) ; some files have other licenses
92 (home-page "https://www.freetype.org/")))
94 (define-public ttfautohint
101 (uri (string-append "mirror://savannah/freetype/ttfautohint-"
105 "1lgghck46p33z3hg8dnl76jryig4fh6d8rhzms837zp7x4hyfkv4"))
106 (patches (list (search-patch "ttfautohint-source-date-epoch.patch")))))
107 (build-system gnu-build-system)
111 ("pkg-config" ,pkg-config)))
113 `(("freetype" ,freetype)
114 ("harfbuzz" ,harfbuzz)))
116 `(#:configure-flags '("--with-qt=no"))) ;no gui
117 (synopsis "Automated font hinting")
119 "ttfautohint provides a 99% automated hinting process and a platform for
120 finely hand-hinting the last 1%. It is ideal for web fonts and supports many
122 (license (list license:gpl2+ license:freetype)) ;choose one or the other
123 (home-page "http://www.freetype.org/ttfautohint/")))
125 (define-public woff-tools
128 (version "2009.10.04")
132 ;; Upstream source is unversioned, so use Debian's versioned tarball
133 (uri (string-append "mirror://debian/pool/main/w/woff-tools/"
134 "woff-tools_" version ".orig.tar.gz"))
135 (file-name (string-append name "-" version ".tar.gz"))
138 "1i97gkqa6jfzlslsngqf556kx60knlgf7yc9pzsq2pizc6f0d4zl"))))
139 (build-system gnu-build-system)
143 `(#:make-flags '("CC=gcc")
144 #:tests? #f ;no tests
146 (modify-phases %standard-phases
147 (delete 'configure) ;no configuration
149 (lambda* (#:key outputs #:allow-other-keys)
150 (let* ((out (assoc-ref outputs "out"))
151 (bin (string-append out "/bin")))
152 (install-file "sfnt2woff" bin)
153 (install-file "woff2sfnt" bin)))))))
154 (synopsis "Convert between OpenType and WOFF fonts")
156 "This package provides two tools:
159 Converts OpenType fonts to WOFF fonts
161 Converts WOFF fonts to OpenType fonts
163 (license (list license:mpl1.1 license:gpl2+ license:lgpl2.1+))
164 (home-page "https://people.mozilla.com/~jkew/woff/")))
166 (define-public ttf2eot
174 (url "https://github.com/wget/ttf2eot.git")
175 (commit (string-append "v" version))))
176 (file-name (git-file-name name version))
179 "0l2yh2ialx7135pjzhjs204kk3br7zxjr09zwaia493by2adzigr"))
180 (patches (list (search-patch "ttf2eot-cstddef.patch")))))
181 (build-system gnu-build-system)
183 `(#:tests? #f ; no tests
185 (modify-phases %standard-phases
186 (delete 'configure) ; no configuration
187 (replace 'install ; no install target
188 (lambda* (#:key outputs #:allow-other-keys)
189 (let* ((out (assoc-ref outputs "out"))
190 (bin (string-append out "/bin")))
191 (install-file "ttf2eot" bin)
193 (synopsis "Convert from TrueType to Embeddable Open Type")
195 "This package contains a commandline wrapper around OpenTypeUtilities.cpp
196 from Chromium, used to make EOT (Embeddable Open Type) files from
197 TTF (TrueType/OpenType Font) files.")
198 ;; While the README states "License: Derived from WebKit, so BSD/LGPL
199 ;; 2/LGPL 2.1", the single derived source file includes only BSD in its
200 ;; license header, and the wrapper source contains no license header.
201 (license license:bsd-2)
202 (home-page "https://github.com/wget/ttf2eot")))
204 (define-public ttf2pt1
210 (uri (string-append "mirror://sourceforge/ttf2pt1/ttf2pt1/"
211 version "/ttf2pt1-" version ".tgz"))
214 "1l718n4k4widx49xz7qrj4mybzb8q67kp2jw7f47604ips4654mf"))
215 (modules '((guix build utils)))
218 ;; Remove trailing backslashes in the sed expression of the
219 ;; 'install' rule since sed would otherwise fail.
220 (substitute* "Makefile"
221 (("\\|;\\\\[[:space:]]*$") "|; "))
223 (build-system gnu-build-system)
225 '(#:tests? #f ;no tests
226 #:phases (modify-phases %standard-phases
228 (lambda* (#:key outputs #:allow-other-keys)
229 (let ((out (assoc-ref outputs "out")))
230 (substitute* "Makefile"
232 (string-append "INSTDIR = " out "\n"))
234 "OWNER = `id -un`\n")
236 "GROUP = `id -g`\n"))
241 (number->string (parallel-job-count))
243 (inputs `(("perl" ,perl)))
244 (synopsis "Convert TrueType fonts to Postscript Type 1")
246 "TTF2PT1 provides tools to convert most TrueType fonts (or other formats
247 supported by the FreeType library) to an Adobe Type 1 @file{.pfa} or
248 @file{.pfb} file. Another use is as a hinting engine: feed it an unhinted or
249 poorly hinted Adobe Type 1 font through the FreeType library and get it back
250 with freshly generated hints. The files produced by default are in
251 human-readable form, which further needs to be encoded with t1utilities to
252 work with most software requiring Type 1 fonts.")
253 (home-page "http://ttf2pt1.sourceforge.net/")
254 (license license:bsd-3)))
257 (let ((commit "4e698b8c6c5e070d53c340db9ddf160e21070ede")
261 (version (string-append "20160306-" revision "."
262 (string-take commit 7)))
266 (url "https://github.com/google/woff2.git")
268 (file-name (string-append name "-" version ".tar.xz"))
271 "0wka0yhf0cjmd4rv2jckxpyv6lb5ckj4nj0k1ajq5hrjy7f30lcp"))
272 (patches (list (search-patch "woff2-libbrotli.patch")))))
273 (build-system gnu-build-system)
275 `(("pkg-config" ,pkg-config)))
277 `(("brotli" ,brotli)))
279 `(#:tests? #f ;no tests
280 #:phases (modify-phases %standard-phases
283 (lambda* (#:key outputs #:allow-other-keys)
284 (let* ((out (assoc-ref outputs "out"))
285 (bin (string-append out "/bin")))
286 (install-file "woff2_compress" bin)
287 (install-file "woff2_decompress" bin)
289 (synopsis "Compress TrueType fonts to WOFF2")
291 "This package provides utilities for compressing/decompressing TrueType
292 fonts to/from the WOFF2 format.")
293 (license license:asl2.0)
294 (home-page "https://github.com/google/woff2"))))
296 (define-public fontconfig
303 "https://www.freedesktop.org/software/fontconfig/release/fontconfig-"
306 "0hb700a68kk0ip51wdlnjjc682kvlrmb6q920mzajykdk0mdsmgn"))))
307 (build-system gnu-build-system)
308 ;; In Requires or Requires.private of fontconfig.pc.
309 (propagated-inputs `(("expat" ,expat)
310 ("freetype" ,freetype)
311 ("libuuid" ,util-linux)))
312 (inputs `(("gs-fonts" ,gs-fonts)))
315 ("pkg-config" ,pkg-config)))
318 (list "--with-cache-dir=/var/cache/fontconfig"
319 ;; register gs-fonts as default fonts
320 (string-append "--with-default-fonts="
321 (assoc-ref %build-inputs "gs-fonts")
324 ;; Register fonts from user and system profiles.
325 (string-append "--with-add-fonts="
326 "~/.guix-profile/share/fonts,"
327 "/run/current-system/profile/share/fonts")
329 ;; python is not actually needed
332 (modify-phases %standard-phases
335 ;; Don't try to create /var/cache/fontconfig.
336 (invoke "make" "install"
337 "fc_cachedir=$(TMPDIR)"
338 "RUN_FC_CACHE_TEST=false"))))))
339 (synopsis "Library for configuring and customizing font access")
341 "Fontconfig can discover new fonts when installed automatically;
342 perform font name substitution, so that appropriate alternative fonts can
343 be selected if fonts are missing;
344 identify the set of fonts required to completely cover a set of languages;
345 have GUI configuration tools built as it uses an XML-based configuration file;
346 efficiently and quickly find needed fonts among the set of installed fonts;
347 be used in concert with the X Render Extension and FreeType to implement
348 high quality, anti-aliased and subpixel rendered text on a display.")
349 ; The exact license is more X11-style than BSD-style.
350 (license (license:non-copyleft "file://COPYING"
351 "See COPYING in the distribution."))
352 (home-page "https://www.freedesktop.org/wiki/Software/fontconfig")))
360 (uri (list (string-append "ftp://sunsite.unc.edu/pub/Linux/libs/"
361 "graphics/" name "-" version ".tar.gz")
362 (string-append "https://fossies.org/linux/misc/old/"
363 name "-" version ".tar.gz")))
365 "0nbvjpnmcznib1nlgg8xckrmsw3haa154byds2h90y2g0nsjh4w2"))
366 (patches (search-patches
367 "t1lib-CVE-2010-2642.patch" ; 2011-0443, 2011-5244
368 "t1lib-CVE-2011-0764.patch"
369 "t1lib-CVE-2011-1552+.patch")))) ; 2011-1553, 2011-1554
370 (properties `((lint-hidden-cve . ("CVE-2011-0433"
374 (build-system gnu-build-system)
376 ;; Making the documentation requires latex, but t1lib is also an input
377 ;; for building texlive.
378 `(#:tests? #f ; no test target
381 (synopsis "Library for generating bitmaps from Type 1 fonts")
383 "T1lib is a library for generating/rasterising bitmaps from Type 1 fonts.
384 It is based on the code of the X11 rasteriser of the X11 project.
386 The bitmaps created by t1lib are returned in a data structure with type
387 GLYPH. This special GLYPH-type is also used in the X11 window system to
388 describe character bitmaps. It contains the bitmap data as well as some
389 metric information. But t1lib is in itself entirely independent of the
390 X11-system or any other graphical user interface.")
391 (license license:gpl2)
392 (home-page "http://www.t1lib.org/")))
394 (define-public teckit
397 (version "2.5.9") ;signed by key 0xC9183BEA0288CDEE
401 (uri (string-append "https://github.com/silnrsi/teckit/releases/"
402 "download/v" version "/teckit-" version ".tar.gz"))
404 (base32 "0gbxyip4wdibirdg2pvzayzyy927vxyd6dfyfiflx8zg88qzn8v8"))))
405 (build-system gnu-build-system)
410 `(("perl" ,perl))) ;for the tests
411 (synopsis "Toolkit for encoding conversions")
413 "TECkit is a low-level toolkit intended to be used by other applications
414 that need to perform encoding conversions (e.g., when importing legacy data
415 into a Unicode-based application). The primary component of the TECkit
416 package is therefore a library that performs conversions; this is the
417 \"TECkit engine\". The engine relies on mapping tables in a specific binary
418 format (for which documentation is available); there is a compiler that
419 creates such tables from a human-readable mapping description (a simple
422 To facilitate the development and testing of mapping tables for TECkit,
423 several applications are also included in the current package; these
424 include simple tools for applying conversions to plain-text and Standard
425 Format files, as well as both command-line and simple GUI versions of the
426 TECkit compiler. However, it is not intended that these tools will be the
427 primary means by which end users perform conversions, and they have not
428 been designed, tested, and debugged to the extent that general-purpose
429 applications should be.")
430 (license license:lgpl2.1+)
431 (home-page "http://scripts.sil.org/cms/scripts/page.php?cat_id=teckit")))
433 (define-public graphite2
440 (uri (string-append "https://github.com/silnrsi/graphite/releases/"
441 "download/" version "/" name "-" version ".tgz"))
444 "01jzhwnj1c3d68dmw15jdxly0hwkmd8ja4kw755rbkykn1ly2qyx"))))
445 (build-system cmake-build-system)
447 `(#:phases (modify-phases %standard-phases
448 (add-after 'unpack 'adjust-test-PYTHONPATH
450 ;; Tell the build system not to override PYTHONPATH
451 ;; while running the Python tests.
452 (substitute* "Graphite.cmake"
453 (("ENVIRONMENT PYTHONPATH=")
454 (string-append "ENVIRONMENT PYTHONPATH="
455 (getenv "PYTHONPATH") ":")))
459 ("python-fonttools" ,python-fonttools)))
461 `(("freetype" ,freetype)))
462 (synopsis "Reimplementation of the SIL Graphite text processing engine")
464 "Graphite2 is a reimplementation of the SIL Graphite text processing
465 engine. Graphite is a smart font technology designed to facilitate the
466 process known as shaping. This process takes an input Unicode text string
467 and returns a sequence of positioned glyphids from the font.")
468 (license license:lgpl2.1+)
469 (home-page "https://github.com/silnrsi/graphite")))
471 (define-public potrace
478 (uri (string-append "mirror://sourceforge/potrace/" version
479 "/potrace-" version ".tar.gz"))
482 "17ajildjp14shsy339xarh1lw1p0k60la08ahl638a73mh23kcx9"))
483 (patches (search-patches "potrace-tests.patch"))))
484 (build-system gnu-build-system)
485 (native-inputs `(("ghostscript" ,ghostscript))) ;for tests
486 (inputs `(("zlib" ,zlib)))
489 `("--with-libpotrace"))) ; install library and headers
490 (synopsis "Transform bitmaps into vector graphics")
492 "Potrace is a tool for tracing a bitmap, which means, transforming a
493 bitmap into a smooth, scalable image. The input is a bitmap (PBM, PGM, PPM,
494 or BMP format), and the default output is an encapsulated PostScript
495 file (EPS). A typical use is to create EPS files from scanned data, such as
496 company or university logos, handwritten notes, etc. The resulting image is
497 not \"jaggy\" like a bitmap, but smooth. It can then be rendered at any
499 (license license:gpl2+)
500 (home-page "http://potrace.sourceforge.net/")))
502 (define-public libotf
508 (uri (string-append "mirror://savannah/m17n/libotf-"
511 (base32 "0sq6g3xaxw388akws6qrllp3kp2sxgk2dv4j79k6mm52rnihrnv8"))))
512 (build-system gnu-build-system)
514 `(("pkg-config" ,pkg-config)))
516 `(("freetype" ,freetype)))
517 (home-page "https://www.nongnu.org/m17n/")
518 (synopsis "Library for handling OpenType Font")
519 (description "This library can read Open Type Layout Tables from an OTF
520 file. Currently these tables are supported; head, name, cmap, GDEF, GSUB, and
521 GPOS. It can convert a Unicode character sequence to a glyph code sequence by
522 using the above tables.")
523 (license license:lgpl2.0+)))
525 (define-public libspiro
528 (version "0.5.20150702")
532 (uri (string-append "https://github.com/fontforge/libspiro/releases"
533 "/download/" version "/libspiro-dist-" version ".tar.gz"))
536 "153ckwj6h3wwlsgcppzqj8cymv1927hi8ar8fzpchq5q89cj2kai"))))
537 (build-system gnu-build-system)
538 (synopsis "Clothoid to bezier conversion library")
540 "Raph Levien's Spiro package as a library. A mechanism for drawing
541 smooth contours with constant curvature at the spline joins.")
542 (license license:gpl2+)
543 (home-page "http://libspiro.sourceforge.net/")))
545 (define-public libuninameslist
547 (name "libuninameslist")
549 (home-page "https://github.com/fontforge/libuninameslist")
553 (uri (string-append home-page "/releases/download/" version
554 "/libuninameslist-dist-" version ".tar.gz"))
557 "18c9pcz81wm26q2m7npmvh9j3ibjs2hycxfh5xic2xgjfw40v2qn"))))
558 (build-system gnu-build-system)
559 (synopsis "Unicode names and annotation list")
561 "LibUniNamesList holds www.unicode.org Nameslist.txt data which can be
562 useful for programs that need Unicode \"Names\", \"Annotations\", and block
564 ;; COPYING specifies GPL2, but according to LICENSE it only covers the
565 ;; configure script. The actual code is BSD-3, and the Unicode data
566 ;; is governed by an X11-style license only found on the web.
567 (license (list license:bsd-3
569 "https://www.unicode.org/copyright.html#License")))))
571 (define-public fontforge
578 "https://github.com/fontforge/fontforge/releases/download/"
579 version "/fontforge-" version ".tar.gz"))
581 (base32 "0lh8yx01asbzxm6car5cfi64njh5p4lxc7iv8dldr5rwg357a86r"))))
582 (build-system gnu-build-system)
584 `(("pkg-config" ,pkg-config)))
585 (inputs `(("cairo" ,cairo)
586 ("fontconfig" ,fontconfig) ;dlopen'd
587 ("freetype" ,freetype)
588 ("gettext" ,gettext-minimal)
596 ("libspiro" ,libspiro)
598 ("libungif" ,libungif)
599 ("libuninameslist" ,libuninameslist)
608 (modify-phases %standard-phases
609 (add-after 'install 'set-library-path
610 (lambda* (#:key inputs outputs #:allow-other-keys)
611 (let ((out (assoc-ref outputs "out"))
612 (potrace (string-append (assoc-ref inputs "potrace") "/bin")))
613 (wrap-program (string-append out "/bin/fontforge")
614 ;; Fontforge dynamically opens libraries.
615 `("LD_LIBRARY_PATH" ":" prefix
616 ,(map (lambda (input)
617 (string-append (assoc-ref inputs input)
619 '("libtiff" "libjpeg" "libpng" "libungif"
620 "libxml2" "zlib" "libspiro" "freetype"
621 "pango" "cairo" "fontconfig")))
622 ;; Checks for potrace program at runtime
623 `("PATH" ":" prefix (,potrace)))
625 (synopsis "Outline font editor")
627 "FontForge allows you to create and modify postscript, truetype and
628 opentype fonts. You can save fonts in many different outline formats, and
630 (license license:gpl3+)
631 (home-page "https://fontforge.github.io")))
633 (define-public python2-ufolib
635 (name "python2-ufolib")
640 (uri (pypi-uri "ufoLib" version ".zip"))
642 (base32 "07qy6mx7z0wi9a30lc2hj5i9q1gnz1n8l40dmjz2c19mj9s6mz9l"))))
643 (build-system python-build-system)
645 `(#:python ,python-2))
647 `(("python2-fonttools" ,python2-fonttools)))
650 ("python2-pytest" ,python2-pytest)
651 ("python2-pytest-runner" ,python2-pytest-runner)))
652 (home-page "https://github.com/unified-font-object/ufoLib")
653 (synopsis "Low-level UFO reader and writer")
655 "UfoLib reads and writes Unified Font Object (UFO)
656 files. UFO is a file format that stores fonts source files.")
657 (license license:bsd-3)))
659 (define-public python2-defcon
661 (name "python2-defcon")
666 (uri (pypi-uri "defcon" version ".zip"))
669 "03jlm2gy9lvbwj68kfdm43yaddwd634jwkdg4wf0jxx2s8mwbg22"))))
670 (build-system python-build-system)
672 `(#:python ,python-2))
675 ("python2-pytest" ,python2-pytest)
676 ("python2-pytest-runner" ,python2-pytest-runner)))
678 `(("python2-fonttools" ,python2-fonttools)
679 ("python2-ufolib" ,python2-ufolib)))
680 (home-page "https://pypi.python.org/pypi/defcon")
681 (synopsis "Flexible objects for representing @acronym{UFO, unified font object} data")
683 "Defcon is a set of @acronym{UFO, unified font object} based objects
684 optimized for use in font editing applications. The objects are built to
685 be lightweight, fast and flexible. The objects are very bare-bones and
686 they are not meant to be end-all, be-all objects. Rather, they are meant
687 to provide base functionality so that you can focus on your application’s
688 behavior, not object observing or maintaining cached data. Defcon
689 implements UFO3 as described by the UFO font format.")
690 (license license:expat)))
692 (define-public nototools
699 (uri (string-append "https://github.com/googlei18n/nototools/"
700 "archive/v2017-09-25-tooling-for-phase3-"
702 (file-name (string-append name "-" version ".tar.gz"))
705 "1pvacw18cm9l4sb66pqyjc7hc74xhhfxc7kd5ald8lixf4wzg0s8"))))
706 (build-system python-build-system)
708 `(#:python ,python-2))
710 `(("python2-booleanoperations" ,python2-booleanoperations)
711 ("python2-defcon" ,python2-defcon)
712 ("python2-fonttools" ,python2-fonttools)
713 ("python2-pillow" ,python2-pillow)
714 ("python2-pyclipper" ,python2-pyclipper)
715 ("python2-ufolib" ,python2-ufolib)))
716 (home-page "https://github.com/googlei18n/nototools")
717 (synopsis "Noto fonts support tools and scripts")
719 "Nototools is a Python package containing Python scripts used to
720 maintain the Noto Fonts project.")
721 (license (list license:asl2.0
722 ;; Sample texts are attributed to UN and OHCHR.
723 ;; The permissions on the UDHR are pretty lax:
724 ;; http://www.ohchr.org/EN/UDHR/Pages/Introduction.aspx
725 ;; "If UDHR translations or materials are reproduced, users
726 ;; should make reference to this website as a source by
727 ;; providing a link."
728 license:public-domain
729 (license:non-copyleft
730 "file://sample_texts/attributions.txt"
731 "See sample_texts/attributions.txt in the distribution.")))))
733 (define-public fontmanager
741 (url "https://github.com/FontManager/font-manager")
743 (file-name (git-file-name name version))
746 "16hma8rrkam6ngn5vbdaryn31vdixvii6920g9z928gylz9xkd3g"))))
747 (build-system meson-build-system)
750 #:build-type "release"
752 (list (string-append "-Dc_link_args=-Wl,-rpath="
753 (assoc-ref %outputs "out")
754 "/lib/font-manager"))))
756 `(("pkg-config" ,pkg-config)
758 ("yelp-tools" ,yelp-tools)
759 ("gettext" ,gettext-minimal)
761 ("gobject-introspection" ,gobject-introspection)
762 ("desktop-file-utils" ,desktop-file-utils)))
764 `(("json-glib" ,json-glib)
765 ("sqlite-with-column-metadata" ,sqlite-with-column-metadata)
766 ("fonconfig" ,fontconfig)
767 ("freetype" ,freetype)
769 (home-page "https://fontmanager.github.io/")
770 (synopsis "Simple font management for GTK+ desktop environments")
771 (description "Font Manager is intended to provide a way for users to
772 easily manage desktop fonts, without having to resort to command-line
773 tools or editing configuration files by hand.
774 While designed primarily with the GNOME Desktop Environment in mind, it should
775 work well with other GTK+ desktop environments.")
776 (license license:gpl3+)))