👽 gnuserland

Simple guide to compile Lagrange by yourself on Debian & Devuan.

@skyjake if I missed something please do not hesitate to correct myself!

gemini://gnuser.land/gemlog/2022-01-26-compiling-lagrange-on-debian-devuan-part-02.gmi Compiling Lagrange on Debian and Devuan Part 02

2 years ago · 👍 kevinsan

Links

gemini://gnuser.land/gemlog/2022-01-26-compiling-lagrange-on-debian-devuan-part-02.gmi

Actions

👋 Join Station

6 Replies

👽 skyjake

I haven’t been on FreeBSD in a while myself, but I think it has the same libraries available…? So yeah, should be applicable. · 2 years ago

👽 gnuserland

@skyjake Looks like Lagrange on FreeBSD is staled at 1.7.3, I wonder if the recommendations you gave me for Linux apply also for FreeBSD, thanks! · 2 years ago

👽 gnuserland

@skyjake thanks to your suggestion I reduced the weight of the source code from 209M to 62M, making even better compiling Lagrange from source rather than using Flatpak, although the Appimage is the best compromise here. · 2 years ago

👽 gnuserland

oh I see, thank you very much @skyjake I'll update everything based on your recommendations!!! · 2 years ago

👽 skyjake

Furthermore:

The ENABLE_KERNING option affects the simple fallback text renderer only. It is used if HarfBuzz is not available for doing the more complex text shaping. · 2 years ago

👽 skyjake

A few notes:

The recursive clone of the repository checks out HarfBuzz and FriBidi as well, however on Debian it's probably better to use the system-provided versions of these libraries. So instead make a normal checkout and call "git submodule update --init lib/the_Foundation" only.

All of these are included as submodules so platforms where the libraries aren't readily available can work, too.

The ENABLE options you're setting are the defaults, so they can be omitted from the command line. And as mentioned, the popup menu option likely is not needed with v1.10. · 2 years ago