-- Leo's gemini proxy

-- Connecting to warp.geminispace.club:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini;lang=en

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:


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261676


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:


freezr AT mailbox DOT org



โ†ฉ go back

-- Response ended

-- Page fetched on Tue May 21 13:24:03 2024