Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Add a USE flag for Plasma's Welcome Center?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
ruby_R53
n00b
n00b


Joined: 09 Nov 2024
Posts: 27
Location: State of São Paulo, Brazil

PostPosted: Mon Jan 27, 2025 11:52 pm    Post subject: Add a USE flag for Plasma's Welcome Center? Reply with quote

Really, the only package that depends on it is plasma-meta itself. If the user is already familiar with KDE Plasma, it becomes useless.

If I wanna remove it, that means I'll have to uninstall plasma-meta as well and then I'll have to manually select all the other packages I want to keep so that they don't get removed in a future --depclean.

I know I could emerge plasma-desktop or kdecore-meta instead but I don't wanna bother manually installing all the other packages I need. It would be a lot more efficient if plasma-meta had a USE flag for installing the Welcome Center instead.
Back to top
View user's profile Send private message
rab0171610
Guru
Guru


Joined: 24 Dec 2022
Posts: 473

PostPosted: Tue Jan 28, 2025 4:36 am    Post subject: Reply with quote

I have the menu entry in the app menu set to hidden. If you don't want to do all the things you mentioned in your post to avoid it, then I'd suggest you do the same and then forget about it. The other option is to create an entry for it in package.provided. It is generally recommended to avoid that option unless you know what you are doing.
Back to top
View user's profile Send private message
ruby_R53
n00b
n00b


Joined: 09 Nov 2024
Posts: 27
Location: State of São Paulo, Brazil

PostPosted: Tue Jan 28, 2025 5:40 pm    Post subject: Reply with quote

i see, guess i can use the package.provided approach for now
Back to top
View user's profile Send private message
rab0171610
Guru
Guru


Joined: 24 Dec 2022
Posts: 473

PostPosted: Tue Jan 28, 2025 7:00 pm    Post subject: Reply with quote

I have one entry for package.provided. My general suggestion is to keep the entries limited to non-existent. Make sure you don't forget about them in case there are issues or unexpected behavior. Comment them out and see if that fixes the problem before filing bug reports or asking for help. In this case, I don't see that it would do much harm as the program is very basic, independent and non-essential. However you have to provide a package version number which means you would have to update the entry indefinitely. When taking that into consideration, the best option is just to hide the menu entry with kmenuedit and forget about it. It really doesn't take up space and is non-intrusive.
Back to top
View user's profile Send private message
ruby_R53
n00b
n00b


Joined: 09 Nov 2024
Posts: 27
Location: State of São Paulo, Brazil

PostPosted: Tue Jan 28, 2025 7:15 pm    Post subject: Reply with quote

yeah that makes sense, plasma doesn't get updates that often so it's not a big deal
Back to top
View user's profile Send private message
rab0171610
Guru
Guru


Joined: 24 Dec 2022
Posts: 473

PostPosted: Tue Jan 28, 2025 7:27 pm    Post subject: Reply with quote

Hypothetically, it should work indefinitely with any package version, even one from years back or an invalid version number that never existed. Possibly even <category/packagename>-0 or <category/packagename>-1.
Back to top
View user's profile Send private message
ruby_R53
n00b
n00b


Joined: 09 Nov 2024
Posts: 27
Location: State of São Paulo, Brazil

PostPosted: Tue Jan 28, 2025 7:41 pm    Post subject: Reply with quote

interesting, i wonder why you can't just use a * for all versions instead
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23097

PostPosted: Tue Jan 28, 2025 7:50 pm    Post subject: Reply with quote

package.provided is for assuring Portage that the identified package is present, and that Portage therefore does not need to install it. You cannot pre-install all possible versions of a package, so you cannot assure Portage that all versions are present.
Back to top
View user's profile Send private message
ruby_R53
n00b
n00b


Joined: 09 Nov 2024
Posts: 27
Location: State of São Paulo, Brazil

PostPosted: Tue Jan 28, 2025 9:46 pm    Post subject: Reply with quote

ohh that makes sense now x)
Back to top
View user's profile Send private message
NeglectedRudderPug
n00b
n00b


Joined: 04 Oct 2023
Posts: 41

PostPosted: Fri Feb 07, 2025 3:30 pm    Post subject: Reply with quote

