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-01-2021, 10:00 AM   #1
BrunoLafleur
Member
 
Registered: Apr 2020
Location: France
Distribution: Slackware
Posts: 402

Rep: Reputation: 367Reputation: 367Reputation: 367Reputation: 367
KDE4 pbslacks


I have manage to get KDE4 recompile entirely on the latest Slackware current. I have to finish packaging all.
Things are avalaible on my pbslacks tool (https://github.com/BrunoLafleur/pbslacks).

I have to restest with gcc 10. With gcc 9 it all compile well (even the broken packages. I have made patches for those. Some are big changes.)

pbslacks give the choice to keep KDE5 if you install it or to keep KDE4 + KDE5 Frameworks and recompile it.
On my machines it works well.

The base of the work is the kde.SlackBuilds from Alien Bob and its dependencies in the Pat version of 20 november 2020.
The new version with the patches and some sources is pbslacks/builds/sbo/kde4.tar.gz.
Links for downloading packages are in pbpathinc.
Scripts are pbaspirecore and pbcompilepost.
There is pbsetup which is a dialog interface to call those scripts and others.

Last edited by BrunoLafleur; 01-11-2021 at 03:10 PM.
 
Old 01-01-2021, 10:19 AM   #2
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,125

Rep: Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297
BrunoLafleur,
Good news!
Many thanks!
 
1 members found this post helpful.
Old 01-04-2021, 10:26 AM   #3
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,125

Rep: Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297
BrunoLafleur,
To give your work the attention it deserves, perhaps you might ask a moderator to spin off your message #27 into a new thread of its own, within the Slackware forum, of course.
 
Old 01-08-2021, 07:02 AM   #4
BrunoLafleur
Member
 
Registered: Apr 2020
Location: France
Distribution: Slackware
Posts: 402

Original Poster
Rep: Reputation: 367Reputation: 367Reputation: 367Reputation: 367
Good idea. How do I ask for a moderator to do that ?
 
1 members found this post helpful.
Old 01-11-2021, 03:21 PM   #5
BrunoLafleur
Member
 
Registered: Apr 2020
Location: France
Distribution: Slackware
Posts: 402

Original Poster
Rep: Reputation: 367Reputation: 367Reputation: 367Reputation: 367
I have recompiled all on the latest Slackware current with gcc 10 and KDE4 seems to run well.

KDE4 has naturally pick up the elogind dependency when compiling. I had remove the ConsoleKit package.

KDE4 is with 40 dependency packages which were modified to not collide with the one of the Slackware.

The biggest patches are for NetworkManager (version 1.28).
 
1 members found this post helpful.
Old 01-11-2021, 03:28 PM   #6
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,529

Rep: Reputation: 3363Reputation: 3363Reputation: 3363Reputation: 3363Reputation: 3363Reputation: 3363Reputation: 3363Reputation: 3363Reputation: 3363Reputation: 3363Reputation: 3363
Quote:
Originally Posted by BrunoLafleur View Post
I have recompiled all on the latest Slackware current with gcc 10 and KDE4 seems to run well.

KDE4 has naturally pick up the elogind dependency when compiling. I had remove the ConsoleKit package.

KDE4 is with 40 dependency packages which were modified to not collide with the one of the Slackware.

The biggest patches are for NetworkManager (version 1.28).
Did you fixed also the OpenGL page on KInfoCenter?

It used to crash the KInfoCenter since looong time.

I know, I know, it is just a little thing, but for me was obnoxious.

And, sincere congratulations!

Maybe I will take a spin on this, but if I will do this, I would put everything back like in the KTown style, as I am habituated with it.

Last edited by LuckyCyborg; 01-11-2021 at 03:39 PM.
 
1 members found this post helpful.
Old 01-11-2021, 03:39 PM   #7
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,529

Rep: Reputation: 3363Reputation: 3363Reputation: 3363Reputation: 3363Reputation: 3363Reputation: 3363Reputation: 3363Reputation: 3363Reputation: 3363Reputation: 3363Reputation: 3363
BTW, where's your Poppler package?

It used to have a Qt4 patch in Slackware, otherwise you cannot open PDF files in Okular from KDE4. And of course the Slackware's Poppler has no more the Qt4 support.

Last edited by LuckyCyborg; 01-11-2021 at 03:40 PM.
 
Old 01-11-2021, 03:57 PM   #8
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,062

Rep: Reputation: Disabled
Your new mission, if you accept it, is to install KDE1.1 in Slackware-current.

TIP: it was shipped in Slackware 3.9 as indicated in PACKAGES.TXT:
Code:
PACKAGE NAME:  kde.tgz
PACKAGE LOCATION:  ./slakware/xap1
PACKAGE SIZE (compressed):  17667 K
PACKAGE SIZE (uncompressed):  48610 K
PACKAGE DESCRIPTION:
kde:      KDE 1.1.1
kde:
kde:      KDE is a network transparent contemporary desktop environment for UNIX
kde:      workstations.  It was written by a world-wide network of software
kde:      engineers committed to free software development.  KDE seeks to fill
kde:      the need for an easy to use desktop for Unix workstations, similar to
kde:      the desktop environments found under the MacOS or Windows98/NT.
kde:
kde:      KDE requires the Qt library package (also in this directory).
kde:
 
2 members found this post helpful.
Old 01-11-2021, 04:02 PM   #9
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,522

Rep: Reputation: 8489Reputation: 8489Reputation: 8489Reputation: 8489Reputation: 8489Reputation: 8489Reputation: 8489Reputation: 8489Reputation: 8489Reputation: 8489Reputation: 8489
Quote:
Originally Posted by Didier Spaier View Post
Your new mission, if you accept it, is to install KDE1.1 in Slackware-current.
I remember the days when olvwm was my window manager of choice. Maybe someone can look into getting that running again too?
 
Old 01-11-2021, 04:18 PM   #10
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,529

Rep: Reputation: 3363Reputation: 3363Reputation: 3363Reputation: 3363Reputation: 3363Reputation: 3363Reputation: 3363Reputation: 3363Reputation: 3363Reputation: 3363Reputation: 3363
Quote:
Originally Posted by Didier Spaier View Post
Your new mission, if you accept it, is to install KDE1.1 in Slackware-current.

TIP: it was shipped in Slackware 3.9 as indicated in PACKAGES.TXT:
Code:
PACKAGE NAME:  kde.tgz
PACKAGE LOCATION:  ./slakware/xap1
PACKAGE SIZE (compressed):  17667 K
PACKAGE SIZE (uncompressed):  48610 K
PACKAGE DESCRIPTION:
kde:      KDE 1.1.1
kde:
kde:      KDE is a network transparent contemporary desktop environment for UNIX
kde:      workstations.  It was written by a world-wide network of software
kde:      engineers committed to free software development.  KDE seeks to fill
kde:      the need for an easy to use desktop for Unix workstations, similar to
kde:      the desktop environments found under the MacOS or Windows98/NT.
kde:
kde:      KDE requires the Qt library package (also in this directory).
kde:
Hey, the openSUSE did an anniversary release of openSUSE 11.1 with KDE 2.2.2 on April 2015.

https://www.youtube.com/watch?v=odOqPHXLCx8

Meanwhile, the Slackware 14.2 was on development...
 
Old 01-11-2021, 04:58 PM   #11
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,109

Rep: Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179
Quote:
Originally Posted by volkerdi View Post
I remember the days when olvwm was my window manager of choice. Maybe someone can look into getting that running again too?
well, Urchlay actually has already done most of the work

https://slackbuilds.org/repository/1...braries/xview/

for current I just "modernized" the CFLAGS
Code:
--- ./xview.SlackBuild.orig     2021-01-11 18:21:35.529752000 +0100
+++ ./xview.SlackBuild  2021-01-11 23:37:54.359752000 +0100
@@ -86,7 +86,7 @@
         \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
 
 # Apply our CFLAGS. There might be a simpler way to do it, but this works:
-sed -i "s,-O2,$SLKCFLAGS,g" \
+sed -i "s|-O2|$SLKCFLAGS -fcommon -I/usr/include/tirpc -Wl,-ltirpc|g" \
   clients/olvwm-4.1/compiler.tmpl \
   clients/olwm/Makefile.simple \
   config/XView.tmpl
and added a couple of generic xinitrc files

http://ponce.cc/slackware/testing/xview/

I remember using this on the SPARCstation at work...

Last edited by ponce; 01-11-2021 at 05:00 PM.
 
2 members found this post helpful.
Old 01-11-2021, 05:28 PM   #12
BrunoLafleur
Member
 
Registered: Apr 2020
Location: France
Distribution: Slackware
Posts: 402

Original Poster
Rep: Reputation: 367Reputation: 367Reputation: 367Reputation: 367
Quote:
Originally Posted by LuckyCyborg View Post
Did you fixed also the OpenGL page on KInfoCenter?

It used to crash the KInfoCenter since looong time.

I know, I know, it is just a little thing, but for me was obnoxious.

And, sincere congratulations!

Maybe I will take a spin on this, but if I will do this, I would put everything back like in the KTown style, as I am habituated with it.
I didn't use kinfocenter. I will look at it.

The tar ball in pbslacks/build/sbo/kde4.tar.gz has the ktown structure. You can use it directly for the KDE4 part.
For dependencies, they are also in the tar and have their own individual Slackbuild.

For poppler, it works with qt5 and okular seems to work well for the PDF I have tested.
 
1 members found this post helpful.
Old 01-11-2021, 05:36 PM   #13
BrunoLafleur
Member
 
Registered: Apr 2020
Location: France
Distribution: Slackware
Posts: 402

Original Poster
Rep: Reputation: 367Reputation: 367Reputation: 367Reputation: 367
Before KDE3 I was using Gnome 2 which I leave when Gnome 3 has arrived. I don't like it very much...

I have it on some professional machines I didn't install or configure. I can use it...

I have an old Slackware 12 computer with Gnome and it works well. I do some work with it at work (developpement with a cross-compiler of some stuff like compression algorithm and xml sgbd).
 
Old 01-23-2021, 04:24 PM   #14
BrunoLafleur
Member
 
Registered: Apr 2020
Location: France
Distribution: Slackware
Posts: 402

Original Poster
Rep: Reputation: 367Reputation: 367Reputation: 367Reputation: 367
Wink

Quote:
Originally Posted by LuckyCyborg View Post
Did you fixed also the OpenGL page on KInfoCenter?

It used to crash the KInfoCenter since looong time.

I know, I know, it is just a little thing, but for me was obnoxious.

And, sincere congratulations!

Maybe I will take a spin on this, but if I will do this, I would put everything back like in the KTown style, as I am habituated with it.
I have fixed the OpenGL page in KInfoCenter. It works now. I have taken some stuff in the KInfoCenter of KDE5 which corrected some problems.

So I have put a patch in https://github.com/BrunoLafleur/pbsl...bo/kde4.tar.gz
 
1 members found this post helpful.
Old 01-23-2021, 04:42 PM   #15
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,529

Rep: Reputation: 3363Reputation: 3363Reputation: 3363Reputation: 3363Reputation: 3363Reputation: 3363Reputation: 3363Reputation: 3363Reputation: 3363Reputation: 3363Reputation: 3363
Quote:
Originally Posted by BrunoLafleur View Post
I have fixed the OpenGL page in KInfoCenter. It works now. I have taken some stuff in the KInfoCenter of KDE5 which corrected some problems.

So I have put a patch in https://github.com/BrunoLafleur/pbsl...bo/kde4.tar.gz
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.

Last edited by LuckyCyborg; 01-24-2021 at 01:54 AM.
 
2 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 11:30 AM.

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