On Fri, 17 Oct 2014 23:37:16 +0100
David W Noon <dwn...@ntlworld.com> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Fri, 17 Oct 2014 22:33:45 +0100, Neil Bothwick (n...@digimed.co.uk)
> wrote about "Re: [gentoo-user] Re: XFCE weather plugin does not work"
> (in <20141017223345.16c96...@digimed.co.uk>):
> 
> > On Fri, 17 Oct 2014 21:13:52 +0000 (UTC), James wrote:
> > 
> >> And last, can any patch that ends in .patch be applied to the 
> >> intended ebuild or does the gentoo ebuild auther have to put some
> >> special code into an (EAPI-5) ebuild to facilitate user patches?
> > 
> > AFAIR the ebuild simply has to call epatch_user() in src_unpack()
> > and any matching patches in /etc/portage/patches are applied.
> 
> The usual place is src_prepare().
> 
> I have prepared some patches from the Xfce repository with line
> addressing to match the Gentoo sources tarball.  I attach a tarball of
> theses patches that can be untarred in /etc/portage/patches/.

I have unpacked your patches to /etc/portage/patches as described here:
http://wiki.gentoo.org/wiki//etc/portage/patches
and then run # emerge xfce4-weather-plugin

After restarting xfce4, the weather-plugin started to work. Thank you.

Nevertheless, just
# emerge --update --deep --with-bdeps=y --newuse --backtrack=90 --ask world
instead of # emerge xfce4-weather-plugin
did not worked.

> The ebuild should have the following lines added:
> 
> src_prepare() {
>         epatch_user
> }

I have not done this relying on the promise by  Greg Kubaryk
that the ebuild is epatch_user enabled. 

> Don't forget to redo the manifest for the ebuild.

I never dealt with ebuilds on a maintaner level.
So, may I ask if it is really necessary and for which purpose.

> Regards,
> 
> Dave  [RLU #314465]
> *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
> dwn...@ntlworld.com (David W Noon)
> *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
> 
> iEYEARECAAYFAlRBmhwACgkQRQ2Fs59Psv8YHgCghXa931NC2rJSa8394L2FvZGB
> UIAAoIiiIpd7PktyaQE9Av/RxRYjnLE0
> =68v7
> -----END PGP SIGNATURE-----


Reply via email to