Update and completely overhaul packaging and build configuration.

Update according to upstream and vendor differences and versions.

(0) -100 -30 -10 -2 +2 +10 +30 +100 +300 tip

mercurial