352badfadf
* Remove old login background [unused] * Remove glock (graphical lock) [outdated] * Have toolchain/activate set pkg-config variables XXX: You will have unset PKG_CONFIG_LIBDIR to configure native software if you have activated the toolchain! Otherwise, your pkgconfig information will be incorrect. * Fixed a bug in the compositor where we would give window stack order 0 to applications that didn't ask for it because depths were assigned by wid which starts at 0. Make it start at 1 instead, no chance of an app getting the wrong stack order (this shoudn't have any effect on how things work with a login app, since it grabs wid 0; but if you boot directly into a non-login environment, minor timing issues can do odd things.)
26 lines
806 B
Bash
Executable File
26 lines
806 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ -f /etc/lsb-release ]; then
|
|
sudo apt-get install clang yasm genext2fs build-essential wget libmpfr-dev libmpc-dev libgmp-dev qemu autoconf automake texinfo
|
|
elif [ -f /etc/fedora-release ]; then
|
|
sudo yum groupinstall 'Development Tools'
|
|
sudo yum groupinstall 'Development Libraries'
|
|
sudo yum install clang yasm mpfr-devel libmpc-devel gmp-devel
|
|
echo "Warning: Fedora is unsupported in this script. Be careful!"
|
|
echo "For best results, follow the steps in the script manually."
|
|
fi
|
|
# Build the toolchain:
|
|
unset PKG_CONFIG_LIBDIR
|
|
pushd toolchain
|
|
./prepare.sh
|
|
./install.sh
|
|
. activate.sh
|
|
popd
|
|
# Build the userspace tools:
|
|
pushd userspace
|
|
make
|
|
popd
|
|
# Build the kernel
|
|
make system # to build the kernel
|
|
# XXX: Attempt to boot the kernel with qemu automatically...
|