~ubuntu-branches/ubuntu/lucid/ardour/lucid-proposed

« back to all changes in this revision

Viewing changes to debian/ardour2

  • Committer: Bazaar Package Importer
  • Author(s): Luke Yelavich
  • Date: 2008-09-24 11:58:34 UTC
  • Revision ID: james.westby@ubuntu.com-20080924115834-q2z58a4gaskje4c8
Tags: 1:2.5-0ubuntu3
* Make ardour buildable. This involves some aweful ugly hacks, such as
  prepacking locale and configuration files into uuencoded tarballs, as
  well as copying the binary files from the build tree into the staging dir,
  and all because the install stage of the ardour build fails at random
  places when built on the ubuntu build servers. These hacks should be
  easy to remove in the future if scons decides to behave.
* debian/control: Add sharutils as a build dependency.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
export GTK_PATH=/usr/lib/ardour2:$GTK_PATH
 
4
 
 
5
export LD_LIBRARY_PATH=/usr/lib/ardour2:$LD_LIBRARY_PATH 
 
6
# DYLD_LIBRARY_PATH is for Darwin
 
7
export DYLD_LIBRARY_PATH=$LD_LIBRARY_PATH
 
8
 
 
9
MLOCK_LIMIT=$(ulimit -l)
 
10
if [ "$MLOCK_LIMIT" != "unlimited" ]; then
 
11
        echo "WARNING: Your system has a limit for maximum amount of locked memory!"
 
12
        echo "This might cause Ardour to run out of memory before your system runs out of memory. You can view the memory limit with 'ulimit -l', and it is normally controlled by /etc/security/limits.conf"
 
13
 
 
14
fi
 
15
 
 
16
exec /usr/lib/ardour2/ardour-2.5 "$@"
 
17
 
 
18