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 12-03-2017, 06:06 PM   #76
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Original Poster
Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247

Quote:
Originally Posted by OldHolborn View Post
don't forget one for Multimedia, another for Productivity, another for Server, another for Education, another for Gaming, another for ...

And hope that your definition of a category isn't different from someone elses

It all gets very silly very fast
Exactly that's WHY I imagined the files storage solution for that information.

Quote:
Originally Posted by OldHolborn View Post
And hope that your definition of a category isn't different from someone elses

Or are we to ask that Slackware ships with Multimedia_DarthVader, Multimedia_OldHolborn, Multimedia_SomeoneElse1, Multimedia_SomeoneElse2, Mu...
Let's do not exaggerate. It is wrong to make a bit of order and classification?

Last edited by Darth Vader; 12-03-2017 at 06:15 PM.
 
Old 12-03-2017, 06:17 PM   #77
OldHolborn
Member
 
Registered: Jul 2012
Posts: 229

Rep: Reputation: 190Reputation: 190
Quote:
Originally Posted by Darth Vader View Post
Exactly that's WHY I imagined the files storage solution for that information.
Eh?

How did you work that out from what I said?

As has been pointed out previously by others, edit the tagfiles yourself, the mechanism is there
 
Old 12-03-2017, 06:22 PM   #78
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Original Poster
Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
The mechanism is not there, sorry...

Because the tag files are a way to present a "view" of packages to be installed. BUT, they does not offer a categorization of the packages. Again, think about the package sets, not the tag files.

I for one, I would love to be written in the packages database which ones are "KDE dependencies" specially, but also which ones are for "LAMP", which one are for "Mail server" and so on. Because I like a bit of order.

And I presented a simple way to add this information: those "install/slack-groups" files. Attention! I talk about the way simplicity, not about the required workload.

Could be done also via folders and links, but will be more complicated, at least on my humble opinion.

Of course, which information will be added in the end, I cannot decide myself for Slackware.

Last edited by Darth Vader; 12-03-2017 at 06:31 PM.
 
Old 12-03-2017, 06:32 PM   #79
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by Darth Vader View Post
Great words, but you do what you do, and you go back to resolving dependencies...

Why you insist on dependencies and their resolution? For what?
Because it's impossible to do what you want without knowing what programs rely on what. Someone earlier in this thread already mentioned an example of what could break by removing qt. wpa_gui, which is part of the wpa_supplicant package would no longer function as it relies on qt. Right now, it's obviously linked to qt4, but if qt5 were to replace qt4 in the next Slackware version, it is highly likely that wpa_gui would no longer function if qt5 were removed. That's one example of something that isn't even related to KDE that would be broken by your proposal.

Quote:
Originally Posted by Darth Vader View Post
To understand about what I talk myself in this thread, let's do a thought experiment:

Imagine that in -current, you create two new folders, "kdelibs" and "lamp", where you do symlinks to the packages which corresponds to those two new "sets", and somehow the installpkg is modified to register both the original path and the symlinked path in database.
Ok, that's all fine and dandy, but how do you know what goes in kdelibs and isn't used by any other programs in the distro? You can get a rough guess on what it is based on what's in ktown that isn't in -current, but that isn't all inclusive. How do you go about the current files in l/ and know that package a is only used by KDE and package b is used by KDE and XFCE? You don't unless you wrote down everything and do an ldd on the files to make sure they didn't link to anything you weren't intending. Maybe XFCE picked up some library you thought was only for KDE because it was an autodetected option in the ./configure. Now, when you remove "kdelibs" it breaks XFCE.

My proposal to you would be to find what packages only belong to KDE and provide that to the community. Then, as I mentioned before, you could take those packages and add them to your slackpkg blacklist file, then simply run slackpkg clean-system directly after (I realized this wouldn't work to remove them, but it could be used to ensure they don't get reinstalled) save them as a file then simply run removepkg `cat kde-packages-list.txt` and wait for removepkg to remove everything. I just tested this on 14.2 and it works fine (I removed 4 custom built packages that I no longer needed, and I had each on its own line).

This is able to be done without Pat modifying pkgtools and all the package information on all the mirrors. This feature is already included.

With something like this, if enough people were interested, the community could create a website with various lists of packages and could even create an automated tool like sbopkg to make it so you don't even need to download a file or copy/save the list from a page (maybe something like slackcat remove kde and it could be used in the opposite manner of slackcat add mplayer which could add ffmpeg and all the other associated packages that someone added to a list). I personally have no desire for this because I do a full install out of laziness and to ensure packages from SBo have all required packages.

Quote:
Originally Posted by Darth Vader View Post
I for one, I consider that we arrived to need a better categorization of the packages. IF my suggestions are accepted or not, that's another story.
Pat already stated in a previous thread that package sets don't really mean anything specific and that people shouldn't look too far into them.

Quote:
Originally Posted by Darth Vader View Post
Or is a shame to have an advantage, while you offer something to others?
I don't mean that anything that is a benefit to you shouldn't be included, but unless dependencies are brought in (as mentioned above), it'd be hard to find what programs rely on them to ensure you're not removing something important, so the only semi-easily added category would be kde and/or qt. Everything else would be a lot more work, and if we were talking about KDE4, it still be a lot of work to find what packages in l/ are only used by kde and not anything else.
 
Old 12-03-2017, 06:40 PM   #80
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
The existing groups are already good enough. In this hypothetical world where Plasma 5 is in Slackware, just remove the KDE group and move on. What's the big deal with having a couple unused libraries hanging around? I don't get it.
 
