OLD | NEW |
1 #!/bin/sh | 1 #!/bin/sh |
2 # Script to install everything needed to build chromium (well, ideally, anyway) | 2 # Script to install everything needed to build chromium (well, ideally, anyway) |
3 # See http://code.google.com/p/chromium/wiki/LinuxBuildInstructions | 3 # See http://code.google.com/p/chromium/wiki/LinuxBuildInstructions |
4 # and http://code.google.com/p/chromium/wiki/LinuxBuild64Bit | 4 # and http://code.google.com/p/chromium/wiki/LinuxBuild64Bit |
5 set -ex | 5 set -ex |
6 | 6 |
7 # Root can't access files on all filesystems, but /tmp should always be ok | 7 # Root can't access files on all filesystems, but /tmp should always be ok |
8 # (unless it's full). | 8 # (unless it's full). |
9 DIR=`mktemp -d` | 9 DIR=`mktemp -d` |
10 cd $DIR | 10 cd $DIR |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 download_deb pool/main/s/sqlite3 libsqlite3-0_3.4.2-2_i386.deb | 62 download_deb pool/main/s/sqlite3 libsqlite3-0_3.4.2-2_i386.deb |
63 | 63 |
64 sudo rsync -v -a usr/lib/* /usr/lib32/ | 64 sudo rsync -v -a usr/lib/* /usr/lib32/ |
65 sudo ldconfig | 65 sudo ldconfig |
66 | 66 |
67 # Make missing symlinks as described by | 67 # Make missing symlinks as described by |
68 # https://bugs.launchpad.net/ubuntu/+source/ia32-libs/+bug/277772 | 68 # https://bugs.launchpad.net/ubuntu/+source/ia32-libs/+bug/277772 |
69 # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=492453 | 69 # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=492453 |
70 # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=497087 | 70 # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=497087 |
71 cd /usr/lib32 | 71 cd /usr/lib32 |
72 for lib in gdk-x11-2.0 atk-1.0 gdk_pixbuf-2.0 \ | 72 for lib in gio-2.0 gdk-x11-2.0 atk-1.0 gdk_pixbuf-2.0 \ |
73 pangocairo-1.0 pango-1.0 pangoft2-1.0 \ | 73 pangocairo-1.0 pango-1.0 pangoft2-1.0 \ |
74 gobject-2.0 gmodule-2.0 glib-2.0 gtk-x11-2.0; do | 74 gobject-2.0 gmodule-2.0 glib-2.0 gtk-x11-2.0; do |
75 sudo ln -s -f lib$lib.so.0 lib$lib.so | 75 sudo ln -s -f lib$lib.so.0 lib$lib.so |
76 done | 76 done |
77 for lib in z fontconfig | 77 for lib in z fontconfig |
78 do | 78 do |
79 sudo ln -s -f lib$lib.so.1 lib$lib.so | 79 sudo ln -s -f lib$lib.so.1 lib$lib.so |
80 done | 80 done |
81 for lib in cairo | 81 for lib in cairo |
82 do | 82 do |
(...skipping 20 matching lines...) Expand all Loading... |
103 elif egrep -q "Ubuntu 8.04|Ubuntu 8.10" /etc/issue && test `uname -m` = x86_64 | 103 elif egrep -q "Ubuntu 8.04|Ubuntu 8.10" /etc/issue && test `uname -m` = x86_64 |
104 then | 104 then |
105 install_hardy_64 | 105 install_hardy_64 |
106 else | 106 else |
107 echo "Unsupported system" | 107 echo "Unsupported system" |
108 cleanup | 108 cleanup |
109 exit 1 | 109 exit 1 |
110 fi | 110 fi |
111 cleanup | 111 cleanup |
112 | 112 |
OLD | NEW |