From: Graham Murray <graham@gmurray.org.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Applying patches without needing overlays and modifying ebuilds
Date: Sun, 17 May 2009 09:26:07 +0100 [thread overview]
Message-ID: <87skj4rv8g.fsf@newton.gmurray.org.uk> (raw)
In-Reply-To: <guobnn$akq$1@ger.gmane.org> (Nikos Chantziaras's message of "Sun, 17 May 2009 09:44:19 +0300")
Nikos Chantziaras <realnc@arcor.de> writes:
> What if we could just specify patches to be applied in, say,
> /etc/portage/packages.patch with something like:
>
> media-video/smplayer j-random-hack.patch
>
> and portage would apply that patch automatically? That way, the
> hassle of updating the ebuild of a package in which I use custom
> patches would go away.
One problem here is the order of patches. Often the order that the
patches need to be applied is important, and your mechanism does not
allow you to specify the order with respect to those patches in the
ebuild.
Another problem is that when a package is upgraded, the patches required
can change. The patch that worked with version X might have to be
changed for version X+1 or may not be needed any more. So it is
necessary to do some work anyway when upgrading packages.
next prev parent reply other threads:[~2009-05-17 8:26 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-17 6:44 [gentoo-user] Applying patches without needing overlays and modifying ebuilds Nikos Chantziaras
2009-05-17 6:48 ` Saphirus Sage
2009-05-17 7:20 ` [gentoo-user] " Nikos Chantziaras
2009-05-17 8:22 ` Mike Kazantsev
2009-05-17 8:26 ` Graham Murray [this message]
2009-05-17 8:42 ` [gentoo-user] " Neil Bothwick
2009-05-17 10:13 ` Peter Alfredsen
2009-05-17 10:33 ` [gentoo-user] " Nikos Chantziaras
2009-05-17 17:30 ` [gentoo-user] " Neil Bothwick
2009-05-26 10:56 ` Pavel Sanda
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=87skj4rv8g.fsf@newton.gmurray.org.uk \
--to=graham@gmurray.org.uk \
--cc=gentoo-user@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