echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" echo "Please insure you have installed development packages for" echo "x11, xext, jpeg, libpng, zlib and freetype2" echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" sleep 2 echo "Decompressing..." INSTALLDIR="/usr" DIRECTFBDIR="." FUSION="linux-fusion-8.1.2" cd Source tar xf $FUSION.tar.gz cd $FUSION patch -p1 < ../linux-fusion_8.1.2.patch make make install cd .. mv $FUSION ../Kernel/linux-fusion cd .. CONFIG=x11 make CONFIG=x11 make idirectfbfont_ft2.so #CONFIG=x11 make idirectfbfont_lino.so CONFIG=x11 make idirectfbfont_dgiff.so CONFIG=x11 make idirectfbimageprovider_png.so CONFIG=x11 make idirectfbimageprovider_jpeg.so CONFIG=x11 make idirectfbvideoprovider_gif.so mkdir -p $INSTALLDIR/include/direct mkdir -p $INSTALLDIR/include/fusion mkdir -p $INSTALLDIR/include/voodoo mkdir -p $INSTALLDIR/include/fusion/shm mkdir -p $INSTALLDIR/include/gfx mkdir -p $INSTALLDIR/include/gfx/generic mkdir -p $INSTALLDIR/include/core mkdir -p $INSTALLDIR/include/misc mkdir -p $INSTALLDIR/include/linux mkdir /lib/directfb mkdir /lib/directfb/inputdrivers mkdir /lib/directfb/interfaces mkdir /lib/directfb/interfaces/IDirectFB mkdir /lib/directfb/interfaces/IDirectFBDataBuffer mkdir /lib/directfb/interfaces/IDirectFBDisplayLayer mkdir /lib/directfb/interfaces/IDirectFBEventBuffer mkdir /lib/directfb/interfaces/IDirectFBFont mkdir /lib/directfb/interfaces/IDirectFBImageProvider mkdir /lib/directfb/interfaces/IDirectFBInputDevice mkdir /lib/directfb/interfaces/IDirectFBPalette mkdir /lib/directfb/interfaces/IDirectFBScreen mkdir /lib/directfb/interfaces/IDirectFBSurface mkdir /lib/directfb/interfaces/IDirectFBVideoProvider mkdir /lib/directfb/interfaces/IDirectFBWindow mkdir /lib/directfb/interfaces/IDiVine mkdir /lib/directfb/system mkdir /lib/directfb/wm cp -f $DIRECTFBDIR/Source/DirectFB/include/*.h $INSTALLDIR/include cp -f $DIRECTFBDIR/Source/DirectFB/lib/direct/*.h $INSTALLDIR/include/direct cp -f $DIRECTFBDIR/Source/DirectFB/lib/voodoo/*.h $INSTALLDIR/include/voodoo cp -f $DIRECTFBDIR/Source/DirectFB/lib/fusion/*.h $INSTALLDIR/include/fusion cp -f $DIRECTFBDIR/Source/DirectFB/lib/fusion/shm/*.h $INSTALLDIR/include/fusion/shm cp -f $DIRECTFBDIR/Source/DirectFB/src/gfx/*.h $INSTALLDIR/include/gfx cp -f $DIRECTFBDIR/Source/DirectFB/src/gfx/generic/*.h $INSTALLDIR/include/gfx/generic cp -f $DIRECTFBDIR/Source/DirectFB/src/core/*.h $INSTALLDIR/include/core cp -f $DIRECTFBDIR/Source/DirectFB/src/misc/*.h $INSTALLDIR/include/misc cp -f $DIRECTFBDIR/Source/FusionDale/include/*.h $INSTALLDIR/include cp -f $DIRECTFBDIR/Source/SaWMan/include/*.h $INSTALLDIR/include cp -f $DIRECTFBDIR/Source/DiVine/include/*.h $INSTALLDIR/include cp -f $DIRECTFBDIR/Source/DirectFB/tools/dfbproxy $INSTALLDIR/bin cp -f $DIRECTFBDIR/Source/DirectFB/tools/dfbdump $INSTALLDIR/bin cp -f $DIRECTFBDIR/Source/DirectFB/tools/dfbinfo $INSTALLDIR/bin cp -f $DIRECTFBDIR/Source/DirectFB/tools/dfbinput $INSTALLDIR/bin cp -f $DIRECTFBDIR/Source/SaWMan/tools/swmdump $INSTALLDIR/bin cp -f $DIRECTFBDIR/libdirectfb.so $INSTALLDIR/lib cp -f $DIRECTFBDIR/idirectfbfont_ft2.so /lib/directfb/interfaces/IDirectFBFont #cp -f $DIRECTFBDIR/idirectfbfont_lino.so /lib/directfb/interfaces/IDirectFBFont cp -f $DIRECTFBDIR/idirectfbfont_dgiff.so /lib/directfb/interfaces/IDirectFBFont cp -f $DIRECTFBDIR/idirectfbimageprovider_png.so /lib/directfb/interfaces/IDirectFBImageProvider cp -f $DIRECTFBDIR/idirectfbimageprovider_jpeg.so /lib/directfb/interfaces/IDirectFBImageProvider cp -f $DIRECTFBDIR/idirectfbvideoprovider_gif.so /lib/directfb/interfaces/IDirectFBVideoProvider ln -s $INSTALLDIR/lib/libdirectfb.so $INSTALLDIR/lib/libdirectfb-1.4.so.0 ln -s $INSTALLDIR/lib/libdirectfb.so $INSTALLDIR/lib/libdirectfb-1.4.so.0.0.0 ln -s $INSTALLDIR/lib/libdirectfb.so $INSTALLDIR/lib/libdirect.so ln -s $INSTALLDIR/lib/libdirectfb.so $INSTALLDIR/lib/libdirect-1.4.so.0 ln -s $INSTALLDIR/lib/libdirectfb.so $INSTALLDIR/lib/libdirect-1.4.so.0.0.0 ln -s $INSTALLDIR/lib/libdirectfb.so $INSTALLDIR/lib/libfusion.so ln -s $INSTALLDIR/lib/libdirectfb.so $INSTALLDIR/lib/libfusion-1.4.so.0 ln -s $INSTALLDIR/lib/libdirectfb.so $INSTALLDIR/lib/libfusion-1.4.so.0.0.0 ln -s $INSTALLDIR/lib/libdirectfb.so $INSTALLDIR/lib/libdivine.so ln -s $INSTALLDIR/lib/libdirectfb.so $INSTALLDIR/lib/libdivine-0.4.so.0 ln -s $INSTALLDIR/lib/libdirectfb.so $INSTALLDIR/lib/libdivine-0.4.so.0.0.0 ln -s $INSTALLDIR/lib/libdirectfb.so $INSTALLDIR/lib/libfusiondale.so ln -s $INSTALLDIR/lib/libdirectfb.so $INSTALLDIR/lib/libfusiondale-0.8.so.1 ln -s $INSTALLDIR/lib/libdirectfb.so $INSTALLDIR/lib/libfusiondale-0.8.so.1.0.0 ln -s $INSTALLDIR/lib/libdirectfb.so $INSTALLDIR/lib/libsawman.so ln -s $INSTALLDIR/lib/libdirectfb.so $INSTALLDIR/lib/libsawman-1.4.so.0 ln -s $INSTALLDIR/lib/libdirectfb.so $INSTALLDIR/lib/libsawman-1.4.so.0.0.0 ln -s $INSTALLDIR/lib/libdirectfb.so $INSTALLDIR/lib/libvoodoo.so ln -s $INSTALLDIR/lib/libdirectfb.so $INSTALLDIR/lib/libvoodoo-1.4.so.0 ln -s $INSTALLDIR/lib/libdirectfb.so $INSTALLDIR/lib/libvoodoo-1.4.so.0.0.0 cp -f pkgconfig/* $INSTALLDIR/lib/pkgconfig cp -f .directfbrc* $HOME cp -f .fusiondalerc* $HOME