[gobolinux-devel] Compile patch to add a post_configure hook

Hisham hisham.hm at gmail.com
Mon May 12 14:15:21 NZST 2008


On Sun, May 11, 2008 at 5:42 AM, Michael Homer <michael at gobolinux.org> wrote:
> On Sun, May 11, 2008 at 8:30 PM, Daniele Maccari <gobo.users at gmail.com> wrote:
>  > 2008/5/11 Michael Homer <michael at gobolinux.org>:
>  >> On Sun, May 11, 2008 at 7:29 AM, Daniele Maccari <gobo.users at gmail.com>
>  >> wrote:
>  >> > Hi all,
>  >> > I was trying to create a recipe for openoffice (source) and I ran into
>  >> > the
>  >> > problem of performing some tasks just in between configure and make,
>  >> > which
>  >> > isn't possible with the current Compile. I then created this patch which
>  >> > simply run a "post_configure" hook, in the same style as other hooks.
>  >> > What do you think?
>  >> That seems reasonable to me, but you have to update RecipeLint as well.
>
> > Oh sure, thanks for the tip. Here come the patches (I renamed the Compile
>  > one to make it more comprehensible, but it's just the same as the previous).
>  Thanks - applied r3325.

Hey, I thought Compile changes that affected the Recipes API would go
through more discussing than that before being applied. The idea of a
post_configure hook has been brought up before in the past and I had
firmly resisted that, on the grounds of avoiding recipe-type-specific
hooks, and that the desire of tweaking things between configure and
make are most often the smell of ugly hacks that typically should done
in other places (such as fixing configure.ac and adding the
declarative rule to rebuild configure, which is way less likely to
break between upstream releases).

-- Hisham


More information about the gobolinux-devel mailing list