1 |
2014-10-18 11:34 GMT+03:00 gevisz <gevisz@×××××.com>: |
2 |
> This is the continuation from the thread |
3 |
> "XFCE weather plugin does not work" |
4 |
> |
5 |
> 2014-10-18 10:03 GMT+03:00 Gevisz <gevisz@×××××.com>: |
6 |
>> On Fri, 17 Oct 2014 23:37:16 +0100 |
7 |
>> David W Noon <dwnoon@××××××××.com> wrote: |
8 |
>> |
9 |
>>> -----BEGIN PGP SIGNED MESSAGE----- |
10 |
>>> Hash: SHA1 |
11 |
>>> |
12 |
>>> On Fri, 17 Oct 2014 22:33:45 +0100, Neil Bothwick (neil@××××××××××.uk) |
13 |
>>> wrote about "Re: [gentoo-user] Re: XFCE weather plugin does not work" |
14 |
>>> (in <20141017223345.16c96ec8@××××××××××.uk>): |
15 |
>>> |
16 |
>>> > On Fri, 17 Oct 2014 21:13:52 +0000 (UTC), James wrote: |
17 |
>>> > |
18 |
>>> >> And last, can any patch that ends in .patch be applied to the |
19 |
>>> >> intended ebuild or does the gentoo ebuild auther have to put some |
20 |
>>> >> special code into an (EAPI-5) ebuild to facilitate user patches? |
21 |
>>> > |
22 |
>>> > AFAIR the ebuild simply has to call epatch_user() in src_unpack() |
23 |
>>> > and any matching patches in /etc/portage/patches are applied. |
24 |
>>> |
25 |
>>> The usual place is src_prepare(). |
26 |
>>> |
27 |
>>> I have prepared some patches from the Xfce repository with line |
28 |
>>> addressing to match the Gentoo sources tarball. I attach a tarball of |
29 |
>>> theses patches that can be untarred in /etc/portage/patches/. |
30 |
>> |
31 |
>> I have unpacked your patches to /etc/portage/patches as described here: |
32 |
>> http://wiki.gentoo.org/wiki//etc/portage/patches |
33 |
>> and then run # emerge xfce4-weather-plugin |
34 |
>> |
35 |
>> After restarting xfce4, the weather-plugin started to work. Thank you. |
36 |
>> |
37 |
>> Nevertheless, just |
38 |
>> # emerge --update --deep --with-bdeps=y --newuse --backtrack=90 --ask world |
39 |
>> instead of # emerge xfce4-weather-plugin |
40 |
>> did not worked. |
41 |
>> |
42 |
>>> The ebuild should have the following lines added: |
43 |
>>> |
44 |
>>> src_prepare() { |
45 |
>>> epatch_user |
46 |
>>> } |
47 |
>> |
48 |
>> I have not done this relying on the promise by Greg Kubaryk |
49 |
>> that the ebuild is epatch_user enabled. |
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 |
> Just after emerging xfce4-weather-plugin with the patches |
57 |
> provided by David W Noon, I have noticed that I lost all my |
58 |
> alternative keyboard layouts. |
59 |
> |
60 |
> I tried to set them anew via xfce4 Keyboard Layouts Plugin |
61 |
> version 0.5.6 but there is no keyboard layout that suits my |
62 |
> keyboard. |
63 |
> |
64 |
> Unfortunately, unmerging xfce4-weather-plugin did not help. |
65 |
> |
66 |
> Another thing I did just before re-emerging xfce4-weather-plugin |
67 |
> was a routine system update. This time only net-dns/libidn package |
68 |
> was updated from version 1.28 to version 1.29, and before that |
69 |
> update my alternative keyboard layouts were still present, as |
70 |
> I remember using them just after the update but before rebooting |
71 |
> the system. |
72 |
> |
73 |
> So, it also may be that updating libidn package caused the damage. |
74 |
> |
75 |
> I remember that, while installing Gentoo about 15 months ago, |
76 |
> I set my keyboard layout not via an xfce4 plugin but somewhere |
77 |
> in the X11 settings. (At that time I had gnome2 instead of xfce4 anyway). |
78 |
> |
79 |
> So, may be now, re-emerging xfce4-weather-plugin, or trying |
80 |
> to set the alternative keyboard layout anew, I have created some |
81 |
> xfce4 configuration file that shadows X11 (or old gnome2) settings |
82 |
> that xfce4 used for keyboard layout previously. |
83 |
> |
84 |
> |
85 |
> Any thoughts? |
86 |
|
87 |
I have found out that my problem with xfce4 keyboard plugin |
88 |
reduces to the fact that now I cannot choose Russian Winkeys |
89 |
alternative keyboard: there is no such option in the corresponding |
90 |
keyboard layout settings. So, I have to choose Osetinian Winkeys |
91 |
alternative keyboard as it is appears to be the next best choice: |
92 |
only one extra unnecessary letter "ӕ" in place of "э" and the letter |
93 |
"э" is set in another easy to remember position. |
94 |
|
95 |
But everything worked perfect before emerging xfce4-weather-plugin |
96 |
with patches and libidn! |