Another method I used; which is not supported or considered correct:
Apply the --ask flag with emerge and see what packages the meta package wants to pull in after you have applied the use flags.

Go through the list (and compare to packages.gentoo.org if unsure what it is/does.) to see what you do/do not want.

Add the ones you want to your world file, run emerge and let it install them. You might need to set other use flags depending on your case. (I know I had to.)

It's not the correct, advisable or sensible way to do things, but it's a useful cheat. :lol: :oops:
Back to top
View user's profile Send private message
rab0171610
Guru
Guru


Joined: 24 Dec 2022
Posts: 473

PostPosted: Fri Feb 07, 2025 4:46 pm    Post subject: Reply with quote

NeglectedRudderPug,
For the future, consider using custom sets instead of adding packages to your world file.
https://wiki.gentoo.org/wiki/Package_sets#Custom_sets
https://wiki.gentoo.org/wiki//etc/portage/sets
kde-plasma/plasma-meta use flags are rather comprehensive so it is much less time consuming to tailor the Plasma installation to your liking with the given use flags instead. Categories and names of packages can sometimes be changed, renamed or moved in portage. Those changes need to be tracked and updated to keep the set maintained. Also, when new major versions of application suites come out, like with the change to KDE 5 to KDE 6, many of the upstream packages can be absorbed into one another, made obsolete and new ones created. This is less of a challenge when just relying on use flags to tailor the installation.
Back to top
View user's profile Send private message
NeglectedRudderPug
n00b
n00b


Joined: 04 Oct 2023
Posts: 41

PostPosted: Fri Feb 07, 2025 4:51 pm    Post subject: Reply with quote

rab0171610 wrote:
NeglectedRudderPug,
For the future, consider using custom sets instead of adding packages to your world file.
https://wiki.gentoo.org/wiki/Package_sets#Custom_sets
https://wiki.gentoo.org/wiki//etc/portage/sets
kde-plasma/plasma-meta use flags are rather comprehensive so it is much less time consuming to tailor the Plasma installation to your liking with the given use flags instead. Categories and names of packages can sometimes be changed, renamed or moved in portage. Those changes need to be tracked and updated to keep the set maintained. Also, when new major versions of application suites come out, like with the change to KDE 5 to KDE 6, many of the upstream packages can be absorbed into one another, made obsolete and new ones created. This is less of a challenge when just relying on use flags to tailor the installation.

Oh? What are those? :o

Very interesting! :D

This is the first time I have heard of package sets, so I'll look into it now. Thanks for the heads up! :D
Back to top
View user's profile Send private message
ruby_R53
n00b
n00b


Joined: 09 Nov 2024
Posts: 27
Location: State of São Paulo, Brazil

PostPosted: Fri Feb 07, 2025 6:27 pm    Post subject: Reply with quote

Quote:
For the future, consider using custom sets instead of adding packages to your world file.

that's an interesting approach, i even forgot that was possible lol
Back to top
View user's profile Send private message
NeglectedRudderPug
n00b
n00b


Joined: 04 Oct 2023
Posts: 41

PostPosted: Sun Feb 09, 2025 4:43 am    Post subject: Reply with quote

rab0171610 wrote:
NeglectedRudderPug,
For the future, consider using custom sets instead of adding packages to your world file.
https://wiki.gentoo.org/wiki/Package_sets#Custom_sets
https://wiki.gentoo.org/wiki//etc/portage/sets
kde-plasma/plasma-meta use flags are rather comprehensive so it is much less time consuming to tailor the Plasma installation to your liking with the given use flags instead. Categories and names of packages can sometimes be changed, renamed or moved in portage. Those changes need to be tracked and updated to keep the set maintained. Also, when new major versions of application suites come out, like with the change to KDE 5 to KDE 6, many of the upstream packages can be absorbed into one another, made obsolete and new ones created. This is less of a challenge when just relying on use flags to tailor the installation.

..... I might have gone overboard with this. :oops:

I now have an empty world file. 8)

I now have several sets which are named descriptively with comments giving either a reason for installation of the package or no heading (If the items and reason are obvious.)

While doing it I noticed something: I much prefer that way, I like the organisational aspect of it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum