Bug 1227637 - Revert mesa draft
authorArmen Zambrano Gasparnian <armenzg@mozilla.com>
Tue, 05 Jan 2016 16:34:44 -0500
changeset 319113 700db023e4a354d1cfaad93067d6cfae4e49bcbd
parent 318937 29258f59e5456a1a518ccce6b473b50c1173477e
child 512544 7f6261f62a6d9c27e20217e3d12cc1b6b5b005ef
push id8975
push userarmenzg@mozilla.com
push dateTue, 05 Jan 2016 21:38:32 +0000
bugs1227637
milestone46.0a1
Bug 1227637 - Revert mesa
testing/docker/desktop-test/Dockerfile
testing/docker/desktop-test/VERSION
testing/docker/ubuntu1204-test-upd/Dockerfile
testing/docker/ubuntu1204-test-upd/VERSION
testing/docker/ubuntu1204-test/VERSION
testing/docker/ubuntu1204-test/system-setup.sh
--- a/testing/docker/desktop-test/Dockerfile
+++ b/testing/docker/desktop-test/Dockerfile
@@ -1,9 +1,9 @@
-FROM          taskcluster/ubuntu1204-test-upd:0.1.5.20151222110000
+FROM          taskcluster/ubuntu1204-test-upd:0.1.6.20160105110000
 MAINTAINER    Jonas Finnemann Jensen <jopsen@gmail.com>
 
 # Add utilities and configuration
 COPY           dot-config                    /home/worker/.config
 COPY           dot-pulse                     /home/worker/.pulse
 COPY           bin                           /home/worker/bin
 # This removes the requirement of a developer to call it with bash
 RUN            chmod +x bin/test.sh
--- a/testing/docker/desktop-test/VERSION
+++ b/testing/docker/desktop-test/VERSION
@@ -1,1 +1,1 @@
-0.5.2
+0.5.3
--- a/testing/docker/ubuntu1204-test-upd/Dockerfile
+++ b/testing/docker/ubuntu1204-test-upd/Dockerfile
@@ -1,9 +1,9 @@
-FROM          taskcluster/ubuntu1204-test:0.1.5
+FROM          taskcluster/ubuntu1204-test:0.1.6
 MAINTAINER    Dustin J. Mitchell <dustin@mozilla.com>
 
 ### update to latest from upstream repositories
 # if this becomes a long list of packages, consider bumping the
 # ubunt1204-test version
 RUN apt-get update && apt-get upgrade -y --force-yes
 
 # Set a default command useful for debugging
--- a/testing/docker/ubuntu1204-test-upd/VERSION
+++ b/testing/docker/ubuntu1204-test-upd/VERSION
@@ -1,1 +1,1 @@
-0.1.5.20151222110000
+0.1.6.20160105110000
--- a/testing/docker/ubuntu1204-test/VERSION
+++ b/testing/docker/ubuntu1204-test/VERSION
@@ -1,1 +1,1 @@
-0.1.5
+0.1.6
--- a/testing/docker/ubuntu1204-test/system-setup.sh
+++ b/testing/docker/ubuntu1204-test/system-setup.sh
@@ -46,16 +46,24 @@ apt_packages+=('libcurl4-openssl-dev')
 apt_packages+=('libdbus-1-dev')
 apt_packages+=('libdbus-glib-1-dev')
 apt_packages+=('libdrm-intel1:i386')
 apt_packages+=('libdrm-nouveau1a:i386')
 apt_packages+=('libdrm-radeon1:i386')
 apt_packages+=('libdrm2:i386')
 apt_packages+=('libexpat1:i386')
 apt_packages+=('libgconf2-dev')
+apt_packages+=('libgl1-mesa-dri')
+apt_packages+=('libgl1-mesa-dri:i386')
+apt_packages+=('libgl1-mesa-glx')
+apt_packages+=('libgl1-mesa-glx:i386')
+apt_packages+=('libglapi-mesa')
+apt_packages+=('libglapi-mesa:i386')
+apt_packages+=('libglu1-mesa')
+apt_packages+=('libglu1-mesa:i386')
 apt_packages+=('libgnome-bluetooth8')
 apt_packages+=('libgstreamer-plugins-base0.10-dev')
 apt_packages+=('libgstreamer0.10-dev')
 apt_packages+=('libgtk2.0-dev')
 apt_packages+=('libiw-dev')
 apt_packages+=('libllvm2.9')
 apt_packages+=('libllvm3.0:i386')
 apt_packages+=('libncurses5:i386')
