2015年4月2日 星期四

[LXDE] How to build LXDE code

Download Source Code
svn co https://lxde.svn.sourceforge.net/svnroot/lxde/trunk lxde


Compile lxshortcut
cd lxde/lxshortcut

vim autogen.sh # For ignore automake version check
# AM_INSTALLED_VERSION=$($AUTOMAKE --version | sed -e '2,$ d' -e 's/.* \([0-9]*\.[0-9]*\).*/\1/')
#
#if [ "$AM_INSTALLED_VERSION" != "1.10" \
#    -a "$AM_INSTALLED_VERSION" != "1.11" ];then
#       echo
#       echo "You must have automake > 1.10 or 1.11 installed to compile lxshortcut."
#       echo "Install the appropriate package for your distribution,"
#       echo "or get the source tarball at http://ftp.gnu.org/gnu/automake/"
#       exit 1
#fi
#
#set -x

./configure –prefix=/tmp/happy && make && make install


Compile lxsession
cd lxde/lxsession

vim autogen.sh # For ignore automake version check

Add -lXau into lxsession/lxsession-logout/Makefile
GTK_LIBS =-lXau 

./configure –prefix=/tmp/happy –enable-man && make && make install

Reference:

0 意見:

張貼留言