Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: XFCE weather plugin does not work
Date: Sat, 18 Oct 2014 22:08:11
In Reply to: Re: [gentoo-user] Re: XFCE weather plugin does not work by David W Noon
1 On Sat, 18 Oct 2014 21:50:11 +0100, David W Noon wrote:
3 > > You can use unpack or prepare. The difference is that the former
4 > > runs immediately before the prepare function in the ebuild, the
5 > > latter immediately after. Not only does it save manifesting the
6 > > ebuild each time you modify it, it saves having the remember to
7 > > modify it at all after an update. More importantly, your work is
8 > > not destroyed on the next sync.
9 >
10 > One can also use /etc/portage/bashrc and enable epatch_user on all
11 > ebuilds. But neither of these is what I want.
13 I think globally enabling it in bashrc is a little too risky for me. I
14 only use that file to register a die hook so I know when an ebuild fails.
16 > I put the src_prepare() function into the specific ebuilds that I want
17 > to install patches, and I avoid having it in ebuilds where I don't
18 > want patches applied.
20 Isn't that the point of /etc/portage/env? You can enable what you want
21 when you want. Either for all versions of a package or only one.
23 > I accept that this is not a normal user's use case, but I'm not really
24 > a normal user.
26 Normal is optional, do whatever works for you. I sometimes use
27 portage/env and sometimes copy the ebuild to my local overlay for
28 modification. Each case is different.
31 --
32 Neil Bothwick
34 A good pun is its own reword.


File name MIME type
signature.asc application/pgp-signature