So again in the time for xmas, i basically done the base kdelibs 2.2.2 port. Is far from be perfect as stated on my README.md, but can be perfected now due start to porting kdebase.
If someone asked why i’m doing some ( alleged ) useless work, is because i’m really want to restore KDE 2 as well and improve my porting skills, since i think is a valuable skill for any programmer.
I think in a future, companies and organizations will have the need to porting or maintaining legacy C/C++ software like already happened for COBOL software and we need to be ready for this.
And i really love do that, is part of my KDE history…
So, for kdelibs, most of the tests works, dcopserver works perfectly, graphics work, so is a little beyond of proof of concept.
Autotools proved to be a worthy adversary, but i found my way around it, so Cmake it is.
The super repo still in github, but when i decided at some point kdebase done, i will request a proper place in out home base, the KDE Git repository
Follow a copy of README.md for the lazy ones:
Merry Xmas and a Happy New Year
- Keep the original code as original as possible
- Replace current BuildSystem for a modern one. The actual choice was Cmake since i do know it better and current KDE uses it
The current status:
Qt2 is done with some remarks:
- There’s a issue as Qt2 didn’t recognize ARGB visuals on thos times ( of course ! ), so thanks to Gustavo Boiko that found the issue. So, if you do intend to run software like Qt designer, export this on command line:
- Compilation depends on byacc. ONe of the sources are not ported to modern bison/flex. Thanks to @EXl for pinting this out
kdelibs is done with some remarks:
- arts is not compiled yet. It is my nemesis since i worked at Conectiva several years ago and still a pain. Help welcome
- Documentation is not generated. This is secondary and wil be dealt after kdebase
- Install part is done, but is not 100% proved if is done properly
- libtool porting “should” work, but then, not properly tested.
- MOst software can compiled directo from the super repo, but to test unfortunately we need to run dcop and have install directory properly setted. This will be preperly test when kdebase port start ( soon i hope, crossing my fingers).
- Clone the super repo:
git clone --recursive email@example.com:heliocastro/kde2.git
- Enter the directory:
- Create an non source build dir ( i usually use build ):
- Run cmake:
My default compiler is Clang on Fedora Linux 27 at this moment I can’t remember all required libraries, so for now you need run cmake and see what is missing on your side.
I will thanks any help, been clear that this is probably a uselles project, but has some meaning for me at least.
Again thanks to:
Gustavo Boiko – @boiko