2013-01-19 11:28:55 +00:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2015-01-16 22:55:42 +00:00
|
|
|
|
;;; Copyright © 2013, 2014, 2015 Andreas Enge <andreas@enge.fr>
|
2016-03-31 05:36:22 +00:00
|
|
|
|
;;; Copyright © 2014, 2016 Eric Bavier <bavier@member.fsf.org>
|
2016-02-10 22:27:20 +00:00
|
|
|
|
;;; Copyright © 2016 Mark H Weaver <mhw@netris.org>
|
2023-02-13 10:04:51 +00:00
|
|
|
|
;;; Copyright © 2016, 2017, 2020, 2022, 2023 Efraim Flashner <efraim@flashner.co.il>
|
2017-03-02 01:19:01 +00:00
|
|
|
|
;;; Copyright © 2017 Rene Saavedra <rennes@openmailbox.org>
|
2017-03-19 02:58:14 +00:00
|
|
|
|
;;; Copyright © 2017 Leo Famulari <leo@famulari.name>
|
mailmap: Update entries for Nikita.
* .mailmap: change email and name for Nikita.
* Makefile.am, doc/guix.texi, etc/completion/fish/guix.fish,
gnu/packages/accessibility.scm, gnu/packages/admin.scm,
gnu/packages/audio.scm, gnu/packages/autotools.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/cinnamon.scm,
gnu/packages/compression.scm, gnu/packages/crypto.scm,
gnu/packages/databases.scm, gnu/packages/django.scm, gnu/packages/dns.scm,
gnu/packages/elixir.scm, gnu/packages/emacs-xyz.scm, gnu/packages/emacs.scm,
gnu/packages/enlightenment.scm, gnu/packages/erlang.scm,
gnu/packages/fonts.scm, gnu/packages/fontutils.scm, gnu/packages/forth.scm,
gnu/packages/fvwm.scm, gnu/packages/games.scm, gnu/packages/gl.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile-xyz.scm,
gnu/packages/haskell-apps.scm, gnu/packages/haskell-check.scm,
gnu/packages/haskell-crypto.scm, gnu/packages/haskell-xyz.scm,
gnu/packages/haskell.scm, gnu/packages/image-viewers.scm,
gnu/packages/image.scm, gnu/packages/irc.scm, gnu/packages/language.scm,
gnu/packages/libcanberra.scm, gnu/packages/linux.scm,
gnu/packages/lisp-xyz.scm, gnu/packages/lisp.scm, gnu/packages/lolcode.scm,
gnu/packages/lxde.scm, gnu/packages/lxqt.scm, gnu/packages/mail.scm,
gnu/packages/markup.scm, gnu/packages/mate.scm, gnu/packages/maths.scm,
gnu/packages/mc.scm, gnu/packages/messaging.scm, gnu/packages/music.scm,
gnu/packages/ncurses.scm, gnu/packages/networking.scm,
gnu/packages/nickle.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm,
gnu/packages/perl-check.scm, gnu/packages/perl.scm,
gnu/packages/python-compression.scm, gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm, gnu/packages/python-xyz.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/ruby.scm,
gnu/packages/rust.scm, gnu/packages/scheme.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/ssh.scm, gnu/packages/suckless.scm, gnu/packages/tbb.scm,
gnu/packages/telephony.scm, gnu/packages/text-editors.scm,
gnu/packages/textutils.scm, gnu/packages/time.scm, gnu/packages/tls.scm,
gnu/packages/tor.scm, gnu/packages/version-control.scm,
gnu/packages/video.scm, gnu/packages/vim.scm, gnu/packages/web.scm,
gnu/packages/wm.scm, gnu/packages/xdisorg.scm, gnu/packages/xfce.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/services/certbot.scm,
gnu/services/desktop.scm, gnu/services/version-control.scm,
gnu/services/web.scm, guix/import/hackage.scm, guix/licenses.scm: Likewise.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-05-11 11:05:45 +00:00
|
|
|
|
;;; Copyright © 2017 Nikita <nikita@n0.is>
|
2022-07-24 00:00:04 +00:00
|
|
|
|
;;; Copyright © 2017, 2018, 2020–2022 Tobias Geerinckx-Rice <me@tobias.gr>
|
2024-01-08 09:09:50 +00:00
|
|
|
|
;;; Copyright © 2018, 2024 Ricardo Wurmus <rekado@elephly.net>
|
2023-03-09 22:28:30 +00:00
|
|
|
|
;;; Copyright © 2018, 2019, 2020, 2021, 2023 Ludovic Courtès <ludo@gnu.org>
|
2022-09-14 11:18:50 +00:00
|
|
|
|
;;; Copyright © 2019, 2020, 2022 Marius Bakke <marius@gnu.org>
|
2020-02-03 11:29:33 +00:00
|
|
|
|
;;; Copyright © 2020 Roel Janssen <roel@gnu.org>
|
2021-12-14 12:36:53 +00:00
|
|
|
|
;;; Copyright © 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
|
2023-04-12 13:55:49 +00:00
|
|
|
|
;;; Copyright © 2021, 2022, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
2021-06-19 00:52:05 +00:00
|
|
|
|
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
|
2022-02-14 12:04:23 +00:00
|
|
|
|
;;; Copyright © 2022 Felipe Balbi <balbi@kernel.org>
|
2023-05-24 15:43:21 +00:00
|
|
|
|
;;; Copyright © 2023 gemmaro <gemmaro.dev@gmail.com>
|
2023-07-14 14:53:19 +00:00
|
|
|
|
;;; Copyright © 2023 John Kehayias <john.kehayias@protonmail.com>
|
2023-06-13 06:35:57 +00:00
|
|
|
|
;;; Copyright © 2023 Janneke Nieuwenhuizen <janneke@gnu.org>
|
2023-10-04 00:15:21 +00:00
|
|
|
|
;;; Copyright © 2023 pinoaffe <pinoaffe@gmail.com>
|
2024-01-17 19:50:58 +00:00
|
|
|
|
;;; Copyright © 2024 Sören Tempel <soeren@soeren-tempel.net>
|
2013-01-19 11:28:55 +00:00
|
|
|
|
;;;
|
|
|
|
|
;;; This file is part of GNU Guix.
|
|
|
|
|
;;;
|
|
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
|
|
|
|
;;; under the terms of the GNU General Public License as published by
|
|
|
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
|
|
|
;;; your option) any later version.
|
|
|
|
|
;;;
|
|
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
|
|
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
;;; GNU General Public License for more details.
|
|
|
|
|
;;;
|
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
|
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
2013-02-12 12:19:26 +00:00
|
|
|
|
(define-module (gnu packages fontutils)
|
2013-01-19 11:28:55 +00:00
|
|
|
|
#:use-module (gnu packages)
|
2020-12-06 17:15:13 +00:00
|
|
|
|
#:use-module (gnu packages autotools)
|
2023-04-12 18:19:24 +00:00
|
|
|
|
#:use-module (gnu packages bash)
|
2020-12-06 17:15:13 +00:00
|
|
|
|
#:use-module (gnu packages bison)
|
2017-09-20 11:39:29 +00:00
|
|
|
|
#:use-module (gnu packages check)
|
2020-12-06 17:15:13 +00:00
|
|
|
|
#:use-module (gnu packages compression)
|
2020-12-06 15:35:07 +00:00
|
|
|
|
#:use-module (gnu packages datastructures)
|
2020-12-28 03:56:00 +00:00
|
|
|
|
#:use-module (gnu packages docbook)
|
2020-12-06 17:15:13 +00:00
|
|
|
|
#:use-module (gnu packages flex)
|
|
|
|
|
#:use-module (gnu packages fonts)
|
|
|
|
|
#:use-module (gnu packages freedesktop)
|
|
|
|
|
#:use-module (gnu packages fribidi)
|
2020-12-06 15:35:07 +00:00
|
|
|
|
#:use-module (gnu packages gcc)
|
2020-12-06 17:15:13 +00:00
|
|
|
|
#:use-module (gnu packages gettext)
|
2013-09-25 07:48:13 +00:00
|
|
|
|
#:use-module (gnu packages ghostscript)
|
2020-12-06 17:15:13 +00:00
|
|
|
|
#:use-module (gnu packages glib)
|
|
|
|
|
#:use-module (gnu packages gnome)
|
|
|
|
|
#:use-module (gnu packages gperf)
|
2022-04-05 04:05:07 +00:00
|
|
|
|
#:use-module (gnu packages graphics)
|
2020-12-06 17:15:13 +00:00
|
|
|
|
#:use-module (gnu packages gtk)
|
|
|
|
|
#:use-module (gnu packages image)
|
2022-04-07 21:27:55 +00:00
|
|
|
|
#:use-module (gnu packages java)
|
2018-03-20 10:26:50 +00:00
|
|
|
|
#:use-module (gnu packages linux)
|
2020-12-06 15:35:07 +00:00
|
|
|
|
#:use-module (gnu packages man)
|
2022-04-07 21:27:55 +00:00
|
|
|
|
#:use-module (gnu packages ninja)
|
2014-09-27 21:47:05 +00:00
|
|
|
|
#:use-module (gnu packages perl)
|
2013-01-23 20:10:26 +00:00
|
|
|
|
#:use-module (gnu packages pkg-config)
|
2014-09-27 21:47:05 +00:00
|
|
|
|
#:use-module (gnu packages python)
|
2022-04-01 20:40:43 +00:00
|
|
|
|
#:use-module (gnu packages python-build)
|
gnu: Separate Python core packages from the rest.
* gnu/packages/python.scm: Move hundreds of package definitions from here...
* gnu/packages/python-xyz.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/android.scm,
gnu/packages/audio.scm,
gnu/packages/backup.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/calendar.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/cluster.scm,
gnu/packages/compression.scm,
gnu/packages/connman.scm,
gnu/packages/crypto.scm,
gnu/packages/cups.scm,
gnu/packages/databases.scm,
gnu/packages/dav.scm,
gnu/packages/direct-connect.scm,
gnu/packages/disk.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/docker.scm,
gnu/packages/ebook.scm,
gnu/packages/elf.scm,
gnu/packages/emacs.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm,
gnu/packages/finance.scm,
gnu/packages/fltk.scm,
gnu/packages/fontutils.scm,
gnu/packages/freedesktop.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/geo.scm,
gnu/packages/gl.scm,
gnu/packages/glib.scm,
gnu/packages/gnome.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/gtk.scm,
gnu/packages/ham-radio.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/irc.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/kde-frameworks.scm,
gnu/packages/key-mon.scm,
gnu/packages/libffi.scm,
gnu/packages/libreoffice.scm,
gnu/packages/libusb.scm,
gnu/packages/lirc.scm,
gnu/packages/logging.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/mate.scm,
gnu/packages/maths.scm,
gnu/packages/medical.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mp3.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/nutrition.scm,
gnu/packages/openldap.scm,
gnu/packages/openstack.scm,
gnu/packages/package-management.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/photo.scm,
gnu/packages/polkit.scm,
gnu/packages/protobuf.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/qt.scm,
gnu/packages/rdf.scm,
gnu/packages/ruby.scm,
gnu/packages/search.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/simulation.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/storage.scm,
gnu/packages/sync.scm,
gnu/packages/terminals.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tls.scm,
gnu/packages/tor.scm,
gnu/packages/tryton.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/virtualization.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wicd.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xorg.scm: Update module references.
2019-01-15 13:21:30 +00:00
|
|
|
|
#:use-module (gnu packages python-xyz)
|
2023-10-04 00:15:21 +00:00
|
|
|
|
#:use-module (gnu packages qt)
|
2019-08-16 01:47:53 +00:00
|
|
|
|
#:use-module (gnu packages sqlite)
|
2021-02-20 08:03:45 +00:00
|
|
|
|
#:use-module (gnu packages webkit)
|
2020-12-06 15:35:07 +00:00
|
|
|
|
#:use-module (gnu packages xdisorg)
|
2020-12-06 17:15:13 +00:00
|
|
|
|
#:use-module (gnu packages xml)
|
|
|
|
|
#:use-module (gnu packages xorg)
|
2020-12-28 03:56:00 +00:00
|
|
|
|
#:use-module (gnu packages tex)
|
2024-01-17 19:50:58 +00:00
|
|
|
|
#:use-module (gnu packages textutils)
|
Use #:prefix instead of #:renamer with 'symbol-prefix-proc'.
* gnu/packages/abiword.scm, gnu/packages/admin.scm, gnu/packages/aidc.scm,
gnu/packages/backup.scm, gnu/packages/bittorrent.scm,
gnu/packages/boost.scm, gnu/packages/compression.scm,
gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/dc.scm, gnu/packages/emacs.scm,
gnu/packages/fonts.scm, gnu/packages/fontutils.scm, gnu/packages/geeqie.scm,
gnu/packages/ghostscript.scm, gnu/packages/gimp.scm,
gnu/packages/gkrellm.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gnutls.scm, gnu/packages/gnuzilla.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/gv.scm, gnu/packages/image.scm,
gnu/packages/indent.scm, gnu/packages/inkscape.scm,
gnu/packages/lesstif.scm, gnu/packages/links.scm, gnu/packages/lisp.scm,
gnu/packages/lsh.scm, gnu/packages/lsof.scm, gnu/packages/maths.scm,
gnu/packages/mp3.scm, gnu/packages/openssl.scm, gnu/packages/ots.scm,
gnu/packages/pciutils.scm, gnu/packages/pcre.scm, gnu/packages/pdf.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python.scm, gnu/packages/slim.scm,
gnu/packages/ssh.scm, gnu/packages/texlive.scm, gnu/packages/vim.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wv.scm,
gnu/packages/xiph.scm, gnu/packages/xml.scm, gnu/packages/xorg.scm,
gnu/packages/yasm.scm, gnu/packages/zip.scm,
guix/build/cmake-build-system.scm, guix/build/perl-build-system.scm,
guix/build/python-build-system.scm, guix/download.scm: Replaces uses of
#:renamer and 'symbol-prefix-proc' with #:prefix.
2014-09-23 20:44:22 +00:00
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
2022-04-01 18:57:40 +00:00
|
|
|
|
#:use-module (guix gexp)
|
2013-01-19 11:28:55 +00:00
|
|
|
|
#:use-module (guix packages)
|
|
|
|
|
#:use-module (guix download)
|
2015-07-19 10:39:57 +00:00
|
|
|
|
#:use-module (guix svn-download)
|
2016-04-02 06:50:14 +00:00
|
|
|
|
#:use-module (guix git-download)
|
2022-04-06 16:01:53 +00:00
|
|
|
|
#:use-module (guix build-system copy)
|
2014-09-27 21:47:05 +00:00
|
|
|
|
#:use-module (guix build-system cmake)
|
2017-09-20 11:39:29 +00:00
|
|
|
|
#:use-module (guix build-system gnu)
|
2020-04-24 16:19:02 +00:00
|
|
|
|
#:use-module (guix build-system meson)
|
2022-10-17 19:07:09 +00:00
|
|
|
|
#:use-module (guix build-system pyproject)
|
|
|
|
|
#:use-module (guix build-system python)
|
2020-04-24 16:19:02 +00:00
|
|
|
|
#:use-module (guix utils)
|
|
|
|
|
#:use-module (srfi srfi-1))
|
2013-01-19 11:28:55 +00:00
|
|
|
|
|
|
|
|
|
(define-public freetype
|
|
|
|
|
(package
|
2023-04-15 01:08:05 +00:00
|
|
|
|
(name "freetype")
|
|
|
|
|
(version "2.13.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://savannah/freetype/freetype-"
|
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0k32jaaz4pfhw34xwr6a38fncrpwr9fn5ij35m5w4dkn0jykmqjy"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
;; The use of "freetype-config" is deprecated, but other packages still
|
|
|
|
|
;; depend on it.
|
|
|
|
|
(list
|
|
|
|
|
#:configure-flags #~(list "--enable-freetype-config")
|
|
|
|
|
#:disallowed-references (list pkg-config)
|
2023-02-13 10:04:51 +00:00
|
|
|
|
#:phases
|
2023-04-15 01:08:05 +00:00
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'remove-reference-to-pkg-config
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(substitute* (search-input-file outputs "bin/freetype-config")
|
|
|
|
|
(("/([a-zA-Z0-9/\\._-]+)/bin/([a-zA-Z0-9_-]+)?pkg-config"
|
|
|
|
|
_ store target)
|
|
|
|
|
"pkg-config")))))))
|
|
|
|
|
(native-inputs (list pkg-config))
|
|
|
|
|
;; XXX: Not adding harfbuzz here, as it would introduce a dependency
|
|
|
|
|
;; cycle.
|
|
|
|
|
(propagated-inputs (list libpng zlib))
|
|
|
|
|
(synopsis "Font rendering library")
|
|
|
|
|
(description
|
|
|
|
|
"Freetype is a library that can be used by applications to access the
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 04:46:59 +00:00
|
|
|
|
contents of font files. It provides a uniform interface to access font files.
|
2013-01-19 11:28:55 +00:00
|
|
|
|
It supports both bitmap and scalable formats, including TrueType, OpenType,
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 04:46:59 +00:00
|
|
|
|
Type1, CID, CFF, Windows FON/FNT, X11 PCF, and others. It supports high-speed
|
2013-01-19 11:28:55 +00:00
|
|
|
|
anti-aliased glyph bitmap generation with 256 gray levels.")
|
2023-04-15 01:08:05 +00:00
|
|
|
|
(license license:freetype) ; some files have other licenses
|
|
|
|
|
(home-page "https://freetype.org/")))
|
2013-01-23 20:10:26 +00:00
|
|
|
|
|
2023-07-14 14:53:19 +00:00
|
|
|
|
;; TODO: Make this change directly in freetype in the next large rebuild cycle
|
|
|
|
|
;; and remove this package.
|
|
|
|
|
(define-public freetype-with-brotli
|
|
|
|
|
(package
|
|
|
|
|
(inherit freetype)
|
|
|
|
|
(name "freetype-with-brotli")
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
(modify-inputs (package-propagated-inputs freetype)
|
|
|
|
|
(prepend brotli)))))
|
|
|
|
|
|
2022-04-01 18:57:40 +00:00
|
|
|
|
(define-public opentype-sanitizer
|
|
|
|
|
(package
|
|
|
|
|
(name "opentype-sanitizer")
|
|
|
|
|
(version "8.2.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/khaledhosny/ots"
|
|
|
|
|
"/releases/download/v" version
|
|
|
|
|
"/ots-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"17z8cxv48rfig5k7j3xk3bmbf7rm3kxsc3bazix96l0wws58r569"))))
|
|
|
|
|
(build-system meson-build-system)
|
|
|
|
|
(native-inputs (list googletest pkg-config))
|
|
|
|
|
(inputs (list freetype lz4 woff2 zlib))
|
|
|
|
|
(home-page "https://github.com/khaledhosny/ots")
|
|
|
|
|
(synopsis "Sanitizer for OpenType fonts")
|
|
|
|
|
(description "The OpenType Sanitizer (OTS) parses and serializes OpenType
|
|
|
|
|
files (OTF, TTF) and WOFF and WOFF2 font files, validating them and sanitizing
|
|
|
|
|
them as it goes.")
|
|
|
|
|
(license license:bsd-3)))
|
2022-04-01 19:28:00 +00:00
|
|
|
|
|
2022-04-07 21:27:55 +00:00
|
|
|
|
(define-public python-afdko
|
|
|
|
|
(package
|
|
|
|
|
(name "python-afdko")
|
2023-05-07 04:12:55 +00:00
|
|
|
|
(version "3.9.5")
|
2022-04-07 21:27:55 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "afdko" version))
|
|
|
|
|
(sha256
|
2023-05-07 04:12:55 +00:00
|
|
|
|
(base32 "02c1rjx7ggbd1m9vqgsc2r28yiw66cjgvs5cq1a2fz0lkadbvrnb"))
|
2022-09-14 11:18:50 +00:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
#~(begin
|
|
|
|
|
(with-directory-excursion "c/makeotf/lib/hotconv"
|
|
|
|
|
;; Delete ANTLR-generated code.
|
|
|
|
|
(for-each delete-file
|
|
|
|
|
(find-files
|
|
|
|
|
"." "Feat(Parser|Lexer).*\\.(h|cpp|interp|tokens)$")))))))
|
2022-04-07 21:27:55 +00:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
2022-09-14 12:48:46 +00:00
|
|
|
|
(add-after 'unpack 'use-c++17
|
|
|
|
|
(lambda _
|
|
|
|
|
;; ANTLR4 4.10 and later require C++ 17.
|
|
|
|
|
(substitute* "CMakeLists.txt"
|
|
|
|
|
(("CMAKE_CXX_STANDARD 11")
|
|
|
|
|
"CMAKE_CXX_STANDARD 17"))))
|
2022-04-07 21:27:55 +00:00
|
|
|
|
(add-after 'unpack 'patch-problematic-requirements
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "requirements.txt"
|
|
|
|
|
;; Remove lxml because the version requested here is different
|
|
|
|
|
;; than the one propagated by the python-fonttools package.
|
2023-04-12 13:55:49 +00:00
|
|
|
|
(("^lxml==.*") "")
|
|
|
|
|
(("<=4.38.0") ">=4.38.0"))))
|
2022-04-07 21:27:55 +00:00
|
|
|
|
(add-after 'unpack 'patch-setup.py
|
|
|
|
|
(lambda _
|
|
|
|
|
;; There is no use for Python-provided CMake nor Ninja binaries.
|
|
|
|
|
(substitute* '("pyproject.toml" "setup.py")
|
|
|
|
|
((".*cmake.*") "")
|
|
|
|
|
((".*ninja.*") ""))))
|
|
|
|
|
(add-after 'unpack 'unbundle-antlr4-cpp
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "CMakeLists.txt"
|
|
|
|
|
(("^include\\(ExternalAntlr4Cpp).*")
|
|
|
|
|
(format #f "include_directories(SYSTEM ~a)"
|
|
|
|
|
(search-input-directory inputs
|
|
|
|
|
"include/antlr4-runtime"))))
|
2022-09-15 22:52:08 +00:00
|
|
|
|
(substitute* '("c/makeotf/lib/hotconv/CMakeLists.txt"
|
|
|
|
|
"c/makeotf/lib/cffread/CMakeLists.txt")
|
2022-04-07 21:27:55 +00:00
|
|
|
|
(("antlr4_static")
|
|
|
|
|
"antlr4-runtime"))))
|
2022-09-14 11:18:50 +00:00
|
|
|
|
(add-after 'unpack 'regenerate-hotconv-grammar
|
|
|
|
|
(lambda _
|
|
|
|
|
(let ((antlr-version #$(package-version
|
|
|
|
|
(this-package-native-input "antlr4"))))
|
|
|
|
|
(with-directory-excursion "c/makeotf/lib/hotconv"
|
|
|
|
|
(substitute* "BuildGrammar.py"
|
|
|
|
|
(("antlr_version = .*")
|
|
|
|
|
(string-append "antlr_version = \""
|
|
|
|
|
antlr-version
|
|
|
|
|
"\"")))
|
|
|
|
|
(invoke "python" "BuildGrammar.py")))))
|
2022-04-07 21:27:55 +00:00
|
|
|
|
;; The test suite expects the commands to be Python rather than
|
|
|
|
|
;; shell scripts, so move the wrap phase after the tests.
|
|
|
|
|
(delete 'wrap)
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
|
(when tests?
|
|
|
|
|
(setenv "HOME" "/tmp")
|
2022-09-16 06:08:02 +00:00
|
|
|
|
(invoke "pytest" "-vv" "--dist" "loadfile" "-n"
|
2024-01-08 09:09:50 +00:00
|
|
|
|
(number->string (parallel-job-count))
|
|
|
|
|
;; This test fails because of a different date in the
|
|
|
|
|
;; copyright header of an expected file since an
|
|
|
|
|
;; update to ffmpeg.
|
|
|
|
|
"-k" "not test_alt_missing_glyph"))))
|
2022-04-07 21:27:55 +00:00
|
|
|
|
(add-after 'check 'wrap
|
|
|
|
|
(assoc-ref %standard-phases 'wrap))
|
|
|
|
|
(add-before 'wrap 'wrap-PATH
|
|
|
|
|
(lambda _
|
|
|
|
|
;; The commands execute other commands from this package from
|
|
|
|
|
;; PATH; by wrapping them with bindir, they can be found even
|
|
|
|
|
;; when the command is run from its store location.
|
|
|
|
|
(let* ((bindir (string-append #$output "/bin"))
|
|
|
|
|
(commands (find-files bindir)))
|
|
|
|
|
(for-each (lambda (c)
|
|
|
|
|
(wrap-program c
|
|
|
|
|
`("PATH" prefix (,bindir))))
|
|
|
|
|
commands)))))))
|
|
|
|
|
(native-inputs
|
2022-09-14 11:18:50 +00:00
|
|
|
|
(list antlr4
|
|
|
|
|
openjdk ;required by antlr4
|
|
|
|
|
ninja
|
2022-09-15 22:52:08 +00:00
|
|
|
|
pkg-config
|
2022-09-14 11:18:50 +00:00
|
|
|
|
python-pytest
|
2022-09-16 06:08:02 +00:00
|
|
|
|
python-pytest-xdist
|
2022-09-14 11:18:50 +00:00
|
|
|
|
python-scikit-build
|
|
|
|
|
python-setuptools-scm
|
2022-08-15 22:22:01 +00:00
|
|
|
|
python-wheel))
|
2022-09-15 22:52:08 +00:00
|
|
|
|
(inputs
|
2023-04-12 16:52:00 +00:00
|
|
|
|
(list bash-minimal
|
|
|
|
|
java-antlr4-runtime-cpp
|
2022-09-15 22:52:08 +00:00
|
|
|
|
libxml2
|
|
|
|
|
`(,util-linux "lib")))
|
2022-04-07 21:27:55 +00:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
(list psautohint
|
|
|
|
|
python-booleanoperations
|
|
|
|
|
python-defcon
|
|
|
|
|
python-fontmath
|
2022-09-05 12:28:50 +00:00
|
|
|
|
python-fonttools
|
2022-04-07 21:27:55 +00:00
|
|
|
|
python-lxml
|
|
|
|
|
python-tqdm
|
|
|
|
|
python-ufonormalizer
|
|
|
|
|
python-ufoprocessor))
|
|
|
|
|
(home-page "https://github.com/adobe-type-tools/afdko")
|
|
|
|
|
(synopsis "Adobe Font Development Kit for OpenType")
|
|
|
|
|
(description "The Adobe Font Development Kit for OpenType (AFDKO) is a set
|
|
|
|
|
of tools for building OpenType font (OTF) files from PostScript and TrueType
|
|
|
|
|
font data. It includes the following commands:
|
|
|
|
|
@table @command
|
|
|
|
|
@item buildcff2vf
|
|
|
|
|
Assemble a CFF2 variable font from a .designspace file.
|
|
|
|
|
@item buildmasterotfs
|
|
|
|
|
Build master source OpenType/CFF fonts from a @file{.designspace} file
|
|
|
|
|
and UFO master source fonts.
|
|
|
|
|
@item charplot
|
|
|
|
|
@itemx digiplot
|
|
|
|
|
@itemx fontplot
|
|
|
|
|
@itemx fontsetplot
|
|
|
|
|
@itemx hintplot
|
|
|
|
|
@itemx waterfallplot
|
|
|
|
|
Aliases for the corresponding options of the @command{proofpdf} command.
|
|
|
|
|
@item checkoutlinesufo
|
|
|
|
|
Perform outline quality checks. It can also remove path overlaps.
|
|
|
|
|
@item comparefamily
|
|
|
|
|
Look in a specific directory, examine and report on all the OpenType fonts found.
|
|
|
|
|
@item type1
|
|
|
|
|
@itemx detype1
|
|
|
|
|
Compile and decompile, respectively, a Type 1 font to and from a plain-text
|
|
|
|
|
representation.
|
|
|
|
|
@item makeinstancesufo
|
|
|
|
|
Generate UFO font instances from a set of master UFO fonts.
|
|
|
|
|
@item makeotfexe
|
|
|
|
|
Read all the font data and build the final OpenType font.
|
|
|
|
|
@item makeotf
|
|
|
|
|
This command can be used to prepare the input files needed by
|
|
|
|
|
@command{makeotfexe}.
|
|
|
|
|
@item mergefonts
|
|
|
|
|
Merge one or more fonts into a parent font.
|
|
|
|
|
@item otc2otf
|
|
|
|
|
Extract all OpenType fonts from the parent OpenType Collection font.
|
|
|
|
|
@item otf2otc
|
|
|
|
|
Build an OpenType Collection font file from two or more OpenType font
|
|
|
|
|
files.
|
|
|
|
|
@item otf2ttf
|
|
|
|
|
Converts OpenType-CFF fonts to TrueType.
|
|
|
|
|
@item rotatefont
|
|
|
|
|
Apply a Postscript transform matrix to the source font files.
|
|
|
|
|
@item sfntdiff
|
|
|
|
|
Low-level comparison of two OpenType font files.
|
|
|
|
|
@item sfntedit
|
|
|
|
|
Support table-editing, listing, and checksumming options on
|
|
|
|
|
sfnt-formatted files such as OpenType Format (OTF) or TrueType.
|
|
|
|
|
@item spot
|
|
|
|
|
Dump sfnt data from plain files or Macintosh resource files.
|
|
|
|
|
@item ttfcomponentizer
|
|
|
|
|
Take in a TrueType font and look for a UFO font stored in the same directory.
|
|
|
|
|
Use the UFO's components data to compose matching TrueType glyphs.
|
|
|
|
|
@item ttfdecomponentizer
|
|
|
|
|
Take in a TrueType font and decompose any composite glyphs into simple glyphs.
|
|
|
|
|
@item ttxn
|
|
|
|
|
Make a normalized dump of the font, or of selected tables.
|
|
|
|
|
@item tx
|
|
|
|
|
The @command{tx} (Type eXchange) is a test harness for the CoreType libraries
|
|
|
|
|
but also provides many useful font conversion and analysis facilities.
|
|
|
|
|
@end table")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2023-04-21 20:29:39 +00:00
|
|
|
|
(define-public python-afdko-3.6.1
|
|
|
|
|
;; This older version does not depend on Java and Antlr4.
|
|
|
|
|
(package
|
|
|
|
|
(inherit python-afdko)
|
|
|
|
|
(version "3.6.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "afdko" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0187xhgw6spzaji93fs1mnhqnq30pxhdj1p2m88673szvzpf10av"))))
|
|
|
|
|
(arguments
|
|
|
|
|
(list #:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-before 'build 'set-CC
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "CC" "gcc"))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list pkg-config
|
|
|
|
|
python-pytest
|
|
|
|
|
python-setuptools-scm
|
|
|
|
|
python-wheel))
|
|
|
|
|
(inputs
|
|
|
|
|
(list bash-minimal
|
|
|
|
|
libxml2))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
(list psautohint
|
|
|
|
|
python-booleanoperations
|
|
|
|
|
python-defcon
|
|
|
|
|
python-fontmath
|
|
|
|
|
python-fonttools
|
|
|
|
|
python-lxml
|
|
|
|
|
python-tqdm
|
|
|
|
|
python-ufonormalizer
|
|
|
|
|
python-ufoprocessor))))
|
|
|
|
|
|
2023-06-25 18:46:14 +00:00
|
|
|
|
(define-public python-beziers
|
|
|
|
|
(package
|
|
|
|
|
(name "python-beziers")
|
|
|
|
|
(version "0.5.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/simoncozens/beziers.py")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1dyr45m15sclbgaz1mrcnw8kny50h09gd45dlpfkgv9qpfxphkg3"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list #:phases #~(modify-phases %standard-phases
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
|
(when tests?
|
|
|
|
|
(invoke "pytest" "-vv")))))))
|
|
|
|
|
(native-inputs (list python-pytest python-dotmap python-matplotlib))
|
|
|
|
|
(propagated-inputs (list python-pyclipper))
|
|
|
|
|
(home-page "https://simoncozens.github.io/beziers.py/index.html")
|
|
|
|
|
(synopsis "Python bezier manipulation library")
|
|
|
|
|
(description
|
|
|
|
|
"Beziers provides a variety of classes for constructing,
|
|
|
|
|
manipulating and drawing Bezier curves and paths. Principally designed for
|
|
|
|
|
font design software, it allows you to join, split, offset, and perform many
|
|
|
|
|
other operations on paths.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2022-04-08 13:01:13 +00:00
|
|
|
|
(define-public python-cffsubr
|
|
|
|
|
(package
|
|
|
|
|
(name "python-cffsubr")
|
|
|
|
|
(version "0.2.9.post1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "cffsubr" version))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet '(delete-file-recursively "external")) ;unbundle ADFKO
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0p7wyagkmwf4agr6ysgswrpmpifx5rz8dnjbcs2gmj29rwnl2cbb"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-setup.py
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* '("pyproject.toml"
|
|
|
|
|
"setup.py")
|
|
|
|
|
;; This is not needed when building the package.
|
|
|
|
|
(("setuptools-git-ls-files") "")
|
|
|
|
|
;; Do not attempt to build the unbundled ADFKO.
|
|
|
|
|
(("cmdclass\\[\"build_ext\"] = ExecutableBuildExt.*")
|
|
|
|
|
""))))
|
|
|
|
|
(add-after 'unpack 'patch-tx-path
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(define tx (search-input-file inputs "bin/tx"))
|
|
|
|
|
(substitute* "src/cffsubr/__init__.py"
|
|
|
|
|
(("TX_EXE = \"tx\"")
|
|
|
|
|
(format #f "TX_EXE = ~s" tx))
|
|
|
|
|
;; Use the full 'tx' file name directly.
|
|
|
|
|
(("with path\\(__name__, TX_EXE) as tx_cli:")
|
|
|
|
|
"")
|
|
|
|
|
((" (return subprocess.run\\(\\[)str\\(tx_cli)(].*)" _ h t)
|
|
|
|
|
(format #f "~a~s~a" h tx t)))))
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
|
(when tests?
|
|
|
|
|
(invoke "pytest" "-vv")))))))
|
|
|
|
|
(native-inputs (list python-pytest python-setuptools-scm python-wheel))
|
2023-04-21 20:30:53 +00:00
|
|
|
|
|
|
|
|
|
;; Use version 3.6.1, which matches the bundled version and does not
|
|
|
|
|
;; depend on Java.
|
|
|
|
|
(inputs (list python-afdko-3.6.1))
|
|
|
|
|
|
2023-04-19 11:58:20 +00:00
|
|
|
|
(propagated-inputs (list python-fonttools-minimal))
|
2022-04-08 13:01:13 +00:00
|
|
|
|
(home-page "https://github.com/adobe-type-tools/cffsubr")
|
|
|
|
|
(synopsis "Compact Font Format (CFF) subroutinizer")
|
|
|
|
|
(description "This package provides the @command{cffsubr} command, a
|
|
|
|
|
Compact Font Format (CFF) subroutinizer based on the Adobe Font Development
|
|
|
|
|
Kit for OpenType (AFDKO) @command{tx} tool.")
|
2022-04-07 21:27:55 +00:00
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2022-04-09 02:49:17 +00:00
|
|
|
|
(define-public python-compreffor
|
|
|
|
|
(package
|
|
|
|
|
(name "python-compreffor")
|
2023-07-23 13:33:59 +00:00
|
|
|
|
(version "0.5.4")
|
2022-04-09 02:49:17 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "compreffor" version))
|
|
|
|
|
(sha256
|
2023-07-23 13:33:59 +00:00
|
|
|
|
(base32 "05gpszc8xh6wn3mdra05d6yz6ns624y67m9xs4vv8gh68m0aasrh"))))
|
2022-04-09 02:49:17 +00:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-setup.py
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "setup.py"
|
|
|
|
|
;; Not actually needed.
|
|
|
|
|
((", \"setuptools_git_ls_files\"") "")))))))
|
|
|
|
|
(native-inputs (list python-pytest python-pytest-runner
|
|
|
|
|
python-setuptools-scm))
|
2023-04-19 11:58:20 +00:00
|
|
|
|
(propagated-inputs (list python-fonttools-minimal))
|
2022-04-09 02:49:17 +00:00
|
|
|
|
(home-page "https://github.com/googlefonts/compreffor")
|
2023-07-23 13:35:42 +00:00
|
|
|
|
(synopsis "@acronym{CFF, Compact Font Format} subroutinizer for fontTools")
|
|
|
|
|
(description "This package provides a @acronym{CFF, Compact Font Format}
|
2022-04-09 02:49:17 +00:00
|
|
|
|
subroutinizer for fontTools.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2022-04-05 04:27:45 +00:00
|
|
|
|
(define-public python-cu2qu
|
|
|
|
|
(package
|
|
|
|
|
(name "python-cu2qu")
|
|
|
|
|
(version "1.6.7.post1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "cu2qu" version ".zip"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1x762r7bf39g6aivfvrmq00h6f07abvs9x1xm0fz8l81vq8jz64c"))))
|
|
|
|
|
(build-system python-build-system)
|
2023-04-19 11:58:20 +00:00
|
|
|
|
(propagated-inputs (list python-fonttools))
|
2022-04-05 04:27:45 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
(list python-cython
|
|
|
|
|
python-defcon
|
|
|
|
|
python-pytest
|
|
|
|
|
python-pytest-runner
|
|
|
|
|
python-setuptools-scm
|
|
|
|
|
unzip))
|
|
|
|
|
(home-page "https://github.com/googlefonts/cu2qu")
|
|
|
|
|
(synopsis "Cubic-to-quadratic bezier curve conversion")
|
|
|
|
|
(description "This library provides functions which take in @acronym{UFO,
|
|
|
|
|
Unified Font Object} objects (such as Defcon Fonts or Robofab RFonts) and
|
|
|
|
|
converts any cubic curves to quadratic. The most useful function is probably
|
|
|
|
|
@code{fonts_to_quadratic}.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2022-04-08 13:16:44 +00:00
|
|
|
|
(define-public python-ufo2ft
|
|
|
|
|
(package
|
|
|
|
|
(name "python-ufo2ft")
|
2023-04-12 13:51:42 +00:00
|
|
|
|
(version "2.31.0")
|
2022-04-08 13:16:44 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "ufo2ft" version))
|
|
|
|
|
(sha256
|
2023-04-12 13:51:42 +00:00
|
|
|
|
(base32 "1rg2997af8blvswlwif0kpz2vxrlh555gzqslz6yv9y7i7v8lphl"))))
|
|
|
|
|
(build-system pyproject-build-system)
|
|
|
|
|
(native-inputs (list python-pytest python-setuptools-scm))
|
2022-04-08 13:16:44 +00:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
(list python-booleanoperations
|
|
|
|
|
python-cffsubr
|
|
|
|
|
python-compreffor
|
|
|
|
|
python-cu2qu
|
|
|
|
|
python-defcon
|
|
|
|
|
python-fonttools
|
|
|
|
|
python-skia-pathops
|
|
|
|
|
python-ufolib2))
|
|
|
|
|
(home-page "https://github.com/googlefonts/ufo2ft")
|
|
|
|
|
(synopsis "Generate OpenType fonts from Unified Font Objects (UFOs)")
|
|
|
|
|
(description "@code{ufo2ft} (UFO to FontTools) is a fork of @code{ufo2fdk}
|
|
|
|
|
intended to leverage FontTools (a Python library) rather than the Adobe Font
|
|
|
|
|
Development Kit for OpenType (AFDKO), a set of C libraries/utilities so that
|
|
|
|
|
it can be more easily extended. Like @code{ufo2fdk}, its primary purpose is
|
|
|
|
|
to generate OpenType font binaries from Unified Font Objects (UFOs).")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2022-04-01 20:40:43 +00:00
|
|
|
|
(define-public python-fontmath
|
|
|
|
|
(package
|
|
|
|
|
(name "python-fontmath")
|
2023-04-12 13:59:27 +00:00
|
|
|
|
(version "0.9.3")
|
2022-04-01 20:40:43 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "fontMath" version ".zip"))
|
|
|
|
|
(sha256
|
2023-04-12 13:59:27 +00:00
|
|
|
|
(base32 "070v1jz5f18g15if459ppwswq4w5hzffwp1gvdc5j47bgz5qflva"))))
|
2022-04-01 20:40:43 +00:00
|
|
|
|
(build-system python-build-system)
|
2023-04-19 11:58:20 +00:00
|
|
|
|
(propagated-inputs (list python-fonttools-minimal))
|
2022-04-01 20:40:43 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
(list python-setuptools-scm
|
|
|
|
|
python-pytest
|
|
|
|
|
python-pytest-runner
|
|
|
|
|
python-wheel
|
|
|
|
|
unzip))
|
|
|
|
|
(home-page "https://github.com/robotools/fontMath")
|
|
|
|
|
(synopsis "Fast font mathematical operations library")
|
|
|
|
|
(description "This package provides a set of objects for performing fast
|
|
|
|
|
font, glyph, etc. mathematical operations on font data.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2022-04-05 04:00:43 +00:00
|
|
|
|
;;; An untested variant used to break a cycle with python-booleanoperations.
|
|
|
|
|
(define-public python-fontpens-bootstrap
|
|
|
|
|
(package
|
|
|
|
|
(name "python-fontpens-bootstrap")
|
|
|
|
|
(version "0.2.4")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "fontPens" version ".zip"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1za15dzsnymq6d9x7xdfqwgw4a3003wj75fn2crhyidkfd2s3nd6"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments (list #:tests? #f))
|
2023-04-19 11:58:20 +00:00
|
|
|
|
(propagated-inputs (list python-fonttools-minimal))
|
2022-04-05 04:00:43 +00:00
|
|
|
|
(native-inputs (list unzip))
|
|
|
|
|
(home-page "https://github.com/robofab-developers/fontPens")
|
|
|
|
|
(synopsis "Python classes implementing the pen protocol")
|
|
|
|
|
(description "This package provides a collection of Python classes
|
|
|
|
|
implementing the pen protocol for manipulating glyphs.")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2022-04-05 04:06:44 +00:00
|
|
|
|
(define-public python-fontpens
|
|
|
|
|
(hidden-package
|
|
|
|
|
(package/inherit python-fontpens-bootstrap
|
|
|
|
|
(name "python-fontpens")
|
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments python-fontpens-bootstrap)
|
|
|
|
|
((#:tests? _ #f)
|
2022-07-24 00:00:04 +00:00
|
|
|
|
#t)
|
|
|
|
|
((#:phases phases #~%standard-phases)
|
|
|
|
|
#~(modify-phases #$phases
|
|
|
|
|
(add-after 'unpack 'drop-flaky-docstring
|
|
|
|
|
;; XXX This assertion fails on certain (Intel?) machines, but not
|
|
|
|
|
;; others (AMD?), so we can't patch in a ‘correct’ value. Just
|
|
|
|
|
;; drop it until the proper fix lands upstream. Reported there
|
|
|
|
|
;; as <https://github.com/robotools/fontPens/issues/41>.
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Lib/fontPens/penTools.py"
|
|
|
|
|
((".*\\(\\(0, 0), \\(50, 20), \\(100, 40)).*") "")
|
|
|
|
|
((".*107\\.70329614269009.*") ""))))))))
|
2022-04-05 04:06:44 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
(modify-inputs (package-native-inputs python-fontpens-bootstrap)
|
|
|
|
|
(append python-fontparts-bootstrap
|
|
|
|
|
python-fontpens-bootstrap
|
|
|
|
|
python-pytest
|
|
|
|
|
python-pytest-runner))))))
|
|
|
|
|
|
2022-04-05 04:05:07 +00:00
|
|
|
|
;;; A variant used to break a cycle with python-fontpens.
|
|
|
|
|
(define-public python-fontparts-bootstrap
|
|
|
|
|
(hidden-package
|
|
|
|
|
(package
|
|
|
|
|
(name "python-fontparts-bootstrap")
|
2023-04-12 15:14:33 +00:00
|
|
|
|
(version "0.11.0")
|
2022-04-05 04:05:07 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "fontParts" version ".zip"))
|
|
|
|
|
(sha256
|
2023-04-12 15:14:33 +00:00
|
|
|
|
(base32 "0j4h8hszky639gmfy1avmw670y80ya49kca8yc635h5ihl0c3v8x"))))
|
2022-04-05 04:05:07 +00:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
(list python-booleanoperations
|
|
|
|
|
python-defcon-bootstrap
|
|
|
|
|
python-fontmath
|
2023-04-19 11:58:20 +00:00
|
|
|
|
python-fonttools-minimal))
|
2022-08-15 22:16:13 +00:00
|
|
|
|
(native-inputs (list python-setuptools-scm unzip))
|
2022-04-05 04:05:07 +00:00
|
|
|
|
(home-page "https://github.com/robotools/fontParts")
|
|
|
|
|
(synopsis "Library for interacting with font parts")
|
|
|
|
|
(description "FontParts is an @acronym{API, Application Programming
|
|
|
|
|
Interface} for interacting with the parts of fonts during the font development
|
|
|
|
|
process. FontParts is the successor of RoboFab.")
|
|
|
|
|
(license license:expat))))
|
|
|
|
|
|
2022-04-05 04:10:16 +00:00
|
|
|
|
(define-public python-fontparts
|
|
|
|
|
(package/inherit python-fontparts-bootstrap
|
|
|
|
|
(name "python-fontparts")
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
(modify-inputs (package-propagated-inputs python-fontparts-bootstrap)
|
|
|
|
|
(replace "python-defcon-bootstrap" python-defcon)))
|
|
|
|
|
(properties
|
|
|
|
|
(alist-delete 'hidden?
|
|
|
|
|
(package-properties python-fontparts-bootstrap)))))
|
|
|
|
|
|
2022-09-16 14:40:17 +00:00
|
|
|
|
(define-public python-glyphslib
|
|
|
|
|
(package
|
|
|
|
|
(name "python-glyphslib")
|
|
|
|
|
(version "6.0.7")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "glyphsLib" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0mkkwd09g76hvif603ij5aqicxh47zvhgyyd0pjcjmpdy6dr70yw"))))
|
2022-10-17 19:07:09 +00:00
|
|
|
|
(build-system pyproject-build-system)
|
2022-09-16 14:40:17 +00:00
|
|
|
|
(arguments
|
|
|
|
|
(list
|
2022-10-27 18:31:38 +00:00
|
|
|
|
#:test-flags #~'(;; These fail because the test data has not yet been
|
2022-10-17 19:07:09 +00:00
|
|
|
|
;; updated for newer FontTools:
|
|
|
|
|
;; https://github.com/googlefonts/glyphsLib/issues/787
|
|
|
|
|
;; Re-enable for versions > 6.0.7.
|
|
|
|
|
"--ignore=tests/builder/designspace_gen_test.py"
|
|
|
|
|
"--ignore=tests/builder/interpolation_test.py")))
|
2022-09-16 14:40:17 +00:00
|
|
|
|
(native-inputs
|
2022-10-17 19:07:09 +00:00
|
|
|
|
(list python-setuptools-scm
|
2022-09-16 14:40:17 +00:00
|
|
|
|
|
|
|
|
|
;; For tests.
|
|
|
|
|
python-pytest
|
|
|
|
|
python-xmldiff))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
(list python-defcon
|
2022-09-16 17:11:43 +00:00
|
|
|
|
python-fonttools
|
2022-09-16 14:40:17 +00:00
|
|
|
|
python-openstep-plist
|
|
|
|
|
python-ufolib2
|
|
|
|
|
python-ufo2ft
|
|
|
|
|
python-ufonormalizer))
|
|
|
|
|
(home-page "https://github.com/googlefonts/glyphsLib")
|
|
|
|
|
(synopsis "Bridge Glyphs source files to UFOs")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides a bridge from Glyphs source files (@file{.glyphs})
|
|
|
|
|
to UFOs and DesignSpace files via @code{defcon} and @code{designspaceLib}.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2022-09-16 14:40:38 +00:00
|
|
|
|
(define-public python-glyphsets
|
|
|
|
|
(package
|
|
|
|
|
(name "python-glyphsets")
|
|
|
|
|
(version "0.5.2")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "glyphsets" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1dc24i0hkd85gkkg3bqjhagjyw3xsqxazd86yh2l60c1wr5n9y6g"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list #:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'loosen-version-constraints
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "setup.py"
|
|
|
|
|
(("setuptools_scm>=4,<6\\.1")
|
|
|
|
|
"setuptools_scm>=4"))))
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
|
(when tests?
|
|
|
|
|
(invoke "pytest" "-vv" "tests/testglyphdata.py")
|
|
|
|
|
(invoke "pytest" "-vv" "tests/testusage.py")))))))
|
|
|
|
|
(native-inputs (list python-pytest python-setuptools-scm))
|
|
|
|
|
(propagated-inputs
|
2023-04-19 11:58:20 +00:00
|
|
|
|
(list python-defcon python-fonttools-minimal python-glyphslib))
|
2022-09-16 14:40:38 +00:00
|
|
|
|
(home-page "https://github.com/googlefonts/glyphsets/")
|
|
|
|
|
(synopsis "Evaluate coverage of glyph sets")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides an API with data about glyph sets for many
|
|
|
|
|
different scripts and languages.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2022-04-01 19:28:00 +00:00
|
|
|
|
(define-public python-opentype-sanitizer
|
|
|
|
|
(package
|
|
|
|
|
(name "python-opentype-sanitizer")
|
|
|
|
|
(version "8.2.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "opentype-sanitizer" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1wjy6chbnj9ic5yjxal6spln5jfzr8cigqs6ab0gj7q60dndrl5k"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'unbundle-opentype-sanitizer
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(delete-file-recursively "src/c")
|
|
|
|
|
(substitute* "setup.py"
|
|
|
|
|
(("^cmdclass\\[\"download\"].*") "")
|
|
|
|
|
(("^cmdclass\\[\"build_ext\"].*") "")
|
|
|
|
|
(("^cmdclass\\[\"egg_info\"].*") ""))
|
|
|
|
|
(substitute* "src/python/ots/__init__.py"
|
|
|
|
|
(("^OTS_SANITIZE = .*")
|
|
|
|
|
(format #f "OTS_SANITIZE = ~s~%"
|
|
|
|
|
(search-input-file inputs "bin/ots-sanitize"))))))
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
|
(when tests?
|
|
|
|
|
(invoke "pytest" "-vv")))))))
|
|
|
|
|
(native-inputs (list python-pytest python-setuptools-scm))
|
|
|
|
|
(inputs (list opentype-sanitizer))
|
|
|
|
|
(home-page "https://github.com/googlefonts/ots-python")
|
|
|
|
|
(synopsis "Python wrapper for OpenType Sanitizer")
|
|
|
|
|
(description "Python wrapper for the OpenType Sanitizer library.")
|
|
|
|
|
(license license:bsd-3)))
|
2013-01-23 20:10:26 +00:00
|
|
|
|
|
2022-04-05 02:22:00 +00:00
|
|
|
|
(define-public python-mutatormath
|
|
|
|
|
(package
|
|
|
|
|
(name "python-mutatormath")
|
|
|
|
|
(version "3.0.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "MutatorMath" version ".zip"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0r1qq45np49x14zz1zwkaayqrn7m8dn2jlipjldg2ihnmpzw29w1"))))
|
|
|
|
|
(build-system python-build-system)
|
2023-04-19 11:58:20 +00:00
|
|
|
|
(propagated-inputs (list python-defcon python-fontmath
|
|
|
|
|
python-fonttools-minimal))
|
2022-04-05 02:22:00 +00:00
|
|
|
|
(native-inputs (list unzip))
|
|
|
|
|
(home-page "https://github.com/LettError/MutatorMath")
|
|
|
|
|
(synopsis "Piecewise linear interpolation Python library")
|
|
|
|
|
(description "MutatorMath is a Python library for the calculation of
|
|
|
|
|
piecewise linear interpolations in n-dimensions with any number of masters. It
|
|
|
|
|
was developed for interpolating data related to fonts, but if can handle any
|
|
|
|
|
arithmetic object.")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2022-04-06 16:01:53 +00:00
|
|
|
|
(define-public psautohint-font-data
|
|
|
|
|
;; There is no release tag, so use the latest commit.
|
|
|
|
|
(let ((revision "0")
|
|
|
|
|
(commit "1e4c5061d328105c4dcfcb6fdbc27ec49b3e9d23"))
|
|
|
|
|
(hidden-package
|
|
|
|
|
(package
|
|
|
|
|
(name "psautohint-font-data")
|
|
|
|
|
(version (git-version "0.0.0" revision commit))
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/adobe-type-tools/psautohint-testdata")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0p7g8mnndzp8zpbj9h6lkvfdpvd74fy10q8wmkagbg2ahbdi1zva"))))
|
|
|
|
|
(build-system copy-build-system)
|
|
|
|
|
(home-page "https://github.com/adobe-type-tools/psautohint-testdata")
|
|
|
|
|
(synopsis "Test font data psautohint")
|
|
|
|
|
(description "This package contains the font data used by the test
|
|
|
|
|
suite of the @code{psautohint} package.")
|
|
|
|
|
;; The bundle contains font data from the Cantarell, Libertinus, Source
|
|
|
|
|
;; Code Pro, Source Serif Pro, all available under the same license.
|
|
|
|
|
(license license:silofl1.1)))))
|
|
|
|
|
|
2022-04-06 16:02:01 +00:00
|
|
|
|
(define-public psautohint
|
|
|
|
|
(package
|
|
|
|
|
(name "psautohint")
|
|
|
|
|
(version "2.4.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "psautohint" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0zzz7hy1kkkjfrrm9ly2di3xv2x1ywdqhbyqy21k670jysldw3nm"))))
|
2023-04-12 15:14:52 +00:00
|
|
|
|
(build-system pyproject-build-system)
|
2022-04-06 16:02:01 +00:00
|
|
|
|
(arguments
|
|
|
|
|
(list
|
2023-09-26 15:08:44 +00:00
|
|
|
|
#:test-flags
|
|
|
|
|
#~(list "-k"
|
|
|
|
|
(string-join
|
|
|
|
|
'(;; The CJKSparseVar.subset.hinted.otf test fails with slightly
|
|
|
|
|
;; different output caused by the newer fonttools version used
|
|
|
|
|
;; in Guix.
|
|
|
|
|
"not CJKSparseVar.subset.hinted.otf"
|
|
|
|
|
;; These tests fails underministically, See also:
|
|
|
|
|
;; https://github.com/adobe-type-tools/afdko/issues/1678
|
|
|
|
|
"not test_hashmap_no_version"
|
|
|
|
|
"not test_hashmap_old_version")
|
|
|
|
|
" and "))
|
2022-04-06 16:02:01 +00:00
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'copy-font-data
|
|
|
|
|
;; The data is copied as it needs to be writable for the tests.
|
|
|
|
|
(lambda _
|
|
|
|
|
(copy-recursively
|
|
|
|
|
#$(this-package-native-input "psautohint-font-data")
|
|
|
|
|
"tests/integration/data")
|
|
|
|
|
(for-each make-file-writable
|
2023-04-12 15:14:52 +00:00
|
|
|
|
(find-files "tests/integration/data")))))))
|
2023-04-14 20:57:37 +00:00
|
|
|
|
(inputs (list python-fonttools))
|
2022-04-06 16:02:01 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
(list psautohint-font-data
|
|
|
|
|
python-pytest
|
|
|
|
|
python-pytest-cov
|
|
|
|
|
python-pytest-xdist
|
|
|
|
|
python-setuptools-scm
|
|
|
|
|
python-wheel))
|
|
|
|
|
(home-page "https://github.com/adobe-type-tools/psautohint")
|
|
|
|
|
(synopsis "Adobe's PostScript autohinter")
|
|
|
|
|
(description "This package provides the @command{autohinter} command that
|
|
|
|
|
can be used to hint PostScript fonts. A Python wrapper is also included.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2022-04-09 03:07:36 +00:00
|
|
|
|
(define-public python-sfdlib
|
|
|
|
|
(package
|
|
|
|
|
(name "python-sfdlib")
|
|
|
|
|
(version "1.2.3")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/aliftype/sfdLib")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1q61km32i1h3cmn8nazcgsbzpm8q2nxp3kq3glqgfgvlxr1s3brm"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(propagated-inputs (list python-ufolib2))
|
|
|
|
|
(home-page "https://github.com/aliftype/sfdLib")
|
|
|
|
|
(synopsis "Simple SFD to UFO converter")
|
|
|
|
|
(description "This package provides the @command{sfd2ufo} command, a
|
|
|
|
|
converter from FontForge’s @acronym{SFD, Spline Font Database} fonts to
|
|
|
|
|
@acronym{UFO, Unified Font Object} fonts.")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2022-04-09 01:56:09 +00:00
|
|
|
|
(define-public python-skia-pathops
|
|
|
|
|
(package
|
|
|
|
|
(name "python-skia-pathops")
|
2023-09-05 15:07:08 +00:00
|
|
|
|
(version "0.8.0")
|
2022-04-09 01:56:09 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "skia-pathops" version ".zip"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet '(delete-file-recursively "src/cpp")) ;140+ MiB of stuff
|
|
|
|
|
(sha256
|
2023-09-05 15:07:08 +00:00
|
|
|
|
(base32 "1vlwl1w6sn8c78fsh1w549n3lk9v3v9hcp866vrsdr4byb7g2ani"))))
|
2022-04-09 01:56:09 +00:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'configure-env
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "BUILD_SKIA_FROM_SOURCE" "0")))
|
|
|
|
|
(add-after 'unpack 'adjust-c++-language
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Our version of Skia requires c++17.
|
|
|
|
|
(substitute* "setup.py"
|
|
|
|
|
(("-std=c\\+\\+14")
|
|
|
|
|
"-std=c++17"))))
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
|
(when tests?
|
|
|
|
|
(invoke "pytest" "-vv")))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list pkg-config
|
|
|
|
|
python-cython
|
|
|
|
|
python-pytest
|
|
|
|
|
python-setuptools-scm
|
|
|
|
|
unzip))
|
|
|
|
|
(inputs (list skia))
|
|
|
|
|
(home-page "https://github.com/fonttools/skia-pathops")
|
|
|
|
|
(synopsis "Python bindings for the Skia library's Path Ops module")
|
|
|
|
|
(description "This package provides Python bindings for the Path Ops
|
|
|
|
|
module of the Skia library, performing boolean operations on
|
|
|
|
|
paths (intersection, union, difference, xor).")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2022-04-05 04:44:25 +00:00
|
|
|
|
(define-public python-ufoprocessor
|
|
|
|
|
(package
|
|
|
|
|
(name "python-ufoprocessor")
|
|
|
|
|
(version "1.9.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "ufoProcessor" version ".zip"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0ns11aamgavgsfj8qf5kq7dvzmgl0mhr1cbych2f075ipfdvva5s"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list #:phases #~(modify-phases %standard-phases
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
|
(when tests?
|
|
|
|
|
;; Most of the tests appear to be a work in
|
|
|
|
|
;; progress; run only a subset.
|
|
|
|
|
(invoke "python" "Tests/tests.py")))))))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
(list python-defcon
|
|
|
|
|
python-fontmath
|
|
|
|
|
python-fontparts
|
2023-04-19 11:58:20 +00:00
|
|
|
|
python-fonttools-minimal
|
2022-04-05 04:44:25 +00:00
|
|
|
|
python-mutatormath))
|
2022-08-15 22:18:53 +00:00
|
|
|
|
(native-inputs (list python-setuptools-scm unzip))
|
2022-04-05 04:44:25 +00:00
|
|
|
|
(home-page "https://github.com/LettError/ufoProcessor")
|
|
|
|
|
(synopsis "Process and generate @acronym{UFO, Unified Font Object} files")
|
|
|
|
|
(description "This Python package processes and generates instances for
|
|
|
|
|
@acronym{UFO, Unified Font Object} files, glyphs and other data. It can,
|
|
|
|
|
among other things:
|
|
|
|
|
@itemize
|
|
|
|
|
@item Collect source materials.
|
|
|
|
|
@item Provide mutators for specific glyphs, font info, kerning so that other
|
|
|
|
|
tools can generate partial instances.
|
|
|
|
|
@item Support designspace format 4 with layers.
|
|
|
|
|
@item Apply avar-like designspace bending.
|
|
|
|
|
@item Apply rules.
|
|
|
|
|
@item Generate actual UFO instances in formats 2 and 3.
|
|
|
|
|
@item Round geometry as requested.
|
|
|
|
|
@end itemize")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2022-04-05 04:52:28 +00:00
|
|
|
|
(define-public python-ufonormalizer
|
|
|
|
|
(package
|
|
|
|
|
(name "python-ufonormalizer")
|
|
|
|
|
(version "0.6.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "ufonormalizer" version ".zip"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0v5awian2alap7nvxfz38aahyqbqnma16nrqcpr8602hbbki04g6"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(native-inputs (list python-setuptools-scm unzip))
|
|
|
|
|
(home-page "https://github.com/unified-font-object/ufoNormalizer")
|
|
|
|
|
(synopsis "Script to normalize @acronym{UFO, Unified Font Object} data")
|
|
|
|
|
(description "The purpose of the @command{ufonormalizer} command is to
|
|
|
|
|
provide a standard formatting so that updates to @acronym{UFO, Unified Font
|
|
|
|
|
Object} data can be usefully versioned. Examples of formatting applied by
|
|
|
|
|
ufoNormalizer include:
|
|
|
|
|
@itemize
|
|
|
|
|
@item Changing floating-point numbers to integers where it doesn't alter the
|
|
|
|
|
value (e.g. @samp{x=\"95.0\"} becomes @samp{x=\"95\"})
|
|
|
|
|
@item Rounding floating-point numbers to 10 digits
|
|
|
|
|
@item Formatting XML with tabs rather than spaces.
|
|
|
|
|
@end itemize")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2023-10-04 00:15:21 +00:00
|
|
|
|
(define-public fontobene-qt5
|
|
|
|
|
(package
|
|
|
|
|
(name "fontobene-qt5")
|
|
|
|
|
(version "0.2.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/fontobene/fontobene-qt5")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0gy3sfraf23k7dm4ha8nqpd6madzk0zmxkcb204micyn5b5l8ljg"))))
|
|
|
|
|
(inputs (list qtbase-5))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
|
(when tests?
|
|
|
|
|
(invoke "./tests/fontobene-qt5-tests")))))))
|
|
|
|
|
(home-page "https://github.com/fontobene/fontobene-qt5")
|
|
|
|
|
(synopsis "Parser for FontoBene stroke fonts")
|
|
|
|
|
(description "FontoBene-Qt5 is a header-only library to parse FontoBene
|
|
|
|
|
stroke fonts with C++11/Qt5.")
|
|
|
|
|
;; Dual-licensed, either license applies.
|
|
|
|
|
(license (list license:asl2.0 license:expat))))
|
|
|
|
|
|
2016-03-31 05:36:22 +00:00
|
|
|
|
(define-public ttfautohint
|
|
|
|
|
(package
|
|
|
|
|
(name "ttfautohint")
|
2020-09-01 20:36:52 +00:00
|
|
|
|
(version "1.8.3")
|
2016-03-31 05:36:22 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://savannah/freetype/ttfautohint-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-09-01 20:36:52 +00:00
|
|
|
|
"0zpqgihn3yh3v51ynxwr8asqrijvs4gv686clwv7bm8sawr4kfw7"))))
|
2016-03-31 05:36:22 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list flex bison pkg-config))
|
2016-03-31 05:36:22 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list freetype harfbuzz))
|
2016-03-31 05:36:22 +00:00
|
|
|
|
(arguments
|
2020-09-01 20:39:11 +00:00
|
|
|
|
`(#:configure-flags '("--disable-static"
|
|
|
|
|
"--with-qt=no"))) ;no gui
|
2016-03-31 05:36:22 +00:00
|
|
|
|
(synopsis "Automated font hinting")
|
|
|
|
|
(description
|
|
|
|
|
"ttfautohint provides a 99% automated hinting process and a platform for
|
|
|
|
|
finely hand-hinting the last 1%. It is ideal for web fonts and supports many
|
|
|
|
|
scripts.")
|
|
|
|
|
(license (list license:gpl2+ license:freetype)) ;choose one or the other
|
2020-01-19 00:34:07 +00:00
|
|
|
|
(home-page "https://www.freetype.org/ttfautohint/")))
|
2016-03-31 05:36:22 +00:00
|
|
|
|
|
2016-03-31 05:50:47 +00:00
|
|
|
|
(define-public woff-tools
|
|
|
|
|
(package
|
|
|
|
|
(name "woff-tools")
|
|
|
|
|
(version "2009.10.04")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
;; Upstream source is unversioned, so use Debian's versioned tarball
|
|
|
|
|
(uri (string-append "mirror://debian/pool/main/w/woff-tools/"
|
|
|
|
|
"woff-tools_" version ".orig.tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1i97gkqa6jfzlslsngqf556kx60knlgf7yc9pzsq2pizc6f0d4zl"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list zlib))
|
2016-03-31 05:50:47 +00:00
|
|
|
|
(arguments
|
2020-11-08 10:48:22 +00:00
|
|
|
|
`(#:make-flags '(,(string-append "CC=" (cc-for-target)))
|
2016-03-31 05:50:47 +00:00
|
|
|
|
#:tests? #f ;no tests
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure) ;no configuration
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin")))
|
|
|
|
|
(install-file "sfnt2woff" bin)
|
2020-11-08 10:49:10 +00:00
|
|
|
|
(install-file "woff2sfnt" bin))
|
|
|
|
|
#t)))))
|
2016-03-31 05:50:47 +00:00
|
|
|
|
(synopsis "Convert between OpenType and WOFF fonts")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides two tools:
|
|
|
|
|
@table @code
|
|
|
|
|
@item sfnt2woff
|
|
|
|
|
Converts OpenType fonts to WOFF fonts
|
|
|
|
|
@item woff2sfnt
|
|
|
|
|
Converts WOFF fonts to OpenType fonts
|
|
|
|
|
@end table")
|
|
|
|
|
(license (list license:mpl1.1 license:gpl2+ license:lgpl2.1+))
|
|
|
|
|
(home-page "https://people.mozilla.com/~jkew/woff/")))
|
|
|
|
|
|
2016-03-31 06:11:19 +00:00
|
|
|
|
(define-public ttf2eot
|
|
|
|
|
(package
|
|
|
|
|
(name "ttf2eot")
|
2018-08-16 03:08:32 +00:00
|
|
|
|
(version "0.0.3")
|
2016-03-31 06:11:19 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2018-08-16 03:08:32 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/wget/ttf2eot")
|
2018-08-16 03:08:32 +00:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2016-03-31 06:11:19 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-08-16 03:08:32 +00:00
|
|
|
|
"0l2yh2ialx7135pjzhjs204kk3br7zxjr09zwaia493by2adzigr"))
|
2016-03-31 06:11:19 +00:00
|
|
|
|
(patches (list (search-patch "ttf2eot-cstddef.patch")))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2018-08-16 03:08:32 +00:00
|
|
|
|
`(#:tests? #f ; no tests
|
2016-03-31 06:11:19 +00:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2018-08-16 03:08:32 +00:00
|
|
|
|
(delete 'configure) ; no configuration
|
|
|
|
|
(replace 'install ; no install target
|
2016-03-31 06:11:19 +00:00
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin")))
|
2018-08-16 03:04:08 +00:00
|
|
|
|
(install-file "ttf2eot" bin)
|
|
|
|
|
#t))))))
|
2016-03-31 06:11:19 +00:00
|
|
|
|
(synopsis "Convert from TrueType to Embeddable Open Type")
|
|
|
|
|
(description
|
|
|
|
|
"This package contains a commandline wrapper around OpenTypeUtilities.cpp
|
|
|
|
|
from Chromium, used to make EOT (Embeddable Open Type) files from
|
|
|
|
|
TTF (TrueType/OpenType Font) files.")
|
|
|
|
|
;; While the README states "License: Derived from WebKit, so BSD/LGPL
|
|
|
|
|
;; 2/LGPL 2.1", the single derived source file includes only BSD in its
|
|
|
|
|
;; license header, and the wrapper source contains no license header.
|
|
|
|
|
(license license:bsd-2)
|
2018-08-16 03:08:32 +00:00
|
|
|
|
(home-page "https://github.com/wget/ttf2eot")))
|
2016-03-31 06:11:19 +00:00
|
|
|
|
|
2018-10-09 13:21:54 +00:00
|
|
|
|
(define-public ttf2pt1
|
|
|
|
|
(package
|
|
|
|
|
(name "ttf2pt1")
|
|
|
|
|
(version "3.4.4")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/ttf2pt1/ttf2pt1/"
|
|
|
|
|
version "/ttf2pt1-" version ".tgz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1l718n4k4widx49xz7qrj4mybzb8q67kp2jw7f47604ips4654mf"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; Remove trailing backslashes in the sed expression of the
|
|
|
|
|
;; 'install' rule since sed would otherwise fail.
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("\\|;\\\\[[:space:]]*$") "|; "))
|
|
|
|
|
#t))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f ;no tests
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("INSTDIR =.*")
|
|
|
|
|
(string-append "INSTDIR = " out "\n"))
|
|
|
|
|
(("OWNER = .*")
|
|
|
|
|
"OWNER = `id -un`\n")
|
|
|
|
|
(("GROUP = .*")
|
|
|
|
|
"GROUP = `id -g`\n"))
|
|
|
|
|
#t)))
|
|
|
|
|
(replace 'build
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "make" "-j"
|
|
|
|
|
(number->string (parallel-job-count))
|
|
|
|
|
"all" "CC=gcc"))))))
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(inputs (list perl))
|
2018-10-09 13:21:54 +00:00
|
|
|
|
(synopsis "Convert TrueType fonts to Postscript Type 1")
|
|
|
|
|
(description
|
|
|
|
|
"TTF2PT1 provides tools to convert most TrueType fonts (or other formats
|
|
|
|
|
supported by the FreeType library) to an Adobe Type 1 @file{.pfa} or
|
|
|
|
|
@file{.pfb} file. Another use is as a hinting engine: feed it an unhinted or
|
|
|
|
|
poorly hinted Adobe Type 1 font through the FreeType library and get it back
|
|
|
|
|
with freshly generated hints. The files produced by default are in
|
|
|
|
|
human-readable form, which further needs to be encoded with t1utilities to
|
|
|
|
|
work with most software requiring Type 1 fonts.")
|
gnu: Use HTTPS package home pages wherever possible.
* gnu/packages/accessibility.scm (florence)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (netcat, nmon)[home-page]: Likewise.
* gnu/packages/algebra.scm (mpfrcx, cm, flint, fftw, r-dtt)[home-page]:
Likewise.
* gnu/packages/apr.scm (apr, apr-util)[home-page]: Likewise.
* gnu/packages/aspell.scm (aspell-dict-it)[home-page]: Likewise.
* gnu/packages/astronomy.scm (casacore, sextractor, libnova)
(xplanet)[home-page]: Likewise.
* gnu/packages/audio.scm (libtimidity, alsa-modular-synth, azr3, tao)
(freepats, rakarrack, liblo, libshout-idjc, timidity++, libsbsms)
(libmodplug, libxmp, xmp, sox, drc, gsm, gnaural)
(streamripper)[home-page]: Likewise.
* gnu/packages/authentication.scm (pamtester)[home-page]: Likewise.
* gnu/packages/backup.scm (grsync)[home-page]: Likewise.
* gnu/packages/bioconductor.scm (r-nmf, r-edger, r-limma)
(r-plgem)[home-page]: Likewise.
* gnu/packages/bioinformatics.scm (python-biom-format, bowtie, bowtie1)
(bwa, crossmap, java-htsjdk, java-htsjdk-latest, java-picard)
(java-picard-2.10.3, kaiju, proteinortho, rsem, rseqc, seek, samtools)
(snap-aligner, subread, stringtie, r-centipede, prinseq, emboss, phylip)
(libsbml)[home-page]: Likewise.
* gnu/packages/build-tools.scm (tup)[home-page]: Likewise.
* gnu/packages/cdrom.scm (libcddb, cdrdao, cdrtools)
(cd-discid)[home-page]: Likewise.
* gnu/packages/check.scm (cunit, python-nose)
(python-pyhamcrest)[home-page]: Likewise.
* gnu/packages/chemistry.scm (gromacs)[home-page]: Likewise.
* gnu/packages/chez.scm (chez-fmt)[home-page]: Likewise.
* gnu/packages/code.scm (lcov, uncrustify, cscope)[home-page]: Likewise.
* gnu/packages/compression.scm (p7zip)[home-page]: Likewise.
* gnu/packages/cran.scm (r-emdist, r-proj4, r-zoo, r-ggalluvial)
(r-orgmassspecr, r-polychrome, r-partykit, r-rcpp, r-ff, r-emdbook)
(r-fitdistrplus, r-linprog, r-geometry, r-dtw, r-fst, r-rjags)
(r-intergraph, r-qualv, r-labelled, r-survey, r-coin, r-fmsb, r-tm)
(r-corpcor, r-rmpfr, r-spatialextremes, r-longitudinal, r-genenet)
(r-bayesm, r-seqinr, r-mpm, r-text2vec, r-rgdal, r-seewave, r-hdrcde)
(r-shapes, r-anytime, r-stm, r-d3network, r-tam, r-directlabels)
(r-spatstat-utils, r-spatstat-sparse, r-spatstat-data, r-spatstat-geom)
(r-spatstat-core, r-spatstat-linnet, r-spatstat-random, r-spatstat)
(r-rcpptoml, r-mlecens, r-seurat, r-mlearning, r-zooimage)[home-page]:
Likewise.
* gnu/packages/crates-io.scm (rust-nickel-0.11, rust-thrift-0.13)
(rust-trust-dns-https-0.20, rust-trust-dns-native-tls-0.20)
(rust-trust-dns-openssl-0.20, rust-trust-dns-proto-0.20)
(rust-trust-dns-resolver-0.20, rust-trust-dns-rustls-0.20)
(rust-uint-0.9, rust-yaml-rust-0.4)[home-page]: Likewise.
* gnu/packages/crypto.scm (libdecaf, ccrypt)[home-page]: Likewise.
* gnu/packages/curl.scm (curlpp)[home-page]: Likewise.
* gnu/packages/databases.scm (python-pylibmc, unixodbc, wiredtiger)
(libpqxx, mdbtools, virtuoso-ose, libdbi, libdbi-drivers)
(soci)[home-page]: Likewise.
* gnu/packages/debian.scm (apt-mirror)[home-page]: Likewise.
* gnu/packages/debug.scm (remake)[home-page]: Likewise.
* gnu/packages/disk.scm (sdparm, idle3-tools, duc)[home-page]: Likewise.
* gnu/packages/django.scm (python-django-haystack)[home-page]: Likewise.
* gnu/packages/djvu.scm (djvulibre, djview)[home-page]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[home-page]: Likewise.
* gnu/packages/docbook.scm (dblatex, docbook2x)[home-page]: Likewise.
* gnu/packages/documentation.scm (scrollkeeper)[home-page]: Likewise.
* gnu/packages/ebook.scm (liblinebreak)[home-page]: Likewise.
* gnu/packages/electronics.scm (xoscope)[home-page]: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-bbdb, emacs-caps-lock, emacs-djvu)
(emacs-pabbrev, emacs-twittering-mode, emacs-filladapt, emacs-rudel)
(emacs-stream, emacspeak, emacs-cc-mode, emacs-eldoc, emacs-jsonrpc)
(emacs-gtk-look, emacs-xclip, emacs-slime-volleyball, emacs-minimap)
(emacs-auto-dictionary-mode, emacs-persist, emacs-shell-command+)
(emacs-map, emacs-xref, emacs-dictionary)[home-page]: Likewise.
* gnu/packages/embedded.scm (sdcc)[home-page]: Likewise.
* gnu/packages/engineering.scm (asco, libngspice, libspnav)
(openctm)[home-page]: Likewise.
* gnu/packages/erlang.scm (erlang-erlware-commons)[home-page]: Likewise.
* gnu/packages/file-systems.scm (jfsutils, curlftpfs)[home-page]:
Likewise.
* gnu/packages/finance.scm (gbonds)[home-page]: Likewise.
* gnu/packages/flashing-tools.scm (dfu-util, srecord)[home-page]:
Likewise.
* gnu/packages/fltk.scm (ntk)[home-page]: Likewise.
* gnu/packages/fonts.scm (font-terminus, font-tex-gyre)
(font-comic-neue)[home-page]: Likewise.
* gnu/packages/fontutils.scm (ttf2pt1, potrace, libspiro)[home-page]:
Likewise.
* gnu/packages/fpga.scm (icestorm, gtkwave, gtkwave)
(python-myhdl)[home-page]: Likewise.
* gnu/packages/freedesktop.scm (libatasmart)[home-page]: Likewise.
* gnu/packages/ftp.scm (weex)[home-page]: Likewise.
* gnu/packages/game-development.scm (dds, python-tmx, sfxr, quesoglc)
(eureka, plib)[home-page]: Likewise.
* gnu/packages/games.scm (abe, alex4, armagetronad, barony)
(foobillard++, golly, ltris, pipewalker, prboom-plus, trigger-rally)
(cmatrix, pinball, pioneers, tennix, chromium-bsu, freeciv, kiki)
(quakespasm, frotz, frotz-dumb-terminal, frotz-sdl, btanks)
(flare-engine, chessx, barrage, cgoban, passage)[home-page]: Likewise.
* gnu/packages/geo.scm (python-geopandas, saga)[home-page]: Likewise.
* gnu/packages/gl.scm (freeglut, gl2ps)[home-page]: Likewise.
* gnu/packages/gnome.scm (cogl, clutter-gtk, clutter-gst, bluefish)
(workrave)[home-page]: Likewise.
* gnu/packages/gnustep.scm (wmnd, wmfire, wmfire)[home-page]: Likewise.
* gnu/packages/graph.scm (mscgen)[home-page]: Likewise.
* gnu/packages/graphics.scm (assimp, alembic, ctl, agg)
(opencsg)[home-page]: Likewise.
* gnu/packages/graphviz.scm (gts)[home-page]: Likewise.
* gnu/packages/gtk.scm (gtkspell3)[home-page]: Likewise.
* gnu/packages/guile-xyz.scm (guile-irregex)[home-page]: Likewise.
* gnu/packages/haskell-apps.scm (cpphs)[home-page]: Likewise.
* gnu/packages/haskell-check.scm (ghc-hunit)[home-page]: Likewise.
* gnu/packages/haskell-web.scm (ghc-http-client-restricted)
(ghc-blaze-html, ghc-happstack-server, ghc-sourcemap)[home-page]:
Likewise.
* gnu/packages/haskell-xyz.scm (ghc-assoc, ghc-cairo, ghc-cborg)
(ghc-csv, ghc-glob, ghc-gtk2hs-buildtools, ghc-hmatrix-gsl-stats)
(ghc-intervalmap, ghc-lens-family-core, ghc-managed, ghc-mountpoints)
(ghc-network-multicast, ghc-optional-args, ghc-regex, ghc-spoon)
(ghc-transformers, ghc-turtle, ghc-utf8-light, ghc-wizards)
(ghc-template-haskell, ghc-boot-th, ghc-binary-orphans)
(ghc-postgresql-simple)[home-page]: Likewise.
* gnu/packages/hexedit.scm (ht, bvi)[home-page]: Likewise.
* gnu/packages/hunspell.scm (hunspell-dict-hu)[home-page]: Likewise.
* gnu/packages/image-processing.scm (mia)[home-page]: Likewise.
* gnu/packages/image-viewers.scm (geeqie, gpicview, luminance-hdr)
(qiv)[home-page]: Likewise.
* gnu/packages/image.scm (libuemf, devil, steghide, optipng, niftilib)
(sng, mtpaint)[home-page]: Likewise.
* gnu/packages/java-xml.scm (java-simple-xml, java-jaxp)
(java-apache-xml-commons-resolver)[home-page]: Likewise.
* gnu/packages/java.scm (java-cisd-base, java-cisd-args4j)
(java-hamcrest-core, java-jsr305, java-eclipse-osgi)
(java-eclipse-equinox-common, java-eclipse-core-jobs)
(java-eclipse-equinox-registry, java-eclipse-equinox-app)
(java-eclipse-equinox-preferences, java-eclipse-core-contenttype)
(java-eclipse-text, java-treelayout, java-aopalliance, java-jeromq)
(java-cdi-api)[home-page]: Likewise.
* gnu/packages/jemalloc.scm (jemalloc-4.5.0)[home-page]: Likewise.
* gnu/packages/julia-xyz.scm (julia-recipespipeline)[home-page]:
Likewise.
* gnu/packages/kde-internet.scm (kget)[home-page]: Likewise.
* gnu/packages/kde-systemtools.scm (dolphin-plugins)
(konsole)[home-page]: Likewise.
* gnu/packages/kodi.scm (fstrcmp)[home-page]: Likewise.
* gnu/packages/language.scm (hime, libchewing)[home-page]: Likewise.
* gnu/packages/lego.scm (nqc)[home-page]: Likewise.
* gnu/packages/lesstif.scm (lesstif)[home-page]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[home-page]: Likewise.
* gnu/packages/libdaemon.scm (libdaemon)[home-page]: Likewise.
* gnu/packages/libffi.scm (libffi)[home-page]: Likewise.
* gnu/packages/libreoffice.scm (libwpd, libwpg, libwps)[home-page]:
Likewise.
* gnu/packages/libusb.scm (libmtp, gmtp)[home-page]: Likewise.
* gnu/packages/linux.scm (e2fsprogs, extundelete, lsscsi, net-tools)
(kbd, sysfsutils, cpuid, libpfm4)[home-page]: Likewise.
* gnu/packages/lisp-check.scm (sbcl-ptester, sbcl-xlunit)[home-page]:
Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-html-encode, sbcl-py-configparser)
(sbcl-cl-utilities, sbcl-series, sbcl-uffi, sbcl-clsql, sbcl-sycamore)
(sbcl-osicat, sbcl-hu.dwim.common, sbcl-caveman, sbcl-trivial-shell)
(sbcl-trivial-benchmark, sbcl-screamer, sbcl-smug)[home-page]: Likewise.
* gnu/packages/lisp.scm (lush2)[home-page]: Likewise.
* gnu/packages/logging.scm (log4cpp)[home-page]: Likewise.
* gnu/packages/lua.scm (lua-ldoc)[home-page]: Likewise.
* gnu/packages/machine-learning.scm (mcl, openfst, rxcpp)[home-page]:
Likewise.
* gnu/packages/mail.scm (muchsync, procmail, sendmail)
(opensmtpd-filter-dkimsign, crm114)[home-page]: Likewise.
* gnu/packages/man.scm (libpipeline, man-db)[home-page]: Likewise.
* gnu/packages/maths.scm (lapack, scalapack, hdf-eos5, itpp, gmsh)
(metamath, p4est, armadillo, suitesparse, atlas, lpsolve, wcalc, why3)
(frama-c)[home-page]: Likewise.
* gnu/packages/mcrypt.scm (mcrypt, libmcrypt, libmhash)[home-page]:
Likewise.
* gnu/packages/minetest.scm (minetest-advtrains)[home-page]: Likewise.
* gnu/packages/monitoring.scm (python-whisper, python-carbon)
(hostscope)[home-page]: Likewise.
* gnu/packages/mp3.scm (id3lib, libmp3splt, mp3splt, mpg321)
(lame)[home-page]: Likewise.
* gnu/packages/multiprecision.scm (mpc)[home-page]: Likewise.
* gnu/packages/music.scm (aria-maestosa, lingot, setbfree, bristol)
(portmidi, python-pyportmidi, zynaddsubfx, yoshimi, aj-snapshot)
(schismtracker, midicsv, midicsv, qmidiarp, qmidiroute, dssi, tap-lv2)
(shiru-lv2)[home-page]: Likewise.
* gnu/packages/ncurses.scm (stfl)[home-page]: Likewise.
* gnu/packages/networking.scm (lksctp-tools, mbuffer, ifstatus, bird)
(tunctl, traceroute)[home-page]: Likewise.
* gnu/packages/node-xyz.scm (node-mersenne)[home-page]: Likewise.
* gnu/packages/ntp.scm (openntpd)[home-page]: Likewise.
* gnu/packages/ocaml.scm (opam, hevea, ocaml-menhir, ocaml-piqilib)
(ocaml-graph, cubicle)[home-page]: Likewise.
* gnu/packages/opencl.scm (python-pyopencl)[home-page]: Likewise.
* gnu/packages/package-management.scm (xstow, modules)[home-page]:
Likewise.
* gnu/packages/parallel.scm (xjobs)[home-page]: Likewise.
* gnu/packages/pdf.scm (podofo, qpdf, xournal, impressive)[home-page]:
Likewise.
* gnu/packages/perl.scm (perl-math-vecstat, perltidy)[home-page]:
Likewise.
* gnu/packages/photo.scm (libpano13, enblend-enfuse, hugin)[home-page]:
Likewise.
* gnu/packages/plan9.scm (drawterm)[home-page]: Likewise.
* gnu/packages/plotutils.scm (guile-charting, ploticus)[home-page]:
Likewise.
* gnu/packages/popt.scm (argtable, popt)[home-page]: Likewise.
* gnu/packages/profiling.scm (otf2)[home-page]: Likewise.
* gnu/packages/pulseaudio.scm (pulseaudio)[home-page]: Likewise.
* gnu/packages/python-check.scm (python-mypy)[home-page]: Likewise.
* gnu/packages/python-web.scm (python-cssutils)
(python-translationstring)[home-page]: Likewise.
* gnu/packages/python-xyz.scm (python-diskcache, python-doxyqml)
(python-docutils, python-pexpect, python-importlib-resources)
(python-simplegeneric, python-urwid, python-xlrd, python-xlwt)
(python-pyasn1, python-pythondialog, python-tftpy, python-random2)
(python-arcp, python-pyopengl, python-sortedcollections)
(python-sortedcontainers, python-yapsy, python-pydispatcher)
(python-posix-ipc)[home-page]: Likewise.
* gnu/packages/qt.scm (qwt, libqglviewer, signond)[home-page]: Likewise.
* gnu/packages/radio.scm (unixcw, gnuais)[home-page]: Likewise.
* gnu/packages/raspberry-pi.scm (bcm2835)[home-page]: Likewise.
* gnu/packages/rdf.scm (clucene, rasqal, redland)[home-page]: Likewise.
* gnu/packages/regex.scm (tre)[home-page]: Likewise.
* gnu/packages/rsync.scm (librsync)[home-page]: Likewise.
* gnu/packages/ruby.scm (ruby-packnga, ruby-nokogiri, ruby-oj, ruby-ox)
(ruby-sinatra, ruby-citrus, ruby-cbor, ruby-roda)[home-page]: Likewise.
* gnu/packages/scheme.scm (scheme48, tinyscheme)[home-page]: Likewise.
* gnu/packages/screen.scm (dtach)[home-page]: Likewise.
* gnu/packages/scsi.scm (sg3-utils)[home-page]: Likewise.
* gnu/packages/sdl.scm (libmikmod, sdl-pango)[home-page]: Likewise.
* gnu/packages/shellutils.scm (hstr, rig)[home-page]: Likewise.
* gnu/packages/simulation.scm (python-dolfin-adjoint)[home-page]:
Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[home-page]: Likewise.
* gnu/packages/speech.scm (espeak)[home-page]: Likewise.
* gnu/packages/stalonetray.scm (stalonetray)[home-page]: Likewise.
* gnu/packages/statistics.scm (jags, r-mass, r-class, r-lattice)
(r-matrix, r-nnet, r-spatial, r-bit, r-bit64, r-digest, r-xtable)
(python-statsmodels, r-ade4, r-latticeextra, r-rcurl, r-xml, r-mvtnorm)
(r-robustbase, r-minqa, r-fdrtool, java-jdistlib, xlispstat)[home-page]:
Likewise.
* gnu/packages/swig.scm (swig)[home-page]: Likewise.
* gnu/packages/task-management.scm (wtime)[home-page]: Likewise.
* gnu/packages/tcl.scm (itcl, tclxml, tclx)[home-page]: Likewise.
* gnu/packages/terminals.scm (libtermkey, mlterm, libvterm)
(libvterm)[home-page]: Likewise.
* gnu/packages/tex.scm (texlive-lm, texlive-lm-math, texlive-cs)
(texlive-csplain, biber, texmaker)[home-page]: Likewise.
* gnu/packages/text-editors.scm (joe)[home-page]: Likewise.
* gnu/packages/textutils.scm (drm-tools, docx2txt)[home-page]: Likewise.
* gnu/packages/tv.scm (tvtime)[home-page]: Likewise.
* gnu/packages/unicode.scm (libunibreak)[home-page]: Likewise.
* gnu/packages/upnp.scm (libupnp)[home-page]: Likewise.
* gnu/packages/version-control.scm (cvs)[home-page]: Likewise.
* gnu/packages/video.scm (transcode, libquicktime, mjpegtools, aalib)
(liba52, libmpeg2, x265, libdv, dvdauthor, aegisub, pitivi, gavl)
(dvdbackup, guvcview, video-contact-sheet)[home-page]: Likewise.
* gnu/packages/virtualization.scm (bochs)[home-page]: Likewise.
* gnu/packages/w3m.scm (w3m)[home-page]: Likewise.
* gnu/packages/web.scm (qjson, libquvi-scripts, libquvi, quvi)
(tidy-html, htmlcxx)[home-page]: Likewise.
* gnu/packages/wm.scm (evilwm, menumaker)[home-page]: Likewise.
* gnu/packages/wv.scm (wv)[home-page]: Likewise.
* gnu/packages/wxwidgets.scm (wxsvg)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (mtdev, xsel)[home-page]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[home-page]: Likewise.
* gnu/packages/xml.scm (openjade, python-pyxb, xmlstarlet, xmlrpc-c)
(opensp)[home-page]: Likewise.
* gnu/packages/xorg.scm (xf86-video-qxl)[home-page]: Likewise.
2023-02-12 00:00:00 +00:00
|
|
|
|
(home-page "https://ttf2pt1.sourceforge.net/")
|
2018-10-09 13:21:54 +00:00
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2016-04-02 06:50:14 +00:00
|
|
|
|
(define-public woff2
|
2020-03-04 09:46:36 +00:00
|
|
|
|
(package
|
|
|
|
|
(name "woff2")
|
|
|
|
|
(version "1.0.2")
|
2020-07-13 07:16:47 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(git-reference
|
gnu: Don't append '.git' to GitHub uris.
* gnu/packages/admin.scm (nmrpflash)[source]: Remove '.git' from URI.
* gnu/packages/aidc.scm (zxing-cpp),
* gnu/packages/assembly.scm (mbuild),
* gnu/packages/audio.scm (opensles, wildmidi, tinyalsa),
* gnu/packages/browser-extensions.scm (ublock-origin-chromium),
* gnu/packages/check.scm (mutest),
* gnu/packages/compression.scm (unshield),
* gnu/packages/coq.scm (subset),
* gnu/packages/dictionaries.scm (translate-shell),
* gnu/packages/disk.scm (memkind),
* gnu/packages/documentation.scm (latex2html),
* gnu/packages/emacs-xyz.scm (emacs-chronometrist,
emacs-flycheck-ledger, emacs-counsel-notmuch, emacs-spaceline,
emacs-org-generate),
* gnu/packages/embedded.scm (ebusd, ebusd-configuration),
* gnu/packages/enchant.scm (nuspell),
* gnu/packages/fontutils.scm (woff2),
* gnu/packages/geo.scm (memphis),
* gnu/packages/gimp.scm (mrg),
* gnu/packages/gnome-xyz.scm (gnome-shell-extension-appindicator),
* gnu/packages/gnome.scm (parlatype),
* gnu/packages/golang.scm (go-github-com-tv42-httpunix,
go-github-com-ayufan-golang-kardianos-service),
* gnu/packages/graphics.scm (eglexternalplatform, egl-wayland, mmm,
directfb, flux),
* gnu/packages/gstreamer.scm (openni2, ccextractor, libvisual,
graphene),
* gnu/packages/guile-xyz.scm (guile-srfi-180, guile-torrent),
* gnu/packages/image.scm (openjpeg-data),
* gnu/packages/java.scm (javacc),
* gnu/packages/language.scm (liblouis, liblouisutdml),
* gnu/packages/linux.scm (pamela, ttyebus),
* gnu/packages/lxqt.scm (lxqt-connman-applet),
* gnu/packages/mail.scm (libetpan),
* gnu/packages/man.scm (ronn),
* gnu/packages/music.scm (tascam-gtk, artyfx),
* gnu/packages/networking.scm (srt, lksctp-tools, nng, nanomsg),
* gnu/packages/python-crypto.scm (pure-python-otr),
* gnu/packages/qt.scm (qtspell),
* gnu/packages/raspberry-pi.scm (raspi-gpio, raspi-open-firmware),
* gnu/packages/rdp.scm (freerdp),
* gnu/packages/ruby.scm (ruby-prawn-templates, ruby-treetop, ruby-gimme,
ruby-standard, ruby-rubocop-ast, ruby-rexml, ruby-range-compressor,
ruby-regexp-property-values, ruby-regexp-parser, ruby-rubocop,
ruby-pdf-reader, ruby-pdf-inspector, ruby-prawn),
* gnu/packages/syncthing.scm (syncthing-gtk),
* gnu/packages/video.scm (svt-hevc, mediasdk, libvideogfx, libde265,
tslib),
* gnu/packages/xml.scm (libxmlb, libxmlplusplus)[source]: Same.
2020-11-19 18:18:54 +00:00
|
|
|
|
(url "https://github.com/google/woff2")
|
2020-07-13 07:16:47 +00:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name
|
|
|
|
|
(git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "13l4g536h0pr84ww4wxs2za439s0xp1va55g6l478rfbb1spp44y"))))
|
2020-03-04 09:46:36 +00:00
|
|
|
|
(build-system cmake-build-system)
|
2020-07-13 07:16:47 +00:00
|
|
|
|
(outputs '("out" "bin"))
|
|
|
|
|
(arguments
|
2022-04-02 02:36:56 +00:00
|
|
|
|
`(#:tests? #f ;no test suite
|
2020-07-13 07:16:47 +00:00
|
|
|
|
#:configure-flags
|
|
|
|
|
(list
|
|
|
|
|
(string-append "-DCMAKE_INSTALL_BINDIR="
|
|
|
|
|
(assoc-ref %outputs "bin")
|
|
|
|
|
"/bin")
|
|
|
|
|
(string-append "-DCMAKE_INSTALL_INCLUDEDIR="
|
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
|
"/include")
|
|
|
|
|
(string-append "-DCMAKE_INSTALL_LIBDIR="
|
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
|
"/lib"))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; To install both binaries and libraries.
|
|
|
|
|
(add-after 'unpack 'patch-installation
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "CMakeLists.txt"
|
|
|
|
|
(("NOT BUILD_SHARED_LIBS")
|
2022-04-02 02:36:56 +00:00
|
|
|
|
"BUILD_SHARED_LIBS")))))))
|
2020-03-04 09:46:36 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list pkg-config))
|
2022-04-02 02:36:56 +00:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
(list brotli)) ;libwoff2dec.pc requires libbrotlidec
|
2020-07-13 07:16:47 +00:00
|
|
|
|
(synopsis "Libraries and tools for WOFF2 font format")
|
gnu: Fix typoes in package descriptions.
* gnu/packages/audio.scm (caps-plugins-lv2)[synopsis]: Fix typo.
* gnu/packages/bioconductor.scm (r-karyoploter, r-anota, r-gcrma)
(r-bigmemoryextras)[description]: Likewise.
* gnu/packages/cran.scm (r-geometry)[synopsis]: Likewise.
(r-stringdist, r-patchwork, r-depth, r-tea)[description]: Likewise.
* gnu/packages/crates-io.scm (rust-assert-fs-0.11, rust-notify-4)
(rust-tokio-fs-0.1)[synopsis, description]: Likewise.
(rust-blas-sys-0.7)[description]: Likewise.
(rust-fs-extra-1.1, rust-xattr-0.2)[synopsis]: Likewise.
* gnu/packages/databases.scm (perl-mysql-config)[description]: Likewise.
* gnu/packages/disk.scm (hddtemp)[description]: Likewise.
* gnu/packages/django.scm (python-djangorestframework)[description]:
Likewise.
* gnu/packages/documentation.scm (doc++)[description]: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-kakoune, emacs-pyim-basedict, eless)
(emacs-scpaste)[description]: Likewise.
* gnu/packages/file-systems.scm (dbxfs)[description]: Likewise.
* gnu/packages/finance.scm (python-stdnum)[description]: Likewise.
* gnu/packages/fontutils.scm (woff2)[description]: Likewise.
* gnu/packages/games.scm (openttd-opengfx)[description]: Likewise.
* gnu/packages/gnome-xyz.scm (gnome-shell-extension-topicons-redux)
[description]: Likewise.
* gnu/packages/gnome.scm (libgrss)[description]: Likewise.
* gnu/packages/golang.scm (go-github-com-mitchellh-reflectwalk)
[description]: Likewise.
(go-github-com-go-git-go-billy)[synopsis, description]: Likewise.
* gnu/packages/haskell-check.scm (ghc-inspection-testing)[description]:
Likewise.
* gnu/packages/haskell-web.scm (ghc-yesod-form)[description]: Likewise.
* gnu/packages/haskell-xyz.scm (ghc-hex)[description]: Likewise.
* gnu/packages/hyperledger.scm (hyperledger-iroha-ed25519)[description]:
Likewise.
* gnu/packages/java.scm (java-mail)[synopsis]: Likewise.
(java-native-access-platform)[description]: Likewise.
* gnu/packages/kde-frameworks.scm (kactivities-stats)[description]:
Likewise.
* gnu/packages/kde-utils.scm (krusader)[description]: Likewise.
* gnu/packages/language.scm (praat)[description]: Likewise.
* gnu/packages/linux.scm (light)[description]: Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-hu.dwim.defclass-star)[description]:
Likewise.
* gnu/packages/mail.scm (dovecot-trees, sieve-connect)[description]:
Likewise.
* gnu/packages/ocaml.scm (ocaml-opam-file-format, ocaml-cppo)
(ocaml4.07-ppx-variants-conv)[description]: Likewise.
* gnu/packages/perl.scm (perl-convert-binhex)[description]: Likewise.
* gnu/packages/python-crypto.scm (python-ecdsa)[description]: Likewise.
* gnu/packages/python-web.scm (python-html5lib)[synopsis, description]:
Likewise.
(python-venusian)[synopsis]: Likewise.
* gnu/packages/python-xyz.scm (python-readlike, python-gssapi)
(python-flufl-i18n)[description]: Likewise.
(python-pox, python-watchdog, python-xattr)[synopsis, description]:
Likewise.
* gnu/packages/ruby.scm (ruby-sorcerer)[description]: Likewise.
* gnu/packages/rust-apps.scm (watchexec)[description]: Likewise.
* gnu/packages/rust.scm (mrustc)[synopsis]: Likewise.
* gnu/packages/shells.scm (s-shell)[description]: Likewise.
* gnu/packages/ssh.scm (sshpass)[description]: Likewise.
* gnu/packages/terminals.scm (beep)[description]: Likewise.
* gnu/packages/web.scm (perl-lwp-useragent-cached)[description]:
Likewise.
* gnu/packages/wv.scm (wv)[description]: Likewise.
2020-09-22 19:31:52 +00:00
|
|
|
|
(description "WOFF2 provides libraries and tools to handle the Web Open
|
2020-07-13 07:16:47 +00:00
|
|
|
|
Font Format (WOFF).")
|
|
|
|
|
(home-page "https://w3c.github.io/woff/woff2/")
|
|
|
|
|
(license license:expat)))
|
2016-04-02 06:50:14 +00:00
|
|
|
|
|
2013-01-23 20:10:26 +00:00
|
|
|
|
(define-public fontconfig
|
2020-12-30 01:48:39 +00:00
|
|
|
|
(hidden-package
|
|
|
|
|
(package
|
|
|
|
|
(name "fontconfig-minimal")
|
2022-09-05 12:06:09 +00:00
|
|
|
|
(version "2.14.0")
|
2020-12-30 01:48:39 +00:00
|
|
|
|
(source (origin
|
2021-08-04 00:49:16 +00:00
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://www.freedesktop.org/software/"
|
|
|
|
|
"fontconfig/release/fontconfig-" version ".tar.xz"))
|
|
|
|
|
(sha256 (base32
|
2022-09-05 12:06:09 +00:00
|
|
|
|
"1b4v1r94ri44p4a3kbwd38ig5jgdgcfgwdfm6fqzvfvlki6bignw"))
|
2021-08-04 00:49:16 +00:00
|
|
|
|
(patches (search-patches "fontconfig-cache-ignore-mtime.patch"))))
|
2020-12-30 01:48:39 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
;; In Requires or Requires.private of fontconfig.pc.
|
|
|
|
|
(propagated-inputs `(("expat" ,expat)
|
|
|
|
|
("freetype" ,freetype)
|
|
|
|
|
("libuuid" ,util-linux "lib")))
|
|
|
|
|
(inputs
|
2021-07-15 16:56:47 +00:00
|
|
|
|
;; We use to use 'font-ghostscript' but they are not recognized by newer
|
|
|
|
|
;; versions of Pango, causing many applications to fail to find fonts
|
|
|
|
|
;; otherwise.
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list font-dejavu))
|
2020-12-30 01:48:39 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("gperf" ,gperf)
|
2020-12-28 03:56:00 +00:00
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("python" ,python-minimal))) ;to avoid a cycle through tk
|
2020-12-30 01:48:39 +00:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list "--disable-docs"
|
|
|
|
|
"--with-cache-dir=/var/cache/fontconfig"
|
|
|
|
|
;; register the default fonts
|
|
|
|
|
(string-append "--with-default-fonts="
|
|
|
|
|
(assoc-ref %build-inputs "font-dejavu")
|
2021-08-04 00:49:16 +00:00
|
|
|
|
"/share/fonts"))
|
2020-12-30 01:48:39 +00:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2020-12-28 03:56:00 +00:00
|
|
|
|
(add-before 'check 'skip-problematic-tests
|
|
|
|
|
(lambda _
|
2021-06-19 00:52:05 +00:00
|
|
|
|
;; SOURCE_DATE_EPOCH doesn't make sense when ignoring mtime
|
|
|
|
|
(unsetenv "SOURCE_DATE_EPOCH")
|
|
|
|
|
|
2020-12-28 03:56:00 +00:00
|
|
|
|
(substitute* "test/run-test.sh"
|
|
|
|
|
;; The crbug1004254 test attempts to fetch fonts from the
|
|
|
|
|
;; network.
|
|
|
|
|
(("\\[ -x \"\\$BUILDTESTDIR\"/test-crbug1004254 \\]")
|
|
|
|
|
"false"))))
|
2020-12-30 01:48:39 +00:00
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Don't try to create /var/cache/fontconfig.
|
|
|
|
|
(invoke "make" "install"
|
|
|
|
|
"fc_cachedir=$(TMPDIR)"
|
|
|
|
|
"RUN_FC_CACHE_TEST=false"))))))
|
|
|
|
|
(synopsis "Library for configuring and customizing font access")
|
|
|
|
|
(description
|
|
|
|
|
"Fontconfig can discover new fonts when installed automatically;
|
2013-01-23 20:10:26 +00:00
|
|
|
|
perform font name substitution, so that appropriate alternative fonts can
|
|
|
|
|
be selected if fonts are missing;
|
|
|
|
|
identify the set of fonts required to completely cover a set of languages;
|
|
|
|
|
have GUI configuration tools built as it uses an XML-based configuration file;
|
|
|
|
|
efficiently and quickly find needed fonts among the set of installed fonts;
|
|
|
|
|
be used in concert with the X Render Extension and FreeType to implement
|
|
|
|
|
high quality, anti-aliased and subpixel rendered text on a display.")
|
2020-12-30 01:48:39 +00:00
|
|
|
|
; The exact license is more X11-style than BSD-style.
|
|
|
|
|
(license (license:non-copyleft "file://COPYING"
|
|
|
|
|
"See COPYING in the distribution."))
|
2021-08-04 00:49:16 +00:00
|
|
|
|
(native-search-paths
|
|
|
|
|
;; Since version 2.13.94, fontconfig knows to find fonts from
|
|
|
|
|
;; XDG_DATA_DIRS.
|
|
|
|
|
(list (search-path-specification
|
|
|
|
|
(variable "XDG_DATA_DIRS")
|
|
|
|
|
(files '("share")))))
|
2020-12-30 01:48:39 +00:00
|
|
|
|
(home-page "https://www.freedesktop.org/wiki/Software/fontconfig"))))
|
|
|
|
|
|
|
|
|
|
;;; The documentation of fontconfig is built in a separate package, as it
|
|
|
|
|
;;; causes a dramatic increase in the size of the closure of fontconfig. This
|
|
|
|
|
;;; is intentionally named 'fontconfig', as it's intended as the user-facing
|
|
|
|
|
;;; fontconfig package.
|
|
|
|
|
(define-public fontconfig-with-documentation
|
|
|
|
|
(package
|
|
|
|
|
(inherit fontconfig)
|
|
|
|
|
(name "fontconfig")
|
|
|
|
|
(outputs (cons "doc" (package-outputs fontconfig)))
|
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments fontconfig)
|
|
|
|
|
((#:configure-flags configure-flags)
|
|
|
|
|
`(delete "--disable-docs" ,configure-flags))
|
|
|
|
|
((#:phases phases '%standard-phases)
|
|
|
|
|
`(modify-phases ,phases
|
2021-07-12 08:42:37 +00:00
|
|
|
|
(add-after 'unpack 'no-pdf-doc
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Don't build documentation as PDF.
|
|
|
|
|
(substitute* "doc/Makefile.in"
|
|
|
|
|
(("^PDF_FILES = .*")
|
|
|
|
|
"PDF_FILES =\n"))))
|
2020-12-30 01:48:39 +00:00
|
|
|
|
(add-after 'install 'move-man-sections
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; Move share/man/man{3,5} to the "doc" output. Leave "man1" in
|
|
|
|
|
;; "out" for convenience.
|
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
|
(doc (assoc-ref outputs "doc")))
|
|
|
|
|
(for-each (lambda (section)
|
|
|
|
|
(let ((source (string-append out "/share/man/"
|
|
|
|
|
section))
|
|
|
|
|
(target (string-append doc "/share/man/"
|
|
|
|
|
section)))
|
|
|
|
|
(copy-recursively source target)
|
|
|
|
|
(delete-file-recursively source)))
|
|
|
|
|
'("man3" "man5")))))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
(append (package-native-inputs fontconfig)
|
|
|
|
|
`(("docbook-utils" ,docbook-utils))))
|
|
|
|
|
(properties (alist-delete 'hidden? (package-properties fontconfig)))))
|
2013-01-23 21:56:04 +00:00
|
|
|
|
|
|
|
|
|
(define-public t1lib
|
|
|
|
|
(package
|
|
|
|
|
(name "t1lib")
|
|
|
|
|
(version "5.1.2")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-05-27 13:23:21 +00:00
|
|
|
|
(uri (list (string-append "ftp://sunsite.unc.edu/pub/Linux/libs/"
|
|
|
|
|
"graphics/" name "-" version ".tar.gz")
|
|
|
|
|
(string-append "https://fossies.org/linux/misc/old/"
|
|
|
|
|
name "-" version ".tar.gz")))
|
2013-01-23 21:56:04 +00:00
|
|
|
|
(sha256 (base32
|
2016-05-30 08:46:12 +00:00
|
|
|
|
"0nbvjpnmcznib1nlgg8xckrmsw3haa154byds2h90y2g0nsjh4w2"))
|
|
|
|
|
(patches (search-patches
|
2017-11-30 21:46:55 +00:00
|
|
|
|
"t1lib-CVE-2010-2642.patch" ; 2011-0443, 2011-5244
|
2016-05-30 08:46:12 +00:00
|
|
|
|
"t1lib-CVE-2011-0764.patch"
|
2017-11-30 21:46:55 +00:00
|
|
|
|
"t1lib-CVE-2011-1552+.patch")))) ; 2011-1553, 2011-1554
|
|
|
|
|
(properties `((lint-hidden-cve . ("CVE-2011-0433"
|
|
|
|
|
"CVE-2011-1553"
|
|
|
|
|
"CVE-2011-1554"
|
|
|
|
|
"CVE-2011-5244"))))
|
2013-01-23 21:56:04 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
;; Making the documentation requires latex, but t1lib is also an input
|
|
|
|
|
;; for building texlive.
|
|
|
|
|
`(#:tests? #f ; no test target
|
|
|
|
|
#:make-flags
|
|
|
|
|
'("without_doc")))
|
2014-09-13 13:50:30 +00:00
|
|
|
|
(synopsis "Library for generating bitmaps from Type 1 fonts")
|
2013-01-23 21:56:04 +00:00
|
|
|
|
(description
|
|
|
|
|
"T1lib is a library for generating/rasterising bitmaps from Type 1 fonts.
|
|
|
|
|
It is based on the code of the X11 rasteriser of the X11 project.
|
|
|
|
|
|
|
|
|
|
The bitmaps created by t1lib are returned in a data structure with type
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 04:46:59 +00:00
|
|
|
|
GLYPH. This special GLYPH-type is also used in the X11 window system to
|
|
|
|
|
describe character bitmaps. It contains the bitmap data as well as some
|
|
|
|
|
metric information. But t1lib is in itself entirely independent of the
|
|
|
|
|
X11-system or any other graphical user interface.")
|
2013-01-23 21:56:04 +00:00
|
|
|
|
(license license:gpl2)
|
2020-01-19 00:21:49 +00:00
|
|
|
|
(home-page "https://www.t1lib.org/")))
|
2013-01-25 23:43:03 +00:00
|
|
|
|
|
|
|
|
|
(define-public teckit
|
|
|
|
|
(package
|
2019-03-21 21:38:24 +00:00
|
|
|
|
(name "teckit")
|
2020-05-16 20:09:10 +00:00
|
|
|
|
(version "2.5.10") ; signed by key 0xC9183BEA0288CDEE
|
2019-03-21 21:38:24 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/silnrsi/teckit/releases/"
|
|
|
|
|
"download/v" version "/teckit-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2020-05-16 20:09:10 +00:00
|
|
|
|
(base32 "12qnf8nhxyr4d5pc01s3vc6h726506957an4vvmmfz633cqi5796"))))
|
2019-03-21 21:38:24 +00:00
|
|
|
|
(build-system gnu-build-system)
|
2020-01-08 17:41:39 +00:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:configure-flags '("--disable-static")))
|
2019-03-21 21:38:24 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list zlib expat))
|
2019-03-21 21:38:24 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list perl)) ;for the tests
|
2019-03-21 21:38:24 +00:00
|
|
|
|
(synopsis "Toolkit for encoding conversions")
|
|
|
|
|
(description
|
|
|
|
|
"TECkit is a low-level toolkit intended to be used by other applications
|
2013-01-25 23:43:03 +00:00
|
|
|
|
that need to perform encoding conversions (e.g., when importing legacy data
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 04:46:59 +00:00
|
|
|
|
into a Unicode-based application). The primary component of the TECkit
|
2013-01-25 23:43:03 +00:00
|
|
|
|
package is therefore a library that performs conversions; this is the
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 04:46:59 +00:00
|
|
|
|
\"TECkit engine\". The engine relies on mapping tables in a specific binary
|
2013-01-25 23:43:03 +00:00
|
|
|
|
format (for which documentation is available); there is a compiler that
|
|
|
|
|
creates such tables from a human-readable mapping description (a simple
|
|
|
|
|
text file).
|
|
|
|
|
|
|
|
|
|
To facilitate the development and testing of mapping tables for TECkit,
|
|
|
|
|
several applications are also included in the current package; these
|
|
|
|
|
include simple tools for applying conversions to plain-text and Standard
|
|
|
|
|
Format files, as well as both command-line and simple GUI versions of the
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 04:46:59 +00:00
|
|
|
|
TECkit compiler. However, it is not intended that these tools will be the
|
2013-01-25 23:43:03 +00:00
|
|
|
|
primary means by which end users perform conversions, and they have not
|
|
|
|
|
been designed, tested, and debugged to the extent that general-purpose
|
|
|
|
|
applications should be.")
|
2019-03-21 21:38:24 +00:00
|
|
|
|
(license license:lgpl2.1+)
|
2021-02-28 11:02:25 +00:00
|
|
|
|
(home-page "https://scripts.sil.org/cms/scripts/page.php?cat_id=teckit")))
|
2014-09-27 21:47:05 +00:00
|
|
|
|
|
|
|
|
|
(define-public graphite2
|
|
|
|
|
(package
|
|
|
|
|
(name "graphite2")
|
2019-02-10 17:14:02 +00:00
|
|
|
|
(version "1.3.13")
|
2014-09-27 21:47:05 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2016-04-27 13:51:32 +00:00
|
|
|
|
(uri (string-append "https://github.com/silnrsi/graphite/releases/"
|
|
|
|
|
"download/" version "/" name "-" version ".tgz"))
|
2014-09-27 21:47:05 +00:00
|
|
|
|
(sha256
|
2016-03-09 14:23:12 +00:00
|
|
|
|
(base32
|
2019-02-10 17:14:02 +00:00
|
|
|
|
"01jzhwnj1c3d68dmw15jdxly0hwkmd8ja4kw755rbkykn1ly2qyx"))))
|
2014-09-27 21:47:05 +00:00
|
|
|
|
(build-system cmake-build-system)
|
2015-08-22 03:33:35 +00:00
|
|
|
|
(native-inputs
|
2023-04-19 11:58:20 +00:00
|
|
|
|
(list python python-fonttools-minimal))
|
2014-09-27 21:47:05 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list freetype))
|
2023-06-13 06:35:57 +00:00
|
|
|
|
(arguments
|
|
|
|
|
(if (system-hurd?)
|
|
|
|
|
(list
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(replace 'check
|
|
|
|
|
;; cmake-build-system ignores #:make-flags for make check
|
|
|
|
|
(lambda* (#:key test-target tests? parallel-tests?
|
|
|
|
|
#:allow-other-keys)
|
|
|
|
|
(if tests?
|
|
|
|
|
(let ((jobs (if parallel-tests?
|
|
|
|
|
(number->string (parallel-job-count))
|
|
|
|
|
"1")))
|
|
|
|
|
(invoke "make"
|
|
|
|
|
(string-append
|
|
|
|
|
"ARGS=-j " jobs " --exclude-regex ^awamicmp3$")
|
|
|
|
|
test-target))
|
|
|
|
|
(format #t "test suite not run~%"))))))
|
|
|
|
|
'()))
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 04:46:59 +00:00
|
|
|
|
(synopsis "Reimplementation of the SIL Graphite text processing engine")
|
2014-09-27 21:47:05 +00:00
|
|
|
|
(description
|
|
|
|
|
"Graphite2 is a reimplementation of the SIL Graphite text processing
|
|
|
|
|
engine. Graphite is a smart font technology designed to facilitate the
|
|
|
|
|
process known as shaping. This process takes an input Unicode text string
|
|
|
|
|
and returns a sequence of positioned glyphids from the font.")
|
|
|
|
|
(license license:lgpl2.1+)
|
2016-02-10 22:27:20 +00:00
|
|
|
|
(home-page "https://github.com/silnrsi/graphite")))
|
2014-10-07 17:27:37 +00:00
|
|
|
|
|
|
|
|
|
(define-public potrace
|
|
|
|
|
(package
|
|
|
|
|
(name "potrace")
|
2020-03-26 15:04:33 +00:00
|
|
|
|
(version "1.16")
|
2014-10-07 17:27:37 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2016-07-21 06:35:30 +00:00
|
|
|
|
(uri (string-append "mirror://sourceforge/potrace/" version
|
|
|
|
|
"/potrace-" version ".tar.gz"))
|
2014-10-07 17:27:37 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-03-26 15:04:33 +00:00
|
|
|
|
"1k3sxgjqq0jnpk9xxys05q32sl5hbf1lbk1gmfxcrmpdgnhli0my"))))
|
2014-10-07 17:27:37 +00:00
|
|
|
|
(build-system gnu-build-system)
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(native-inputs (list ghostscript)) ;for tests
|
|
|
|
|
(inputs (list zlib))
|
2014-10-29 19:05:11 +00:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
`("--with-libpotrace"))) ; install library and headers
|
2014-10-07 17:27:37 +00:00
|
|
|
|
(synopsis "Transform bitmaps into vector graphics")
|
|
|
|
|
(description
|
|
|
|
|
"Potrace is a tool for tracing a bitmap, which means, transforming a
|
|
|
|
|
bitmap into a smooth, scalable image. The input is a bitmap (PBM, PGM, PPM,
|
|
|
|
|
or BMP format), and the default output is an encapsulated PostScript
|
|
|
|
|
file (EPS). A typical use is to create EPS files from scanned data, such as
|
|
|
|
|
company or university logos, handwritten notes, etc. The resulting image is
|
|
|
|
|
not \"jaggy\" like a bitmap, but smooth. It can then be rendered at any
|
|
|
|
|
resolution.")
|
|
|
|
|
(license license:gpl2+)
|
gnu: Use HTTPS package home pages wherever possible.
* gnu/packages/accessibility.scm (florence)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (netcat, nmon)[home-page]: Likewise.
* gnu/packages/algebra.scm (mpfrcx, cm, flint, fftw, r-dtt)[home-page]:
Likewise.
* gnu/packages/apr.scm (apr, apr-util)[home-page]: Likewise.
* gnu/packages/aspell.scm (aspell-dict-it)[home-page]: Likewise.
* gnu/packages/astronomy.scm (casacore, sextractor, libnova)
(xplanet)[home-page]: Likewise.
* gnu/packages/audio.scm (libtimidity, alsa-modular-synth, azr3, tao)
(freepats, rakarrack, liblo, libshout-idjc, timidity++, libsbsms)
(libmodplug, libxmp, xmp, sox, drc, gsm, gnaural)
(streamripper)[home-page]: Likewise.
* gnu/packages/authentication.scm (pamtester)[home-page]: Likewise.
* gnu/packages/backup.scm (grsync)[home-page]: Likewise.
* gnu/packages/bioconductor.scm (r-nmf, r-edger, r-limma)
(r-plgem)[home-page]: Likewise.
* gnu/packages/bioinformatics.scm (python-biom-format, bowtie, bowtie1)
(bwa, crossmap, java-htsjdk, java-htsjdk-latest, java-picard)
(java-picard-2.10.3, kaiju, proteinortho, rsem, rseqc, seek, samtools)
(snap-aligner, subread, stringtie, r-centipede, prinseq, emboss, phylip)
(libsbml)[home-page]: Likewise.
* gnu/packages/build-tools.scm (tup)[home-page]: Likewise.
* gnu/packages/cdrom.scm (libcddb, cdrdao, cdrtools)
(cd-discid)[home-page]: Likewise.
* gnu/packages/check.scm (cunit, python-nose)
(python-pyhamcrest)[home-page]: Likewise.
* gnu/packages/chemistry.scm (gromacs)[home-page]: Likewise.
* gnu/packages/chez.scm (chez-fmt)[home-page]: Likewise.
* gnu/packages/code.scm (lcov, uncrustify, cscope)[home-page]: Likewise.
* gnu/packages/compression.scm (p7zip)[home-page]: Likewise.
* gnu/packages/cran.scm (r-emdist, r-proj4, r-zoo, r-ggalluvial)
(r-orgmassspecr, r-polychrome, r-partykit, r-rcpp, r-ff, r-emdbook)
(r-fitdistrplus, r-linprog, r-geometry, r-dtw, r-fst, r-rjags)
(r-intergraph, r-qualv, r-labelled, r-survey, r-coin, r-fmsb, r-tm)
(r-corpcor, r-rmpfr, r-spatialextremes, r-longitudinal, r-genenet)
(r-bayesm, r-seqinr, r-mpm, r-text2vec, r-rgdal, r-seewave, r-hdrcde)
(r-shapes, r-anytime, r-stm, r-d3network, r-tam, r-directlabels)
(r-spatstat-utils, r-spatstat-sparse, r-spatstat-data, r-spatstat-geom)
(r-spatstat-core, r-spatstat-linnet, r-spatstat-random, r-spatstat)
(r-rcpptoml, r-mlecens, r-seurat, r-mlearning, r-zooimage)[home-page]:
Likewise.
* gnu/packages/crates-io.scm (rust-nickel-0.11, rust-thrift-0.13)
(rust-trust-dns-https-0.20, rust-trust-dns-native-tls-0.20)
(rust-trust-dns-openssl-0.20, rust-trust-dns-proto-0.20)
(rust-trust-dns-resolver-0.20, rust-trust-dns-rustls-0.20)
(rust-uint-0.9, rust-yaml-rust-0.4)[home-page]: Likewise.
* gnu/packages/crypto.scm (libdecaf, ccrypt)[home-page]: Likewise.
* gnu/packages/curl.scm (curlpp)[home-page]: Likewise.
* gnu/packages/databases.scm (python-pylibmc, unixodbc, wiredtiger)
(libpqxx, mdbtools, virtuoso-ose, libdbi, libdbi-drivers)
(soci)[home-page]: Likewise.
* gnu/packages/debian.scm (apt-mirror)[home-page]: Likewise.
* gnu/packages/debug.scm (remake)[home-page]: Likewise.
* gnu/packages/disk.scm (sdparm, idle3-tools, duc)[home-page]: Likewise.
* gnu/packages/django.scm (python-django-haystack)[home-page]: Likewise.
* gnu/packages/djvu.scm (djvulibre, djview)[home-page]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[home-page]: Likewise.
* gnu/packages/docbook.scm (dblatex, docbook2x)[home-page]: Likewise.
* gnu/packages/documentation.scm (scrollkeeper)[home-page]: Likewise.
* gnu/packages/ebook.scm (liblinebreak)[home-page]: Likewise.
* gnu/packages/electronics.scm (xoscope)[home-page]: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-bbdb, emacs-caps-lock, emacs-djvu)
(emacs-pabbrev, emacs-twittering-mode, emacs-filladapt, emacs-rudel)
(emacs-stream, emacspeak, emacs-cc-mode, emacs-eldoc, emacs-jsonrpc)
(emacs-gtk-look, emacs-xclip, emacs-slime-volleyball, emacs-minimap)
(emacs-auto-dictionary-mode, emacs-persist, emacs-shell-command+)
(emacs-map, emacs-xref, emacs-dictionary)[home-page]: Likewise.
* gnu/packages/embedded.scm (sdcc)[home-page]: Likewise.
* gnu/packages/engineering.scm (asco, libngspice, libspnav)
(openctm)[home-page]: Likewise.
* gnu/packages/erlang.scm (erlang-erlware-commons)[home-page]: Likewise.
* gnu/packages/file-systems.scm (jfsutils, curlftpfs)[home-page]:
Likewise.
* gnu/packages/finance.scm (gbonds)[home-page]: Likewise.
* gnu/packages/flashing-tools.scm (dfu-util, srecord)[home-page]:
Likewise.
* gnu/packages/fltk.scm (ntk)[home-page]: Likewise.
* gnu/packages/fonts.scm (font-terminus, font-tex-gyre)
(font-comic-neue)[home-page]: Likewise.
* gnu/packages/fontutils.scm (ttf2pt1, potrace, libspiro)[home-page]:
Likewise.
* gnu/packages/fpga.scm (icestorm, gtkwave, gtkwave)
(python-myhdl)[home-page]: Likewise.
* gnu/packages/freedesktop.scm (libatasmart)[home-page]: Likewise.
* gnu/packages/ftp.scm (weex)[home-page]: Likewise.
* gnu/packages/game-development.scm (dds, python-tmx, sfxr, quesoglc)
(eureka, plib)[home-page]: Likewise.
* gnu/packages/games.scm (abe, alex4, armagetronad, barony)
(foobillard++, golly, ltris, pipewalker, prboom-plus, trigger-rally)
(cmatrix, pinball, pioneers, tennix, chromium-bsu, freeciv, kiki)
(quakespasm, frotz, frotz-dumb-terminal, frotz-sdl, btanks)
(flare-engine, chessx, barrage, cgoban, passage)[home-page]: Likewise.
* gnu/packages/geo.scm (python-geopandas, saga)[home-page]: Likewise.
* gnu/packages/gl.scm (freeglut, gl2ps)[home-page]: Likewise.
* gnu/packages/gnome.scm (cogl, clutter-gtk, clutter-gst, bluefish)
(workrave)[home-page]: Likewise.
* gnu/packages/gnustep.scm (wmnd, wmfire, wmfire)[home-page]: Likewise.
* gnu/packages/graph.scm (mscgen)[home-page]: Likewise.
* gnu/packages/graphics.scm (assimp, alembic, ctl, agg)
(opencsg)[home-page]: Likewise.
* gnu/packages/graphviz.scm (gts)[home-page]: Likewise.
* gnu/packages/gtk.scm (gtkspell3)[home-page]: Likewise.
* gnu/packages/guile-xyz.scm (guile-irregex)[home-page]: Likewise.
* gnu/packages/haskell-apps.scm (cpphs)[home-page]: Likewise.
* gnu/packages/haskell-check.scm (ghc-hunit)[home-page]: Likewise.
* gnu/packages/haskell-web.scm (ghc-http-client-restricted)
(ghc-blaze-html, ghc-happstack-server, ghc-sourcemap)[home-page]:
Likewise.
* gnu/packages/haskell-xyz.scm (ghc-assoc, ghc-cairo, ghc-cborg)
(ghc-csv, ghc-glob, ghc-gtk2hs-buildtools, ghc-hmatrix-gsl-stats)
(ghc-intervalmap, ghc-lens-family-core, ghc-managed, ghc-mountpoints)
(ghc-network-multicast, ghc-optional-args, ghc-regex, ghc-spoon)
(ghc-transformers, ghc-turtle, ghc-utf8-light, ghc-wizards)
(ghc-template-haskell, ghc-boot-th, ghc-binary-orphans)
(ghc-postgresql-simple)[home-page]: Likewise.
* gnu/packages/hexedit.scm (ht, bvi)[home-page]: Likewise.
* gnu/packages/hunspell.scm (hunspell-dict-hu)[home-page]: Likewise.
* gnu/packages/image-processing.scm (mia)[home-page]: Likewise.
* gnu/packages/image-viewers.scm (geeqie, gpicview, luminance-hdr)
(qiv)[home-page]: Likewise.
* gnu/packages/image.scm (libuemf, devil, steghide, optipng, niftilib)
(sng, mtpaint)[home-page]: Likewise.
* gnu/packages/java-xml.scm (java-simple-xml, java-jaxp)
(java-apache-xml-commons-resolver)[home-page]: Likewise.
* gnu/packages/java.scm (java-cisd-base, java-cisd-args4j)
(java-hamcrest-core, java-jsr305, java-eclipse-osgi)
(java-eclipse-equinox-common, java-eclipse-core-jobs)
(java-eclipse-equinox-registry, java-eclipse-equinox-app)
(java-eclipse-equinox-preferences, java-eclipse-core-contenttype)
(java-eclipse-text, java-treelayout, java-aopalliance, java-jeromq)
(java-cdi-api)[home-page]: Likewise.
* gnu/packages/jemalloc.scm (jemalloc-4.5.0)[home-page]: Likewise.
* gnu/packages/julia-xyz.scm (julia-recipespipeline)[home-page]:
Likewise.
* gnu/packages/kde-internet.scm (kget)[home-page]: Likewise.
* gnu/packages/kde-systemtools.scm (dolphin-plugins)
(konsole)[home-page]: Likewise.
* gnu/packages/kodi.scm (fstrcmp)[home-page]: Likewise.
* gnu/packages/language.scm (hime, libchewing)[home-page]: Likewise.
* gnu/packages/lego.scm (nqc)[home-page]: Likewise.
* gnu/packages/lesstif.scm (lesstif)[home-page]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[home-page]: Likewise.
* gnu/packages/libdaemon.scm (libdaemon)[home-page]: Likewise.
* gnu/packages/libffi.scm (libffi)[home-page]: Likewise.
* gnu/packages/libreoffice.scm (libwpd, libwpg, libwps)[home-page]:
Likewise.
* gnu/packages/libusb.scm (libmtp, gmtp)[home-page]: Likewise.
* gnu/packages/linux.scm (e2fsprogs, extundelete, lsscsi, net-tools)
(kbd, sysfsutils, cpuid, libpfm4)[home-page]: Likewise.
* gnu/packages/lisp-check.scm (sbcl-ptester, sbcl-xlunit)[home-page]:
Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-html-encode, sbcl-py-configparser)
(sbcl-cl-utilities, sbcl-series, sbcl-uffi, sbcl-clsql, sbcl-sycamore)
(sbcl-osicat, sbcl-hu.dwim.common, sbcl-caveman, sbcl-trivial-shell)
(sbcl-trivial-benchmark, sbcl-screamer, sbcl-smug)[home-page]: Likewise.
* gnu/packages/lisp.scm (lush2)[home-page]: Likewise.
* gnu/packages/logging.scm (log4cpp)[home-page]: Likewise.
* gnu/packages/lua.scm (lua-ldoc)[home-page]: Likewise.
* gnu/packages/machine-learning.scm (mcl, openfst, rxcpp)[home-page]:
Likewise.
* gnu/packages/mail.scm (muchsync, procmail, sendmail)
(opensmtpd-filter-dkimsign, crm114)[home-page]: Likewise.
* gnu/packages/man.scm (libpipeline, man-db)[home-page]: Likewise.
* gnu/packages/maths.scm (lapack, scalapack, hdf-eos5, itpp, gmsh)
(metamath, p4est, armadillo, suitesparse, atlas, lpsolve, wcalc, why3)
(frama-c)[home-page]: Likewise.
* gnu/packages/mcrypt.scm (mcrypt, libmcrypt, libmhash)[home-page]:
Likewise.
* gnu/packages/minetest.scm (minetest-advtrains)[home-page]: Likewise.
* gnu/packages/monitoring.scm (python-whisper, python-carbon)
(hostscope)[home-page]: Likewise.
* gnu/packages/mp3.scm (id3lib, libmp3splt, mp3splt, mpg321)
(lame)[home-page]: Likewise.
* gnu/packages/multiprecision.scm (mpc)[home-page]: Likewise.
* gnu/packages/music.scm (aria-maestosa, lingot, setbfree, bristol)
(portmidi, python-pyportmidi, zynaddsubfx, yoshimi, aj-snapshot)
(schismtracker, midicsv, midicsv, qmidiarp, qmidiroute, dssi, tap-lv2)
(shiru-lv2)[home-page]: Likewise.
* gnu/packages/ncurses.scm (stfl)[home-page]: Likewise.
* gnu/packages/networking.scm (lksctp-tools, mbuffer, ifstatus, bird)
(tunctl, traceroute)[home-page]: Likewise.
* gnu/packages/node-xyz.scm (node-mersenne)[home-page]: Likewise.
* gnu/packages/ntp.scm (openntpd)[home-page]: Likewise.
* gnu/packages/ocaml.scm (opam, hevea, ocaml-menhir, ocaml-piqilib)
(ocaml-graph, cubicle)[home-page]: Likewise.
* gnu/packages/opencl.scm (python-pyopencl)[home-page]: Likewise.
* gnu/packages/package-management.scm (xstow, modules)[home-page]:
Likewise.
* gnu/packages/parallel.scm (xjobs)[home-page]: Likewise.
* gnu/packages/pdf.scm (podofo, qpdf, xournal, impressive)[home-page]:
Likewise.
* gnu/packages/perl.scm (perl-math-vecstat, perltidy)[home-page]:
Likewise.
* gnu/packages/photo.scm (libpano13, enblend-enfuse, hugin)[home-page]:
Likewise.
* gnu/packages/plan9.scm (drawterm)[home-page]: Likewise.
* gnu/packages/plotutils.scm (guile-charting, ploticus)[home-page]:
Likewise.
* gnu/packages/popt.scm (argtable, popt)[home-page]: Likewise.
* gnu/packages/profiling.scm (otf2)[home-page]: Likewise.
* gnu/packages/pulseaudio.scm (pulseaudio)[home-page]: Likewise.
* gnu/packages/python-check.scm (python-mypy)[home-page]: Likewise.
* gnu/packages/python-web.scm (python-cssutils)
(python-translationstring)[home-page]: Likewise.
* gnu/packages/python-xyz.scm (python-diskcache, python-doxyqml)
(python-docutils, python-pexpect, python-importlib-resources)
(python-simplegeneric, python-urwid, python-xlrd, python-xlwt)
(python-pyasn1, python-pythondialog, python-tftpy, python-random2)
(python-arcp, python-pyopengl, python-sortedcollections)
(python-sortedcontainers, python-yapsy, python-pydispatcher)
(python-posix-ipc)[home-page]: Likewise.
* gnu/packages/qt.scm (qwt, libqglviewer, signond)[home-page]: Likewise.
* gnu/packages/radio.scm (unixcw, gnuais)[home-page]: Likewise.
* gnu/packages/raspberry-pi.scm (bcm2835)[home-page]: Likewise.
* gnu/packages/rdf.scm (clucene, rasqal, redland)[home-page]: Likewise.
* gnu/packages/regex.scm (tre)[home-page]: Likewise.
* gnu/packages/rsync.scm (librsync)[home-page]: Likewise.
* gnu/packages/ruby.scm (ruby-packnga, ruby-nokogiri, ruby-oj, ruby-ox)
(ruby-sinatra, ruby-citrus, ruby-cbor, ruby-roda)[home-page]: Likewise.
* gnu/packages/scheme.scm (scheme48, tinyscheme)[home-page]: Likewise.
* gnu/packages/screen.scm (dtach)[home-page]: Likewise.
* gnu/packages/scsi.scm (sg3-utils)[home-page]: Likewise.
* gnu/packages/sdl.scm (libmikmod, sdl-pango)[home-page]: Likewise.
* gnu/packages/shellutils.scm (hstr, rig)[home-page]: Likewise.
* gnu/packages/simulation.scm (python-dolfin-adjoint)[home-page]:
Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[home-page]: Likewise.
* gnu/packages/speech.scm (espeak)[home-page]: Likewise.
* gnu/packages/stalonetray.scm (stalonetray)[home-page]: Likewise.
* gnu/packages/statistics.scm (jags, r-mass, r-class, r-lattice)
(r-matrix, r-nnet, r-spatial, r-bit, r-bit64, r-digest, r-xtable)
(python-statsmodels, r-ade4, r-latticeextra, r-rcurl, r-xml, r-mvtnorm)
(r-robustbase, r-minqa, r-fdrtool, java-jdistlib, xlispstat)[home-page]:
Likewise.
* gnu/packages/swig.scm (swig)[home-page]: Likewise.
* gnu/packages/task-management.scm (wtime)[home-page]: Likewise.
* gnu/packages/tcl.scm (itcl, tclxml, tclx)[home-page]: Likewise.
* gnu/packages/terminals.scm (libtermkey, mlterm, libvterm)
(libvterm)[home-page]: Likewise.
* gnu/packages/tex.scm (texlive-lm, texlive-lm-math, texlive-cs)
(texlive-csplain, biber, texmaker)[home-page]: Likewise.
* gnu/packages/text-editors.scm (joe)[home-page]: Likewise.
* gnu/packages/textutils.scm (drm-tools, docx2txt)[home-page]: Likewise.
* gnu/packages/tv.scm (tvtime)[home-page]: Likewise.
* gnu/packages/unicode.scm (libunibreak)[home-page]: Likewise.
* gnu/packages/upnp.scm (libupnp)[home-page]: Likewise.
* gnu/packages/version-control.scm (cvs)[home-page]: Likewise.
* gnu/packages/video.scm (transcode, libquicktime, mjpegtools, aalib)
(liba52, libmpeg2, x265, libdv, dvdauthor, aegisub, pitivi, gavl)
(dvdbackup, guvcview, video-contact-sheet)[home-page]: Likewise.
* gnu/packages/virtualization.scm (bochs)[home-page]: Likewise.
* gnu/packages/w3m.scm (w3m)[home-page]: Likewise.
* gnu/packages/web.scm (qjson, libquvi-scripts, libquvi, quvi)
(tidy-html, htmlcxx)[home-page]: Likewise.
* gnu/packages/wm.scm (evilwm, menumaker)[home-page]: Likewise.
* gnu/packages/wv.scm (wv)[home-page]: Likewise.
* gnu/packages/wxwidgets.scm (wxsvg)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (mtdev, xsel)[home-page]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[home-page]: Likewise.
* gnu/packages/xml.scm (openjade, python-pyxb, xmlstarlet, xmlrpc-c)
(opensp)[home-page]: Likewise.
* gnu/packages/xorg.scm (xf86-video-qxl)[home-page]: Likewise.
2023-02-12 00:00:00 +00:00
|
|
|
|
(home-page "https://potrace.sourceforge.net/")))
|
2014-10-07 16:14:39 +00:00
|
|
|
|
|
2023-10-15 00:00:00 +00:00
|
|
|
|
(define-public psftools
|
|
|
|
|
(package
|
|
|
|
|
(name "psftools")
|
|
|
|
|
(version "1.1.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://www.seasip.info/Unix/PSF/"
|
|
|
|
|
"psftools-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1lv6kvrcbspyh7a0hlji84wbmw6xh87r3iaafq3khp88kgh1irri"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list
|
|
|
|
|
#:configure-flags #~(list "--disable-static")))
|
|
|
|
|
(home-page "https://www.seasip.info/Unix/PSF/")
|
|
|
|
|
(synopsis
|
|
|
|
|
"Convert PSF fixed-width bitmap (console) fonts from/to other formats")
|
|
|
|
|
(description
|
|
|
|
|
"@acronym{PSF, PC Screen Font} is the simple monospaced bitmap font format
|
|
|
|
|
used by the Linux kernel for console fonts. The PSF Tools convert between PSF
|
|
|
|
|
and many other font formats, similar to what the NetPBM package does for images.
|
|
|
|
|
|
|
|
|
|
It includes converters for a good number of common bitmap font formats such as
|
|
|
|
|
@file{.BDF}, @file{.FNT}, and @file{.FON} files, Berkeley vfonts, classic
|
|
|
|
|
Amstrad/Sinclair/Hercules/BBC Micro soft fonts, and raw (DOS-style) fonts.
|
|
|
|
|
|
|
|
|
|
It also supports less traditional formats such as PBM/XBM images, plain text
|
|
|
|
|
(for rudimentary editing), and C header files.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2016-02-19 11:32:15 +00:00
|
|
|
|
(define-public libotf
|
|
|
|
|
(package
|
|
|
|
|
(name "libotf")
|
2018-04-07 00:11:29 +00:00
|
|
|
|
(version "0.9.16")
|
2016-02-19 11:32:15 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-10-02 14:45:19 +00:00
|
|
|
|
(uri (string-append "mirror://savannah/m17n/libotf-"
|
|
|
|
|
version ".tar.gz"))
|
2016-02-19 11:32:15 +00:00
|
|
|
|
(sha256
|
2018-04-07 00:11:29 +00:00
|
|
|
|
(base32 "0sq6g3xaxw388akws6qrllp3kp2sxgk2dv4j79k6mm52rnihrnv8"))))
|
2016-02-19 11:32:15 +00:00
|
|
|
|
(build-system gnu-build-system)
|
2018-01-03 17:17:03 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list pkg-config))
|
2016-02-19 11:32:15 +00:00
|
|
|
|
(propagated-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list freetype))
|
gnu: Use HTTPS for supported nongnu.org home pages.
* gnu/packages/acl.scm (acl)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (dmidecode)[home-page]: Likewise.
* gnu/packages/attr.scm (attr)[home-page]: Likewise.
* gnu/packages/audio.scm (lash)[home-page]: Likewise.
* gnu/packages/avr.scm (avr-libc)[home-page]: Likewise.
* gnu/packages/backup.scm (rdiff-backup, libchop)[home-page]: Likewise.
* gnu/packages/compression.scm (fastjar, lzip, lziprecover, atool)
(lunzip, clzip, lzlib, plzip)[home-page]: Likewise.
* gnu/packages/emacs.scm (geiser, bbdb, m17n-lib, m17n-lib)[home-page]:
Likewise.
* gnu/packages/flashing-tools.scm (avrdude)[home-page]: Likewise.
* gnu/packages/fontutils.scm (libotf)[home-page]: Likewise.
* gnu/packages/game-development.scm (gzochi)[home-page]: Likewise.
* gnu/packages/games.scm (enigma)[home-page]: Likewise.
* gnu/packages/gsasl.scm (libntlm)[home-page]: Likewise.
* gnu/packages/gtk.scm (guile-cairo)[home-page]: Likewise.
* gnu/packages/guile.scm (guile-reader, guile-lib, guile-json)
(guile-redis, g-wrap)[home-page]: Likewise.
* gnu/packages/libunwind.scm (libunwind)[home-page]: Likewise.
* gnu/packages/lout.scm (lout)[home-page]: Likewise.
* gnu/packages/mpd.scm (sonata)[home-page]: Likewise.
* gnu/packages/networking.scm (quagga)[home-page]: Likewise.
* gnu/packages/ratpoison.scm (ratpoison)[home-page]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[home-page]: Likewise.
* gnu/packages/telephony.scm (exosip)[home-page]: Likewise.
* gnu/packages/texinfo.scm (texi2html)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (xbindkeys)[home-page]: Likewise.
2018-02-16 03:20:44 +00:00
|
|
|
|
(home-page "https://www.nongnu.org/m17n/")
|
2016-02-19 11:32:15 +00:00
|
|
|
|
(synopsis "Library for handling OpenType Font")
|
|
|
|
|
(description "This library can read Open Type Layout Tables from an OTF
|
|
|
|
|
file. Currently these tables are supported; head, name, cmap, GDEF, GSUB, and
|
|
|
|
|
GPOS. It can convert a Unicode character sequence to a glyph code sequence by
|
|
|
|
|
using the above tables.")
|
|
|
|
|
(license license:lgpl2.0+)))
|
|
|
|
|
|
2014-10-07 16:14:39 +00:00
|
|
|
|
(define-public libspiro
|
|
|
|
|
(package
|
|
|
|
|
(name "libspiro")
|
2020-12-08 10:41:14 +00:00
|
|
|
|
(version "20200505")
|
2014-10-07 16:14:39 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2018-07-14 09:54:16 +00:00
|
|
|
|
(uri (string-append "https://github.com/fontforge/libspiro/releases"
|
2020-12-08 21:52:04 +00:00
|
|
|
|
"/download/" version "/libspiro-dist-" version ".tar.gz"))
|
2014-10-07 16:14:39 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-12-08 10:41:14 +00:00
|
|
|
|
"0j8fmyj4wz6mqk17dqs6f8jx0i52n68gv5px17qbrjnbilg9mih6"))))
|
2014-10-07 16:14:39 +00:00
|
|
|
|
(build-system gnu-build-system)
|
2019-12-02 23:22:12 +00:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:configure-flags '("--disable-static")))
|
2014-10-07 16:14:39 +00:00
|
|
|
|
(synopsis "Clothoid to bezier conversion library")
|
|
|
|
|
(description
|
|
|
|
|
"Raph Levien's Spiro package as a library. A mechanism for drawing
|
|
|
|
|
smooth contours with constant curvature at the spline joins.")
|
|
|
|
|
(license license:gpl2+)
|
gnu: Use HTTPS package home pages wherever possible.
* gnu/packages/accessibility.scm (florence)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (netcat, nmon)[home-page]: Likewise.
* gnu/packages/algebra.scm (mpfrcx, cm, flint, fftw, r-dtt)[home-page]:
Likewise.
* gnu/packages/apr.scm (apr, apr-util)[home-page]: Likewise.
* gnu/packages/aspell.scm (aspell-dict-it)[home-page]: Likewise.
* gnu/packages/astronomy.scm (casacore, sextractor, libnova)
(xplanet)[home-page]: Likewise.
* gnu/packages/audio.scm (libtimidity, alsa-modular-synth, azr3, tao)
(freepats, rakarrack, liblo, libshout-idjc, timidity++, libsbsms)
(libmodplug, libxmp, xmp, sox, drc, gsm, gnaural)
(streamripper)[home-page]: Likewise.
* gnu/packages/authentication.scm (pamtester)[home-page]: Likewise.
* gnu/packages/backup.scm (grsync)[home-page]: Likewise.
* gnu/packages/bioconductor.scm (r-nmf, r-edger, r-limma)
(r-plgem)[home-page]: Likewise.
* gnu/packages/bioinformatics.scm (python-biom-format, bowtie, bowtie1)
(bwa, crossmap, java-htsjdk, java-htsjdk-latest, java-picard)
(java-picard-2.10.3, kaiju, proteinortho, rsem, rseqc, seek, samtools)
(snap-aligner, subread, stringtie, r-centipede, prinseq, emboss, phylip)
(libsbml)[home-page]: Likewise.
* gnu/packages/build-tools.scm (tup)[home-page]: Likewise.
* gnu/packages/cdrom.scm (libcddb, cdrdao, cdrtools)
(cd-discid)[home-page]: Likewise.
* gnu/packages/check.scm (cunit, python-nose)
(python-pyhamcrest)[home-page]: Likewise.
* gnu/packages/chemistry.scm (gromacs)[home-page]: Likewise.
* gnu/packages/chez.scm (chez-fmt)[home-page]: Likewise.
* gnu/packages/code.scm (lcov, uncrustify, cscope)[home-page]: Likewise.
* gnu/packages/compression.scm (p7zip)[home-page]: Likewise.
* gnu/packages/cran.scm (r-emdist, r-proj4, r-zoo, r-ggalluvial)
(r-orgmassspecr, r-polychrome, r-partykit, r-rcpp, r-ff, r-emdbook)
(r-fitdistrplus, r-linprog, r-geometry, r-dtw, r-fst, r-rjags)
(r-intergraph, r-qualv, r-labelled, r-survey, r-coin, r-fmsb, r-tm)
(r-corpcor, r-rmpfr, r-spatialextremes, r-longitudinal, r-genenet)
(r-bayesm, r-seqinr, r-mpm, r-text2vec, r-rgdal, r-seewave, r-hdrcde)
(r-shapes, r-anytime, r-stm, r-d3network, r-tam, r-directlabels)
(r-spatstat-utils, r-spatstat-sparse, r-spatstat-data, r-spatstat-geom)
(r-spatstat-core, r-spatstat-linnet, r-spatstat-random, r-spatstat)
(r-rcpptoml, r-mlecens, r-seurat, r-mlearning, r-zooimage)[home-page]:
Likewise.
* gnu/packages/crates-io.scm (rust-nickel-0.11, rust-thrift-0.13)
(rust-trust-dns-https-0.20, rust-trust-dns-native-tls-0.20)
(rust-trust-dns-openssl-0.20, rust-trust-dns-proto-0.20)
(rust-trust-dns-resolver-0.20, rust-trust-dns-rustls-0.20)
(rust-uint-0.9, rust-yaml-rust-0.4)[home-page]: Likewise.
* gnu/packages/crypto.scm (libdecaf, ccrypt)[home-page]: Likewise.
* gnu/packages/curl.scm (curlpp)[home-page]: Likewise.
* gnu/packages/databases.scm (python-pylibmc, unixodbc, wiredtiger)
(libpqxx, mdbtools, virtuoso-ose, libdbi, libdbi-drivers)
(soci)[home-page]: Likewise.
* gnu/packages/debian.scm (apt-mirror)[home-page]: Likewise.
* gnu/packages/debug.scm (remake)[home-page]: Likewise.
* gnu/packages/disk.scm (sdparm, idle3-tools, duc)[home-page]: Likewise.
* gnu/packages/django.scm (python-django-haystack)[home-page]: Likewise.
* gnu/packages/djvu.scm (djvulibre, djview)[home-page]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[home-page]: Likewise.
* gnu/packages/docbook.scm (dblatex, docbook2x)[home-page]: Likewise.
* gnu/packages/documentation.scm (scrollkeeper)[home-page]: Likewise.
* gnu/packages/ebook.scm (liblinebreak)[home-page]: Likewise.
* gnu/packages/electronics.scm (xoscope)[home-page]: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-bbdb, emacs-caps-lock, emacs-djvu)
(emacs-pabbrev, emacs-twittering-mode, emacs-filladapt, emacs-rudel)
(emacs-stream, emacspeak, emacs-cc-mode, emacs-eldoc, emacs-jsonrpc)
(emacs-gtk-look, emacs-xclip, emacs-slime-volleyball, emacs-minimap)
(emacs-auto-dictionary-mode, emacs-persist, emacs-shell-command+)
(emacs-map, emacs-xref, emacs-dictionary)[home-page]: Likewise.
* gnu/packages/embedded.scm (sdcc)[home-page]: Likewise.
* gnu/packages/engineering.scm (asco, libngspice, libspnav)
(openctm)[home-page]: Likewise.
* gnu/packages/erlang.scm (erlang-erlware-commons)[home-page]: Likewise.
* gnu/packages/file-systems.scm (jfsutils, curlftpfs)[home-page]:
Likewise.
* gnu/packages/finance.scm (gbonds)[home-page]: Likewise.
* gnu/packages/flashing-tools.scm (dfu-util, srecord)[home-page]:
Likewise.
* gnu/packages/fltk.scm (ntk)[home-page]: Likewise.
* gnu/packages/fonts.scm (font-terminus, font-tex-gyre)
(font-comic-neue)[home-page]: Likewise.
* gnu/packages/fontutils.scm (ttf2pt1, potrace, libspiro)[home-page]:
Likewise.
* gnu/packages/fpga.scm (icestorm, gtkwave, gtkwave)
(python-myhdl)[home-page]: Likewise.
* gnu/packages/freedesktop.scm (libatasmart)[home-page]: Likewise.
* gnu/packages/ftp.scm (weex)[home-page]: Likewise.
* gnu/packages/game-development.scm (dds, python-tmx, sfxr, quesoglc)
(eureka, plib)[home-page]: Likewise.
* gnu/packages/games.scm (abe, alex4, armagetronad, barony)
(foobillard++, golly, ltris, pipewalker, prboom-plus, trigger-rally)
(cmatrix, pinball, pioneers, tennix, chromium-bsu, freeciv, kiki)
(quakespasm, frotz, frotz-dumb-terminal, frotz-sdl, btanks)
(flare-engine, chessx, barrage, cgoban, passage)[home-page]: Likewise.
* gnu/packages/geo.scm (python-geopandas, saga)[home-page]: Likewise.
* gnu/packages/gl.scm (freeglut, gl2ps)[home-page]: Likewise.
* gnu/packages/gnome.scm (cogl, clutter-gtk, clutter-gst, bluefish)
(workrave)[home-page]: Likewise.
* gnu/packages/gnustep.scm (wmnd, wmfire, wmfire)[home-page]: Likewise.
* gnu/packages/graph.scm (mscgen)[home-page]: Likewise.
* gnu/packages/graphics.scm (assimp, alembic, ctl, agg)
(opencsg)[home-page]: Likewise.
* gnu/packages/graphviz.scm (gts)[home-page]: Likewise.
* gnu/packages/gtk.scm (gtkspell3)[home-page]: Likewise.
* gnu/packages/guile-xyz.scm (guile-irregex)[home-page]: Likewise.
* gnu/packages/haskell-apps.scm (cpphs)[home-page]: Likewise.
* gnu/packages/haskell-check.scm (ghc-hunit)[home-page]: Likewise.
* gnu/packages/haskell-web.scm (ghc-http-client-restricted)
(ghc-blaze-html, ghc-happstack-server, ghc-sourcemap)[home-page]:
Likewise.
* gnu/packages/haskell-xyz.scm (ghc-assoc, ghc-cairo, ghc-cborg)
(ghc-csv, ghc-glob, ghc-gtk2hs-buildtools, ghc-hmatrix-gsl-stats)
(ghc-intervalmap, ghc-lens-family-core, ghc-managed, ghc-mountpoints)
(ghc-network-multicast, ghc-optional-args, ghc-regex, ghc-spoon)
(ghc-transformers, ghc-turtle, ghc-utf8-light, ghc-wizards)
(ghc-template-haskell, ghc-boot-th, ghc-binary-orphans)
(ghc-postgresql-simple)[home-page]: Likewise.
* gnu/packages/hexedit.scm (ht, bvi)[home-page]: Likewise.
* gnu/packages/hunspell.scm (hunspell-dict-hu)[home-page]: Likewise.
* gnu/packages/image-processing.scm (mia)[home-page]: Likewise.
* gnu/packages/image-viewers.scm (geeqie, gpicview, luminance-hdr)
(qiv)[home-page]: Likewise.
* gnu/packages/image.scm (libuemf, devil, steghide, optipng, niftilib)
(sng, mtpaint)[home-page]: Likewise.
* gnu/packages/java-xml.scm (java-simple-xml, java-jaxp)
(java-apache-xml-commons-resolver)[home-page]: Likewise.
* gnu/packages/java.scm (java-cisd-base, java-cisd-args4j)
(java-hamcrest-core, java-jsr305, java-eclipse-osgi)
(java-eclipse-equinox-common, java-eclipse-core-jobs)
(java-eclipse-equinox-registry, java-eclipse-equinox-app)
(java-eclipse-equinox-preferences, java-eclipse-core-contenttype)
(java-eclipse-text, java-treelayout, java-aopalliance, java-jeromq)
(java-cdi-api)[home-page]: Likewise.
* gnu/packages/jemalloc.scm (jemalloc-4.5.0)[home-page]: Likewise.
* gnu/packages/julia-xyz.scm (julia-recipespipeline)[home-page]:
Likewise.
* gnu/packages/kde-internet.scm (kget)[home-page]: Likewise.
* gnu/packages/kde-systemtools.scm (dolphin-plugins)
(konsole)[home-page]: Likewise.
* gnu/packages/kodi.scm (fstrcmp)[home-page]: Likewise.
* gnu/packages/language.scm (hime, libchewing)[home-page]: Likewise.
* gnu/packages/lego.scm (nqc)[home-page]: Likewise.
* gnu/packages/lesstif.scm (lesstif)[home-page]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[home-page]: Likewise.
* gnu/packages/libdaemon.scm (libdaemon)[home-page]: Likewise.
* gnu/packages/libffi.scm (libffi)[home-page]: Likewise.
* gnu/packages/libreoffice.scm (libwpd, libwpg, libwps)[home-page]:
Likewise.
* gnu/packages/libusb.scm (libmtp, gmtp)[home-page]: Likewise.
* gnu/packages/linux.scm (e2fsprogs, extundelete, lsscsi, net-tools)
(kbd, sysfsutils, cpuid, libpfm4)[home-page]: Likewise.
* gnu/packages/lisp-check.scm (sbcl-ptester, sbcl-xlunit)[home-page]:
Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-html-encode, sbcl-py-configparser)
(sbcl-cl-utilities, sbcl-series, sbcl-uffi, sbcl-clsql, sbcl-sycamore)
(sbcl-osicat, sbcl-hu.dwim.common, sbcl-caveman, sbcl-trivial-shell)
(sbcl-trivial-benchmark, sbcl-screamer, sbcl-smug)[home-page]: Likewise.
* gnu/packages/lisp.scm (lush2)[home-page]: Likewise.
* gnu/packages/logging.scm (log4cpp)[home-page]: Likewise.
* gnu/packages/lua.scm (lua-ldoc)[home-page]: Likewise.
* gnu/packages/machine-learning.scm (mcl, openfst, rxcpp)[home-page]:
Likewise.
* gnu/packages/mail.scm (muchsync, procmail, sendmail)
(opensmtpd-filter-dkimsign, crm114)[home-page]: Likewise.
* gnu/packages/man.scm (libpipeline, man-db)[home-page]: Likewise.
* gnu/packages/maths.scm (lapack, scalapack, hdf-eos5, itpp, gmsh)
(metamath, p4est, armadillo, suitesparse, atlas, lpsolve, wcalc, why3)
(frama-c)[home-page]: Likewise.
* gnu/packages/mcrypt.scm (mcrypt, libmcrypt, libmhash)[home-page]:
Likewise.
* gnu/packages/minetest.scm (minetest-advtrains)[home-page]: Likewise.
* gnu/packages/monitoring.scm (python-whisper, python-carbon)
(hostscope)[home-page]: Likewise.
* gnu/packages/mp3.scm (id3lib, libmp3splt, mp3splt, mpg321)
(lame)[home-page]: Likewise.
* gnu/packages/multiprecision.scm (mpc)[home-page]: Likewise.
* gnu/packages/music.scm (aria-maestosa, lingot, setbfree, bristol)
(portmidi, python-pyportmidi, zynaddsubfx, yoshimi, aj-snapshot)
(schismtracker, midicsv, midicsv, qmidiarp, qmidiroute, dssi, tap-lv2)
(shiru-lv2)[home-page]: Likewise.
* gnu/packages/ncurses.scm (stfl)[home-page]: Likewise.
* gnu/packages/networking.scm (lksctp-tools, mbuffer, ifstatus, bird)
(tunctl, traceroute)[home-page]: Likewise.
* gnu/packages/node-xyz.scm (node-mersenne)[home-page]: Likewise.
* gnu/packages/ntp.scm (openntpd)[home-page]: Likewise.
* gnu/packages/ocaml.scm (opam, hevea, ocaml-menhir, ocaml-piqilib)
(ocaml-graph, cubicle)[home-page]: Likewise.
* gnu/packages/opencl.scm (python-pyopencl)[home-page]: Likewise.
* gnu/packages/package-management.scm (xstow, modules)[home-page]:
Likewise.
* gnu/packages/parallel.scm (xjobs)[home-page]: Likewise.
* gnu/packages/pdf.scm (podofo, qpdf, xournal, impressive)[home-page]:
Likewise.
* gnu/packages/perl.scm (perl-math-vecstat, perltidy)[home-page]:
Likewise.
* gnu/packages/photo.scm (libpano13, enblend-enfuse, hugin)[home-page]:
Likewise.
* gnu/packages/plan9.scm (drawterm)[home-page]: Likewise.
* gnu/packages/plotutils.scm (guile-charting, ploticus)[home-page]:
Likewise.
* gnu/packages/popt.scm (argtable, popt)[home-page]: Likewise.
* gnu/packages/profiling.scm (otf2)[home-page]: Likewise.
* gnu/packages/pulseaudio.scm (pulseaudio)[home-page]: Likewise.
* gnu/packages/python-check.scm (python-mypy)[home-page]: Likewise.
* gnu/packages/python-web.scm (python-cssutils)
(python-translationstring)[home-page]: Likewise.
* gnu/packages/python-xyz.scm (python-diskcache, python-doxyqml)
(python-docutils, python-pexpect, python-importlib-resources)
(python-simplegeneric, python-urwid, python-xlrd, python-xlwt)
(python-pyasn1, python-pythondialog, python-tftpy, python-random2)
(python-arcp, python-pyopengl, python-sortedcollections)
(python-sortedcontainers, python-yapsy, python-pydispatcher)
(python-posix-ipc)[home-page]: Likewise.
* gnu/packages/qt.scm (qwt, libqglviewer, signond)[home-page]: Likewise.
* gnu/packages/radio.scm (unixcw, gnuais)[home-page]: Likewise.
* gnu/packages/raspberry-pi.scm (bcm2835)[home-page]: Likewise.
* gnu/packages/rdf.scm (clucene, rasqal, redland)[home-page]: Likewise.
* gnu/packages/regex.scm (tre)[home-page]: Likewise.
* gnu/packages/rsync.scm (librsync)[home-page]: Likewise.
* gnu/packages/ruby.scm (ruby-packnga, ruby-nokogiri, ruby-oj, ruby-ox)
(ruby-sinatra, ruby-citrus, ruby-cbor, ruby-roda)[home-page]: Likewise.
* gnu/packages/scheme.scm (scheme48, tinyscheme)[home-page]: Likewise.
* gnu/packages/screen.scm (dtach)[home-page]: Likewise.
* gnu/packages/scsi.scm (sg3-utils)[home-page]: Likewise.
* gnu/packages/sdl.scm (libmikmod, sdl-pango)[home-page]: Likewise.
* gnu/packages/shellutils.scm (hstr, rig)[home-page]: Likewise.
* gnu/packages/simulation.scm (python-dolfin-adjoint)[home-page]:
Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[home-page]: Likewise.
* gnu/packages/speech.scm (espeak)[home-page]: Likewise.
* gnu/packages/stalonetray.scm (stalonetray)[home-page]: Likewise.
* gnu/packages/statistics.scm (jags, r-mass, r-class, r-lattice)
(r-matrix, r-nnet, r-spatial, r-bit, r-bit64, r-digest, r-xtable)
(python-statsmodels, r-ade4, r-latticeextra, r-rcurl, r-xml, r-mvtnorm)
(r-robustbase, r-minqa, r-fdrtool, java-jdistlib, xlispstat)[home-page]:
Likewise.
* gnu/packages/swig.scm (swig)[home-page]: Likewise.
* gnu/packages/task-management.scm (wtime)[home-page]: Likewise.
* gnu/packages/tcl.scm (itcl, tclxml, tclx)[home-page]: Likewise.
* gnu/packages/terminals.scm (libtermkey, mlterm, libvterm)
(libvterm)[home-page]: Likewise.
* gnu/packages/tex.scm (texlive-lm, texlive-lm-math, texlive-cs)
(texlive-csplain, biber, texmaker)[home-page]: Likewise.
* gnu/packages/text-editors.scm (joe)[home-page]: Likewise.
* gnu/packages/textutils.scm (drm-tools, docx2txt)[home-page]: Likewise.
* gnu/packages/tv.scm (tvtime)[home-page]: Likewise.
* gnu/packages/unicode.scm (libunibreak)[home-page]: Likewise.
* gnu/packages/upnp.scm (libupnp)[home-page]: Likewise.
* gnu/packages/version-control.scm (cvs)[home-page]: Likewise.
* gnu/packages/video.scm (transcode, libquicktime, mjpegtools, aalib)
(liba52, libmpeg2, x265, libdv, dvdauthor, aegisub, pitivi, gavl)
(dvdbackup, guvcview, video-contact-sheet)[home-page]: Likewise.
* gnu/packages/virtualization.scm (bochs)[home-page]: Likewise.
* gnu/packages/w3m.scm (w3m)[home-page]: Likewise.
* gnu/packages/web.scm (qjson, libquvi-scripts, libquvi, quvi)
(tidy-html, htmlcxx)[home-page]: Likewise.
* gnu/packages/wm.scm (evilwm, menumaker)[home-page]: Likewise.
* gnu/packages/wv.scm (wv)[home-page]: Likewise.
* gnu/packages/wxwidgets.scm (wxsvg)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (mtdev, xsel)[home-page]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[home-page]: Likewise.
* gnu/packages/xml.scm (openjade, python-pyxb, xmlstarlet, xmlrpc-c)
(opensp)[home-page]: Likewise.
* gnu/packages/xorg.scm (xf86-video-qxl)[home-page]: Likewise.
2023-02-12 00:00:00 +00:00
|
|
|
|
(home-page "https://libspiro.sourceforge.net/")))
|
2014-10-07 16:18:36 +00:00
|
|
|
|
|
|
|
|
|
(define-public libuninameslist
|
|
|
|
|
(package
|
|
|
|
|
(name "libuninameslist")
|
2020-03-13 20:00:58 +00:00
|
|
|
|
(version "20200313")
|
2018-07-03 01:42:17 +00:00
|
|
|
|
(home-page "https://github.com/fontforge/libuninameslist")
|
2014-10-07 16:18:36 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2018-07-03 01:42:17 +00:00
|
|
|
|
(uri (string-append home-page "/releases/download/" version
|
|
|
|
|
"/libuninameslist-dist-" version ".tar.gz"))
|
2014-10-07 16:18:36 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-03-13 20:00:58 +00:00
|
|
|
|
"10ri80c64xb4rhbif3sr87y5vhi3m702zb0m02imvj1jib9rq0m8"))))
|
2014-10-07 16:18:36 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(synopsis "Unicode names and annotation list")
|
|
|
|
|
(description
|
|
|
|
|
"LibUniNamesList holds www.unicode.org Nameslist.txt data which can be
|
|
|
|
|
useful for programs that need Unicode \"Names\", \"Annotations\", and block
|
|
|
|
|
definitions.")
|
2018-07-03 01:37:39 +00:00
|
|
|
|
;; COPYING specifies GPL2, but according to LICENSE it only covers the
|
|
|
|
|
;; configure script. The actual code is BSD-3, and the Unicode data
|
|
|
|
|
;; is governed by an X11-style license only found on the web.
|
|
|
|
|
(license (list license:bsd-3
|
|
|
|
|
(license:x11-style
|
2018-07-03 01:42:17 +00:00
|
|
|
|
"https://www.unicode.org/copyright.html#License")))))
|
2014-10-07 16:20:20 +00:00
|
|
|
|
|
|
|
|
|
(define-public fontforge
|
|
|
|
|
(package
|
|
|
|
|
(name "fontforge")
|
2022-09-15 22:49:18 +00:00
|
|
|
|
(version "20220308")
|
2014-10-07 16:20:20 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-03-18 14:52:12 +00:00
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/fontforge/fontforge/releases/download/"
|
2020-03-17 10:22:34 +00:00
|
|
|
|
version "/fontforge-" version ".tar.xz"))
|
2019-05-02 11:58:30 +00:00
|
|
|
|
(sha256
|
2022-09-15 22:49:18 +00:00
|
|
|
|
(base32 "0ncfc4ajwy4ng6b6h79w52jh9z3lngvf3f3ldi1wzkhcg9zh3r01"))))
|
2020-03-17 10:22:34 +00:00
|
|
|
|
(build-system cmake-build-system)
|
2016-03-18 14:52:12 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list pkg-config))
|
2016-03-18 14:52:12 +00:00
|
|
|
|
(inputs `(("cairo" ,cairo)
|
|
|
|
|
("fontconfig" ,fontconfig) ;dlopen'd
|
|
|
|
|
("freetype" ,freetype)
|
2016-09-25 07:33:02 +00:00
|
|
|
|
("gettext" ,gettext-minimal)
|
2014-10-07 16:20:20 +00:00
|
|
|
|
("libICE" ,libice)
|
|
|
|
|
("libSM" ,libsm)
|
2016-03-18 14:52:12 +00:00
|
|
|
|
("libX11" ,libx11)
|
|
|
|
|
("libXi" ,libxi)
|
gnu: Replace uses of 'libjpeg' with 'libjpeg-turbo'.
* gnu/packages/abiword.scm (abiword)[inputs]: Change from LIBJPEG to
LIBJPEG-TURBO.
* gnu/packages/admin.scm (testdisk)[inputs]: Likewise.
* gnu/packages/algebra.scm (giac)[inputs]: Likewise.
* gnu/packages/animation.scm (synfig)[inputs]: Likewise.
* gnu/packages/astronomy.scm (gnuastro, celestia)[inputs]: Likewise.
* gnu/packages/cdrom.scm (dvdstyler)[inputs]: Likewise.
* gnu/packages/cran.scm (r-jpeg, r-tiff, r-readbitmap)[inputs]: Likewise.
* gnu/packages/cups.scm (cups-filters, hplip)[inputs]: Likewise.
* gnu/packages/display-managers.scm (slim)[inputs]: Likewise.
* gnu/packages/ebook.scm (fbreader)[inputs]: Likewise.
* gnu/packages/emacs.scm (emacs)[inputs]: Likewise.
* gnu/packages/enlightenment.scm (efl)[propagated-inputs]: Likewise.
* gnu/packages/fltk.scm (fltk, ntk)[inputs]: Likewise.
* gnu/packages/fontutils.scm (fontforge)[inputs]: Likewise.
* gnu/packages/freedesktop.scm (weston)[inputs]: Likewise.
* gnu/packages/game-development.scm (sfml, allegro, aseprite, python-pygame,
eureka, ioquake3)[inputs]: Likewise.
* gnu/packages/games.scm (adanaxisgpl, freedroidrpg, irrlicht, minetest,
fizmo, supertuxkart, gzdoom, xmoto, xonotic)[inputs]: Likewise.
* gnu/packages/gd.scm (gd, perl-gd)[inputs]: Likewise.
* gnu/packages/ghostscript.scm (lcms)[inputs]: Likewise.
(ghostscript)[inputs, native-inputs]: Likewise.
* gnu/packages/gimp.scm (gegl, gimp)[inputs]: Likewise.
* gnu/packages/gnome.scm (libgnomeui, eog, tracker-miners, gthumb)[inputs]: Likewise.
* gnu/packages/gnunet.scm (libextractor)[inputs]: Likewise.
* gnu/packages/gnustep.scm (windowmaker)[inputs]: Likewise.
* gnu/packages/graphics.scm (blender, blender-2.79, openimageio,
openscenegraph, openscenegraph-3.4, povray, fgallery)[inputs]: Likewise.
* gnu/packages/graphviz.scm (graphviz)[inputs]: Likewise.
* gnu/packages/gstreamer.scm (gst-plugins-good)[inputs]: Likewise.
* gnu/packages/gtk.scm (gdk-pixbuf)[inputs]: Likewise.
* gnu/packages/image-processing.scm (dcmtk, mia, vtk, opencv, vips, nip2, vxl,
insight-toolkit)[inputs]: Likewise.
* gnu/packages/image-viewers.scm (gpicview, luminance-hdr)[inputs]: Likewise.
* gnu/packages/image.scm (jpegoptim, libtiff, leptonica, imlib2, freeimage,
vigra, libwebp, libmng, jasper, steghide, jp2a)[inputs]: Likewise.
* gnu/packages/imagemagick.scm (imagemagick, graphicsmagick)[inputs]: Likewise.
* gnu/packages/java.scm (icedtea-6, icedtea-7, openjdk9, openjdk11,
openjdk12)[inputs]: Likewise.
* gnu/packages/kde-frameworks.scm (khtml)[inputs]: Likewise.
* gnu/packages/kodi.scm (kodi)[inputs]: Likewise.
* gnu/packages/machine-learning.scm (dlib, tensorflow)[inputs]: Likewise.
* gnu/packages/mate.scm (atril, eom)[inputs]: Likewise.
* gnu/packages/maths.scm (hdf4, hdf-java, hdf-eos2, netcdf)[inputs]: Likewise.
* gnu/packages/netpbm.scm (netpbm)[inputs]: Likewise.
* gnu/packages/pdf.scm (zathura-pdf-mupdf, podofo, mupdf, fbida)[inputs]: Likewise.
* gnu/packages/photo.scm (libraw, libpano13, enblend-enfuse, darktable, hugin,
rawtherapee)[inputs]: Likewise.
* gnu/packages/prolog.scm (swi-prolog)[native-inputs]: Likewise.
* gnu/packages/python-xyz.scm (python-hdf4, python-pillow)[inputs]: Likewise.
* gnu/packages/qt.scm (qtbase, qtwebkit)[inputs]: Likewise.
* gnu/packages/rdesktop.scm (freerdp)[inputs]: Likewise.
* gnu/packages/scanner.scm (sane-backends, xsane)[inputs]: Likewise.
* gnu/packages/scheme.scm (racket)[inputs]: Likewise.
* gnu/packages/scribus.scm (scribus)[inputs]: Likewise.
* gnu/packages/sdl.scm (sdl-image)[propagated-inputs]: Likewise.
(guile-sdl)[native-inputs]: Likewise.
* gnu/packages/spice.scm (spice-gtk)[inputs]: Likewise.
* gnu/packages/statistics.scm (r-with-tests)[inputs]: Likewise.
* gnu/packages/tcl.scm (perl-tk)[inputs]: Likewise.
* gnu/packages/upnp.scm (readymedia)[inputs]: Likewise.
* gnu/packages/video.scm (mplayer, mpv, v4l-utils, motion)[inputs]: Likewise.
* gnu/packages/web-browsers.scm (dillo, links)[inputs]: Likewise.
* gnu/packages/web.scm (netsurf)[inputs]: Likewise.
* gnu/packages/webkit.scm (webkitgtk)[inputs]: Likewise.
* gnu/packages/wine.scm (wine)[inputs]: Likewise.
* gnu/packages/wv.scm (wv)[inputs]: Likewise.
* gnu/packages/wxwidgets.scm (wxwidgets, wxwidgets-2)[inputs]: Likewise.
* gnu/packages/xdisorg.scm (xscreensaver)[inputs]: Likewise.
* gnu/packages/xfce.scm (tumbler)[inputs]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[inputs]: Likewise.
* gnu/packages/xorg.scm (xpra)[inputs]: Likewise.
2020-01-17 18:27:01 +00:00
|
|
|
|
("libjpeg" ,libjpeg-turbo)
|
2016-03-18 14:52:12 +00:00
|
|
|
|
("libltdl" ,libltdl)
|
|
|
|
|
("libpng" ,libpng)
|
2014-10-07 16:20:20 +00:00
|
|
|
|
("libspiro" ,libspiro)
|
2016-03-18 14:52:12 +00:00
|
|
|
|
("libtiff" ,libtiff)
|
2016-04-15 05:08:53 +00:00
|
|
|
|
("libungif" ,libungif)
|
2016-03-18 14:52:12 +00:00
|
|
|
|
("libxft" ,libxft)
|
|
|
|
|
("libxml2" ,libxml2)
|
2014-10-07 16:20:20 +00:00
|
|
|
|
("pango" ,pango)
|
2016-03-18 14:52:12 +00:00
|
|
|
|
("potrace" ,potrace)
|
2019-03-17 16:04:20 +00:00
|
|
|
|
("python" ,python)
|
2016-03-18 14:52:12 +00:00
|
|
|
|
("zlib" ,zlib)))
|
2014-10-07 16:20:20 +00:00
|
|
|
|
(arguments
|
2023-06-13 12:49:10 +00:00
|
|
|
|
(list
|
|
|
|
|
#:configure-flags #~'( ;; TODO: Provide GTK+ for the Wayland-friendly GDK
|
|
|
|
|
;; backend, instead of the legacy X11 backend.
|
|
|
|
|
;; Currently it introduces a circular dependency.
|
|
|
|
|
"-DENABLE_X11=ON")
|
2020-03-17 10:22:34 +00:00
|
|
|
|
#:phases
|
2023-06-13 12:49:10 +00:00
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'do-not-override-RPATH
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Do not attempt to set a default RPATH, as our ld-wrapper
|
|
|
|
|
;; already does the right thing.
|
|
|
|
|
(substitute* "CMakeLists.txt"
|
|
|
|
|
(("^set_default_rpath\\(\\)")
|
|
|
|
|
""))
|
|
|
|
|
#t))
|
|
|
|
|
#$@(if (target-hurd?)
|
|
|
|
|
#~((add-after 'unpack 'apply-hurd-patch
|
|
|
|
|
(lambda _
|
|
|
|
|
(let ((patch-file
|
|
|
|
|
#$(local-file
|
|
|
|
|
(search-patch "fontforge-hurd.patch"))))
|
|
|
|
|
(invoke "patch" "--force" "-p1" "-i" patch-file)))))
|
|
|
|
|
#~())
|
|
|
|
|
#$@(if (system-hurd?)
|
|
|
|
|
#~((replace 'check
|
|
|
|
|
;; cmake-build-system ignores #:make-flags for make check
|
|
|
|
|
(lambda* (#:key test-target tests? parallel-tests?
|
|
|
|
|
#:allow-other-keys)
|
|
|
|
|
(let ((skip '("test0001_py" "test0001_pyhook")))
|
|
|
|
|
(if tests?
|
|
|
|
|
(let ((jobs
|
|
|
|
|
(if parallel-tests?
|
|
|
|
|
(number->string (parallel-job-count))
|
|
|
|
|
"1")))
|
|
|
|
|
(invoke "make"
|
|
|
|
|
(string-append "ARGS=-j " jobs
|
|
|
|
|
" --exclude-regex ^"
|
|
|
|
|
(string-join skip "\\|")
|
|
|
|
|
"$")
|
|
|
|
|
test-target))
|
|
|
|
|
(format #t "test suite not run~%"))))))
|
|
|
|
|
#~())
|
|
|
|
|
(add-after 'install 'set-library-path
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
|
(potrace (dirname
|
|
|
|
|
(search-input-file inputs "bin/potrace"))))
|
|
|
|
|
(wrap-program (string-append out "/bin/fontforge")
|
|
|
|
|
;; Fontforge dynamically opens libraries.
|
|
|
|
|
`("LD_LIBRARY_PATH" ":" prefix
|
|
|
|
|
,(map (lambda (input)
|
|
|
|
|
(string-append (assoc-ref inputs input)
|
|
|
|
|
"/lib"))
|
|
|
|
|
'("libtiff" "libjpeg" "libpng" "libungif"
|
|
|
|
|
"libxml2" "zlib" "libspiro" "freetype"
|
|
|
|
|
"pango" "cairo" "fontconfig")))
|
|
|
|
|
;; Checks for potrace program at runtime
|
|
|
|
|
`("PATH" ":" prefix (,potrace)))
|
|
|
|
|
#t))))))
|
2014-10-07 16:20:20 +00:00
|
|
|
|
(synopsis "Outline font editor")
|
|
|
|
|
(description
|
|
|
|
|
"FontForge allows you to create and modify postscript, truetype and
|
|
|
|
|
opentype fonts. You can save fonts in many different outline formats, and
|
|
|
|
|
generate bitmaps.")
|
2016-03-18 14:52:12 +00:00
|
|
|
|
(license license:gpl3+)
|
2019-08-02 05:41:18 +00:00
|
|
|
|
(home-page "https://fontforge.github.io")))
|
2017-09-20 11:39:29 +00:00
|
|
|
|
|
2020-04-24 16:19:02 +00:00
|
|
|
|
;; This is the last version that supports Python 2, which is needed for
|
|
|
|
|
;; GNU FreeFont. Remove once no longer required.
|
|
|
|
|
(define-public fontforge-20190801
|
|
|
|
|
(package
|
|
|
|
|
(inherit fontforge)
|
|
|
|
|
(version "20190801")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/fontforge/fontforge/releases/download/"
|
|
|
|
|
version "/fontforge-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0lh8yx01asbzxm6car5cfi64njh5p4lxc7iv8dldr5rwg357a86r"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments fontforge)
|
|
|
|
|
((#:configure-flags _)
|
2023-07-16 00:00:01 +00:00
|
|
|
|
#~'())
|
2020-04-24 16:19:02 +00:00
|
|
|
|
((#:phases phases)
|
2023-07-16 00:00:01 +00:00
|
|
|
|
#~(modify-phases #$phases
|
|
|
|
|
(delete 'do-not-override-RPATH)))))
|
2020-04-24 16:19:02 +00:00
|
|
|
|
(inputs
|
2022-09-17 15:57:57 +00:00
|
|
|
|
(modify-inputs (package-inputs fontforge)
|
|
|
|
|
(prepend libuninameslist)
|
|
|
|
|
(replace "python" python-2)))))
|
2020-04-24 16:19:02 +00:00
|
|
|
|
|
2022-06-26 19:05:22 +00:00
|
|
|
|
(define-public python-statmake
|
|
|
|
|
(package
|
|
|
|
|
(name "python-statmake")
|
2023-04-12 13:50:58 +00:00
|
|
|
|
(version "0.6.0")
|
2022-06-26 19:05:22 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/daltonmaag/statmake")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2023-04-12 13:50:58 +00:00
|
|
|
|
"1k6fkzyhsfkgi599sb017wzf4jzbnp5wjg1kla1b33vgjpa7n5nw"))))
|
2022-10-17 19:10:47 +00:00
|
|
|
|
(build-system pyproject-build-system)
|
2022-06-26 19:05:22 +00:00
|
|
|
|
(arguments
|
|
|
|
|
(list
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'adjust-for-older-attrs
|
|
|
|
|
;; Our older attrs package is using the 'attr' rather than 'attrs'
|
|
|
|
|
;; namespace.
|
|
|
|
|
;; TODO: Remove after python-attrs is updated to >= 21.4.0.
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "pyproject.toml"
|
|
|
|
|
(("attrs = \">=21.3\"")
|
|
|
|
|
"attrs = \">=21.2\""))
|
|
|
|
|
(substitute* (find-files "." "\\.py$")
|
|
|
|
|
(("from attrs\\b")
|
|
|
|
|
"from attr")
|
|
|
|
|
(("import attrs")
|
|
|
|
|
"import attr")
|
|
|
|
|
(("@attrs")
|
|
|
|
|
"@attr")
|
|
|
|
|
(("\\battrs\\.")
|
2022-10-17 19:10:47 +00:00
|
|
|
|
"attr.")))))))
|
2022-06-26 19:05:22 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
(list python-poetry-core
|
|
|
|
|
python-pytest
|
|
|
|
|
python-ufo2ft))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
(list python-attrs
|
|
|
|
|
python-cattrs
|
|
|
|
|
python-fonttools))
|
|
|
|
|
(home-page "https://github.com/daltonmaag/statmake")
|
|
|
|
|
(synopsis "Apply OpenType STAT information to a variable font")
|
|
|
|
|
(description
|
|
|
|
|
"@command{statmake} takes a user-written Stylespace that defines
|
|
|
|
|
@url{https://docs.microsoft.com/en-us/typography/opentype/spec/stat, OpenType
|
|
|
|
|
STAT information} for an entire font family and then (potentially subsets and)
|
|
|
|
|
applies it to a specific variable font. This spares users from having to deal
|
|
|
|
|
with @url{https://github.com/fonttools/fonttools/, raw TTX dumps} and juggling
|
|
|
|
|
with @samp{nameIDs}.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2022-04-09 02:33:46 +00:00
|
|
|
|
(define-public python-ufolib2
|
2017-09-20 11:39:29 +00:00
|
|
|
|
(package
|
2022-04-09 02:33:46 +00:00
|
|
|
|
(name "python-ufolib2")
|
|
|
|
|
(version "0.13.1")
|
2017-09-20 11:39:29 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2022-04-09 02:33:46 +00:00
|
|
|
|
(uri (pypi-uri "ufoLib2" version))
|
2017-09-20 11:39:29 +00:00
|
|
|
|
(sha256
|
2022-04-09 02:33:46 +00:00
|
|
|
|
(base32 "0yx4i8q5rfyqhr2fj70a7z1bp1jv7bdlr64ww9z4nv9ycbda4x9j"))))
|
2022-10-17 19:12:16 +00:00
|
|
|
|
(build-system pyproject-build-system)
|
2017-09-20 11:39:29 +00:00
|
|
|
|
(native-inputs
|
2022-10-17 19:12:16 +00:00
|
|
|
|
(list python-pytest python-setuptools-scm))
|
2023-04-19 11:58:20 +00:00
|
|
|
|
(propagated-inputs (list python-attrs python-fonttools))
|
2022-04-09 02:33:46 +00:00
|
|
|
|
(home-page "https://github.com/fonttools/ufoLib2")
|
|
|
|
|
(synopsis "Unified Font Object (UFO) font processing library")
|
|
|
|
|
(description "The ufoLib2 Python library is meant to be a thin
|
|
|
|
|
representation of the Unified Font Object (UFO) version 3 data model, intended
|
|
|
|
|
for programmatic manipulation and fast batch processing of UFOs. It resembles
|
|
|
|
|
the defcon library, but does without notifications, the layout engine and
|
|
|
|
|
other support classes. Where useful and possible, ufoLib2 tries to be
|
|
|
|
|
API-compatible with defcon.")
|
|
|
|
|
(license license:asl2.0)))
|
2017-11-28 19:52:58 +00:00
|
|
|
|
|
2022-04-01 20:22:50 +00:00
|
|
|
|
;;; A variant used to break a cycle between python-fontpens and
|
|
|
|
|
;;; python-fontparts.
|
|
|
|
|
(define-public python-defcon-bootstrap
|
2017-11-28 19:52:58 +00:00
|
|
|
|
(package
|
2022-04-01 20:22:50 +00:00
|
|
|
|
(name "python-defcon-bootstrap")
|
2022-09-15 22:34:39 +00:00
|
|
|
|
(version "0.10.2")
|
2017-11-28 19:52:58 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "defcon" version ".zip"))
|
|
|
|
|
(sha256
|
2022-09-15 22:34:39 +00:00
|
|
|
|
(base32 "0i1a306b8c42dpbplwxj6ili2aac5lwq2ir6r1jswicysvk9dqxf"))))
|
2017-11-28 19:52:58 +00:00
|
|
|
|
(build-system python-build-system)
|
2023-04-19 11:58:20 +00:00
|
|
|
|
(propagated-inputs (list python-fontpens-bootstrap python-fonttools))
|
2017-11-28 19:52:58 +00:00
|
|
|
|
(native-inputs
|
2022-04-01 20:22:50 +00:00
|
|
|
|
(list python-pytest
|
|
|
|
|
python-pytest-runner
|
|
|
|
|
python-setuptools-scm
|
|
|
|
|
unzip))
|
|
|
|
|
(home-page "https://github.com/robotools/defcon")
|
2017-11-28 19:52:58 +00:00
|
|
|
|
(synopsis "Flexible objects for representing @acronym{UFO, unified font object} data")
|
2022-04-01 20:22:50 +00:00
|
|
|
|
(description "Defcon is a set of @acronym{UFO, unified font object} based
|
|
|
|
|
objects optimized for use in font editing applications. The objects are built
|
|
|
|
|
to be lightweight, fast and flexible. The objects are very bare-bones and
|
|
|
|
|
they are not meant to be end-all, be-all objects. Rather, they are meant to
|
|
|
|
|
provide base functionality so that you can focus on your application’s
|
|
|
|
|
behavior, not object observing or maintaining cached data. Defcon implements
|
|
|
|
|
UFO3 as described by the UFO font format.")
|
2017-11-28 19:52:58 +00:00
|
|
|
|
(license license:expat)))
|
2017-11-28 19:54:19 +00:00
|
|
|
|
|
2022-04-05 04:09:14 +00:00
|
|
|
|
(define-public python-defcon
|
|
|
|
|
(hidden-package
|
|
|
|
|
(package/inherit python-defcon-bootstrap
|
|
|
|
|
(name "python-defcon")
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
(modify-inputs (package-propagated-inputs python-defcon-bootstrap)
|
|
|
|
|
(replace "python-fontpens-bootstrap" python-fontpens))))))
|
|
|
|
|
|
2017-11-28 19:54:19 +00:00
|
|
|
|
(define-public nototools
|
|
|
|
|
(package
|
|
|
|
|
(name "nototools")
|
2022-04-29 21:33:55 +00:00
|
|
|
|
(version "0.2.16")
|
2017-11-28 19:54:19 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2020-06-23 13:13:41 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
2022-04-29 21:33:55 +00:00
|
|
|
|
(url "https://github.com/googlefonts/nototools")
|
|
|
|
|
(commit (string-append "v" version))))
|
2020-06-23 13:13:41 +00:00
|
|
|
|
(file-name (git-file-name name version))
|
2017-11-28 19:54:19 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-04-29 21:33:55 +00:00
|
|
|
|
"14rrdamkmhrykff8ln07fq9cm8zwj3k113lzwjcy0lgz23g51jyl"))))
|
2017-11-28 19:54:19 +00:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
2022-04-29 21:33:55 +00:00
|
|
|
|
(list
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-before 'build 'pretend-version
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
|
(with-directory-excursion "tests"
|
|
|
|
|
(invoke "./run_tests")))))))
|
|
|
|
|
(native-inputs (list python-setuptools-scm))
|
|
|
|
|
(propagated-inputs (list python-afdko))
|
2017-11-28 19:54:19 +00:00
|
|
|
|
(home-page "https://github.com/googlei18n/nototools")
|
|
|
|
|
(synopsis "Noto fonts support tools and scripts")
|
|
|
|
|
(description
|
|
|
|
|
"Nototools is a Python package containing Python scripts used to
|
|
|
|
|
maintain the Noto Fonts project.")
|
|
|
|
|
(license (list license:asl2.0
|
|
|
|
|
;; Sample texts are attributed to UN and OHCHR.
|
|
|
|
|
;; The permissions on the UDHR are pretty lax:
|
|
|
|
|
;; http://www.ohchr.org/EN/UDHR/Pages/Introduction.aspx
|
|
|
|
|
;; "If UDHR translations or materials are reproduced, users
|
|
|
|
|
;; should make reference to this website as a source by
|
|
|
|
|
;; providing a link."
|
|
|
|
|
license:public-domain
|
|
|
|
|
(license:non-copyleft
|
|
|
|
|
"file://sample_texts/attributions.txt"
|
|
|
|
|
"See sample_texts/attributions.txt in the distribution.")))))
|
2019-08-16 01:47:53 +00:00
|
|
|
|
|
2020-12-06 15:35:07 +00:00
|
|
|
|
(define-public fcft
|
|
|
|
|
(package
|
|
|
|
|
(name "fcft")
|
2022-02-14 12:04:23 +00:00
|
|
|
|
(version "3.0.1")
|
2020-12-06 15:35:07 +00:00
|
|
|
|
(home-page "https://codeberg.org/dnkl/fcft")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference (url home-page) (commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-02-14 12:04:23 +00:00
|
|
|
|
"0jxy92ny8b7s7yvz1mr8zpf7l2zsn506fi9f98pvh9k25jprg0cx"))))
|
2020-12-06 15:35:07 +00:00
|
|
|
|
(build-system meson-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-14 09:47:40 +00:00
|
|
|
|
(list check pkg-config scdoc))
|
2020-12-06 15:35:07 +00:00
|
|
|
|
(propagated-inputs
|
2021-12-13 21:15:07 +00:00
|
|
|
|
(list ;; Required by fcft.pc.
|
2024-01-17 19:50:58 +00:00
|
|
|
|
utf8proc
|
2021-12-13 21:15:07 +00:00
|
|
|
|
fontconfig
|
|
|
|
|
freetype
|
|
|
|
|
harfbuzz
|
|
|
|
|
pixman
|
|
|
|
|
tllist))
|
2020-12-06 15:35:07 +00:00
|
|
|
|
(synopsis "Font loading and glyph rasterization library")
|
|
|
|
|
(description
|
|
|
|
|
"@code{fcft} is a small font loading and glyph rasterization library
|
|
|
|
|
built on-top of FontConfig, FreeType2 and pixman.
|
|
|
|
|
|
|
|
|
|
It can load and cache fonts from a fontconfig-formatted name string, e.g.
|
|
|
|
|
@code{Monospace:size=12}, optionally with user configured fallback fonts.
|
|
|
|
|
|
|
|
|
|
After a font has been loaded, you can rasterize glyphs. When doing so, the
|
|
|
|
|
primary font is first considered. If it does not have the requested glyph,
|
|
|
|
|
the user configured fallback fonts (if any) are considered. If none of the
|
|
|
|
|
user configured fallback fonts has the requested glyph, the FontConfig
|
|
|
|
|
generated list of fallback fonts are checked.")
|
|
|
|
|
;; The code is distributed under the Expat license, but embeds Unicode
|
|
|
|
|
;; data files carrying the Unicode license.
|
|
|
|
|
(license (list license:expat license:unicode))))
|
|
|
|
|
|
2019-08-16 01:47:53 +00:00
|
|
|
|
(define-public fontmanager
|
|
|
|
|
(package
|
|
|
|
|
(name "fontmanager")
|
2021-10-22 23:02:14 +00:00
|
|
|
|
(version "0.8.7")
|
2019-08-16 01:47:53 +00:00
|
|
|
|
(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
|
2021-10-22 23:02:14 +00:00
|
|
|
|
(base32 "0nyda2a6vbzyz4sn9mmrr8bkifzxmmjp7x9a3c4s6n925ccy79cn"))))
|
2019-08-16 01:47:53 +00:00
|
|
|
|
(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
|
2021-02-20 08:03:45 +00:00
|
|
|
|
`(("desktop-file-utils" ,desktop-file-utils)
|
2019-08-16 01:47:53 +00:00
|
|
|
|
("gettext" ,gettext-minimal)
|
|
|
|
|
("glib" ,glib "bin")
|
|
|
|
|
("gobject-introspection" ,gobject-introspection)
|
2021-02-20 08:03:45 +00:00
|
|
|
|
("pkg-config" ,pkg-config)
|
2022-01-31 14:52:33 +00:00
|
|
|
|
("python-wrapper" ,python-wrapper)
|
2021-12-14 17:08:44 +00:00
|
|
|
|
("vala" ,vala-0.52)
|
2021-02-20 08:03:45 +00:00
|
|
|
|
("yelp-tools" ,yelp-tools)))
|
2019-08-16 01:47:53 +00:00
|
|
|
|
(inputs
|
2021-02-20 08:03:45 +00:00
|
|
|
|
`(("fonconfig" ,fontconfig)
|
2019-08-16 01:47:53 +00:00
|
|
|
|
("freetype" ,freetype)
|
2022-02-24 02:46:31 +00:00
|
|
|
|
("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
|
2021-02-20 08:03:45 +00:00
|
|
|
|
("gtk+" ,gtk+)
|
|
|
|
|
("json-glib" ,json-glib)
|
2021-12-14 17:08:44 +00:00
|
|
|
|
("libsoup" ,libsoup-minimal-2)
|
2021-02-20 08:03:45 +00:00
|
|
|
|
("sqlite" ,sqlite)
|
2021-12-14 17:08:44 +00:00
|
|
|
|
("webkitgtk" ,webkitgtk-with-libsoup2)))
|
2019-08-16 01:47:53 +00:00
|
|
|
|
(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+)))
|
2020-02-03 11:29:33 +00:00
|
|
|
|
|
|
|
|
|
(define-public fntsample
|
|
|
|
|
(package
|
|
|
|
|
(name "fntsample")
|
2021-10-21 17:38:14 +00:00
|
|
|
|
(version "5.4")
|
2020-02-03 11:29:33 +00:00
|
|
|
|
(source (origin
|
2020-06-23 13:08:15 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/eugmes/fntsample")
|
|
|
|
|
(commit (string-append "release/" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2020-02-03 11:29:33 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-10-21 17:38:14 +00:00
|
|
|
|
"0pcqqdriv6hq64zrqd9vhdd9p2vhimjnajcxdz10qnqgrkmm751v"))))
|
2020-02-03 11:29:33 +00:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; There are no tests.
|
|
|
|
|
#:configure-flags
|
|
|
|
|
(list (string-append
|
|
|
|
|
"-DUNICODE_BLOCKS=" (assoc-ref %build-inputs "unicode-blocks")))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'set-library-path
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(pdf-api2 (assoc-ref inputs "perl-pdf-api2"))
|
|
|
|
|
(intl (assoc-ref inputs "perl-libintl-perl"))
|
|
|
|
|
(perllib (string-append pdf-api2
|
|
|
|
|
"/lib/perl5/site_perl/"
|
|
|
|
|
,(package-version perl)
|
|
|
|
|
":" intl
|
|
|
|
|
"/lib/perl5/site_perl/"
|
|
|
|
|
,(package-version perl))))
|
|
|
|
|
(wrap-program (string-append out "/bin/pdfoutline")
|
2021-10-21 17:38:14 +00:00
|
|
|
|
`("PERL5LIB" ":" prefix (,perllib)))))))))
|
2020-02-03 11:29:33 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("gettext" ,gettext-minimal)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("cairo" ,cairo)
|
|
|
|
|
("fontconfig" ,fontconfig)
|
|
|
|
|
("freetype" ,freetype)
|
|
|
|
|
("glib" ,glib)
|
|
|
|
|
("pango" ,pango)
|
|
|
|
|
("perl-pdf-api2" ,perl-pdf-api2)
|
|
|
|
|
("perl-libintl-perl" ,perl-libintl-perl)
|
|
|
|
|
("unicode-blocks"
|
2021-10-21 17:37:07 +00:00
|
|
|
|
,(let ((version "14.0.0"))
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://unicode.org/Public/"
|
|
|
|
|
version "/ucd/Blocks.txt"))
|
|
|
|
|
(file-name (string-append "unicode-blocks-" version ".txt"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"05vzgrvfp35mgxjgkm4wnxjjgzva8n6545i9jxd4pczpvvfp122r")))))))
|
2020-02-03 11:29:33 +00:00
|
|
|
|
(home-page "https://github.com/eugmes/fntsample")
|
|
|
|
|
(synopsis "PDF and PostScript font samples generator")
|
|
|
|
|
(description "This package provides a tool that can be used to make font
|
|
|
|
|
samples that show coverage of the font and are similar in appearance to
|
|
|
|
|
Unicode Charts. It was developed for use with DejaVu Fonts project.")
|
|
|
|
|
(license license:gpl3+)))
|
2020-03-04 15:19:22 +00:00
|
|
|
|
|
|
|
|
|
(define-public libraqm
|
|
|
|
|
(package
|
|
|
|
|
(name "libraqm")
|
2021-12-14 12:36:53 +00:00
|
|
|
|
(version "0.8.0")
|
2020-03-04 15:19:22 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2021-09-28 07:08:00 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/HOST-Oman/libraqm")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2020-03-04 15:19:22 +00:00
|
|
|
|
(sha256
|
2021-12-14 12:36:53 +00:00
|
|
|
|
(base32 "0qrdw67n14n0km2f8l0gk8scgj3ybz662s9x8jwj3rrj33nl2d1a"))))
|
2021-09-28 07:08:00 +00:00
|
|
|
|
(build-system meson-build-system)
|
2020-03-04 15:19:22 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 21:15:07 +00:00
|
|
|
|
(list gtk-doc/stable pkg-config python-wrapper))
|
2020-03-04 15:19:22 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list freetype fribidi harfbuzz))
|
2020-03-04 15:19:22 +00:00
|
|
|
|
(home-page "https://github.com/HOST-Oman/libraqm")
|
|
|
|
|
(synopsis "Library for complex text layout")
|
|
|
|
|
(description
|
|
|
|
|
"Raqm is a small library that encapsulates the logic for complex text
|
|
|
|
|
layout and provides a convenient API.
|
|
|
|
|
|
|
|
|
|
It currently provides bidirectional text support (using FriBiDi),
|
|
|
|
|
shaping (using HarfBuzz), and proper script itemization. As a result, Raqm
|
|
|
|
|
can support most writing systems covered by Unicode.")
|
|
|
|
|
(license license:expat)))
|
2020-10-30 14:48:32 +00:00
|
|
|
|
|
|
|
|
|
(define-public lcdf-typetools
|
|
|
|
|
(package
|
|
|
|
|
(name "lcdf-typetools")
|
|
|
|
|
(version "2.108")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/kohler/lcdf-typetools")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0a6jqaqwq43ldjjjlnsh6mczs2la9363qav7v9fyrfzkfj8kw9ad"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
;; This is only provided by the monolithic texlive distribution.
|
|
|
|
|
;; FIXME: texlive-kpathsea doesn't come with the library and headers
|
|
|
|
|
(list "--without-kpathsea")))
|
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list autoconf automake))
|
2020-10-30 14:48:32 +00:00
|
|
|
|
(home-page "https://lcdf.org/type/")
|
|
|
|
|
(synopsis "Multiple font manipulation tools")
|
|
|
|
|
(description "LCDF Typetools comprises several programs for manipulating
|
|
|
|
|
PostScript Type 1, Type 1 Multiple Master, OpenType, and TrueType fonts.
|
|
|
|
|
These tools are cfftot1, mmafm, mmpfb, otfinfo, otftotfm, t1dotlessj, t1lint,
|
|
|
|
|
t1rawfm, t1reencode, t1testpage and ttftotype42.")
|
|
|
|
|
(license license:gpl2+)))
|
2023-05-24 15:43:21 +00:00
|
|
|
|
|
|
|
|
|
(define-public bdf2sfd
|
|
|
|
|
(package
|
|
|
|
|
(name "bdf2sfd")
|
|
|
|
|
(version "1.1.8")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/fcambus/bdf2sfd")
|
|
|
|
|
(commit "1.1.8")))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0pa92gjiijp9xqnw9dcvz24s6qk11a4lp5q6s5psd6mpkhpd88zq"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(home-page "https://github.com/fcambus/bdf2sfd")
|
|
|
|
|
(synopsis "BDF to SFD converter, allowing to vectorize bitmap fonts")
|
|
|
|
|
(description
|
|
|
|
|
"bdf2sfd is a
|
|
|
|
|
@uref{https://en.wikipedia.org/wiki/Glyph_Bitmap_Distribution_Format,
|
|
|
|
|
BDF} to @uref{https://fontforge.org/docs/techref/sfdformat.html, SFD}
|
|
|
|
|
converter, allowing to vectorize bitmap fonts. It works by converting
|
|
|
|
|
each pixel of a glyph to a polygon, which produces large and
|
|
|
|
|
unoptimized SFD files that should be post-processed using
|
|
|
|
|
@uref{https://fontforge.org, FontForge}.")
|
|
|
|
|
(license license:bsd-2)))
|