LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-24-2021, 08:46 AM   #16
BrunoLafleur
Member
 
Registered: Apr 2020
Location: France
Distribution: Slackware
Posts: 399

Original Poster
Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364

Quote:
Originally Posted by LuckyCyborg View Post
Thanks you very much!

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.
 
Old 02-21-2021, 11:34 AM   #17
BrunoLafleur
Member
 
Registered: Apr 2020
Location: France
Distribution: Slackware
Posts: 399

Original Poster
Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
I have put my qt4 SlackBuild script in https://github.com/BrunoLafleur/pbsl.../kde4/other/qt

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.
 
2 members found this post helpful.
Old 02-21-2021, 11:46 AM   #18
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
Quote:
Originally Posted by BrunoLafleur View Post
I have put my qt4 SlackBuild script in https://github.com/BrunoLafleur/pbsl.../kde4/other/qt

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?
 
1 members found this post helpful.
Old 02-21-2021, 11:46 AM   #19
BrunoLafleur
Member
 
Registered: Apr 2020
Location: France
Distribution: Slackware
Posts: 399

Original Poster
Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
Wink

I have also a compiled version of KDE4 and it's dependencies for the latest Slackware current with glibc 2.33 and elogind here

It works well with my computers.
 
1 members found this post helpful.
Old 02-21-2021, 11:48 AM   #20
BrunoLafleur
Member
 
Registered: Apr 2020
Location: France
Distribution: Slackware
Posts: 399

Original Poster
Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
Quote:
Originally Posted by ponce View Post
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.
 
1 members found this post helpful.
Old 02-21-2021, 11:51 AM   #21
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
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...

Last edited by ponce; 02-21-2021 at 11:53 AM.
 
Old 02-21-2021, 11:59 AM   #22
BrunoLafleur
Member
 
Registered: Apr 2020
Location: France
Distribution: Slackware
Posts: 399

Original Poster
Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
Quote:
Originally Posted by ponce View Post
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.
 
Old 02-21-2021, 12:18 PM   #23
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
Quote:
Originally Posted by BrunoLafleur View Post
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.
 
Old 02-21-2021, 12:35 PM   #24
BrunoLafleur
Member
 
Registered: Apr 2020
Location: France
Distribution: Slackware
Posts: 399

Original Poster
Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
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.
 
Old 02-21-2021, 12:50 PM   #25
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
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.

Last edited by ponce; 02-21-2021 at 12:54 PM.
 
Old 02-21-2021, 01:01 PM   #26
BrunoLafleur
Member
 
Registered: Apr 2020
Location: France
Distribution: Slackware
Posts: 399

Original Poster
Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
The only way is to test if it can works.
But it is probably non idempotent if we don't delete the qtwebkit package before creating it.
 
Old 02-21-2021, 01:58 PM   #27
ZhaoLin1457
Senior Member
 
Registered: Jan 2018
Posts: 1,022

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Dear @BrunoLafleur,

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.

https://github.com/BrunoLafleur/pbsl...uilds/sbo/kde4

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.
 
3 members found this post helpful.
Old 02-21-2021, 03:29 PM   #28
BrunoLafleur
Member
 
Registered: Apr 2020
Location: France
Distribution: Slackware
Posts: 399

Original Poster
Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
Here you can find the order in which I compile deps, other and kde (plus some tricks) from line 336 to 435.

And here are the download part. The links are in pbpathinc or bundled in builds/src.

Last edited by BrunoLafleur; 02-21-2021 at 03:32 PM.
 
4 members found this post helpful.
Old 02-25-2021, 07:17 AM   #29
BrunoLafleur
Member
 
Registered: Apr 2020
Location: France
Distribution: Slackware
Posts: 399

Original Poster
Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
Wink

I have modified a little my qt SlackBuild : I have put qt and qtwebkit as subdirs of qt.

The twice are SBo packages.

The above directory contains a script which combined the two and which is not SBo. I used this combined script for compiling KDE4 dependencies.

Note that qt take 2Go in tmp for compiling and qtwebkit 770 Mo.

I don't know if we can compile qtwebkit without removing the package before. I didn't test for now. I will.
 
4 members found this post helpful.
Old 02-26-2021, 07:57 AM   #30
BrunoLafleur
Member
 
Registered: Apr 2020
Location: France
Distribution: Slackware
Posts: 399

Original Poster
Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
Also I have split the script pbcompilepost by adding pbcompilekde4.

And pbaspirecore by adding pbaspirekde4.

I have also split some include scripts.

It can help for having some other.SlackBuild and deps.SlackBuild.

qt need more than 2 Go in tmp for compiling (especially with the qtwebkit part of the combined package => 2.8 Go)
 
4 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Another KDE4/Akonadi/Stringi/Neopunk Thread (okay, mostly KDE4...) JimBrewster Slackware 3 01-19-2012 05:15 PM
apt-get remove kolf-kde4 will remove kde4? michielv Linux - Software 1 02-10-2009 06:02 AM
LXer: First Development Snapshot of KDE4:"Krash" LXer Syndicated Linux News 0 08-20-2006 03:21 AM
LXer: KDE4 builds with CMake, venerable autotools are retired LXer Syndicated Linux News 0 06-30-2006 04:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration