On 2015-03-07 15:50, Rainer Müller wrote: > On 2015-03-07 11:06, René J.V. Bertin wrote: >> On Debian, patches are found in a specific package subdirectory >> comparable to `port dir foo`/files, but there's an additional file >> that provides the list of patches that are applied, and in what >> order. MacPorts doesn't have that, and I think it's not always >> trivial to determine the exact list and order from the Portfile, >> because it can depend on the variants selected (and possibly the >> order in which variants are given on the commandline??). > > Variants are always evaluated in the order they appear in the Portfile. > Patches are applied in the order they are listed in the patchfiles option. > >> So, if there's not already a hidden command or official script >> somewhere that just outputs the list of patchfiles for a given >> install command, would it be an idea for a, probably quite easy, GSoC >> project to come up with the framework required to refresh a port's >> patch files? Handling all combinations of variants could be left to >> the port maintainer or actually done by the script too as it >> shouldn't be particularly hard to program once the rest is in place. > > This sounds useful, but would be way to easy to occupy a student for the > whole summer...
In fact the first part, listing the patches that will be applied, was so easy I just added that to base [1]. With trunk, this would now generate what you need: $ port -q info --line --patchfiles qt5-mac | tr ',' '\n' Rainer [1] http://trac.macports.org/changeset/133630 _______________________________________________ macports-dev mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-dev
