From: Thomas de Grenier de Latour <tom.gl@free.fr>
To: gentoo-dev@lists.gentoo.org
Subject: Re: User patches (Was: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in sys-apps/iproute2: ChangeLog iproute2-2.6.24.20080108.ebuild)
Date: Mon, 31 Mar 2008 21:26:29 +0200 [thread overview]
Message-ID: <20080331212629.3e128443@eusebe> (raw)
In-Reply-To: <47F10524.4080406@gentoo.org>
On 2008/03/31, Vlastimil Babka <caster@gentoo.org> wrote:
> I think that maybe we should first introduce new patching phase and
> then make this user patch really usable feature. For example if you
> want to patch something that's input to running autotools, doing it
> in post_src_unpack is too late...
>
Not really. I'm using Ed Catmur's bashrc, and his post_src_unpack hook
for /etc/portage/patches/ can detect when running autotools is needed:
http://sources.catmur.co.uk/viewvc/svn/gentoo/phase_hooks.d/post_src_unpack/portage-patches?view=co
http://catmur.co.uk/gentoo/
Sure, this detection (based on what files are modified) may not work
in all cases. And when it does, then autotools may fail too (basically
wherever an ebuild writer would have needed to do do more than just
"inherit autotools" before running "eautofoo"). But it's still pretty cool.
--
TGL.
--
gentoo-dev@lists.gentoo.org mailing list
prev parent reply other threads:[~2008-03-31 19:27 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1Jfeop-0005oU-6S@stork.gentoo.org>
2008-03-30 5:40 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in sys-apps/iproute2: ChangeLog iproute2-2.6.24.20080108.ebuild Donnie Berkholz
2008-03-30 16:13 ` Mike Frysinger
2008-03-30 19:19 ` Mark Loeser
2008-03-30 19:44 ` Mike Frysinger
2008-03-30 21:18 ` Mark Loeser
2008-03-30 21:42 ` Markus Ullmann
2008-03-30 21:46 ` Ciaran McCreesh
2008-03-30 21:57 ` Petteri Räty
2008-03-31 0:39 ` Mike Frysinger
2008-03-31 6:21 ` Duncan
2008-03-31 10:15 ` Peter Volkov
2008-03-31 18:04 ` Duncan
2008-03-31 15:37 ` User patches (Was: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in sys-apps/iproute2: ChangeLog iproute2-2.6.24.20080108.ebuild) Vlastimil Babka
2008-03-31 19:26 ` Thomas de Grenier de Latour [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080331212629.3e128443@eusebe \
--to=tom.gl@free.fr \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox