SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I will prepare a box for testing this KDE4 build - even I was one of fervent supporters of merging Plasma5 into -current, now that it is finally merged, kind I miss the old times, and this updated KDE4 looks like a fine replacement.
But, as I said already, I will try to go the old good KTown style, because I am habituated with it.
When extracted the kde4.tar.gz has the original structure of ktown in the kde subdirectory. In the deps subdirectory are the dependencies packages which collide with new ones and have been renamed. In the other are dependencies which don't collide and can be put aside.
The sources of KDE4 and its dependencies are in pbslacks/builds/src or known by a link in pbpathinc. You can get them once in a repository of your choice.
Then you have a SlackBuild script for every dependency in deps or other. And the big SlackBuild for the ktown/kde4 part in kde.
They are part of my KDE4 set of scripts in pbslacks.
I modified my pbslacks project to have my scripts inside sub repositories in builds rather than having them in tar.gz archives. It is easier to extract my SlackBuild scripts.
They are part of my KDE4 set of scripts in pbslacks.
I modified my pbslacks project to have my scripts inside sub repositories in builds rather than having them in tar.gz archives. It is easier to extract my SlackBuild scripts.
I'll have a look to port this qt4 script to the unofficial repository for current, if it's ok for you...
or do you prefer to adapt it yourself?
I'll have a look to port this qt4 script to the unofficial repository for current, if it's ok for you.
It is OK for me.
Those scripts gives a working Qt4 on my machines with the latest Slackware current which works also with my full KDE4 set of packages.
They are not perfect for the SBo standards but KDE4 is very dependent of it and compilation or runtime KDE4 breaks easily is the bundled qtwebkit is there or not, so I choose to keep the couple (qt4,qtwebkit4) together.
Last edited by BrunoLafleur; 02-21-2021 at 11:53 AM.
notice that I cannot keep the script as it is (because the build system doesn't allow to build it cleanly) but I think I will have to break it into two different ones, qt4 and qt4-webkit: I don't know if this is something that you prefer to manage yourself...
notice that I cannot keep the script as it is (because the build system doesn't allow to build it cleanly) but I think I will have to break it into two different ones, qt4 and qt4-webkit: I don't know if this is something that you prefer to manage yourself...
I will probably not manage it myself (unless I find a clean way to separate the two packages). For uses with KDE4 or older QT4 applications, qt4 and qtwebkit4 should be together. If we forget the qtwebkit, the runtime KDE4 is totally broken and won't start the next reboot.
Just a question : do you build with sbopkg ? Or other tool ? I don't use the former.
Just a question : do you build with sbopkg ? Or other tool ? I don't use the former.
not necessarily, but yes, sometimes.
but, to be clear, the refactoring of the script shouldn't depend on the helper application: a script that builds and installs a partial version of itself in the system and then rebuilds a different version upgrading the installed one is not allowed on SBo.
I have an idea which I will test : I can put qt and qtwebkit as 2 subdirectory of one which do the merge I need. Those 2 subdir will then be sbo compliant.
However I don't know if someone will be able to compile them without the top script.
unfortunately I don't think that's allowed too: the scripts have to be able to run autonomously...
that's why the only way I saw about it has been to build and install a qt4 package and then build and install a separate, non-overlapping, qt4-webkit package.
...but if anybody has a better idea I'm all ears.
This weekend I finished preparing a "box" (aka fresh SD-card) dedicated for KDE4 build - at least the Plasma5 free system. And I seen with great satisfaction that you put on repository and "exploded" view of the KDE4 tree.
BUT, with all respect for your hard work and no offense intended at all, I will try to replicate the KTown on my take, because I am just habituated with this structure. As there's a Chinese saying: the old horse will prefer a well known road.
However, you know what lacks on your build tree? An information on what is the build order of dependencies.
In the KTown was deps.SlackBuild which permitted me to run a rebuild of deps - there is not such thing.
So, you are kind to provide at least on a text file, the order of building of KDE4 dependencies?
This will be fantastic useful for me to create some kind of deps.SlackBuild and other.SlackBuild ...
PS. I try to do the build (one package at a time with cleanup) on a 2GB zram mounted on /tmp so would be very nice if you can point out if there are packages who needs more for building.
Last edited by ZhaoLin1457; 02-21-2021 at 02:15 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.