[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/11: gnu: fontforge: Update to 20200314.
From: |
guix-commits |
Subject: |
05/11: gnu: fontforge: Update to 20200314. |
Date: |
Wed, 18 Mar 2020 14:24:19 -0400 (EDT) |
mbakke pushed a commit to branch core-updates
in repository guix.
commit 0a502c8c9bd07bfdc24aac6f3bdec939e0d9aef4
Author: Marius Bakke <address@hidden>
AuthorDate: Tue Mar 17 11:22:34 2020 +0100
gnu: fontforge: Update to 20200314.
* gnu/packages/fontutils.scm (fontforge): Update to 20200314.
[source](uri): Adjust for new tar.xz download.
[native-inputs]: Remove AUTOCONF, AUTOMAKE and LIBTOOL.
[build-system]: Switch to CMAKE-BUILD-SYSTEM.
[arguments]: Add #:configure-flags. Remove phase
'fix-linking-with-python3.8', add phase 'do-not-override-RPATH'.
---
gnu/packages/fontutils.scm | 37 ++++++++++++++++---------------------
1 file changed, 16 insertions(+), 21 deletions(-)
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index 8e82112..6784dc7 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -569,23 +569,17 @@ definitions.")
(define-public fontforge
(package
(name "fontforge")
- (version "20190801")
+ (version "20200314")
(source (origin
(method url-fetch)
(uri (string-append
"https://github.com/fontforge/fontforge/releases/download/"
- version "/fontforge-" version ".tar.gz"))
+ version "/fontforge-" version ".tar.xz"))
(sha256
- (base32 "0lh8yx01asbzxm6car5cfi64njh5p4lxc7iv8dldr5rwg357a86r"))))
- (build-system gnu-build-system)
+ (base32 "0qf88wd6riycq56d24brybyc93ns74s0nyyavm43zp2kfcihn6fd"))))
+ (build-system cmake-build-system)
(native-inputs
- `(("pkg-config" ,pkg-config)
-
- ;; TODO: Remove these inputs and the 'fix-linking-with-python-3.8' phase
- ;; below when updating fontforge.
- ("autoconf" ,autoconf)
- ("automake" ,automake)
- ("libtool" ,libtool)))
+ `(("pkg-config" ,pkg-config)))
(inputs `(("cairo" ,cairo)
("fontconfig" ,fontconfig) ;dlopen'd
("freetype" ,freetype)
@@ -608,18 +602,19 @@ definitions.")
("python" ,python)
("zlib" ,zlib)))
(arguments
- '(#:phases
+ '(#: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")
+ #:phases
(modify-phases %standard-phases
- (add-before 'bootstrap 'fix-linking-with-python-3.8
+ (add-after 'unpack 'do-not-override-RPATH
(lambda _
- ;; Applications that embed the Python interpreter are supposed to
- ;; use the new "python-3.8-embed.pc" pkg-config file starting with
- ;; Python 3.8. Adjust the build system accordingly.
- (substitute* "m4/fontforge_arg_enable.m4"
- (("python-\"\\$\\{PYTHON_VERSION\\}\"" all)
- (string-append all "-embed")))
- ;; Delete the configure script in order to force autoreconf.
- (delete-file "configure")
+ ;; Do not attempt to set a default RPATH, as our ld-wrapper
+ ;; already does the right thing.
+ (substitute* "CMakeLists.txt"
+ (("^set_default_rpath\\(\\)")
+ ""))
#t))
(add-after 'install 'set-library-path
(lambda* (#:key inputs outputs #:allow-other-keys)
- branch core-updates updated (b778989 -> de2871c), guix-commits, 2020/03/18
- 02/11: gnu: perl-xml-parser: Update to 2.46., guix-commits, 2020/03/18
- 03/11: gnu: avahi: Do not build the static libraries., guix-commits, 2020/03/18
- 01/11: gnu: swig: Use guile-3.0 instead of guile-2.2., guix-commits, 2020/03/18
- 05/11: gnu: fontforge: Update to 20200314.,
guix-commits <=
- 04/11: gnu: avahi: Update to 0.8., guix-commits, 2020/03/18
- 11/11: gnu: pulseaudio: Remove obsolete input., guix-commits, 2020/03/18
- 06/11: gnu: gdb: Remove duplicate input., guix-commits, 2020/03/18
- 07/11: gnu: libgsf: Remove obsolete intltool input., guix-commits, 2020/03/18
- 08/11: gnu: libgsf: Do not build the static library., guix-commits, 2020/03/18
- 09/11: gnu: libgsf: Remove unused input., guix-commits, 2020/03/18
- 10/11: gnu: at-spi2-core: Remove obsolete input., guix-commits, 2020/03/18