README-linux.txt
author Gabriel Jacobo <gabomdq@gmail.com>
Tue, 12 Nov 2013 11:31:13 -0300
changeset 7973 5d12bfc720e1
parent 7972 96f2f61be1c6
child 7980 3122e7af0bf5
permissions -rw-r--r--
Added a few notes from Ryan's email to README-linux.txt
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7972
96f2f61be1c6 Linux README explaining build vs runtime, and build deps for Ubuntu 13.04
Gabriel Jacobo <gabomdq@gmail.com>
parents:
diff changeset
     1
================================================================================
96f2f61be1c6 Linux README explaining build vs runtime, and build deps for Ubuntu 13.04
Gabriel Jacobo <gabomdq@gmail.com>
parents:
diff changeset
     2
Simple DirectMedia Layer for Linux
96f2f61be1c6 Linux README explaining build vs runtime, and build deps for Ubuntu 13.04
Gabriel Jacobo <gabomdq@gmail.com>
parents:
diff changeset
     3
================================================================================
96f2f61be1c6 Linux README explaining build vs runtime, and build deps for Ubuntu 13.04
Gabriel Jacobo <gabomdq@gmail.com>
parents:
diff changeset
     4
96f2f61be1c6 Linux README explaining build vs runtime, and build deps for Ubuntu 13.04
Gabriel Jacobo <gabomdq@gmail.com>
parents:
diff changeset
     5
By default SDL will only link against glibc, the rest of the features will be
96f2f61be1c6 Linux README explaining build vs runtime, and build deps for Ubuntu 13.04
Gabriel Jacobo <gabomdq@gmail.com>
parents:
diff changeset
     6
enabled dynamically at runtime depending on the available features on the target
96f2f61be1c6 Linux README explaining build vs runtime, and build deps for Ubuntu 13.04
Gabriel Jacobo <gabomdq@gmail.com>
parents:
diff changeset
     7
system. So, for example if you built SDL with Xinerama support and the target
96f2f61be1c6 Linux README explaining build vs runtime, and build deps for Ubuntu 13.04
Gabriel Jacobo <gabomdq@gmail.com>
parents:
diff changeset
     8
system does not have the Xinerama libraries installed, it will be disabled
96f2f61be1c6 Linux README explaining build vs runtime, and build deps for Ubuntu 13.04
Gabriel Jacobo <gabomdq@gmail.com>
parents:
diff changeset
     9
at runtime, and you won't get a missing library error, at least with the 
96f2f61be1c6 Linux README explaining build vs runtime, and build deps for Ubuntu 13.04
Gabriel Jacobo <gabomdq@gmail.com>
parents:
diff changeset
    10
default configuration parameters.
96f2f61be1c6 Linux README explaining build vs runtime, and build deps for Ubuntu 13.04
Gabriel Jacobo <gabomdq@gmail.com>
parents:
diff changeset
    11
96f2f61be1c6 Linux README explaining build vs runtime, and build deps for Ubuntu 13.04
Gabriel Jacobo <gabomdq@gmail.com>
parents:
diff changeset
    12
96f2f61be1c6 Linux README explaining build vs runtime, and build deps for Ubuntu 13.04
Gabriel Jacobo <gabomdq@gmail.com>
parents:
diff changeset
    13
================================================================================
96f2f61be1c6 Linux README explaining build vs runtime, and build deps for Ubuntu 13.04
Gabriel Jacobo <gabomdq@gmail.com>
parents:
diff changeset
    14
Build Dependencies
96f2f61be1c6 Linux README explaining build vs runtime, and build deps for Ubuntu 13.04
Gabriel Jacobo <gabomdq@gmail.com>
parents:
diff changeset
    15
================================================================================
96f2f61be1c6 Linux README explaining build vs runtime, and build deps for Ubuntu 13.04
Gabriel Jacobo <gabomdq@gmail.com>
parents:
diff changeset
    16
    
