wiki:UbuntuMesa4Arb

Howto build MESA packages for ARB

Installing MESA packages is no longer necessary to build arb with OPENGL=1 on recent linux version.
Therefore we no longer provide such packages.

precise (64bit)

koala (32bit)

  • downloaded ftp://ftp.freedesktop.org/pub/mesa/7.6.1/MesaLib-7.6.1-rc2.tar.bz2
    • took v 7.6.1 because 7.7 did not work on karmic koala (wrong version of libdrm)
    • took v 7.7.1 because 7.8.x did not work on lucid lynx (wrong version of libdrm)
  • untar
    tar -jxvf MesaLib-7.6.1-rc2.tar.bz2
    
  • install libs needed to compile mesa
    sudo apt-get install libdrm-dev x11proto-dri2-dev libxxf86vm-dev libxdamage-dev libxfixes-dev libexpat1-dev x11proto-gl-dev
    
  • ./configure
  • make
  • call update_files.sh (see attachment below)

lucid lynx

wget ftp://ftp.freedesktop.org/pub/mesa/7.7.1/MesaLib-7.7.1.tar.bz2
tar -jxvf MesaLib-7.7.1.tar.bz2

rest like karmic

oneiric ocelot

wget ftp://ftp.freedesktop.org/pub/mesa/7.11.1/MesaLib-7.11.1.tar.bz2
tar -jxvf MesaLib-7.11.1.tar.bz2
  • install libs needed to compile mesa
    sudo apt-get install libdrm-dev x11proto-dri2-dev libxxf86vm-dev libxdamage-dev libxfixes-dev libexpat1-dev x11proto-gl-dev flex bison llvm
    
  • ./configure
  • make
  • call update_files.sh (see attachment below)

Build the package

cd libglw-mesa-arb_amd64/debian# 64bit
cd libglw-mesa-arb_i386/debian# 32bit
mkdir DEBIAN
vi DEBIAN/control

(see attached example-control-files)

cd ..
fakeroot dpkg-deb --build debian
mv debian.deb libglw-arb.deb

Publish on webserver

  • copy the package to arbhome@waltz:arb-dev/debian into the appropriate subdir and correct the filename. e.g.
    ./dists/jaunty/non-free/binary-amd64/libglw-mesa-arb_jaunty_amd64.deb
    ./dists/jaunty/non-free/binary-i386/libglw-mesa-arb_jaunty_i386.deb
    ./dists/karmic/non-free/binary-amd64/libglw-mesa-arb_karmic_amd64.deb
    ./dists/karmic/non-free/binary-i386/libglw-mesa-arb_karmic_i386.deb
    ./dists/lucid/non-free/binary-amd64/libglw-mesa-arb_lucid_amd64.deb
    ./dists/oneiric/non-free/binary-amd64/libglw-mesa-arb_oneiric_amd64.deb
    
  • as arbhome@waltz
    extend and call update_debs.sh
  • here they go: http://dev.arb-home.de/debian/dists/
Last modified 2 years ago Last modified on Jul 1, 2022, 8:30:16 AM

Attachments (2)

Download all attachments as: .zip