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 17:59:26
Message-Id: 5442aa74.8212980a.2836.7866@mx.google.com
In Reply to: Re: [gentoo-user] Re: XFCE weather plugin does not work by David W Noon
1 On Sat, 18 Oct 2014 17:18:34 +0100
2 David W Noon <dwnoon@××××××××.com> wrote:
3
4 > On Sat, 18 Oct 2014 10:03:10 +0300, Gevisz (gevisz@×××××.com) wrote
5 > about "Re: [gentoo-user] Re: XFCE weather plugin does not work" (in
6 > <544210d1.22a0700a.56bc.5820@×××××××××.com>):
7 >
8 > On 18/10/14 08:03, Gevisz wrote:
9 > [snip]
10 > >> I have unpacked your patches to /etc/portage/patches as described here:
11 > >> http://wiki.gentoo.org/wiki//etc/portage/patches
12 > >> and then run # emerge xfce4-weather-plugin
13 > >
14 > >> After restarting xfce4, the weather-plugin started to work. Thank you.
15 >
16 > You're welcome. The Xfce developers did the hard yakka, I simply
17 > massaged the patches so that they would apply cleanly on Gentoo systems.
18
19 Thank you anyway. :)
20
21 But may I ask you if applying those patches could result
22 in disappearing an alternative keyboard layout?
23
24 I guess not, but somehow I've got that result after updating libidn packet
25 and applying these patches afterwards. :(
26
27 The details are in the "An alternative keyboard layout is lost" thread.
28
29 > >> Nevertheless, just
30 > >> # emerge --update --deep --with-bdeps=y --newuse --backtrack=90 --ask world
31 > >> instead of # emerge xfce4-weather-plugin
32 > >> did not worked.
33 >
34 > That's because the plugin's version/release number has not been
35 > modified, so emerge will not process it.
36
37 Ok, I've got it. :)
38
39 > > The ebuild should have the following lines added:
40 > >
41 > > src_prepare() {
42 > > epatch_user
43 > > }
44 > >
45 > >> I have not done this relying on the promise by Greg Kubaryk
46 > >> that the ebuild is epatch_user enabled.
47 >
48 > That can be a bit variable. I still put the epatch_user command in
49 > explicitly, just to be certain.
50 >
51 > > Don't forget to redo the manifest for the ebuild.
52 > >
53 > >> I never dealt with ebuilds on a maintaner level.
54 > >> So, may I ask if it is really necessary and for which purpose.
55 >
56 > If you modify the ebuild then you *must* update the manifest. If you
57 > don't modify the ebuild then there is no need.
58
59 Do you mean that putting the patches into /etc/portage/patches/ directory
60 and emerging the packet does not change the corresponding ebuild?
61
62 According to my experience, it is not the case because, reemerging the
63 xfce4-weather-plugin with the patches deleted from /etc/portage/patches/
64 directory, I've still got the working plugin and, only after unmerging it
65 and re-emerging it again without the patches, I returned to its "no-data"
66 condition.
67
68 (But, as it did not helped me to return my alternative keyboard layout,
69 I re-emerged the plugin back, with the patches.)

Replies

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