From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Colin Walters <walters@verbum.org>
Cc: poky@yoctoproject.org
Subject: Re: non-upstreamed patches
Date: Mon, 14 Nov 2011 19:56:32 +0000 [thread overview]
Message-ID: <1321300592.26881.71.camel@ted> (raw)
In-Reply-To: <1321297575.1741.4.camel@lenny>
On Mon, 2011-11-14 at 14:06 -0500, Colin Walters wrote:
> On Sun, 2011-11-13 at 09:47 +0000, Richard Purdie wrote:
>
> > Totally agreed. We do have site cache files an a much better way of
> > handling that issue would be to add the value to the site cache. In an
> > ideal world I've have caught that patch and asked it to be a site entry,
> > it looks like its slipped through. I'll certainly take a site file entry
> > and change to drop the patch.
>
> Ok, as I move forward I'll look at draining the patches here. It'd be
> nice if we could try harder to avoid adding new ones though - that was
> my main goal with the mail.
Believe me, we're trying *very* hard to get the number of patches down!
> > > Another thing that seems to be proliferating is gtk-doc workarounds. If
> > > it isn't working for you guys to --disable-gtk-doc, just tell me why and
> > > I'll fix it.
> > >
> > This is a mess of our own making :/. You'd probably get a bit of a shock
> > if you look at our gtk-doc recipe. Since we reautoconf files, we need
> > the gtk-doc .m4 file. We just provide a static copy of it. To handle the
> > makefile, we just touch that.
>
> Ah, I see. Have you seen people.gnome.org/~walters/docs/build-api.txt ?
>
> One of the reasons I wrote it is because in GNOME we need ./autogen.sh
> scripts because there's no easy way to teach the autotools about
> external dependencies.
>
> What would you think about a patch to autotools.bbclass to just check
> for autogen.sh and run it (instead of the big mess of autoreconf/etc.
> hacks) if it exists?
The number of people who write cross safe autogen.sh scripts which do
everything we need is unfortunately low. I do appreciate the gnome
community may do better than others and things are improving over time.
I'd not yet at a point where I'd trust even 10% of the autogen.sh
scripts out there though.
I'm prepared to stick my neck out and state that the reautoconf we do
doesn't cause that much of a problem at this point and that class works
pretty well. The process for reautoconf'ing a package is pretty standard
when you get down to it. We did used to have a lot more hacky recipe
specific do_configure functions and we've managed to just have
the .bbclass code in most cases now too which is an achievement in
itself.
Cheers,
Richard
next prev parent reply other threads:[~2011-11-14 19:56 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-13 0:57 non-upstreamed patches Colin Walters
2011-11-13 9:28 ` Koen Kooi
2011-11-13 17:16 ` Colin Walters
2011-11-13 19:51 ` Koen Kooi
2011-11-13 9:47 ` Richard Purdie
2011-11-14 19:06 ` Colin Walters
2011-11-14 19:56 ` Richard Purdie [this message]
2011-11-14 20:48 ` Colin Walters
2011-11-14 22:44 ` Richard Purdie
2011-11-15 0:05 ` Colin Walters
2011-11-15 0:19 ` Richard Purdie
2012-01-03 18:45 ` Colin Walters
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=1321300592.26881.71.camel@ted \
--to=richard.purdie@linuxfoundation.org \
--cc=poky@yoctoproject.org \
--cc=walters@verbum.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.