@@ -72,16 +80,17 @@ apt_packages+=('libxt-dev')
 apt_packages+=('libxxf86vm1')
 apt_packages+=('libxxf86vm1:i386')
 apt_packages+=('llvm')
 apt_packages+=('llvm-2.9')
 apt_packages+=('llvm-2.9-dev')
 apt_packages+=('llvm-2.9-runtime')
 apt_packages+=('llvm-dev')
 apt_packages+=('llvm-runtime')
+apt_packages+=('mesa-common-dev')
 apt_packages+=('nano')
 apt_packages+=('pulseaudio')
 apt_packages+=('pulseaudio-module-X11')
 apt_packages+=('pulseaudio-module-bluetooth')
 apt_packages+=('pulseaudio-module-gconf')
 apt_packages+=('rlwrap')
 apt_packages+=('screen')
 apt_packages+=('software-properties-common')
@@ -192,56 +201,27 @@ tooltool_fetch <<'EOF'
     "algorithm": "sha512", 
     "filename": "xcb-repo-1.8.1-2ubuntu2.1mozilla1.tgz"
 }
 ]
 EOF
 tar -zxf xcb-repo-*.tgz
 echo "deb file://$PWD/xcb precise all" >> /etc/apt/sources.list
 
-# Install a patched version of mesa, per bug 1227637.  Origin of the packages themselves is unknown, as
-# these binaries were copied from the apt repositories used by puppet.
-# NOTE: if you're re-creating this, the tarball contains an `update.sh` which will rebuild the repository.
-tooltool_fetch <<'EOF'
-[
-{
-    "size": 11619521,
-    "digest": "2ec1dbb735d06a5ae8c1f31cd0a9256339a50b0221c84fc1f6e8ada3b3c2757c16df6e2ace4a66f68159950d46ddce563ecd71dd5c2d2d421b085168a86a52fd",
-    "algorithm": "sha512",
-    "filename": "mesa-repo-9.2.1-1ubuntu3~precise1mozilla1.tgz"
-}
-]
-EOF
-tar -zxf mesa-repo-*.tgz
-echo "deb file://$PWD/mesa precise all" >> /etc/apt/sources.list
-
 apt-get update
 
 apt-get -q -y --force-yes install \
     libxcb1 \
     libxcb-render0 \
     libxcb-shm0 \
     libxcb-glx0 \
     libxcb-shape0 libxcb-glx0:i386
 libxcb1_version=$(dpkg-query -s libxcb1 | grep ^Version | awk '{ print $2 }')
 [ "$libxcb1_version" = "1.8.1-2ubuntu2.1mozilla1" ] || exit 1
 
-apt-get -q -y --force-yes install \
-    libgl1-mesa-dev-lts-saucy:i386 \
-    libgl1-mesa-dri-lts-saucy \
-    libgl1-mesa-dri-lts-saucy:i386 \
-    libgl1-mesa-glx-lts-saucy \
-    libgl1-mesa-glx-lts-saucy:i386 \
-    libglapi-mesa-lts-saucy \
-    libglapi-mesa-lts-saucy:i386 \
-    libxatracker1-lts-saucy \
-    mesa-common-dev-lts-saucy:i386
-mesa_version=$(dpkg-query -s libgl1-mesa-dri-lts-saucy | grep ^Version | awk '{ print $2 }')
-[ "$mesa_version" = "9.2.1-1ubuntu3~precise1mozilla1" ] || exit 1
-
 # revert the list of repos
 cp sources.list.orig /etc/apt/sources.list
 apt-get update
 
 # clean up
 
 cd /
 rm -rf /setup ~/.ccache ~/.cache ~/.npm