On Fri, Jul 07, 2017 at 01:07:57PM -0400, William L. Thomson Jr. wrote > On Fri, 7 Jul 2017 12:57:17 -0400 > Brian Evans <grkni...@gentoo.org> wrote: > > > Beware of sets.. if you put toolchain packages in a set and later > > do 'emerge --unmerge @custom-set' , emerge will happily destroy > > your toolchain. > > That is not much different than removing a system package directly. > If you do foolish things you will run into such problems. That would > be a self inflicted issue. Likely done out of not knowing what you > are doing.
I build Pale Moon to my own custom specs, as well as a contributed SSE-only build for older machines. At one point, I read the list of necessary stuff to do the build. I incorporated the following into /etc/portage/palemoon_build >=app-arch/zip-2.3 >=dev-lang/perl-5.6 >=dev-lang/python-2.7.3 >=dev-lang/yasm-1.0.1 >=dev-libs/glib-2.24 dev-vcs/git media-libs/fontconfig >=media-libs/freetype-2.1.0 media-libs/mesa =sys-devel/autoconf-2.13 sys-devel/gcc <=x11-libs/gtk+-3.0 x11-libs/libXt x11-themes/hicolor-icon-theme > Though I will have to see what happens if a package is listed in more > than one set. I think there is a hierarchy there. I tried "emerge -pv --unmerge @palemoon_build", and it was ready to delete all the stuff, including gcc, etc. > Not to mention if it was removed. I think the world or system set > would pull it back in. Kind of hard to "pull it back in" if gcc or glib or ncurses isn't present. This is rather dangerous. The problem is that, unlike an ebuild, "emerge --unmerge @set" removes all packages in the set, regardless of whether they're required by another package or not. I deleted /etc/portage/sets/palemoon_build, and the entry "@palemoon_build" from /var/lib/portage/world_sets. It turns out that all these packages are required anyways. hicolor-icon-theme was not required previously, but <RANT> gtk seems to add more and more GNOME dependencies every time I update my system. </RANT> Let's say I try to do this as a meta package. So in my overlay I create a category "meta-set" and a file "meta-set/pmbuild-0.ebuild" EAPI=5 SLOT="0" KEYWORDS="amd64 x86" DEPEND=" >=app-arch/zip-2.3 >=dev-lang/perl-5.6 >=dev-lang/python-2.7.3 >=dev-lang/yasm-1.0.1 >=dev-libs/glib-2.24 dev-vcs/git media-libs/fontconfig >=media-libs/freetype-2.1.0 media-libs/mesa =sys-devel/autoconf-2.13 sys-devel/gcc <=x11-libs/gtk+-3.0 x11-libs/libXt x11-themes/hicolor-icon-theme" Does each entry have to be detailed with configure, install, etc, stuff, or is this sufficient? -- Walter Dnes <waltd...@waltdnes.org> I don't run "desktop environments"; I run useful applications