Old 12-03-2017, 06:42 PM   #81
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Original Poster
Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by montagdude View Post
The existing groups are already good enough. In this hypothetical world where Plasma 5 is in Slackware, just remove the KDE group and move on. What's the big deal with having a couple unused libraries hanging around? I don't get it.
The Plasma5 dependencies conflicts with ones of KDE4.

If someone wants to install back the KDE4, after it is replaced in -current by Plasma5, he should do a big cleanup.

Last edited by Darth Vader; 12-03-2017 at 06:43 PM.
 
Old 12-03-2017, 06:48 PM   #82
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Original Poster
Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
I look into https://alien.slackbook.org/ktown/cu...5/x86_64/deps/

Probably the suspects to arrive into L set. Well, they are many.

Could be better all those dozens of packages to be installed by Slackware in their own packages set?

I know, I know, I already proposed that...
 
Old 12-03-2017, 06:48 PM   #83
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
Quote:
Originally Posted by Darth Vader View Post
The Plasma5 dependencies conflicts with ones of KDE4.

If someone wants to install back the KDE4, after it is replaced in -current by Plasma5, he should do a big cleanup.
Usually, if one wishes to replace a major desktop environment from a distribution with a different version, he should expect to do a little bit of cleanup. I don't see why you think Patrick should be obliged to do that work for you. Plus, no one is forcing you to upgrade to whichever version of Slackware eventually includes Plasma 5.
 
1 members found this post helpful.
Old 12-03-2017, 06:53 PM   #84
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Original Poster
Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by montagdude View Post
Usually, if one wishes to replace a major desktop environment from a distribution with a different version, he should expect to do a little bit of cleanup. I don't see why you think Patrick should be obliged to do that work for you. Plus, no one is forcing you to upgrade to whichever version of Slackware eventually includes Plasma 5.
For some (unlucky?) hardware combinations as reasons, I am already either stuck in 14.1 or -current. You suggest me to skip also the v15 ?

And I do not think that P.V. is obliged to do that work for me. I will do myself this work.

What I hope is him to label the packages added in the near future: "this one is for Plasma"

Last edited by Darth Vader; 12-03-2017 at 06:55 PM.
 
Old 12-03-2017, 07:04 PM   #85
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,525

Rep: Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354
Trusty Tahr

If nothing else works, try to find this guy.

Last edited by LuckyCyborg; 12-03-2017 at 07:08 PM.
 
Old 12-03-2017, 07:19 PM   #86
ivandi
Member
 
Registered: Jul 2009
Location: Québec, Canada
Distribution: CRUX, Debian
Posts: 528

Rep: Reputation: 866Reputation: 866Reputation: 866Reputation: 866Reputation: 866Reputation: 866Reputation: 866
Well, this "disturbance in the Force" made me think that we underuse the installer and slackpkg.

There are two scripts in every package set: maketag (for expert mode) and maketag.ez (for the easy menu mode).
We can make maketag (expert mode) select a small set of packages by default. Just enough to have a working slackpkg (and network access will be good too). So after a minimal "expert" install one can configure slackpkg with templates and blacklists and install the kind of system s/he wants. For example we can put a NO_Plasma5 blacklist in /etc/slackpkg and after a minimal install run "slackpkg install slackware64".

I am ready to help with the minimal package selection and the testing.



Cheers
 
4 members found this post helpful.
Old 12-04-2017, 06:04 AM   #87
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Original Poster
Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
@ivandi

Thanks you for the help offer, when the time will come, permit me to contact you.

In a public way, as I believe that the ability to install Slackware without Plasma, in the future, as of general interest, i.e. for XFCE-only users.

Last edited by Darth Vader; 12-04-2017 at 06:07 AM.
 
Old 12-04-2017, 06:20 AM   #88
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,062

Rep: Reputation: Disabled
Quote:
Originally Posted by Darth Vader View Post
In a public way, as I believe that the ability to install Slackware without Plasma, in the future, as of general interest, i.e. for XFCE-only users.
It's already possible to not install KDE. Maybe some unused libs will stay in the system, but why bother?
 
Old 12-04-2017, 06:22 AM   #89
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,525

Rep: Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354
Could you guys start with KDE4?

I am pretty sure that I do not want KDE4, it is too bloat to work in computer, too basic specs for it.

How I do not want KDE, and I am convinced that I do not want it, its leftovers became just PUPs, after all books.

https://en.wikipedia.org/wiki/Potent...wanted_program

Last edited by LuckyCyborg; 12-04-2017 at 06:27 AM.
 
Old 12-04-2017, 06:25 AM   #90
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,525

Rep: Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354
Quote:
Originally Posted by Didier Spaier View Post
It's already possible to not install KDE. Maybe some unused libs will stay in the system, but why bother?
Because I do not want KDE and those "unused libs", and the operating system should respect my decision, because I am its owner?

See my previous post for the definition of PUPs and to note that Ubuntu or Fedora does not force me to install KDE or bits of it.

Last edited by LuckyCyborg; 12-04-2017 at 06:32 AM.
 
  


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
"No volume groups found" when using LVM to decrease partition size dj_thrive Linux - Enterprise 6 10-05-2017 05:21 PM
where is "Users and Groups" in Debian "Wheezy" ? StefanP Linux - Newbie 10 04-28-2014 03:37 PM
How do you move groups of sectors in a hard drive using the "dd" command? cross731 Linux - Newbie 4 09-20-2011 05:14 PM
A proposal regarding the _registration_ of package dependencies by Pkgtools Darth Vader Slackware 13 07-13-2011 05:01 AM
Error: "cannot set groups" by using "su -", pls help nelsonyuen Linux - General 14 07-31-2010 12:24 PM

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

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