From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] RFC: package patching
Date: Fri, 18 Nov 2011 08:34:58 +0100 [thread overview]
Message-ID: <8762ihanod.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <20111118080500.213b42b0@skate> (Thomas Petazzoni's message of "Fri, 18 Nov 2011 08:05:00 +0100")
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
Hi,
>> - for packages that have multiple versions at once in buildroot,
>> patches go into package/foo/foo-version, but have the same filename:
>> <pkg>-<seqnum>-<description>.patch
Thomas> I would name the directory package/<foo>/<version> instead of
Thomas> package/<foo>/<foo>-<version>, because repeating <foo> is useless.
Agreed, but that might break existing users (but the number of people
having a version-specific subdir with custom patches is probably quite
small, so it might be ok).
Thomas> I also would like to see removed:
Thomas> * Support for *.patch.$(ARCH). But that requires some work to get rid
Thomas> of the current 4 arch-specific patches that we have for liboil, fbv,
Thomas> libmad and jamvm.
Thomas> * Support for host-*.patch (which are applied only to the host
Thomas> variant). We have only one such patch in the tree (for libgtk2) and
Thomas> with a bit of effort, we could make it generic enough so that it
Thomas> works on both host and target.
Agreed.
>> Some remaining questions:
>> * what if a package has multiple versions, and a certain patch applies
>> to both versions. Should there be one copy of the patch in
>> package/foo, or should the patch be duplicated in
>> package/foo/foo-version1 and package/foo/foo-version2 ?
Thomas> Duplicated.
Agreed.
>> * how many digits should the sequence number have? I now that
>> git-format-patch uses 4 digits (0001) but really isn't necessary for
>> buildroot since the number of patches we'll have for each package is
>> limited. A package with 99 patches would already be extraneous, so I'd
>> say 01 (2 digits) is enough.
>> This may seem like a detail, but discussing this should keep things
>> consistent throughout the future.
Thomas> Agreed that 2 digits is enough.
Me too.
--
Bye, Peter Korsgaard
next prev parent reply other threads:[~2011-11-18 7:34 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-15 8:33 [Buildroot] RFC: package patching Thomas De Schampheleire
2011-11-15 8:45 ` Peter Korsgaard
2011-11-15 19:14 ` Arnout Vandecappelle
2011-11-15 21:28 ` Thomas Petazzoni
2011-11-16 6:18 ` Sergey Naumov
2011-11-16 6:50 ` Thomas De Schampheleire
2011-11-16 6:44 ` Thomas De Schampheleire
2011-11-16 18:03 ` Thomas Petazzoni
2011-11-17 13:05 ` Thomas De Schampheleire
2011-11-17 21:23 ` Arnout Vandecappelle
2011-11-17 21:42 ` Thomas Petazzoni
2011-11-18 6:53 ` Thomas De Schampheleire
2011-11-18 7:05 ` Thomas Petazzoni
2011-11-18 7:34 ` Peter Korsgaard [this message]
2011-11-18 9:26 ` Thomas De Schampheleire
2011-11-18 12:24 ` Michael S. Zick
2011-11-18 19:44 ` Arnout Vandecappelle
2011-11-18 19:27 ` Arnout Vandecappelle
2011-11-19 9:26 ` Bjørn Forsman
2011-11-19 12:13 ` Arnout Vandecappelle
2011-11-18 16:41 ` Thomas Petazzoni
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=8762ihanod.fsf@macbook.be.48ers.dk \
--to=jacmet@uclibc.org \
--cc=buildroot@busybox.net \
/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.