Compiling Lagrange on FreeBSD 13, the "Dirty And Quick" Guide!
Apparently, if you are on the "latest" repository branch of FreeBSD 13, Lagrange 1.7.3 is buggy, maybe it does not depend by Lagrange itself maybe the culprit is the SDL2 library, who knows?
The point here is if you what Lagrange fully functioning you must compile it by yourself, meanwhile waiting for the fix to be applied. In this regards I already opened a bug reports:
However I do not want overwrite the default package then let us do this "Dirty & Quick"... 😏
Let Us Be "Quick" 🏎️
No more talks, just copy and paste:
Dependencies required
doas pkg install cmake openssl fribidi harfbuzz mpg123 pcre2 libunistring desktop-file-utils pkgconf sdl2
Commands from inside your "GIT" folder:
git clone --branch release https://git.skyjake.fi/gemini/lagrange cd lagrange git submodule update --init lib/the_Foundation mkdir build cd build cmake .. -DCMAKE_BUILD_TYPE=Release cmake --build .
Done with this part! 👊
Time To Be "Dirty" 🧻
I do not want overwrite my packages hence I am going to create a "local" version!
ee ~/.local/share/applications/lagrange.desktop
Just copy and paste this:
Change "YOUR-USER" with your real user...
[Desktop Entry] Name=Lagrange.local Comment=A Beautiful Gemini Client Categories=Network Exec=/home/"YOUR-USER"/Git/lagrange/build/lagrange Terminal=false Type=Application StartupWMClass=lagrange Icon=fi.skyjake.Lagrange MimeType=x-scheme-handler/gemini;x-scheme-handler/gopher Path= StartupNotify=false
Done! 👊
Wrapping This Up
Now you can use the latest and greatest Lagrange version, it will show up on your menu beside the default "Lagrange" as "Lagrange.local"!
it will show up as "Lagrange.local"!
For comments or suggestion write me at: