1 |
On 04/10/2021 07:13, Miles Malone wrote: |
2 |
> I would strongly, STRONGLY discourage you from creating your own meta |
3 |
> package. There are very few meta packages in the tree (in the scheme |
4 |
> of things) for very good reasons, they take one hell of a lot of |
5 |
> maintenance. They're really only there for things like kde, where you |
6 |
> might just want a bare bones kde environment, or you might be |
7 |
> expecting the full-fat desktop environment with all the side packages |
8 |
> you'd get if you were using a distro that gave you no option out of |
9 |
> the box. |
10 |
> |
11 |
> If you really want to group a bunch of packages into a set that gets |
12 |
> emerged with one command, I would do exactly that: create a custom |
13 |
> set. Similar to @world, @system, @security, etc. You can do that |
14 |
> quite easily, see https://wiki.gentoo.org/wiki/Package_sets . |
15 |
> |
16 |
> But really there's not a lot of use cases for it, mostly if you use a |
17 |
> package and it's not just a dep of something (or several things) you |
18 |
> should just have it in your world file, *for most people's use cases*. |
19 |
> Going through your world file and cleaning out cruft is a part of |
20 |
> regular gentoo maintenance, should be done at a minimum annually imo. |
21 |
> Much like cleaning out distfiles and whatnot (see eclean, from |
22 |
> app-portage/gentoolkit. And, indeed, pretty much every other useful |
23 |
> utility in gentoolkit. Also flaggie for use-flag management.) |
24 |
> |
25 |
Yup. Emerge the packages you want, let portage take care of the rest. |
26 |
And I've recently joined the group who let emerge default to --oneshot, |
27 |
and use --select if I want to keep it ... :-) |
28 |
|
29 |
And do learn how to use package.use. Don't clutter your make.conf with |
30 |
loads of flags you don't understand (or want), just to get packages to |
31 |
emerge. I use autounmask-write if I need to, then I DON'T let etc-update |
32 |
update some huge package.use file. I just rename the new bunch of flags |
33 |
into package.use/what-ive-just-emerged.date. That way, if I know I still |
34 |
want that program, I let the file accumulate cruft :-), and if I'm |
35 |
wondering what the hell it is or it looks outdated as heck, I just |
36 |
carefully delete them one by one, and see what happens. |
37 |
|
38 |
One last tip for a newbie - have you already got X, harfbuzz, and |
39 |
freetype installed? If not, squirrel this info away until you need it - |
40 |
harfbuzz often won't install because freetype isn't there. But freetype |
41 |
won't install because harfbuzz isn't there! Find out what's pulling them |
42 |
both in, do an emerge -C on that, then install either harfbuzz or |
43 |
freetype with USE="-theother". Then an emerge --update should clean up |
44 |
the mess :-) |
45 |
|
46 |
Cheers, |
47 |
Wol |