Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how should custom patches be treated?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2152

PostPosted: Mon Apr 16, 2012 2:50 pm    Post subject: how should custom patches be treated? Reply with quote

In relation to one of my current bugs and this blog posting, I'd like to receive some comments on how custom - as in not officially supported by Gentoo - patches shall be handled and applied.

epatch_user() from eutils.eclass tries to apply all patches found in /etc/portage/patches/$cat/$name{-$ver}, which I'd personally prefer, but most ebuilds - at least of the ones I use - aren't supporting this, as of yet.

This approach would take the responsibility from the devs and put it into the hands of the user, but to properly use it, some kind of FEATURES="-user-patches" would be needed, so a recompile could easily be done without deleting or moving/renaming patches.

Then there's the way of filing bugs and hoping some dev will pick it up and make it the default, but that will mostly not happen, for valid reasons.

Also available is the way of a (local) overlay, which brings the problem of keeping it updated and also duplicates a certain amount of files.

Finally, there's the approach of building the required apps/libs completely by hand, which in addition to the overlay approach brings a lot of problems of general packagemanagement, such as clean remove, dep tracking, etc.

So I'd like to know, what is the roadmap for the future?
_________________
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
Back to top
View user's profile Send private message
Etal
Veteran
Veteran


Joined: 15 Jul 2005
Posts: 1931

PostPosted: Mon Apr 16, 2012 3:00 pm    Post subject: Reply with quote

It's currently being discussed on gentoo-dev.
_________________
“And even in authoritarian countries, information networks are helping people discover new facts and making governments more accountable.”– Hillary Clinton, Jan. 21, 2010
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2152

PostPosted: Mon Apr 16, 2012 3:05 pm    Post subject: Reply with quote

Doh, thanks :P
_________________
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum