Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can we use CALM on Mobile? #70

Closed
VitoVan opened this issue Feb 16, 2023 · 7 comments
Closed

Can we use CALM on Mobile? #70

VitoVan opened this issue Feb 16, 2023 · 7 comments

Comments

@VitoVan
Copy link
Owner

VitoVan commented Feb 16, 2023

This might be archived by ECL

@Hellseher
Copy link

Hi,

Thanks for your project!

I'm about to pack it for Guix and faced with issue to compile it by using ECL.

;;; Internal error:
;;;   ** There is no package with the name SB-EXT.An error occurred during initialization:
COMPILE-FILE-ERROR while compiling #<cl-source-file "calm" "calm">.
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "/gnu/store/cawsqjfnnv7qd0qdjq7jmlqp440jqx8m-ecl-21.2.1/bin/ecl" arguments: ("--eval" "(require :asdf)" "--eval" "(asdf:initialize-source-registry (list :source-registry (list :tree (uiop:ensure-pathname \"/gnu/store/xcy4p2pja182h59c4lzw2y9kvlbik4kw-ecl-calm-0.0.33/share/common-lisp/ecl/calm\" :truenamize t :ensure-directory t)) :inherit-configuration))" "--eval" "(asdf:load-system \"calm\")" "--eval" "(quit)") exit-status: 1 term-signal: #f stop-signal: #f>

SBCL compilation passed successfully and I'll propose the package to be included to package base of Guix.

@VitoVan
Copy link
Owner Author

VitoVan commented Feb 25, 2023

@Hellseher

The current code base is only expected to be working on SBCL, but it could be easily changed to be compatible with ECL.

I will add a higher priority for this task #88

Thanks for your interest and efforts.

@VitoVan
Copy link
Owner Author

VitoVan commented Feb 26, 2023

@Hellseher

The current code base could be successfully ran with ECL, you could try the latest release with:

CALM_HOST_LISP=ecl calm

The changes could be found here: https://github.com/VitoVan/calm/pull/90/files

I don't know if this helped for the Guix packaging, please let me know if anything still not working.

Since I failed to find the equivalent sb-ext:save-lisp-and-die for ECL, so I haven't managed to implement all the features provided in CALM for ECL (i.e. dump binary).

I'm still reading this, and will let you know if I made any further progress.

@VitoVan
Copy link
Owner Author

VitoVan commented Feb 26, 2023

I have added a new issue to track ECL single-executable support: #91

@Hellseher
Copy link

Hi @VitoVan

Thank you for your work!

The latest release of CALM is accepted to Guix and available for SBCL and ECL implementations.

https://packages.guix.gnu.org/packages/sbcl-calm/
https://packages.guix.gnu.org/packages/ecl-calm/

It could help to distribute reproducible packages :) (Check how it's used in Nyxt web browser https://github.com/atlas-engineer/nyxt/blob/master/build-scripts/nyxt.scm)

Regards,
Oleg

@VitoVan
Copy link
Owner Author

VitoVan commented Mar 1, 2023

Hi @Hellseher

Thank you for adding this into Guix!

Guix seems cool, thank you for mentioning nyxt.scm, I am checking it now.

@VitoVan
Copy link
Owner Author

VitoVan commented Jun 19, 2023

Considering:

  1. CALM applications now could work on mobile browsers (check these examples)
  2. I don't think I will have time to deal with iOS or Android

I'm closing this issue now.

@VitoVan VitoVan closed this as completed Jun 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants