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 05-13-2023, 12:56 AM   #181
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,610

Original Poster
Rep: Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481

@BrunoLafleur

The code bellow seems to give results most similar with what does the module present on KInfoCenter from Plasma5 .

My friend have also an explanation: some GL renderers (i.e. the NVIDIA blobs) may put a long information between parenthesis.

Code:
const QString Module::getGraphicsProcessor()
{
    QGLWidget* glWidget = new QGLWidget;
    QGLContext* glContext = (QGLContext *) glWidget->context();

    glContext->makeCurrent();

    QString ret = QString::fromUtf8(reinterpret_cast<const char *>(glGetString(GL_RENDERER)));

    delete glWidget;

    // Parse the result.
    ret = fancyString(ret);

    // It seems the renderer value may have excess information in parentheses ->
    // strip that. Elide would probably be nicer, a bit meh with QWidgets though.
    ret = ret.mid(0, ret.indexOf('('));

    return ret.simplified();
}
The result of this update can be seen on the attached screenshot.
Attached Thumbnails
Click image for larger version

Name:	snapshot11.png
Views:	9
Size:	107.1 KB
ID:	41042  

Last edited by LuckyCyborg; 05-13-2023 at 01:41 AM.
 
2 members found this post helpful.
Old 05-13-2023, 01:02 AM   #182
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,610

Original Poster
Rep: Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481
Quote:
Originally Posted by marav View Post
I'm currently testing a repo
I included it in my slackpkgplus.conf

For now, the only issue is the name kde/ of your directory, that is blacklisted for slackware64 repo
I took the liberty to rename it kde4/

I'm generating the md5sum of the tree, I also have a gpg key

If it sounds good, I will give you my feedback, and maybe it will be a good idea to ask Tadgy for hosting it ?


EDIT:
Another issue, more or less major for a repo
The patches/ serie
Unfortunately official kde packages cannot be blacklisted from this patches/ set because they are not in a kde/ directory anymore
fortunately, there will probably be no more patches for KDE (except for krusader at the moment, which is the one that allowed me identify this problem)
I will be very happy if you manage to make a repository for this kde4town.

However, please bear in mind that one of fundamental ideas behind kde4town is to have a directories structure like the original KTown made by Mr. Hameleers. And the KTown had a kde directory for packages, and so on.

https://alien.slackbook.org/ktown/current/latest/

So, how Mr. Hameleers managed this?

Also, please note that I have the intention to add also a i586 build for the "final release" for Slackware 15.0 - which rather depends on when @BrunoLafleur finishes the NetworkManager integration, which is heavily modified by him.

Finally, please note that I have the intention for this weekend to add the Krusader to kde4town - it and KMyMoney was requested several times via PMs.

Last edited by LuckyCyborg; 05-13-2023 at 02:20 AM.
 
2 members found this post helpful.
Old 05-13-2023, 05:39 AM   #183
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,448

Rep: Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206
Quote:
Originally Posted by LuckyCyborg View Post
I will be very happy if you manage to make a repository for this kde4town.

However, please bear in mind that one of fundamental ideas behind kde4town is to have a directories structure like the original KTown made by Mr. Hameleers. And the KTown had a kde directory for packages, and so on.

https://alien.slackbook.org/ktown/current/latest/

So, how Mr. Hameleers managed this?

Also, please note that I have the intention to add also a i586 build for the "final release" for Slackware 15.0 - which rather depends on when @BrunoLafleur finishes the NetworkManager integration, which is heavily modified by him.

Finally, please note that I have the intention for this weekend to add the Krusader to kde4town - it and KMyMoney was requested several times via PMs.
I have kde/ in the blacklist file
and PRIORITY=( kde4 ) in slackpkgplus.conf
This way, slackware64/kde appears as [mask]
In fact, blacklist and PRIORITY in slackpkgplus.conf works pretty well, except for install-new command

slackpkg install-new always try to reinstall the whole kde/ set
 
2 members found this post helpful.
Old 05-13-2023, 05:58 AM   #184
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,610

Original Poster
Rep: Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481
Quote:
Originally Posted by marav View Post
I have kde/ in the blacklist file
and PRIORITY=( kde4 ) in slackpkgplus.conf
This way, slackware64/kde appears as [mask]
In fact, blacklist and PRIORITY in slackpkgplus.conf works pretty well, except for install-new command

slackpkg install-new always try to reinstall the whole kde/ set
Monsieur Marav, unfortunately I can't help you with any suggestions in this endeavor of yours because I have never used slackpkg.

