By the way, source code is hosted at https://codeberg.org/lhinderberger/rescue-coordinator for those interested.
...and this is the result of today's programming session: A GTK Hello World, and a neat, fully FOSS C development setup using the micro editor. It's not as well integrated as, e.g. CLion, but this way I have the opportunity to better learn working with the shell. So, after all, I treat it as a success 😎 I'm too tired to continue with a GtkGLArea tonight, but this is a good base for further sunday afternoons 🙂
After dinner and a lot of continued research and experimentation on the various IDE options, I decided to not use an IDE at all but to instead use the excellent micro editor in a terminal. 😎 Let's see if I can at make a GTK window with a GLArena showing a "Hello World" triangle until the end of this evening.
Not impressed with Gnome Builder's Makefile support. I'm back to square one, and I might have to default back to CLion or VS Code, to actually get something done today. But first, dinner.
The problem was that Gnome Builder automatically placed every function argument on an individual line once I typed the closing bracket. Turns out that to turn it off, I have to turn off automatic indentation as well, which is a feature that I *do* want. 🙃
Gotta find out how to disable that annoying auto-formatting though - or at least how to change it to a style that I like. 😒 And *actually* I'd like to not waste my time with tooling questions such as this and get started coding, but turning off the "Clang Format" plugin didn't help so far...
After some more reading in GTK's documentation and quite a bit of struggling with KDE's Kate editor, work now continues in Gnome Builder, of all things 😃 I could have gone for CLion or VS Code, but for this project I want to see if I can get along with FOSS only. VS Code is *technically* FOSS, but practically uses Microsoft's proprietary binaries and extension store, the latter of which is what makes the editor really complete. Plus it's slow, compared to a non-Electron app. Sooo... nope 😀
So, it seems I'll have to hand-build the GTKBuilder file. It's somewhat hard to find documentation on it, though 🙁
I was wondering why my generated GTKBuilder XML file would show GTK 3.24 as minimum framework version and Glade not offering the option to set that to GTK 4.x - turns out Glade itself has been discontinued. Guess it's really been a while since I last did this 🙈 😂
So apparently, Gnome-style application menus fell out of favour with GTK4. Not surprising - they've always been a reliable source of confusion.
Moving on to find out the difference between a GtkWindow and a GtkApplicationWindow...
Glade has changed quite a bit since I last used it (~2017) 😅
Time to do some C programming again, after a long break (I think it's been three years 😱). I've decided to give that rescue-themed strategy game idea a shot. This evening, I'll try to create the main window for a level editor and, if there's time left, a basic terrain wireframe view using GTK and OpenGL.
Is there already a #FOSS emergency response strategy game (think of games like Emergency or Fire Department)? Because if there isn't, I might have just found an idea for a side project 😃
One exception to this is income tax software for Germany, where I have the choice between Windows, SaaS or going to a tax advisor. 💩 Currently, I'm going for option number 3, but I'm not very happy with the communication style of my current advisor. Next year, I'll definitely switch advisors or do taxes myself.
It has now been a month since I have switched exclusively to #Linux (#Fedora with #KDE). And I can gladly report that I am very happy with this new setup, having had zero system crashes, compared to the multiple-times-a-week crashing of my previous Windows 11 install. 🥳 Very happy to see my Laptop in fact *isn't* broken 😅 So far, I haven't really missed any proprietary software either. The #FOSS alternatives take some time to get used to, but in the end they work just fine.
Today the FSFE publishes an #OpenLetter, co-signed by 38 European organisations and companies to ask #European legislators for the universal right to install any software on any device, including full access to hardware: https://fsfe.org/news/2022/news-20220427-01.html
Software Engineer | Full-Time Linux User | FOSS Developer
Mastodon ist ein soziales Netzwerk. Es basiert auf offenen Web-Protokollen und freier, quelloffener Software. Es ist dezentral (so wie E-Mail!).