On Saturday, February 12, 2011 21:37:29 Diego Elio Pettenò wrote: > Il giorno sab, 12/02/2011 alle 18.21 -0500, Mike Frysinger ha scritto: > > patching packages in the tree is a huge hassle, > > you add hassle to end users who d/l random packages and try to build > > things > > themselves, and you make Gentoo non-standard wrt every other distro > > out there. > > What I had in mind was something that would work for upstreams as well, > mostly by having fallback; so if a package supported up to libpng 1.4 it > would search for -lpng14, then -lpng12, then -lpng (and in Gentoo would > hit -lpng14); while one supporting 1.5 as well would go -lpng15 -lpng14 > -lpng12 -lpng ... > > i.e. what most already do for berkdb but at some point with us not > providing -lpng at all, if most upstreams would like that idea.
i'm not sure comparing to berkdb is appropriate. upstream packages using berkdb have themselves changed to doing a version scan before falling back to the canonical one. if upstream packages start changing to do that with libpng, then perhaps we can talk about restructuring libpng ebuilds, but it seems to me that upstream packages are more likely to simply update their code to work with libpng-1.5 than add a version scan for libpng-1.4. thus it's a lot more sane in the long term to assume that packages support the latest rather than patching everyone (and being forced to carry those custom patches indefinitely) to set the ceiling at the last "known" working version. -mike
signature.asc
Description: This is a digitally signed message part.