From 75e92b9503280ac11195a58af157f3edccce3695 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 26 Sep 2021 17:04:38 +0300 Subject: kaleido builds and installs --- gn/packages/kaleido.scm | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'gn/packages') 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) -- cgit v1.2.3