[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
16/35: gnu: Add sbcl-mcclim-harfbuzz.
From: |
guix-commits |
Subject: |
16/35: gnu: Add sbcl-mcclim-harfbuzz. |
Date: |
Fri, 17 Jul 2020 09:37:23 -0400 (EDT) |
glv pushed a commit to branch master
in repository guix.
commit 892f1ef0545a13ff4fff2883a4521f157790aa6f
Author: Guillaume Le Vaillant <glv@posteo.net>
AuthorDate: Fri Jul 17 11:51:46 2020 +0200
gnu: Add sbcl-mcclim-harfbuzz.
* gnu/packages/lisp-xyz.scm (sbcl-mcclim-harfbuzz): New variable.
---
gnu/packages/lisp-xyz.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 0adeff4..5898953 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -12953,3 +12953,36 @@ specification}, a toolkit for writing GUIs in Common
Lisp.")
(("\\(asdf:defsystem #:mcclim-fontconfig" all)
(string-append "(asdf:load-system :cffi-grovel)\n" all)))
#t)))))))
+
+(define-public sbcl-mcclim-harfbuzz
+ (package
+ (inherit sbcl-clim-lisp)
+ (name "sbcl-mcclim-harfbuzz")
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (inputs
+ `(("alexandria" ,sbcl-alexandria)
+ ("cffi" ,sbcl-cffi)
+ ("cffi-grovel" ,sbcl-cffi-grovel)
+ ("freetype" ,freetype)
+ ("harfbuzz" ,harfbuzz)
+ ("trivial-garbage" ,sbcl-trivial-garbage)))
+ (arguments
+ '(#:asd-file "Extensions/harfbuzz/mcclim-harfbuzz.asd"
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-paths
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "Extensions/harfbuzz/src/functions.lisp"
+ (("libharfbuzz\\.so")
+ (string-append (assoc-ref inputs "harfbuzz")
+ "/lib/libharfbuzz.so")))
+ #t))
+ (add-after 'unpack 'fix-build
+ (lambda _
+ ;; The cffi-grovel system does not get loaded automatically,
+ ;; so we load it explicitly.
+ (substitute* "Extensions/harfbuzz/mcclim-harfbuzz.asd"
+ (("\\(asdf:defsystem #:mcclim-harfbuzz" all)
+ (string-append "(asdf:load-system :cffi-grovel)\n" all)))
+ #t)))))))
- 01/35: gnu: Add sbcl-clim-lisp., (continued)
- 01/35: gnu: Add sbcl-clim-lisp., guix-commits, 2020/07/17
- 02/35: gnu: Add sbcl-clim-basic., guix-commits, 2020/07/17
- 03/35: gnu: Add sbcl-clim-core., guix-commits, 2020/07/17
- 04/35: gnu: Add sbcl-esa-mcclim., guix-commits, 2020/07/17
- 05/35: gnu: Add sbcl-mcclim-fonts., guix-commits, 2020/07/17
- 06/35: gnu: Add sbcl-automaton., guix-commits, 2020/07/17
- 08/35: gnu: Add sbcl-drei-mcclim., guix-commits, 2020/07/17
- 11/35: gnu: Add sbcl-mcclim-clx., guix-commits, 2020/07/17
- 12/35: gnu: Add sbcl-mcclim-fonts-truetype., guix-commits, 2020/07/17
- 13/35: gnu: Add sbcl-mcclim-fonts-clx-truetype., guix-commits, 2020/07/17
- 16/35: gnu: Add sbcl-mcclim-harfbuzz.,
guix-commits <=
- 18/35: gnu: Add sbcl-mcclim-clx-freetype., guix-commits, 2020/07/17
- 19/35: gnu: Add sbcl-mcclim-render., guix-commits, 2020/07/17
- 15/35: gnu: Add sbcl-mcclim-fontconfig., guix-commits, 2020/07/17
- 20/35: gnu: Add sbcl-mcclim-clx-fb., guix-commits, 2020/07/17
- 14/35: gnu: Add sbcl-mcclim-clx-truetype., guix-commits, 2020/07/17
- 22/35: gnu: Add sbcl-clim-postscript-font., guix-commits, 2020/07/17
- 23/35: gnu: Add sbcl-clim-postscript., guix-commits, 2020/07/17
- 07/35: gnu: Add sbcl-persistent., guix-commits, 2020/07/17
- 09/35: gnu: Add sbcl-clim., guix-commits, 2020/07/17
- 10/35: gnu: Add sbcl-mcclim-backend-common., guix-commits, 2020/07/17