Gentoo Archives: gentoo-user

From: Gevisz <gevisz@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: XFCE weather plugin does not work
Date: Sat, 18 Oct 2014 07:03:55
Message-Id: 544210d1.22a0700a.56bc.5820@mx.google.com
In Reply to: Re: [gentoo-user] Re: XFCE weather plugin does not work by David W Noon
1 On Fri, 17 Oct 2014 23:37:16 +0100
2 David W Noon <dwnoon@××××××××.com> wrote:
3
4 > -----BEGIN PGP SIGNED MESSAGE-----
5 > Hash: SHA1
6 >
7 > On Fri, 17 Oct 2014 22:33:45 +0100, Neil Bothwick (neil@××××××××××.uk)
8 > wrote about "Re: [gentoo-user] Re: XFCE weather plugin does not work"
9 > (in <20141017223345.16c96ec8@××××××××××.uk>):
10 >
11 > > On Fri, 17 Oct 2014 21:13:52 +0000 (UTC), James wrote:
12 > >
13 > >> And last, can any patch that ends in .patch be applied to the
14 > >> intended ebuild or does the gentoo ebuild auther have to put some
15 > >> special code into an (EAPI-5) ebuild to facilitate user patches?
16 > >
17 > > AFAIR the ebuild simply has to call epatch_user() in src_unpack()
18 > > and any matching patches in /etc/portage/patches are applied.
19 >
20 > The usual place is src_prepare().
21 >
22 > I have prepared some patches from the Xfce repository with line
23 > addressing to match the Gentoo sources tarball. I attach a tarball of
24 > theses patches that can be untarred in /etc/portage/patches/.
25
26 I have unpacked your patches to /etc/portage/patches as described here:
27 http://wiki.gentoo.org/wiki//etc/portage/patches
28 and then run # emerge xfce4-weather-plugin
29
30 After restarting xfce4, the weather-plugin started to work. Thank you.
31
32 Nevertheless, just
33 # emerge --update --deep --with-bdeps=y --newuse --backtrack=90 --ask world
34 instead of # emerge xfce4-weather-plugin
35 did not worked.
36
37 > The ebuild should have the following lines added:
38 >
39 > src_prepare() {
40 > epatch_user
41 > }
42
43 I have not done this relying on the promise by Greg Kubaryk
44 that the ebuild is epatch_user enabled.
45
46 > Don't forget to redo the manifest for the ebuild.
47
48 I never dealt with ebuilds on a maintaner level.
49 So, may I ask if it is really necessary and for which purpose.
50
51 > Regards,
52 >
53 > Dave [RLU #314465]
54 > *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
55 > dwnoon@××××××××.com (David W Noon)
56 > *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
57 >
58 > -----BEGIN PGP SIGNATURE-----
59 > Version: GnuPG v2
60 > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
61 >
62 > iEYEARECAAYFAlRBmhwACgkQRQ2Fs59Psv8YHgCghXa931NC2rJSa8394L2FvZGB
63 > UIAAoIiiIpd7PktyaQE9Av/RxRYjnLE0
64 > =68v7
65 > -----END PGP SIGNATURE-----

Replies

Subject Author
Re: [gentoo-user] Re: XFCE weather plugin does not work Stroller <stroller@××××××××××××××××××.uk>
Re: [gentoo-user] Re: XFCE weather plugin does not work David W Noon <dwnoon@××××××××.com>