On Tuesday 05 May 2009 02:26:21 Toha wrote: > What about this idea: list all files in ${FILESDIR} (patches, init > scripts), related to ebuild in this ebuild like: > > FLS=( "some-init-script" "${PN}-patch1.patch" "${PN}-${PV}-patch2.patch" > ... "${PN}-patchN.patch" ) > > then using this files by addressing his index in ${FLS} array > > applying patches with command: epatch 1 ( or in batch mode: epatch 1 2 3 ) > and init scripts like: doinitd 0 > etc. > > reason: easy automated way to moving ebuilds with all required files betwen > repositories/overlays downsides: updating of array causes ugly cascading of changes throughout the entire ebuild instead of one or two lines. maintaining the info indirectly with numbers makes reading ebuilds harder to understand and harder to maintain (adding/dropping files). such changes should be proposed on the gentoo-dev mailing list anyways ... you'll get a lot more feedback as to why this is more "con" than "pro". -mike