aboutsummaryrefslogtreecommitdiff
path: root/gn/packages/kaleido.scm
diff options
context:
space:
mode:
authorEfraim Flashner2021-09-26 17:04:38 +0300
committerEfraim Flashner2021-09-29 16:41:23 +0300
commit75e92b9503280ac11195a58af157f3edccce3695 (patch)
tree2397e5ac37ae04c021d8cd3f0b84bdd6c88dbf7b /gn/packages/kaleido.scm
parentb8891af429b988777153cb9d84e716c4d0c6205f (diff)
downloadguix-bioinformatics-75e92b9503280ac11195a58af157f3edccce3695.tar.gz
kaleido builds and installs
Diffstat (limited to 'gn/packages/kaleido.scm')
-rw-r--r--gn/packages/kaleido.scm17
1 files changed, 10 insertions, 7 deletions
diff --git a/gn/packages/kaleido.scm b/gn/packages/kaleido.scm
index a74a262..f5df225 100644
--- a/gn/packages/kaleido.scm
+++ b/gn/packages/kaleido.scm
@@ -569,7 +569,7 @@ executable(\"kaleido\") {
(bin (string-append out "/bin"))
(exe (string-append bin "/kaleido"))
(lib (string-append out "/lib"))
- (python (string-append (assoc-ref inputs "python3") "/bin/python3"))
+ (python3 (string-append (assoc-ref inputs "python3") "/bin/python3"))
;(man (string-append out "/share/man/man1"))
;(applications (string-append out "/share/applications"))
(libs '(
@@ -581,7 +581,8 @@ executable(\"kaleido\") {
;; Chromium ships its own libGL
;; implementation called ANGLE.
- "libEGL.so" "libGLESv2.so"))
+ ;"libEGL.so" "libGLESv2.so"
+ ))
(locales (string-append lib "/locales"))
(resources (string-append lib "/resources"))
;(preferences (assoc-ref inputs "master-preferences"))
@@ -604,18 +605,20 @@ executable(\"kaleido\") {
;(copy-file "chrome/installer/linux/common/desktop.template"
; (string-append applications "/chromium.desktop"))
- ;(mkdir-p lib)
- ;(copy-file preferences (string-append lib "/master_preferences"))
-
(with-directory-excursion "repos/kaleido/py"
(invoke python3 "setup.py" "install"
(string-append "--prefix=" out)
"--single-version-externally-managed"
"--root=/"))
+ ;(mkdir-p lib)
+ ;(copy-file preferences (string-append lib "/master_preferences"))
+
(with-directory-excursion "out/Release"
- (for-each (cut install-file <> lib) libs)
- (copy-file "kaleido" (string-append lib "/kaleido"))
+ ;(for-each (cut install-file <> lib) libs)
+ (install-file "headless_lib.pak" lib)
+ ;(copy-file "kaleido" (string-append lib "/kaleido"))
+ (install-file "kaleido" lib)
;; locales need to be built!
;(copy-recursively "locales" locales)