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

Please bundle SDL2_ttf for wider audience #149

Open
VitoVan opened this issue Jul 2, 2023 · 5 comments
Open

Please bundle SDL2_ttf for wider audience #149

VitoVan opened this issue Jul 2, 2023 · 5 comments

Comments

@VitoVan
Copy link
Owner

VitoVan commented Jul 2, 2023

Many developers didn't use Cairo or Pango to draw text, instead they use SDL2_ttf.

@VitoVan
Copy link
Owner Author

VitoVan commented Jul 3, 2023

Bundling SDL2_ttf should not be a problem, but bundling cl-sdl2-ttf and loaded through Quicklisp would require:

  • libffi
  • libffi-devel
  • gcc

This seems a little overkill for a Windows user, and maybe even for a non-wizard Ubuntu user.

@VitoVan
Copy link
Owner Author

VitoVan commented Jul 3, 2023

Maybe it's inevitable to bundle MSYS2 for Windows.

But what about Linux, the libffi-devel thing is kind of tricky, I really don't want to ask the user to install anything.

@VitoVan
Copy link
Owner Author

VitoVan commented Jul 3, 2023

Maybe it's inevitable to bundle MSYS2 for Windows.

But what about Linux, the libffi-devel thing is kind of tricky, I really don't want to ask the user to install anything.

Maybe setting a CPATH would do for the ffi.h on Linux?

@VitoVan
Copy link
Owner Author

VitoVan commented Jul 3, 2023

Or maybe we should leave this to the user, if you want it, just (ql:quickload :sdl2-ttf).

@VitoVan
Copy link
Owner Author

VitoVan commented Jul 3, 2023

Let's make this a experimental branch

https://github.com/VitoVan/calm/tree/leca

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

Successfully merging a pull request may close this issue.

1 participant