cd /dev/shm tar -xzvf /sources/desktop/jpegsrc.v7.tar.gz cd jpeg-7 ./configure --prefix=/usr --enable-static --enable-shared make make install cd .. rm -rf jpeg-7 ldconfig tar -xzvf /sources/desktop/slim-1.3.2.tar.gz cd slim-1.3.2 sed -i -e "s:^MANDIR=.*:MANDIR=/usr/share/man:" -e "s:/usr/X11R6:/usr:" Makefile sed -i -e 's#X11R6/##g' -e 's#/usr/bin:##' -e 's/# daemon/daemon/' slim.conf make $CORES_TO_USE make install cat >> /etc/inittab << "EOF" x:5:respawn:/usr/bin/slim >& /dev/null EOF cd .. rm -rf slim-1.3.2 tar -xzvf /sources/desktop/cairo-1.8.10.tar.gz cd cairo-1.8.10 ./configure --prefix=/usr make $CORES_TO_USE make install cd .. rm -rvf cairo-1.8.10 tar -xjvf /sources/desktop/pcre-8.00.tar.bz2 cd pcre-8.00 ./configure --prefix=/usr --docdir=/usr/share/doc/pcre-8.00 --enable-utf8 --enable-unicode-properties --enable-pcregrep-libz --enable-pcregrep-libbz2 make $CORES_TO_USE make install mv -v /usr/lib/libpcre.so.* /lib/ ln -v -sf ../../lib/libpcre.so.0 /usr/lib/libpcre.so cd .. rm -rvf pcre-8.00 tar -xjvf /sources/desktop/glib-2.22.4.tar.bz2 cd glib-2.22.4 ./configure --prefix=/usr --with-pcre=system make $CORES_TO_USE make $CORES_TO_USE install cat > /etc/profile.d/glib2-locale.sh << "EOF" # Use the current locale charset for filenames # in applications using GLib export G_FILENAME_ENCODING=@locale EOF cd .. rm -rvf glib-2.22.4 tar -xjvf /sources/desktop/pango-1.26.2.tar.bz2 cd pango-1.26.2 ./configure --prefix=/usr --sysconfdir=/etc make $CORES_TO_USE make install cd .. rm -rvf pango-1.26.2 tar -xjvf /sources/desktop/atk-1.28.0.tar.bz2 cd atk-1.28.0 ./configure --prefix=/usr make $CORES_TO_USE make install cd .. rm -rvf atk-1.28.0 tar -xzvf /sources/desktop/tiff-3.9.2.tar.gz cd tiff-3.9.2 ./configure --prefix=/usr make $CORES_TO_USE make install cd .. rm -rvf tiff-3.9.2 tar -xjvf /sources/desktop/gtk+-2.18.7.tar.bz2 cd gtk+-2.18.7 ./configure --prefix=/usr --sysconfdir=/etc make $CORES_TO_USE make install install -v -m755 -d /usr/share/doc/gtk+-2.18.7/{faq,tutorial} cp -v -R docs/faq/html/* /usr/share/doc/gtk+-2.18.7/faq cp -v -R docs/tutorial/html/* /usr/share/doc/gtk+-2.18.7/tutorial install -v -m644 docs/*.txt /usr/share/doc/gtk+-2.18.7 cd .. rm -rvf gtk+-2.18.7 tar -xzvf /sources/desktop/libxml2-2.7.6.tar.gz cd libxml2-2.7.6 ./configure --prefix=/usr make $CORES_TO_USE make install cd .. rm -rvf libxml2-2.7.6 tar -xzvf /sources/desktop/openbox-3.4.11.1.tar.gz cd openbox-3.4.11.1 ./configure --prefix=/usr --sysconfdir=/etc --disable-startup-notification --disable-session-management make $CORES_TO_USE make install cat > /root/.xinitrc << "EOF" # Begin .xinitrc file #xterm -g 80x20+0+0 & #xclock -g 100x100-0+0 & exec openbox-session EOF cd .. rm -rvf openbox-3.4.11.1 mkdir -p /root/.config/openbox cp /etc/xdg/openbox/*.* /root/.config/openbox cat > ~/.config/openbox/menu.xml << "EOF" <?xml version="1.0" encoding="UTF-8"?> <openbox_menu xmlns="http://openbox.org/3.4/menu"> <menu id="apps-editors-menu" label="Editors"> <item label="nano"> <action name="Execute"> <command>xterm -e /usr/bin/nano</command> <startupnotify> <enabled>yes</enabled> </startupnotify> </action> </item> </menu> <menu id="apps-term-menu" label="Terminals"> <item label="Xterm"> <action name="Execute"><command>xterm</command></action> </item> </menu> <menu id="apps-net-menu" label="Internet"> <item label="lynx"> <action name="Execute"> <command>xterm -e /usr/bin/lynx</command> <startupnotify> <enabled>yes</enabled> </startupnotify> </action> </item> </menu> <menu id="apps-multimedia-menu" label="Multimedia"> <item label="alsamixer"> <action name="Execute"> <command>xterm -e /usr/bin/alsamixer</command> <startupnotify> <enabled>yes</enabled> </startupnotify> </action> </item> </menu> <menu id="system-menu" label="System"> <item label="Openbox Configuration Manager"> <action name="Execute"> <command>obconf</command> <startupnotify><enabled>yes</enabled></startupnotify> </action> </item> <separator /> <item label="Reconfigure Openbox"> <action name="Reconfigure" /> </item> </menu> <menu id="root-menu" label="Openbox 3"> <separator label="Applications" /> <menu id="apps-editors-menu"/> <menu id="apps-net-menu"/> <menu id="apps-multimedia-menu"/> <menu id="apps-term-menu"/> <item label="E-UAE Emulator"> <action name="execute"><execute>/usr/bin/uae</execute></action> </item> <separator label="System" /> <menu id="system-menu"/> <separator /> <item label="Log Out"> <action name="Exit"> <prompt>yes</prompt> </action> </item> </menu> </openbox_menu> EOF tar -xzvf /sources/extras/SDL-1.2.13.tar.gz cd SDL-1.2.13 ./configure --prefix=/usr make $CORES_TO_USE make install install -v -m755 -d /usr/share/doc/SDL-1.2.13/html install -v -m644 docs/html/*.html /usr/share/doc/SDL-1.2.13/html ldconfig cd .. rm -rvf SDL-1.2.13
Remember you need to nano [/etc/inittab] to change the default from '3' to '5'.
No comments:
Post a Comment