love dependencies versions in ubuntu repositories
This data shows what versions of the love dependencies are on specific platforms and ubuntu distributions. ~josefnpat
PLATFORM amd64
hardy karmic lucid maverick natty oneiric precise mercurial 0.9.5-3 1.1.2-2ubuntu1 1.3.1-1 1.4.3-1 1.6.3-1 1.7.5-1ubuntu1 1.9.1-1 build-essential 11.3ubuntu1 11.4 11.4 11.4build1 11.5 11.5ubuntu1 11.5ubuntu1 automake 1:1.10.1-2 1:1.10.2-0ubuntu3 1:1.11-1 1:1.11.1-1 1:1.11.1-1 1:1.11.1-1ubuntu1 1:1.11.1-1ubuntu1 libmpg123-dev 1.4.3-4ubuntu1 1.7.3-0ubuntu1 1.12.1-0ubuntu1 1.12.1-3ubuntu1 1.12.1-3ubuntu1 1.12.1-3.1fakesync1 libmodplug-dev 1:0.7-7 1:0.8.4-3ubuntu1 1:0.8.7-1 1:0.8.7-1build1 1:0.8.8.1-1ubuntu1 1:0.8.8.1-2 1:0.8.8.2-3ubuntu1 libphysfs-dev 1.0.0-5 1.0.0-5 2.0.0-3 2.0.0-4 2.0.1-1 2.0.1-2 2.0.2-4 libfreetype6-dev 2.3.5-1ubuntu4 2.3.9-4build1 2.3.9-5 2.3.11-1ubuntu2 2.4.2-2 2.4.4-1ubuntu2 2.4.4-2ubuntu1 libdevil-dev 1.6.7-5.1 1.7.5-4 1.7.8-2 1.7.8-6 1.7.8-6 1.7.8-6build1 1.7.8-6build2 liblua5.1-0-dev 5.1.2-4 5.1.4-2 5.1.4-3 5.1.4-5 5.1.4-5 5.1.4-5 5.1.4-10 libopenal-dev 1:0.0.8-7 1:1.4.272-2 1:1.11.753-1 1:1.11.753-1 1:1.12.854-2 1:1.12.854-2 1:1.13-2 libsdl1.2-dev 1.2.13-1ubuntu1 1.2.13-4ubuntu3 1.2.13-4ubuntu4 1.2.14-4ubuntu1 1.2.14-6ubuntu3 1.2.14-6.1ubuntu3 1.2.14-6.1ubuntu4 libvorbis-dev 1.2.0.dfsg-2 1.2.0.dfsg-3.1 1.2.0.dfsg-6 1.2.3-3ubuntu1 1.3.1-1 1.3.2-1ubuntu1 1.3.2-1ubuntu2
PLATFORM armel
hardy karmic lucid maverick natty oneiric precise mercurial 1.1.2-2ubuntu1 1.3.1-1 1.4.3-1 1.6.3-1 1.7.5-1ubuntu1 1.9.1-1 build-essential 11.4 11.4 11.4build1 11.5 11.5ubuntu1 11.5ubuntu1 automake 1:1.10.2-0ubuntu3 1:1.11-1 1:1.11.1-1 1:1.11.1-1 1:1.11.1-1ubuntu1 1:1.11.1-1ubuntu1 libmpg123-dev 1.4.3-4ubuntu1 1.7.3-0ubuntu1 1.12.1-0ubuntu1 1.12.1-3ubuntu1 1.12.1-3ubuntu1 1.12.1-3.1fakesync1 libmodplug-dev 1:0.8.4-3ubuntu1 1:0.8.7-1 1:0.8.7-1build1 1:0.8.8.1-1ubuntu1 1:0.8.8.1-2 1:0.8.8.2-3ubuntu1 libphysfs-dev 1.0.0-5 2.0.0-3 2.0.0-4 2.0.1-1 2.0.1-2 2.0.2-4 libfreetype6-dev 2.3.9-4build1 2.3.9-5 2.3.11-1ubuntu2 2.4.2-2 2.4.4-1ubuntu2 2.4.4-2ubuntu1 libdevil-dev 1.7.5-4 1.7.8-2 1.7.8-6 1.7.8-6 1.7.8-6build1 1.7.8-6build2 liblua5.1-0-dev 5.1.4-2 5.1.4-3 5.1.4-5 5.1.4-5 5.1.4-5 5.1.4-10 libopenal-dev 1:1.4.272-2 1:1.11.753-1 1:1.11.753-1 1:1.12.854-2 1:1.12.854-2 1:1.13-2 libsdl1.2-dev 1.2.13-4ubuntu3 1.2.13-4ubuntu4 1.2.14-4ubuntu1 1.2.14-6ubuntu3 1.2.14-6.1ubuntu3 1.2.14-6.1ubuntu4 libvorbis-dev 1.2.0.dfsg-3.1 1.2.0.dfsg-6 1.2.3-3ubuntu1 1.3.1-1 1.3.2-1ubuntu1 1.3.2-1ubuntu2
PLATFORM i386
hardy karmic lucid maverick natty oneiric precise mercurial 0.9.5-3 1.1.2-2ubuntu1 1.3.1-1 1.4.3-1 1.6.3-1 1.7.5-1ubuntu1 1.9.1-1 build-essential 11.3ubuntu1 11.4 11.4 11.4build1 11.5 11.5ubuntu1 11.5ubuntu1 automake 1:1.10.1-2 1:1.10.2-0ubuntu3 1:1.11-1 1:1.11.1-1 1:1.11.1-1 1:1.11.1-1ubuntu1 1:1.11.1-1ubuntu1 libmpg123-dev 1.4.3-4ubuntu1 1.7.3-0ubuntu1 1.12.1-0ubuntu1 1.12.1-3ubuntu1 1.12.1-3ubuntu1 1.12.1-3.1fakesync1 libmodplug-dev 1:0.7-7 1:0.8.4-3ubuntu1 1:0.8.7-1 1:0.8.7-1build1 1:0.8.8.1-1ubuntu1 1:0.8.8.1-2 1:0.8.8.2-3ubuntu1 libphysfs-dev 1.0.0-5 1.0.0-5 2.0.0-3 2.0.0-4 2.0.1-1 2.0.1-2 2.0.2-4 libfreetype6-dev 2.3.5-1ubuntu4 2.3.9-4build1 2.3.9-5 2.3.11-1ubuntu2 2.4.2-2 2.4.4-1ubuntu2 2.4.4-2ubuntu1 libdevil-dev 1.6.7-5.1 1.7.5-4 1.7.8-2 1.7.8-6 1.7.8-6 1.7.8-6build1 1.7.8-6build2 liblua5.1-0-dev 5.1.2-4 5.1.4-2 5.1.4-3 5.1.4-5 5.1.4-5 5.1.4-5 5.1.4-10 libopenal-dev 1:0.0.8-7 1:1.4.272-2 1:1.11.753-1 1:1.11.753-1 1:1.12.854-2 1:1.12.854-2 1:1.13-2 libsdl1.2-dev 1.2.13-1ubuntu1 1.2.13-4ubuntu3 1.2.13-4ubuntu4 1.2.14-4ubuntu1 1.2.14-6ubuntu3 1.2.14-6.1ubuntu3 1.2.14-6.1ubuntu4 libvorbis-dev 1.2.0.dfsg-2 1.2.0.dfsg-3.1 1.2.0.dfsg-6 1.2.3-3ubuntu1 1.3.1-1 1.3.2-1ubuntu1 1.3.2-1ubuntu2
PLATFORM ia64
hardy karmic lucid maverick natty oneiric precise mercurial 0.9.5-3 1.1.2-2ubuntu1 1.3.1-1 1.4.3-1 build-essential 11.3ubuntu1 11.4 11.4 11.4build1 automake 1:1.10.1-2 1:1.10.2-0ubuntu3 1:1.11-1 1:1.11.1-1 libmpg123-dev 1.4.3-4ubuntu1 1.7.3-0ubuntu1 1.12.1-0ubuntu1 libmodplug-dev 1:0.7-7 1:0.8.4-3ubuntu1 1:0.8.7-1 1:0.8.7-1build1 libphysfs-dev 1.0.0-5 1.0.0-5 2.0.0-3 2.0.0-4 libfreetype6-dev 2.3.5-1ubuntu4 2.3.9-4build1 2.3.9-5 2.3.11-1ubuntu2 libdevil-dev 1.6.7-5.1 1.7.5-4 1.7.8-2 1.7.8-6 liblua5.1-0-dev 5.1.2-4 5.1.4-2 5.1.4-3 5.1.4-5 libopenal-dev 1:0.0.8-7 1:1.4.272-2 1:1.11.753-1 1:1.11.753-1 libsdl1.2-dev 1.2.13-1ubuntu1 1.2.13-4ubuntu3 1.2.13-4ubuntu4 1.2.14-4ubuntu1 libvorbis-dev 1.2.0.dfsg-2 1.2.0.dfsg-3.1 1.2.0.dfsg-6 1.2.3-3ubuntu1
PLATFORM powerpc
hardy karmic lucid maverick natty oneiric precise mercurial 0.9.5-3 1.1.2-2ubuntu1 1.3.1-1 1.4.3-1 1.6.3-1 1.7.5-1ubuntu1 1.9.1-1 build-essential 11.3ubuntu1 11.4 11.4 11.4build1 11.5 11.5ubuntu1 11.5ubuntu1 automake 1:1.10.1-2 1:1.10.2-0ubuntu3 1:1.11-1 1:1.11.1-1 1:1.11.1-1 1:1.11.1-1ubuntu1 1:1.11.1-1ubuntu1 libmpg123-dev 1.4.3-4ubuntu1 1.7.3-0ubuntu1 1.12.1-0ubuntu1 1.12.1-3ubuntu1 1.12.1-3ubuntu1 1.12.1-3.1fakesync1 libmodplug-dev 1:0.7-7 1:0.8.4-3ubuntu1 1:0.8.7-1 1:0.8.7-1build1 1:0.8.8.1-1ubuntu1 1:0.8.8.1-2 1:0.8.8.2-3ubuntu1 libphysfs-dev 1.0.0-5 1.0.0-5 2.0.0-3 2.0.0-4 2.0.1-1 2.0.1-2 2.0.2-4 libfreetype6-dev 2.3.5-1ubuntu4 2.3.9-4build1 2.3.9-5 2.3.11-1ubuntu2 2.4.2-2 2.4.4-1ubuntu2 2.4.4-2ubuntu1 libdevil-dev 1.6.7-5.1 1.7.5-4 1.7.8-2 1.7.8-6 1.7.8-6 1.7.8-6build1 1.7.8-6build2 liblua5.1-0-dev 5.1.2-4 5.1.4-2 5.1.4-3 5.1.4-5 5.1.4-5 5.1.4-5 5.1.4-10 libopenal-dev 1:0.0.8-7 1:1.4.272-2 1:1.11.753-1 1:1.11.753-1 1:1.12.854-2 1:1.12.854-2 1:1.13-2 libsdl1.2-dev 1.2.13-1ubuntu1 1.2.13-4ubuntu3 1.2.13-4ubuntu4 1.2.14-4ubuntu1 1.2.14-6ubuntu3 1.2.14-6.1ubuntu3 1.2.14-6.1ubuntu4 libvorbis-dev 1.2.0.dfsg-2 1.2.0.dfsg-3.1 1.2.0.dfsg-6 1.2.3-3ubuntu1 1.3.1-1 1.3.2-1ubuntu1 1.3.2-1ubuntu2
PLATFORM sparc
hardy karmic lucid maverick natty oneiric precise mercurial 0.9.5-3 1.1.2-2ubuntu1 1.3.1-1 1.4.3-1 build-essential 11.3ubuntu1 11.4 11.4 11.4build1 automake 1:1.10.1-2 1:1.10.2-0ubuntu3 1:1.11-1 1:1.11.1-1 libmpg123-dev 1.4.3-4ubuntu1 1.7.3-0ubuntu1 1.12.1-0ubuntu1 libmodplug-dev 1:0.7-7 1:0.8.4-3ubuntu1 1:0.8.7-1 1:0.8.7-1build1 libphysfs-dev 1.0.0-5 1.0.0-5 2.0.0-3 2.0.0-4 libfreetype6-dev 2.3.5-1ubuntu4 2.3.9-4build1 2.3.9-5 2.3.11-1ubuntu2 libdevil-dev 1.6.7-5.1 1.7.5-4 1.7.8-2 1.7.8-6 liblua5.1-0-dev 5.1.2-4 5.1.4-2 5.1.4-3 5.1.4-5 libopenal-dev 1:0.0.8-7 1:1.4.272-2 1:1.11.753-1 1:1.11.753-1 libsdl1.2-dev 1.2.13-1ubuntu1 1.2.13-4ubuntu3 1.2.13-4ubuntu4 1.2.14-4ubuntu1 libvorbis-dev 1.2.0.dfsg-2 1.2.0.dfsg-3.1 1.2.0.dfsg-6 1.2.3-3ubuntu1
The code to build the source file anew is:
<?php $dists = array("hardy","karmic","lucid","maverick","natty","oneiric","precise"); $packages = array("mercurial","build-essential","automake","libmpg123-dev","libmodplug-dev","libphysfs-dev","libfreetype6-dev","libdevil-dev","liblua5.1-0-dev","libopenal-dev","libsdl1.2-dev","libvorbis-dev"); $comp = array("amd64","armel","i386","ia64","powerpc","sparc"); $total_dl = count($dists)*count($packages); $current_dl = 0; foreach($dists as $dist){ foreach($packages as $package){ $current_dl++; echo "Downloading page $current_dl/$total_dl. $dist\t$package \t"; $raw = file_get_contents("https://launchpad.net/ubuntu/$dist/+package/$package"); foreach($comp as $c){ $matches = array(); preg_match('@<a href="/ubuntu/'.$dist.'/'.$c.'/'.$package.'/(.+){1,}">@',$raw,$matches); $data[$dist][$package][$c] = @$matches[1]; echo "$c .."; } echo "done.\n"; } } file_put_contents('build.out',serialize($data));
And then the code to format the output, as seen above.
<?php $platform = $argv[1]; $data = unserialize(file_get_contents('build.out'));
$width = 19; $dists = str_pad("",$width); $rows = array(); foreach($data as $dist => $packages){ $dists .= str_pad("$dist",$width); if(!isset($disp)){ foreach($packages as $package => $platforms){ $row[$package] = str_pad($package,$width); } $disp = 1; } foreach($packages as $package => $platforms){ $row[$package] .= str_pad(rtrim($platforms[$platform]),$width); } } echo $dists."\n"; foreach($row as $r){ echo "$r\n"; }
And the source I used to concatonate them all:
<?php $comp = array("amd64","armel","i386","ia64","powerpc","sparc"); foreach($comp as $c){ echo "PLATFORM $c\n"; echo `php ./show.php $c`; echo "\n"; } ?>