public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Eclass subdirectory for x-modular.eclass
@ 2005-12-09 19:13 Joshua Baergen
  2005-12-09 20:09 ` Ciaran McCreesh
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Joshua Baergen @ 2005-12-09 19:13 UTC (permalink / raw
  To: gentoo-dev

In an attempt to patch all driver packages automatically, I've modified 
x-modular.eclass to do something along the lines of what elibtoolize 
does for its patching.  However, this would require the storage of a 
patch for x-modular.eclass, which I would intend to place in a 
subdirectory of eclass (my current choice is x-modular-files).

Am I allowed to create this subdirectory, or does this break 
policy/anything else I'm unaware of?

--
Joshua Baergen
-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] Eclass subdirectory for x-modular.eclass
  2005-12-09 19:13 [gentoo-dev] Eclass subdirectory for x-modular.eclass Joshua Baergen
@ 2005-12-09 20:09 ` Ciaran McCreesh
  2005-12-09 20:13 ` Donnie Berkholz
  2005-12-09 20:18 ` Martin Schlemmer
  2 siblings, 0 replies; 5+ messages in thread
From: Ciaran McCreesh @ 2005-12-09 20:09 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 814 bytes --]

On Fri, 09 Dec 2005 12:13:08 -0700 Joshua Baergen
<joshuabaergen@gentoo.org> wrote:
| In an attempt to patch all driver packages automatically, I've
| modified x-modular.eclass to do something along the lines of what
| elibtoolize does for its patching.  However, this would require the
| storage of a patch for x-modular.eclass, which I would intend to
| place in a subdirectory of eclass (my current choice is
| x-modular-files).
| 
| Am I allowed to create this subdirectory, or does this break 
| policy/anything else I'm unaware of?

Don't. ELT is a nasty hacky mess, you don't want to repeat that
mistake. Use SRC_URI instead.

-- 
Ciaran McCreesh : Gentoo Developer (I can kill you with my brain)
Mail            : ciaranm at gentoo.org
Web             : http://dev.gentoo.org/~ciaranm


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] Eclass subdirectory for x-modular.eclass
  2005-12-09 19:13 [gentoo-dev] Eclass subdirectory for x-modular.eclass Joshua Baergen
  2005-12-09 20:09 ` Ciaran McCreesh
@ 2005-12-09 20:13 ` Donnie Berkholz
  2005-12-09 20:18 ` Martin Schlemmer
  2 siblings, 0 replies; 5+ messages in thread
From: Donnie Berkholz @ 2005-12-09 20:13 UTC (permalink / raw
  To: gentoo-dev

Joshua Baergen wrote:
> In an attempt to patch all driver packages automatically, I've modified 
> x-modular.eclass to do something along the lines of what elibtoolize 
> does for its patching.  However, this would require the storage of a 
> patch for x-modular.eclass, which I would intend to place in a 
> subdirectory of eclass (my current choice is x-modular-files).
> 
> Am I allowed to create this subdirectory, or does this break 
> policy/anything else I'm unaware of?

To be more clear for people who aren't familiar with elibtoolize -- it 
has a subdirectory eclass/ELT-patches/ that it keeps its patches in.

Thanks,
Donnie
-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] Eclass subdirectory for x-modular.eclass
  2005-12-09 19:13 [gentoo-dev] Eclass subdirectory for x-modular.eclass Joshua Baergen
  2005-12-09 20:09 ` Ciaran McCreesh
  2005-12-09 20:13 ` Donnie Berkholz
@ 2005-12-09 20:18 ` Martin Schlemmer
  2005-12-09 20:30   ` Joshua Baergen
  2 siblings, 1 reply; 5+ messages in thread
From: Martin Schlemmer @ 2005-12-09 20:18 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 758 bytes --]

On Fri, 2005-12-09 at 12:13 -0700, Joshua Baergen wrote:
> In an attempt to patch all driver packages automatically, I've modified 
> x-modular.eclass to do something along the lines of what elibtoolize 
> does for its patching.  However, this would require the storage of a 
> patch for x-modular.eclass, which I would intend to place in a 
> subdirectory of eclass (my current choice is x-modular-files).
> 
> Am I allowed to create this subdirectory, or does this break 
> policy/anything else I'm unaware of?
> 

The only reason elibtoolize use this abortion from hell, is because it
needs to be working from day one.

Use ${P}-patches-{PVER}.tar.bz2, and set PVER (or whatever) before
inheriting the eclass.


-- 
Martin Schlemmer


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] Eclass subdirectory for x-modular.eclass
  2005-12-09 20:18 ` Martin Schlemmer
@ 2005-12-09 20:30   ` Joshua Baergen
  0 siblings, 0 replies; 5+ messages in thread
From: Joshua Baergen @ 2005-12-09 20:30 UTC (permalink / raw
  To: gentoo-dev

Martin Schlemmer wrote:
> Use ${P}-patches-{PVER}.tar.bz2, and set PVER (or whatever) before
> inheriting the eclass.
>
>   
Thanks, I will do that.

--
Joshua Baergen
-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-12-09 20:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-09 19:13 [gentoo-dev] Eclass subdirectory for x-modular.eclass Joshua Baergen
2005-12-09 20:09 ` Ciaran McCreesh
2005-12-09 20:13 ` Donnie Berkholz
2005-12-09 20:18 ` Martin Schlemmer
2005-12-09 20:30   ` Joshua Baergen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox