1 |
On Sat, 18 Oct 2014 10:12:29 +0100 |
2 |
Mick <michaelkintzios@×××××.com> wrote: |
3 |
|
4 |
> On Saturday 18 Oct 2014 09:34:53 gevisz wrote: |
5 |
> > This is the continuation from the thread |
6 |
> > "XFCE weather plugin does not work" |
7 |
> > |
8 |
> > 2014-10-18 10:03 GMT+03:00 Gevisz <gevisz@×××××.com>: |
9 |
> > > On Fri, 17 Oct 2014 23:37:16 +0100 |
10 |
> > > |
11 |
> > > David W Noon <dwnoon@××××××××.com> wrote: |
12 |
> > >> -----BEGIN PGP SIGNED MESSAGE----- |
13 |
> > >> Hash: SHA1 |
14 |
> > >> |
15 |
> > >> On Fri, 17 Oct 2014 22:33:45 +0100, Neil Bothwick (neil@××××××××××.uk) |
16 |
> > >> wrote about "Re: [gentoo-user] Re: XFCE weather plugin does not work" |
17 |
> > >> |
18 |
> > >> (in <20141017223345.16c96ec8@××××××××××.uk>): |
19 |
> > >> > On Fri, 17 Oct 2014 21:13:52 +0000 (UTC), James wrote: |
20 |
> > >> >> And last, can any patch that ends in .patch be applied to the |
21 |
> > >> >> intended ebuild or does the gentoo ebuild auther have to put some |
22 |
> > >> >> special code into an (EAPI-5) ebuild to facilitate user patches? |
23 |
> > >> > |
24 |
> > >> > AFAIR the ebuild simply has to call epatch_user() in src_unpack() |
25 |
> > >> > and any matching patches in /etc/portage/patches are applied. |
26 |
> > >> |
27 |
> > >> The usual place is src_prepare(). |
28 |
> > >> |
29 |
> > >> I have prepared some patches from the Xfce repository with line |
30 |
> > >> addressing to match the Gentoo sources tarball. I attach a tarball of |
31 |
> > >> theses patches that can be untarred in /etc/portage/patches/. |
32 |
> > > |
33 |
> > > I have unpacked your patches to /etc/portage/patches as described here: |
34 |
> > > http://wiki.gentoo.org/wiki//etc/portage/patches |
35 |
> > > and then run # emerge xfce4-weather-plugin |
36 |
> > > |
37 |
> > > After restarting xfce4, the weather-plugin started to work. Thank you. |
38 |
> > > |
39 |
> > > Nevertheless, just |
40 |
> > > # emerge --update --deep --with-bdeps=y --newuse --backtrack=90 --ask |
41 |
> > > world instead of # emerge xfce4-weather-plugin |
42 |
> > > did not worked. |
43 |
> > > |
44 |
> > >> The ebuild should have the following lines added: |
45 |
> > >> |
46 |
> > >> src_prepare() { |
47 |
> > >> |
48 |
> > >> epatch_user |
49 |
> > >> |
50 |
> > >> } |
51 |
> > > |
52 |
> > > I have not done this relying on the promise by Greg Kubaryk |
53 |
> > > that the ebuild is epatch_user enabled. |
54 |
> > > |
55 |
> > >> Don't forget to redo the manifest for the ebuild. |
56 |
> > > |
57 |
> > > I never dealt with ebuilds on a maintaner level. |
58 |
> > > So, may I ask if it is really necessary and for which purpose. |
59 |
> > |
60 |
> > Just after emerging xfce4-weather-plugin with the patches |
61 |
> > provided by David W Noon, I have noticed that I lost all my |
62 |
> > alternative keyboard layouts. |
63 |
> > |
64 |
> > I tried to set them anew via xfce4 Keyboard Layouts Plugin |
65 |
> > version 0.5.6 but there is no keyboard layout that suits my |
66 |
> > keyboard. |
67 |
> > |
68 |
> > Unfortunately, unmerging xfce4-weather-plugin did not help. |
69 |
> > |
70 |
> > Another thing I did just before re-emerging xfce4-weather-plugin |
71 |
> > was a routine system update. This time only net-dns/libidn package |
72 |
> > was updated from version 1.28 to version 1.29, and before that |
73 |
> > update my alternative keyboard layouts were still present, as |
74 |
> > I remember using them just after the update but before rebooting |
75 |
> > the system. |
76 |
> > |
77 |
> > So, it also may be that updating libidn package caused the damage. |
78 |
> > |
79 |
> > I remember that, while installing Gentoo about 15 months ago, |
80 |
> > I set my keyboard layout not via an xfce4 plugin but somewhere |
81 |
> > in the X11 settings. (At that time I had gnome2 instead of xfce4 anyway). |
82 |
> > |
83 |
> > So, may be now, re-emerging xfce4-weather-plugin, or trying |
84 |
> > to set the alternative keyboard layout anew, I have created some |
85 |
> > xfce4 configuration file that shadows X11 (or old gnome2) settings |
86 |
> > that xfce4 used for keyboard layout previously. |
87 |
> > |
88 |
> > |
89 |
> > Any thoughts? |
90 |
> |
91 |
> I think you are referring to the XkbLayout. In /etc/X11/xorg.conf.d/10- |
92 |
> evdev.conf you can add a section like so with the keyboard languages of your |
93 |
> choice: |
94 |
> |
95 |
> |
96 |
> Section "InputClass" |
97 |
> Identifier "evdev keyboard catchall" |
98 |
> MatchIsKeyboard "on" |
99 |
> MatchDevicePath "/dev/input/event*" |
100 |
> Driver "evdev" |
101 |
> Option "XkbLayout" "gb,el" |
102 |
> Option "XkbOptions" |
103 |
> "grp:alt_shift_toggle,grp_led:scroll,compose:menu,terminate:ctrl_alt_bksp" |
104 |
> EndSection |
105 |
|
106 |
Yes, something like that. But I have no /etc/X11/xorg.conf.d/ directory. |
107 |
So, I did that configuration in another file. |
108 |
|
109 |
But the problem is that I have not changed anything related to the keyboard |
110 |
layout just before my alternative keyboard layouts disappeared. |