96f2f61be1c6 Linux README explaining build vs runtime, and build deps for Ubuntu 13.04
Gabriel Jacobo <gabomdq@gmail.com>
parents:
diff changeset
    17
Ubuntu 13.04, all available features enabled:
96f2f61be1c6 Linux README explaining build vs runtime, and build deps for Ubuntu 13.04
Gabriel Jacobo <gabomdq@gmail.com>
parents:
diff changeset
    18
96f2f61be1c6 Linux README explaining build vs runtime, and build deps for Ubuntu 13.04
Gabriel Jacobo <gabomdq@gmail.com>
parents:
diff changeset
    19
sudo apt-get install build-essential mercurial make cmake autoconf automake \
96f2f61be1c6 Linux README explaining build vs runtime, and build deps for Ubuntu 13.04
Gabriel Jacobo <gabomdq@gmail.com>
parents:
diff changeset
    20
libtool libasound2-dev libpulse-dev libaudio-dev libx11-dev libxext-dev \
96f2f61be1c6 Linux README explaining build vs runtime, and build deps for Ubuntu 13.04
Gabriel Jacobo <gabomdq@gmail.com>
parents:
diff changeset
    21
libxrandr-dev libxcursor-dev libxi-dev libxinerama-dev libxxf86vm-dev \
96f2f61be1c6 Linux README explaining build vs runtime, and build deps for Ubuntu 13.04
Gabriel Jacobo <gabomdq@gmail.com>
parents:
diff changeset
    22
libxss-dev libgl1-mesa-dev libesd0-dev libdbus-1-dev libudev-dev \
96f2f61be1c6 Linux README explaining build vs runtime, and build deps for Ubuntu 13.04
Gabriel Jacobo <gabomdq@gmail.com>
parents:
diff changeset
    23
libgles1-mesa-dev libgles2-mesa-dev libegl1-mesa-dev
96f2f61be1c6 Linux README explaining build vs runtime, and build deps for Ubuntu 13.04
Gabriel Jacobo <gabomdq@gmail.com>
parents:
diff changeset
    24
7973
5d12bfc720e1 Added a few notes from Ryan's email to README-linux.txt
Gabriel Jacobo <gabomdq@gmail.com>
parents: 7972
diff changeset
    25
NOTES:
5d12bfc720e1 Added a few notes from Ryan's email to README-linux.txt
Gabriel Jacobo <gabomdq@gmail.com>
parents: 7972
diff changeset
    26
- This includes all the audio targets except arts, because Ubuntu pulled the 
5d12bfc720e1 Added a few notes from Ryan's email to README-linux.txt
Gabriel Jacobo <gabomdq@gmail.com>
parents: 7972
diff changeset
    27
  artsc0-dev package, but in theory SDL still supports it.
5d12bfc720e1 Added a few notes from Ryan's email to README-linux.txt
Gabriel Jacobo <gabomdq@gmail.com>
parents: 7972
diff changeset
    28
- DirectFB isn't included because the configure script (currently) fails to find
5d12bfc720e1 Added a few notes from Ryan's email to README-linux.txt
Gabriel Jacobo <gabomdq@gmail.com>
parents: 7972
diff changeset
    29
  it at all. You can do "sudo apt-get install libdirectfb-dev" and fix the 
5d12bfc720e1 Added a few notes from Ryan's email to README-linux.txt
Gabriel Jacobo <gabomdq@gmail.com>
parents: 7972
diff changeset
    30
  configure script to include DirectFB support. Send patches.  :)
7972
96f2f61be1c6 Linux README explaining build vs runtime, and build deps for Ubuntu 13.04
Gabriel Jacobo <gabomdq@gmail.com>
parents:
diff changeset
    31
7973
5d12bfc720e1 Added a few notes from Ryan's email to README-linux.txt
Gabriel Jacobo <gabomdq@gmail.com>
parents: 7972
diff changeset
    32