Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 213975 - Need for autoepatch to apply given patches or functions to unpacked sources
Summary: Need for autoepatch to apply given patches or functions to unpacked sources
Status: RESOLVED OBSOLETE
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High enhancement with 1 vote (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: SOCIDEAS
Depends on:
Blocks: 160190 220040
  Show dependency tree
 
Reported: 2008-03-20 00:28 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2021-09-03 08:14 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-03-20 00:28:31 UTC
(posting here because I have no idea where else to submit this)

We have already two different eclasses to take care of updating the sources of various packages for particular problems: libtool.eclass with elibtoolize and gnuconfig.eclass with gnuconfig_update.

While the latter is now mostly handled by econf, there are more than a few packages that can't be ported to use econf for some reason. elibtoolize is routinely dropped out of packages by mistake, and also does not allow to have "experimental" patches: a change to the patchsets will apply to all packages, no matter their keywording status.

Additionally there are other common operations often applied to packages: kde.eclass updates the admin/ directory for (some) packages to let them work with newer versions of autotools and similar issues, FreeBSD has to fix gnulib sources when they contain given patterns, and so on.

The autoepatch project was created to solve this issue, allowing "plug-in" like scripts that apply patchsets or execute given functions over the sources to make the needed changes. While the base of this is present in SVN, it hasn't been worked on for about an year by now.

This program also has to be integrated with Portage so that it's always executed between src_unpack and src_compile.
Comment 1 Ulrich Müller gentoo-dev 2021-09-03 08:14:04 UTC
No progress, last commit in the autoepatch repo is from 2006.