For Internet bandwidth reasons, I have used always a local rsync mirror for Slackware, then from there propagation to various computers. Heck, until several years ago I have stayed in a 3G connection even at home. Only recently I have started to use 4G at home.

Last edited by LuckyCyborg; 05-13-2023 at 06:05 AM.
 
2 members found this post helpful.
Old 05-13-2023, 06:07 AM   #185
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,448

Rep: Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206
Not so bad

So, let me thank you very much for that hard work you made with BrunoLafleur
Except this trivial issue, I'm pretty sure it can be solved with a little patience, the KDE4town is working perfectly with a full installation through a repository
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20230513_130639.jpg
Views:	14
Size:	90.5 KB
ID:	41043  

Last edited by marav; 05-13-2023 at 06:10 AM.
 
3 members found this post helpful.
Old 05-13-2023, 06:34 AM   #186
ZhaoLin1457
Senior Member
 
Registered: Jan 2018
Posts: 1,060

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
If @BrunoLafleur allows me, I would like to remind him of the maximum 4 thumbnails in the taskbar. It would be nice to have a maximum of 6 or 7 thumbnails.

With that about-distro, you seem to have solved it. Heartiest congratulations!

Last edited by ZhaoLin1457; 05-13-2023 at 06:36 AM.
 
2 members found this post helpful.
Old 05-13-2023, 06:40 AM   #187
BrunoLafleur
Member
 
Registered: Apr 2020
Location: France
Distribution: Slackware
Posts: 418

Rep: Reputation: 382Reputation: 382Reputation: 382Reputation: 382
Quote:
Originally Posted by LuckyCyborg View Post
@BrunoLafleur

The code bellow seems to give results most similar with what does the module present on KInfoCenter from Plasma5 .

My friend have also an explanation: some GL renderers (i.e. the NVIDIA blobs) may put a long information between parenthesis.

Code:
const QString Module::getGraphicsProcessor()
{
    QGLWidget* glWidget = new QGLWidget;
    QGLContext* glContext = (QGLContext *) glWidget->context();

    glContext->makeCurrent();

    QString ret = QString::fromUtf8(reinterpret_cast<const char *>(glGetString(GL_RENDERER)));

    delete glWidget;

    // Parse the result.
    ret = fancyString(ret);

    // It seems the renderer value may have excess information in parentheses ->
    // strip that. Elide would probably be nicer, a bit meh with QWidgets though.
    ret = ret.mid(0, ret.indexOf('('));

    return ret.simplified();
}
The result of this update can be seen on the attached screenshot.
For me I prefer not to suppress informations. In some of my machines, that line suppress all the usefull information. There may be more than one group of parenthesis and the name of the chipset can be after the first parenthesis which may also contains only the (TM) mark.

But you can put the version you prefer. In pbslacks I prefer to not cut the string.
 
2 members found this post helpful.
Old 05-13-2023, 06:46 AM   #188
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,610

Original Poster
Rep: Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481
Quote:
Originally Posted by BrunoLafleur View Post
For me I prefer not to suppress informations. In some of my machines, that line suppress all the usefull information. There may be more than one group of parenthesis and the name of the chipset can be after the first parenthesis which may also contains only the (TM) mark.

But you can put the version you prefer. In pbslacks I prefer to not cut the string.
Well, in the latest getGraphicsProcessor() presented by me (at suggestion of my friend) the (TM) and (R) are already parsed by fancyString() before the cut is done. And was triple checked that a similar logic is done by the code from Plasma5.

Last edited by LuckyCyborg; 05-13-2023 at 07:04 AM.
 
1 members found this post helpful.
Old 05-13-2023, 06:50 AM   #189
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,448

Rep: Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206
Here we are, with a public repo for Kde4 SlackBuild (ksb)

First, install slackpkgplus for Slackware 15.0
https://slackware.nl/slackpkgplus/pk...noarch-7mt.txz

/etc/slackpkg/slackpkgplus.conf, modify/add the following options
Code:
LEGACYBL=on
PKGS_PRIORITY=( ksb )
MIRRORPLUS['ksb']=http://marav8.free.fr/ksb/
/etc/slackpkg/blacklist
Code:
kde/
slackpkg\+-*
Avoid using slackpkg install-new, just deal with new pkgs manually, there should not be many in a Stable release, if any

