gnu: fontforge: Update to 20150824.

* gnu/packages/fontutils.scm (fontforge): Update to 20150824.
[inputs]: Add libltdl, libxft, python.
[native-inputs]: New field.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
alírio eyng 2016-03-18 14:52:12 +00:00 committed by Ludovic Courtès
parent ef5f5c8659
commit 56586557dd

View File

@ -353,37 +353,41 @@ definitions.")
(define-public fontforge (define-public fontforge
(package (package
(name "fontforge") (name "fontforge")
(version "20120731-b") ;aka 1.0 (version "20150824")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://sourceforge/fontforge/fontforge_full-" (uri (string-append
version ".tar.bz2")) "https://github.com/fontforge/fontforge/releases/download/"
version "/fontforge-" version ".tar.gz"))
(sha256 (base32 (sha256 (base32
"1dhg0i2pf76j40cb9g1wzpag21fgarpjaad0hdbk27i1zz588q8v")))) "0gfcm8yn1d30giqhdwbchnfnspcqypqdzrxlhqhwy1i18wgl0v2v"))))
(build-system gnu-build-system) (build-system gnu-build-system)
;; TODO: Add python for scripting support. (native-inputs
(inputs `(("gettext" ,gnu-gettext) `(("pkg-config" ,pkg-config)))
("libtiff" ,libtiff) (inputs `(("cairo" ,cairo)
("libjpeg" ,libjpeg) ("fontconfig" ,fontconfig) ;dlopen'd
("libpng" ,libpng) ("freetype" ,freetype)
("gettext" ,gnu-gettext)
("giflib" ,giflib) ;needs giflib 4.* ("giflib" ,giflib) ;needs giflib 4.*
("libxml2" ,libxml2) ("glib" ,glib) ;needed for pango detection
("libX11" ,libx11)
("libXi" ,libxi)
("libICE" ,libice) ("libICE" ,libice)
("libSM" ,libsm) ("libSM" ,libsm)
("freetype" ,freetype) ("libX11" ,libx11)
("potrace" ,potrace) ("libXi" ,libxi)
("libjpeg" ,libjpeg)
("libltdl" ,libltdl)
("libpng" ,libpng)
("libspiro" ,libspiro) ("libspiro" ,libspiro)
("zlib" ,zlib) ("libtiff" ,libtiff)
("cairo" ,cairo)
("fontconfig" ,fontconfig) ;dlopen'd
("libuninameslist" ,libuninameslist) ("libuninameslist" ,libuninameslist)
("libxft" ,libxft)
("libxml2" ,libxml2)
("pango" ,pango) ("pango" ,pango)
("glib" ,glib))) ;needed for pango detection ("potrace" ,potrace)
("python" ,python)
("zlib" ,zlib)))
(arguments (arguments
'(#:configure-flags `("--enable-double") '(#:tests? #f
#:tests? #f
#:phases #:phases
(alist-cons-before (alist-cons-before
'configure 'patch-configure 'configure 'patch-configure
@ -423,5 +427,5 @@ definitions.")
"FontForge allows you to create and modify postscript, truetype and "FontForge allows you to create and modify postscript, truetype and
opentype fonts. You can save fonts in many different outline formats, and opentype fonts. You can save fonts in many different outline formats, and
generate bitmaps.") generate bitmaps.")
(license license:bsd-3) (license license:gpl3+)
(home-page "http://fontforge.org/"))) (home-page "http://fontforge.org/")))