
It has gotten to be a much more persnickety, broken pain in the ass to compile since then, it seems. I do make it harder by insisting on doing things my way and putting them where I say they go, rather than just running some package building scripts that will turn on all the knobs and link everything with everything etc. and dump it all in /usr, though. First of all I grabbed their git repo like usual and found I was missing CMake macros to configure it. I couldn't find them anywhere I had permissions to clone from. So I found it in the release source tarballs, it's called tde-cmake-trinity they have to be installed system wide for cmake (/usr/share/cmake/Templates etc.). That probably would have worked, but due to other problems I was having I decided to just use the release tarballs for everything, it's fairly recent and after all, it's what has the changes they are crowing about in release notes anyway.
Next, I found that my usual way of building tqt3 (their maintained fork of QT3) isn't good enough anymore, I think I needed something from the database shit. I installed mariadb (mysql drop-in), postgresql, unixodbc and turned them on and that seemed to do it. It caused it to be missing something that arts CMake tests were looking for. *shrug* I still don't know for sure (a failed test will tell you that you don't have something but it just means the compile test failed), but building a more complete tqt3 worked.
Then I ran into a gcc 14.1.x issue with implicit declarations in one spot in the window manager, tdm's display manager back end. This has not changed in their current git repo either. Something was overriding my CFLAGS and just not taking them any way. It wasn't even making it into the generated Makefile for that directory. (I used the GNU make back end for CMake instead of Ninja, but neither worked in this case). The rest of the build was taking them. I couldn't figure it out after hours of screwing around, so I just declared the fucking thing myself. Even though this declaration is in <pthread.h> that the file includes, even though it really CAN be implicitly assumed, it's just frowny and gcc doesn't allow it for C anymore. However, it would allow it with -Wno-error=implicit-function-declaration if the naughty build would take them from -DCMAKE_C_FLAGS:STRING= in the CMake command as intended, for that directory. It's only C, that's already allowed in C++, it will take an implicit declaration with no "arguments" (heheh pun intended, but I mean function arguments () )
Code: Select all
--- a/tdm/backend/dm.c 2024-04-18 16:32:18.000000000 -0400
+++ b/tdm/backend/dm.c 2024-07-12 20:23:03.458496726 -0400
@@ -1716,6 +1716,10 @@
#ifdef HAVE_SETPROCTITLE
setproctitle( "%s", name );
#elif defined(HAVE_PTHREAD_SETNAME_NP)
+
+extern int pthread_setname_np (pthread_t __target_thread, const char *__name)
+ __THROW __nonnull ((2));
+
pthread_setname_np(pthread_self(), name);
#elif !defined(NOXDMTITLE)
p = Title;
It was fairly smooth sailing after that. Set up taking far longer than the actual builds which take literally seconds (probably a minute for the big ones like libs and base). There was a time when it used to take me like 8 hours to build KDE 3 lol. It was better to just do single threaded builds, with no -j because it was too fast to see what was going on anyway, and when it stops on a failure it's easier to follow. Anyway, I built all the parts, and only the parts I use. All for alderlake instead of nehalem now as that old one that was built on the old computer on what was my manjaroo at the time.
It didn't lose any configuration, not a thing was out of place after it migrated the configs. It looks... pretty much the same as my TDE always looks. I love my blackened Keramik style. Except now I have that picom compositor, it's wonderful. That's real transparency there. Also, I'm getting a kick out of having animations in old X11 programs that have never had anything like that. That's because this sits above the client. I think it's affecting the card animations in my solitaire game too.
Here it is, my masterpiece that's been pissing me off since late last night, TDE 14.1.2
Right click and view image in new tab as this will be somewhat down scaled.