and
Code:
# slackpkg update
# slackpkg update gpg
# slackpkg install ksb
It contains 307 pkgs
A full clean install, after all upgrades, takes up to 16G to the disk

@LuckyCyborg
I left your kde/ and kdei/ untouched

Last edited by marav; 05-13-2023 at 07:02 AM.
 
3 members found this post helpful.
Old 05-13-2023, 07:05 AM   #190
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,610

Original Poster
Rep: Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481
Quote:
Originally Posted by marav View Post
Here we are, with a public repo for Kde4 SlackBuild (ksb)

First, install slackpkgplus for Slackware 15.0
https://slackware.nl/slackpkgplus/pk...noarch-7mt.txz

/etc/slackpkg/slackpkgplus.conf, modify/add the following options
Code:
LEGACYBL=on
PKGS_PRIORITY=( ksb )
MIRRORPLUS['ksb']=http://marav8.free.fr/ksb/
/etc/slackpkg/blacklist
Code:
kde/
slackpkg\+-*
Avoid using slackpkg install-new, just deal with new pkgs manually, there should not be many in a Stable release, if any

and
Code:
# slackpkg update
# slackpkg update gpg
# slackpkg install ksb
It contains 307 pkgs
A full clean install, after all upgrades, takes up to 16G to the disk

@LuckyCyborg
I left your kde/ and kdei/ untouched
Many thanks, Monsieur Marav!
 
1 members found this post helpful.
Old 05-13-2023, 07:15 AM   #191
ZhaoLin1457
Senior Member
 
Registered: Jan 2018
Posts: 1,060

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Quote:
Originally Posted by marav View Post
Here we are, with a public repo for Kde4 SlackBuild (ksb)

First, install slackpkgplus for Slackware 15.0
https://slackware.nl/slackpkgplus/pk...noarch-7mt.txz

/etc/slackpkg/slackpkgplus.conf, modify/add the following options
Code:
LEGACYBL=on
PKGS_PRIORITY=( ksb )
MIRRORPLUS['ksb']=http://marav8.free.fr/ksb/
/etc/slackpkg/blacklist
Code:
kde/
slackpkg\+-*
Avoid using slackpkg install-new, just deal with new pkgs manually, there should not be many in a Stable release, if any

and
Code:
# slackpkg update
# slackpkg update gpg
# slackpkg install ksb
It contains 307 pkgs
A full clean install, after all upgrades, takes up to 16G to the disk

@LuckyCyborg
I left your kde/ and kdei/ untouched
Big news! Thank you!
 
Old 05-13-2023, 07:15 AM   #192
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,448

Rep: Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206
Quote:
Originally Posted by LuckyCyborg View Post
Many thanks, Monsieur Marav!
And many thanks to our friend zerouno who leaves us such a great tool, slackpkg+, that works perfectly even if its unmaintained

Last edited by marav; 05-13-2023 at 07:17 AM.
 
3 members found this post helpful.
Old 05-13-2023, 07:37 AM   #193
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,610

Original Poster
Rep: Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481
Well, http://marav8.free.fr/ksb/ gives me a glorious 403 (Forbidden)

Monsieur Marav, it's you or the free.fr who kicked me out?

Last edited by LuckyCyborg; 05-13-2023 at 08:26 AM.
 
Old 05-13-2023, 09:41 AM   #194
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,448

Rep: Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206
Quote:
Originally Posted by LuckyCyborg View Post
Well, http://marav8.free.fr/ksb/ gives me a glorious 403 (Forbidden)

Monsieur Marav, it's you or the free.fr who kicked me out?
Nobody kicked you out
The root folder is just not browsable as is, unless I put the same html-tree as for my changelog script

http://marav8.free.fr/report/

My ISP, free.fr, graciously provides me storage (10G) to host my web pages
This is very appropriate to do a lot of other stuff

Last edited by marav; 05-13-2023 at 09:52 AM.
 
1 members found this post helpful.
Old 05-13-2023, 10:08 AM   #195
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,448

Rep: Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206
Update

Still not browsable. Files are reachable, not folders
But, from the root folder you have a static content view of the repository tree

http://marav8.free.fr/ksb/index.html

Last edited by marav; 05-13-2023 at 10:58 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
KDE4 pbslacks BrunoLafleur Slackware 29 02-26-2021 07:57 AM
e.g., BSD style (Slackware) vs. SystemV style startup scripts haertig Slackware 5 01-03-2009 10:52 PM

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

All times are GMT -5. The time now is 09:51 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