2013-01-19 12:28:55 +01:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2015-01-16 23:55:42 +01:00
|
|
|
;;; Copyright © 2013, 2014, 2015 Andreas Enge <andreas@enge.fr>
|
2016-03-31 07:36:22 +02:00
|
|
|
;;; Copyright © 2014, 2016 Eric Bavier <bavier@member.fsf.org>
|
2016-02-10 23:27:20 +01:00
|
|
|
;;; Copyright © 2016 Mark H Weaver <mhw@netris.org>
|
2017-02-27 07:29:05 +01:00
|
|
|
;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
|
2017-03-02 02:19:01 +01:00
|
|
|
;;; Copyright © 2017 Rene Saavedra <rennes@openmailbox.org>
|
2017-03-19 03:58:14 +01:00
|
|
|
;;; Copyright © 2017 Leo Famulari <leo@famulari.name>
|
2013-01-19 12:28:55 +01: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 13:19:26 +01:00
|
|
|
(define-module (gnu packages fontutils)
|
2013-01-19 12:28:55 +01:00
|
|
|
#:use-module (gnu packages)
|
2013-01-26 00:43:03 +01:00
|
|
|
#:use-module (gnu packages compression)
|
2013-09-25 09:48:13 +02:00
|
|
|
#:use-module (gnu packages ghostscript)
|
2014-09-27 23:47:05 +02:00
|
|
|
#:use-module (gnu packages perl)
|
2013-01-23 21:10:26 +01:00
|
|
|
#:use-module (gnu packages pkg-config)
|
2014-10-07 18:18:36 +02:00
|
|
|
#:use-module (gnu packages autotools)
|
2014-10-07 18:20:20 +02:00
|
|
|
#:use-module (gnu packages gettext)
|
2014-09-27 23:47:05 +02:00
|
|
|
#:use-module (gnu packages python)
|
2014-10-07 18:20:20 +02:00
|
|
|
#:use-module (gnu packages image)
|
2016-03-31 07:36:22 +02:00
|
|
|
#:use-module (gnu packages bison)
|
|
|
|
#:use-module (gnu packages flex)
|
2014-10-07 18:20:20 +02:00
|
|
|
#:use-module (gnu packages glib)
|
2017-06-11 19:02:11 +02:00
|
|
|
#:use-module (gnu packages gperf)
|
2014-10-07 18:20:20 +02:00
|
|
|
#:use-module (gnu packages xorg)
|
|
|
|
#:use-module (gnu packages gtk)
|
2013-01-23 21:10:26 +01:00
|
|
|
#:use-module (gnu packages xml)
|
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 22:44:22 +02:00
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
2013-01-19 12:28:55 +01:00
|
|
|
#:use-module (guix packages)
|
|
|
|
#:use-module (guix download)
|
2015-07-19 12:39:57 +02:00
|
|
|
#:use-module (guix svn-download)
|
2016-04-02 08:50:14 +02:00
|
|
|
#:use-module (guix git-download)
|
2014-09-27 23:47:05 +02:00
|
|
|
#:use-module (guix build-system cmake)
|
2013-01-19 12:28:55 +01:00
|
|
|
#:use-module (guix build-system gnu))
|
|
|
|
|
|
|
|
(define-public freetype
|
|
|
|
(package
|
|
|
|
(name "freetype")
|
2017-05-15 22:38:27 +02:00
|
|
|
(version "2.8")
|
2013-01-19 12:28:55 +01:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2013-05-06 23:48:36 +02:00
|
|
|
(uri (string-append "mirror://savannah/freetype/freetype-"
|
2015-02-15 19:17:57 +01:00
|
|
|
version ".tar.bz2"))
|
2013-01-19 12:28:55 +01:00
|
|
|
(sha256 (base32
|
2017-05-15 22:38:27 +02:00
|
|
|
"02xlj611alpvl3h33hvfw1jyxc1vp9mzwcckkiglkhn3hknh7im3"))))
|
2013-01-19 12:28:55 +01:00
|
|
|
(build-system gnu-build-system)
|
2016-04-27 15:51:32 +02:00
|
|
|
(native-inputs
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
(propagated-inputs
|
|
|
|
;; These are all in the Requires.private field of freetype2.pc.
|
|
|
|
;; XXX: add harfbuzz.
|
|
|
|
`(("libpng" ,libpng)
|
|
|
|
("zlib" ,zlib)))
|
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 06:46:59 +02:00
|
|
|
(synopsis "Font rendering library")
|
2013-01-19 12:28:55 +01:00
|
|
|
(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 06:46:59 +02:00
|
|
|
contents of font files. It provides a uniform interface to access font files.
|
2013-01-19 12:28:55 +01: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 06:46:59 +02:00
|
|
|
Type1, CID, CFF, Windows FON/FNT, X11 PCF, and others. It supports high-speed
|
2013-01-19 12:28:55 +01:00
|
|
|
anti-aliased glyph bitmap generation with 256 gray levels.")
|
2013-01-19 22:31:17 +01:00
|
|
|
(license license:freetype) ; some files have other licenses
|
2016-11-22 17:50:07 +01:00
|
|
|
(home-page "https://www.freetype.org/")))
|
2013-01-23 21:10:26 +01:00
|
|
|
|
2016-03-31 07:36:22 +02:00
|
|
|
(define-public ttfautohint
|
|
|
|
(package
|
|
|
|
(name "ttfautohint")
|
|
|
|
(version "1.5")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://savannah/freetype/ttfautohint-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1lgghck46p33z3hg8dnl76jryig4fh6d8rhzms837zp7x4hyfkv4"))
|
|
|
|
(patches (list (search-patch "ttfautohint-source-date-epoch.patch")))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(native-inputs
|
|
|
|
`(("flex" ,flex)
|
|
|
|
("bison" ,bison)
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
(inputs
|
|
|
|
`(("freetype" ,freetype)
|
|
|
|
("harfbuzz" ,harfbuzz)))
|
|
|
|
(arguments
|
|
|
|
`(#:configure-flags '("--with-qt=no"))) ;no gui
|
|
|
|
(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
|
|
|
|
(home-page "http://www.freetype.org/ttfautohint/")))
|
|
|
|
|
2016-03-31 07:50:47 +02: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
|
|
|
|
`(("zlib" ,zlib)))
|
|
|
|
(arguments
|
|
|
|
`(#:make-flags '("CC=gcc")
|
|
|
|
#: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)
|
|
|
|
(install-file "woff2sfnt" bin)))))))
|
|
|
|
(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 08:11:19 +02:00
|
|
|
(define-public ttf2eot
|
|
|
|
(package
|
|
|
|
(name "ttf2eot")
|
|
|
|
(version "0.0.2-2")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "https://storage.googleapis.com/"
|
|
|
|
"google-code-archive-downloads/v2/"
|
|
|
|
"code.google.com/ttf2eot/"
|
|
|
|
"ttf2eot-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1f4dzzmhn0208dvbm3ia5ar6ls9apwc6ampy5blmfxkigi6z0g02"))
|
|
|
|
(patches (list (search-patch "ttf2eot-cstddef.patch")))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#: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 "ttf2eot" bin)))))))
|
|
|
|
(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)
|
|
|
|
(home-page "https://code.google.com/archive/p/ttf2eot/")))
|
|
|
|
|
2016-04-02 08:50:14 +02:00
|
|
|
(define-public woff2
|
|
|
|
(let ((commit "4e698b8c6c5e070d53c340db9ddf160e21070ede")
|
|
|
|
(revision "1"))
|
|
|
|
(package
|
|
|
|
(name "woff2")
|
|
|
|
(version (string-append "20160306-" revision "."
|
|
|
|
(string-take commit 7)))
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/google/woff2.git")
|
|
|
|
(commit commit)))
|
|
|
|
(file-name (string-append name "-" version ".tar.xz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0wka0yhf0cjmd4rv2jckxpyv6lb5ckj4nj0k1ajq5hrjy7f30lcp"))
|
|
|
|
(patches (list (search-patch "woff2-libbrotli.patch")))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(native-inputs
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
(inputs
|
|
|
|
`(("brotli" ,brotli)))
|
|
|
|
(arguments
|
|
|
|
`(#:tests? #f ;no tests
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
(delete 'configure)
|
|
|
|
(replace 'install
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
(bin (string-append out "/bin")))
|
|
|
|
(install-file "woff2_compress" bin)
|
|
|
|
(install-file "woff2_decompress" bin)
|
|
|
|
#t))))))
|
|
|
|
(synopsis "Compress TrueType fonts to WOFF2")
|
|
|
|
(description
|
|
|
|
"This package provides utilities for compressing/decompressing TrueType
|
|
|
|
fonts to/from the WOFF2 format.")
|
|
|
|
(license license:asl2.0)
|
|
|
|
(home-page "https://github.com/google/woff2"))))
|
|
|
|
|
2013-01-23 21:10:26 +01:00
|
|
|
(define-public fontconfig
|
|
|
|
(package
|
|
|
|
(name "fontconfig")
|
2017-06-11 19:02:11 +02:00
|
|
|
(version "2.12.3")
|
2013-01-23 21:10:26 +01:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
2016-02-19 14:23:38 +01:00
|
|
|
"https://www.freedesktop.org/software/fontconfig/release/fontconfig-"
|
2013-01-23 21:10:26 +01:00
|
|
|
version ".tar.bz2"))
|
|
|
|
(sha256 (base32
|
2017-06-11 19:02:11 +02:00
|
|
|
"1ggq6jmz3mlzk4xjs615aqw9h3hq33chjn82bhli26kk09kby95x"))))
|
2013-01-23 21:10:26 +01:00
|
|
|
(build-system gnu-build-system)
|
2015-01-17 06:51:25 +01:00
|
|
|
(propagated-inputs `(("expat" ,expat)
|
|
|
|
("freetype" ,freetype)))
|
|
|
|
(inputs `(("gs-fonts" ,gs-fonts)))
|
gnu: Move numerous "inputs" which should be "native-inputs".
* gnu/packages/avahi.scm, gnu/packages/cdrom.scm, gnu/packages/cryptsetup.scm,
gnu/packages/curl.scm, gnu/packages/emacs.scm, gnu/packages/fontutils.scm,
gnu/packages/gdb.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/glib.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm, gnu/packages/gnuzilla.scm, gnu/packages/graphviz.scm,
gnu/packages/groff.scm, gnu/packages/gstreamer.scm, gnu/packages/gtk.scm,
gnu/packages/gv.scm, gnu/packages/imagemagick.scm, gnu/packages/irssi.scm,
gnu/packages/kde.scm, gnu/packages/libcanberra.scm, gnu/packages/libtiff.scm,
gnu/packages/linux.scm, gnu/packages/lvm.scm, gnu/packages/mp3.scm,
gnu/packages/netpbm.scm, gnu/packages/parted.scm, gnu/packages/pdf.scm,
gnu/packages/pulseaudio.scm, gnu/packages/qemu.scm, gnu/packages/qt.scm,
gnu/packages/ratpoison.scm, gnu/packages/rdf.scm, gnu/packages/slim.scm,
gnu/packages/texlive.scm, gnu/packages/version-control.scm,
gnu/packages/video.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/xml.scm, gnu/packages/xnee.scm, gnu/packages/xorg.scm,
gnu/packages/zip.scm: Move some build-time dependencies from `inputs' to
`native-inputs'.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2013-12-15 12:01:56 +01:00
|
|
|
(native-inputs
|
2017-06-11 19:02:11 +02:00
|
|
|
`(("gperf" ,gperf) ; Try dropping this for > 2.12.3.
|
|
|
|
("pkg-config" ,pkg-config)))
|
2013-08-05 20:22:50 +02:00
|
|
|
(arguments
|
2015-08-17 10:16:04 +02:00
|
|
|
`(#:configure-flags
|
|
|
|
(list "--with-cache-dir=/var/cache/fontconfig"
|
|
|
|
;; register gs-fonts as default fonts
|
|
|
|
(string-append "--with-default-fonts="
|
|
|
|
(assoc-ref %build-inputs "gs-fonts")
|
|
|
|
"/share/fonts")
|
2016-03-20 15:27:44 +01:00
|
|
|
|
2016-04-03 09:27:45 +02:00
|
|
|
;; Register fonts from user and system profiles.
|
|
|
|
(string-append "--with-add-fonts="
|
|
|
|
"~/.guix-profile/share/fonts,"
|
|
|
|
"/run/current-system/profile/share/fonts")
|
2016-03-20 15:27:44 +01:00
|
|
|
|
2015-08-17 10:16:04 +02:00
|
|
|
;; python is not actually needed
|
|
|
|
"PYTHON=false")
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
2017-06-11 19:02:11 +02:00
|
|
|
(add-before 'configure 'regenerate-fcobjshash
|
|
|
|
;; XXX The pre-generated gperf files are broken.
|
|
|
|
;; See <https://bugs.freedesktop.org/show_bug.cgi?id=101280>.
|
2017-02-27 07:29:05 +01:00
|
|
|
(lambda _
|
2017-06-11 19:02:11 +02:00
|
|
|
(delete-file "src/fcobjshash.h")
|
|
|
|
(delete-file "src/fcobjshash.gperf")
|
2017-02-27 07:29:05 +01:00
|
|
|
#t))
|
2015-08-17 10:16:04 +02:00
|
|
|
(replace 'install
|
|
|
|
(lambda _
|
|
|
|
;; Don't try to create /var/cache/fontconfig.
|
|
|
|
(zero? (system* "make" "install"
|
|
|
|
"fc_cachedir=$(TMPDIR)"
|
|
|
|
"RUN_FC_CACHE_TEST=false")))))))
|
2014-09-13 15:50:30 +02:00
|
|
|
(synopsis "Library for configuring and customizing font access")
|
2013-01-23 21:10:26 +01:00
|
|
|
(description
|
|
|
|
"Fontconfig can discover new fonts when installed automatically;
|
|
|
|
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.")
|
|
|
|
; The exact license is more X11-style than BSD-style.
|
gnu: Update packages to use 'non-copyleft' instead of 'bsd-style'.
* gnu/packages/avr.scm, gnu/packages/compression.scm,
gnu/packages/curl.scm, gnu/packages/cyrus-sasl.scm,
gnu/packages/databases.scm, gnu/packages/firmware.scm,
gnu/packages/flex.scm, gnu/packages/fontutils.scm,
gnu/packages/gd.scm, gnu/packages/ghostscript.scm,
gnu/packages/gnunet.scm, gnu/packages/graphics.scm,
gnu/packages/hugs.scm, gnu/packages/image.scm,
gnu/packages/linux.scm, gnu/packages/mail.scm,
gnu/packages/maths.scm, gnu/packages/mit-krb5.scm,
gnu/packages/python.scm, gnu/packages/rdf.scm,
gnu/packages/ssh.scm, gnu/packages/tcl.scm,
gnu/packages/xdisorg.scm, gnu/packages/xiph.scm,
gnu/packages/yasm.scm, gnu/packages/zip.scm: Use 'non-copyleft'
instead of 'bsd-style'.
2015-03-14 19:26:34 +01:00
|
|
|
(license (license:non-copyleft "file://COPYING"
|
2013-01-23 21:10:26 +01:00
|
|
|
"See COPYING in the distribution."))
|
|
|
|
(home-page "http://www.freedesktop.org/wiki/Software/fontconfig")))
|
2013-01-23 22:56:04 +01:00
|
|
|
|
|
|
|
(define-public t1lib
|
|
|
|
(package
|
|
|
|
(name "t1lib")
|
|
|
|
(version "5.1.2")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2016-05-27 15:23:21 +02: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 22:56:04 +01:00
|
|
|
(sha256 (base32
|
2016-05-30 10:46:12 +02:00
|
|
|
"0nbvjpnmcznib1nlgg8xckrmsw3haa154byds2h90y2g0nsjh4w2"))
|
|
|
|
(patches (search-patches
|
|
|
|
"t1lib-CVE-2010-2642.patch"
|
|
|
|
"t1lib-CVE-2011-0764.patch"
|
|
|
|
"t1lib-CVE-2011-1552+CVE-2011-1553+CVE-2011-1554.patch"))))
|
2013-01-23 22:56:04 +01: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 15:50:30 +02:00
|
|
|
(synopsis "Library for generating bitmaps from Type 1 fonts")
|
2013-01-23 22:56:04 +01: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 06:46:59 +02: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 22:56:04 +01:00
|
|
|
(license license:gpl2)
|
|
|
|
(home-page "http://www.t1lib.org/")))
|
2013-01-26 00:43:03 +01:00
|
|
|
|
|
|
|
(define-public teckit
|
|
|
|
(package
|
|
|
|
(name "teckit")
|
2015-07-19 12:39:57 +02:00
|
|
|
(version "2.5.4")
|
2013-01-26 00:43:03 +01:00
|
|
|
(source (origin
|
2015-07-19 12:39:57 +02:00
|
|
|
;; Downloaded tarballs vary with each download, so we use an
|
|
|
|
;; svn snapshot. The 2.5.4 release seems to be made in r128,
|
|
|
|
;; but r132 updates additional files to contain the correct
|
|
|
|
;; version number (r129 to r131 do not concern TRUNK).
|
|
|
|
(method svn-fetch)
|
|
|
|
(uri (svn-reference
|
|
|
|
(url "https://scripts.sil.org/svn-public/teckit/TRUNK")
|
|
|
|
(revision 132)))
|
|
|
|
(file-name (string-append name "-" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1xqkqgw30pb24snh46srmjs2j4zhz2dfi5pf7znia0k34mrpwivz"))))
|
2013-01-26 00:43:03 +01:00
|
|
|
(build-system gnu-build-system)
|
gnu: Use the 'patches' field of <origin>.
* gnu/packages/apr.scm,
gnu/packages/autotools.scm,
gnu/packages/avahi.scm,
gnu/packages/cdrom.scm,
gnu/packages/cmake.scm,
gnu/packages/cpio.scm,
gnu/packages/cross-base.scm,
gnu/packages/emacs.scm,
gnu/packages/flex.scm,
gnu/packages/fontutils.scm,
gnu/packages/glib.scm,
gnu/packages/grub.scm,
gnu/packages/guile.scm,
gnu/packages/idutils.scm,
gnu/packages/libevent.scm,
gnu/packages/linux.scm,
gnu/packages/mail.scm,
gnu/packages/make-bootstrap.scm,
gnu/packages/mp3.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/pdf.scm,
gnu/packages/plotutils.scm,
gnu/packages/qemu.scm,
gnu/packages/recutils.scm,
gnu/packages/rush.scm,
gnu/packages/scheme.scm,
gnu/packages/system.scm,
gnu/packages/tcsh.scm,
gnu/packages/valgrind.scm,
gnu/packages/vpn.scm,
gnu/packages/w3m: Use the 'patches' field of <origin> instead of
adding a patch as input plus using #:patches.
2013-10-09 00:09:04 +02:00
|
|
|
(inputs `(("zlib" ,zlib)))
|
2015-07-19 12:39:57 +02:00
|
|
|
(native-inputs
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
("automake" ,automake)
|
|
|
|
("libtool" ,libtool)
|
|
|
|
("perl" ,perl))) ; for the tests
|
|
|
|
(arguments
|
|
|
|
`(#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'autogen
|
|
|
|
(lambda _
|
|
|
|
(zero? (system* "sh" "autogen.sh")))))))
|
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 06:46:59 +02:00
|
|
|
(synopsis "Toolkit for encoding conversions")
|
2013-01-26 00:43:03 +01:00
|
|
|
(description
|
|
|
|
"TECkit is a low-level toolkit intended to be used by other applications
|
|
|
|
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 06:46:59 +02:00
|
|
|
into a Unicode-based application). The primary component of the TECkit
|
2013-01-26 00:43:03 +01: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 06:46:59 +02:00
|
|
|
\"TECkit engine\". The engine relies on mapping tables in a specific binary
|
2013-01-26 00:43:03 +01: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 06:46:59 +02:00
|
|
|
TECkit compiler. However, it is not intended that these tools will be the
|
2013-01-26 00:43:03 +01: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.")
|
|
|
|
(license license:lgpl2.1+)
|
|
|
|
(home-page "http://scripts.sil.org/cms/scripts/page.php?cat_id=teckit")))
|
2014-09-27 23:47:05 +02:00
|
|
|
|
|
|
|
(define-public graphite2
|
|
|
|
(package
|
|
|
|
(name "graphite2")
|
2017-05-27 09:39:12 +02:00
|
|
|
(version "1.3.10")
|
2014-09-27 23:47:05 +02:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2016-04-27 15:51:32 +02:00
|
|
|
(uri (string-append "https://github.com/silnrsi/graphite/releases/"
|
|
|
|
"download/" version "/" name "-" version ".tgz"))
|
2017-03-19 03:58:14 +01:00
|
|
|
(patches (search-patches "graphite2-ffloat-store.patch"))
|
2014-09-27 23:47:05 +02:00
|
|
|
(sha256
|
2016-03-09 15:23:12 +01:00
|
|
|
(base32
|
2017-05-27 09:39:12 +02:00
|
|
|
"1bm1rl2ww0m8rvmknh8fpajyz9xqv43qs9qrzf7xd5gaz6rf7zch"))))
|
2014-09-27 23:47:05 +02:00
|
|
|
(build-system cmake-build-system)
|
2015-08-22 05:33:35 +02:00
|
|
|
(native-inputs
|
|
|
|
`(("python" ,python-2) ; because of "import imap" in tests
|
|
|
|
("python-fonttools" ,python2-fonttools)))
|
2014-09-27 23:47:05 +02:00
|
|
|
(inputs
|
2015-08-22 05:33:35 +02:00
|
|
|
`(("freetype" ,freetype)))
|
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 06:46:59 +02:00
|
|
|
(synopsis "Reimplementation of the SIL Graphite text processing engine")
|
2014-09-27 23:47:05 +02: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 23:27:20 +01:00
|
|
|
(home-page "https://github.com/silnrsi/graphite")))
|
2014-10-07 19:27:37 +02:00
|
|
|
|
|
|
|
(define-public potrace
|
|
|
|
(package
|
|
|
|
(name "potrace")
|
2017-09-25 16:10:09 +02:00
|
|
|
(version "1.15")
|
2014-10-07 19:27:37 +02:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2016-07-21 08:35:30 +02:00
|
|
|
(uri (string-append "mirror://sourceforge/potrace/" version
|
|
|
|
"/potrace-" version ".tar.gz"))
|
2014-10-07 19:27:37 +02:00
|
|
|
(sha256
|
|
|
|
(base32
|
2017-09-25 16:10:09 +02:00
|
|
|
"17ajildjp14shsy339xarh1lw1p0k60la08ahl638a73mh23kcx9"))))
|
2014-10-07 19:27:37 +02:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(native-inputs `(("ghostscript" ,ghostscript))) ;for tests
|
|
|
|
(inputs `(("zlib" ,zlib)))
|
2014-10-29 20:05:11 +01:00
|
|
|
(arguments
|
|
|
|
`(#:configure-flags
|
|
|
|
`("--with-libpotrace"))) ; install library and headers
|
2014-10-07 19:27:37 +02: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+)
|
|
|
|
(home-page "http://potrace.sourceforge.net/")))
|
2014-10-07 18:14:39 +02:00
|
|
|
|
2016-02-19 12:32:15 +01:00
|
|
|
(define-public libotf
|
|
|
|
(package
|
|
|
|
(name "libotf")
|
|
|
|
(version "0.9.13")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2016-10-02 16:45:19 +02:00
|
|
|
(uri (string-append "mirror://savannah/m17n/libotf-"
|
|
|
|
version ".tar.gz"))
|
2016-02-19 12:32:15 +01:00
|
|
|
(sha256
|
|
|
|
(base32 "0239zvfan56w7vrppriwy77fzb10ag9llaz15nsraps2a2x6di3v"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(propagated-inputs
|
|
|
|
`(("freetype" ,freetype)))
|
|
|
|
(home-page "http://www.nongnu.org/m17n/")
|
|
|
|
(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 18:14:39 +02:00
|
|
|
(define-public libspiro
|
|
|
|
(package
|
|
|
|
(name "libspiro")
|
|
|
|
(version "20071029")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://sourceforge/libspiro/libspiro/"
|
|
|
|
version "/libspiro_src-" version ".tar.bz2"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1kylz8pvwnb85yya150r9i6mhbpzx38f32qy523qg3ylgd9b3zhy"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments `(#:tests? #f)) ;no tests
|
|
|
|
(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+)
|
|
|
|
(home-page "http://libspiro.sourceforge.net/")))
|
2014-10-07 18:18:36 +02:00
|
|
|
|
|
|
|
(define-public libuninameslist
|
|
|
|
(package
|
|
|
|
(name "libuninameslist")
|
2016-10-10 11:56:54 +02:00
|
|
|
(version "20160701")
|
2014-10-07 18:18:36 +02:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "https://github.com/fontforge/libuninameslist/"
|
|
|
|
"archive/" version ".tar.gz"))
|
2014-11-11 18:13:38 +01:00
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
2014-10-07 18:18:36 +02:00
|
|
|
(sha256
|
|
|
|
(base32
|
2016-10-10 11:56:54 +02:00
|
|
|
"12xxb301a66dh282pywpy00wxiaq5z8z20qm3pr2vql04r2g8d0x"))))
|
2014-10-07 18:18:36 +02:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(native-inputs `(("autoconf" ,autoconf)
|
|
|
|
("automake" ,automake)
|
2015-01-07 09:44:10 +01:00
|
|
|
("libtool" ,libtool)))
|
2014-10-07 18:18:36 +02:00
|
|
|
(arguments
|
2016-10-10 11:58:14 +02:00
|
|
|
`(#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'bootstrap
|
|
|
|
(lambda _ (zero? (system* "autoreconf" "-vi")))))))
|
2014-10-07 18:18:36 +02:00
|
|
|
(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.")
|
|
|
|
(license license:gpl2)
|
|
|
|
(home-page "https://github.com/fontforge/libuninameslist")))
|
2014-10-07 18:20:20 +02:00
|
|
|
|
|
|
|
(define-public fontforge
|
|
|
|
(package
|
|
|
|
(name "fontforge")
|
2017-09-24 18:59:27 +02:00
|
|
|
(version "20170731")
|
2014-10-07 18:20:20 +02:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2016-03-18 15:52:12 +01:00
|
|
|
(uri (string-append
|
|
|
|
"https://github.com/fontforge/fontforge/releases/download/"
|
2017-09-24 18:59:27 +02:00
|
|
|
version "/fontforge-dist-" version ".tar.xz"))
|
2014-10-07 18:20:20 +02:00
|
|
|
(sha256 (base32
|
2017-09-24 18:59:27 +02:00
|
|
|
"08l8h3yvk4v7652jvmd3ls7nf5miybkx2fmkf1mpwwfixpxxw2l4"))))
|
2014-10-07 18:20:20 +02:00
|
|
|
(build-system gnu-build-system)
|
2016-03-18 15:52:12 +01:00
|
|
|
(native-inputs
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
(inputs `(("cairo" ,cairo)
|
|
|
|
("fontconfig" ,fontconfig) ;dlopen'd
|
|
|
|
("freetype" ,freetype)
|
2016-09-25 09:33:02 +02:00
|
|
|
("gettext" ,gettext-minimal)
|
2016-03-18 15:52:12 +01:00
|
|
|
("glib" ,glib) ;needed for pango detection
|
2014-10-07 18:20:20 +02:00
|
|
|
("libICE" ,libice)
|
|
|
|
("libSM" ,libsm)
|
2016-03-18 15:52:12 +01:00
|
|
|
("libX11" ,libx11)
|
|
|
|
("libXi" ,libxi)
|
|
|
|
("libjpeg" ,libjpeg)
|
|
|
|
("libltdl" ,libltdl)
|
|
|
|
("libpng" ,libpng)
|
2014-10-07 18:20:20 +02:00
|
|
|
("libspiro" ,libspiro)
|
2016-03-18 15:52:12 +01:00
|
|
|
("libtiff" ,libtiff)
|
2016-04-15 07:08:53 +02:00
|
|
|
("libungif" ,libungif)
|
2014-10-07 18:20:20 +02:00
|
|
|
("libuninameslist" ,libuninameslist)
|
2016-03-18 15:52:12 +01:00
|
|
|
("libxft" ,libxft)
|
|
|
|
("libxml2" ,libxml2)
|
2014-10-07 18:20:20 +02:00
|
|
|
("pango" ,pango)
|
2016-03-18 15:52:12 +01:00
|
|
|
("potrace" ,potrace)
|
2017-09-24 18:59:27 +02:00
|
|
|
("python" ,python-wrapper)
|
2016-03-18 15:52:12 +01:00
|
|
|
("zlib" ,zlib)))
|
2014-10-07 18:20:20 +02:00
|
|
|
(arguments
|
2017-09-24 18:59:27 +02:00
|
|
|
'(#:phases
|
2016-04-06 05:51:53 +02:00
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-after 'install 'set-library-path
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
(potrace (string-append (assoc-ref inputs "potrace") "/bin")))
|
|
|
|
(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"))
|
2016-04-15 07:08:53 +02:00
|
|
|
'("libtiff" "libjpeg" "libpng" "libungif"
|
2016-04-06 05:51:53 +02:00
|
|
|
"libxml2" "zlib" "libspiro" "freetype"
|
|
|
|
"pango" "cairo" "fontconfig")))
|
|
|
|
;; Checks for potrace program at runtime
|
|
|
|
`("PATH" ":" prefix (,potrace)))))))))
|
2014-10-07 18:20:20 +02: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 15:52:12 +01:00
|
|
|
(license license:gpl3+)
|
2017-09-24 18:59:27 +02:00
|
|
|
(home-page "https://fontforge.github.io/en-US/")))
|