Re: [gentoo-user] modifying locally an ebuild

2005-08-31 Thread Nagatoro
For a _great_ place to read about ebuilds go to: http://dev.gentoo.org/~plasmaroo/devmanual/ It has next to everything :) -- Naga -- gentoo-user@gentoo.org mailing list

Re: [gentoo-user] modifying locally an ebuild

2005-08-31 Thread Holly Bostick
Fernando Canizo schreef: El 30/ago/2005 a las 22:36 -0300, Holly me decía: Normally what one would do is place all modified ebuilds in your PORTDIR_OVERLAY ... Thank you very much. You should take advice from Nick and make it a howto. I'm surely going to translate to spanish and put it in

Re: [gentoo-user] modifying locally an ebuild

2005-08-31 Thread Neil Bothwick
On Wed, 31 Aug 2005 13:39:04 +0200, Holly Bostick wrote: Or, if there's some way to 'modularize' mutt, you could look into turning the patch into a 'plugin' (if such things exist, I know nothing about mutt), so that it would be optional to those who wanted to use it. Or you could add a USE

Re: [gentoo-user] modifying locally an ebuild

2005-08-31 Thread Holly Bostick
Neil Bothwick schreef: On Wed, 31 Aug 2005 13:39:04 +0200, Holly Bostick wrote: Or, if there's some way to 'modularize' mutt, you could look into turning the patch into a 'plugin' (if such things exist, I know nothing about mutt), so that it would be optional to those who wanted to use it.

Re: [gentoo-user] modifying locally an ebuild

2005-08-31 Thread Fernando Canizo
El 31/ago/2005 a las 03:37 -0300, Nick me decía: no no, you put the epatch command in your ebuild file (your own version that you put in PORTAGE_OVERLAY.) Then the patch gets applied to the mutt source file before compilation. Ah... Already did that! In my modified ebuild what i did was to

Re: [gentoo-user] modifying locally an ebuild

2005-08-31 Thread Fernando Canizo
El 31/ago/2005 a las 08:39 -0300, Holly me decía: The probelm here is (likely) that the name of the package (for the purposes of the ebuild) is 'mutt-conan', not mutt. The format for an overlay folder (like Portage) is cat-egory/package-name/package-name.and-version.ebuild so your

Re: [gentoo-user] modifying locally an ebuild

2005-08-31 Thread Neil Bothwick
On Wed, 31 Aug 2005 14:42:16 +0200, Holly Bostick wrote: But do you know the answer to Nick's question about what I said earlier? In a 'conflict' between two ebuilds of the same name and version, one in Portage and one in the overlay, does the choice of which one is used if I emerge the

Re: [gentoo-user] modifying locally an ebuild

2005-08-31 Thread Holly Bostick
Neil Bothwick schreef: On Wed, 31 Aug 2005 14:42:16 +0200, Holly Bostick wrote: But do you know the answer to Nick's question about what I said earlier? In a 'conflict' between two ebuilds of the same name and version, one in Portage and one in the overlay, does the choice of which one

Re: [gentoo-user] modifying locally an ebuild

2005-08-31 Thread Holly Bostick
Fernando Canizo schreef: Is this a behaviour that a significant portion of the mutt userbase might want? Or are you just weird ;) ? Well, you use thunderbird, so maybe you're more like a mouse user. Yes, but I'm getting over it. Also I need to know how to work with at least one CLI email

Re: [gentoo-user] modifying locally an ebuild

2005-08-31 Thread Neil Bothwick
On Wed, 31 Aug 2005 16:06:17 +0200, Holly Bostick wrote: When you think about it, the very name overlay indicates that this is how it should work. I suppose there's no way to avoid there being *some* issue-- this way, you have to actively watch Portage to see if today is perhaps the

[gentoo-user] modifying locally an ebuild

2005-08-30 Thread Fernando Canizo
Hi all, I find a cute patch to mutt and to use it i modified the ebuild and the pertinent files so now re-emerging mutt builds mutt with this patch. Later i fixed the actual version of mutt so an upgrade cannot erase it. What i would like to know is how can i do this i a 'gentoo way'. I have

Re: [gentoo-user] modifying locally an ebuild

2005-08-30 Thread Holly Bostick
Fernando Canizo schreef: Hi all, I find a cute patch to mutt and to use it i modified the ebuild and the pertinent files so now re-emerging mutt builds mutt with this patch. Later i fixed the actual version of mutt so an upgrade cannot erase it. What i would like to know is how can i do

Re: [gentoo-user] modifying locally an ebuild

2005-08-30 Thread Nick Rout
On Wed, 31 Aug 2005 03:36:57 +0200 Holly Bostick wrote: Fernando Canizo schreef: Hi all, I find a cute patch to mutt and to use it i modified the ebuild and the pertinent files so now re-emerging mutt builds mutt with this patch. Later i fixed the actual version of mutt so an

Re: [gentoo-user] modifying locally an ebuild

2005-08-30 Thread Fernando Canizo
El 30/ago/2005 a las 22:36 -0300, Holly me decía: Normally what one would do is place all modified ebuilds in your PORTDIR_OVERLAY ... Thank you very much. You should take advice from Nick and make it a howto. I'm surely going to translate to spanish and put it in my blog, maybe i would add

Re: [gentoo-user] modifying locally an ebuild

2005-08-30 Thread Fernando Canizo
El 31/ago/2005 a las 00:23 -0300, Nick me decía: 2. Fernando might like to note that the way to introduce a patch to a package (rather than an amendment to the ebuild) is to use the epatch command. Commonly the line looks like this: You're saying that i can emerge mutt, run epatch command and