Nux

Comment 46 for bug 1087534

Revision history for this message
Eleni Maria Stea (hikiko) wrote :

In my case bzr branch lp: ~hikiko / unity / unity.low-gfx-integrated-intel (without any spaces after lp) seems to work.
If the problem still exists you can try to edit your ~/.bazaar/bazaar.conf to contain the following lines:

[DEFAULT]
launchpad_username = <your_lp_login_username>
email = Name Surname <youremail>

mine for example is:
[DEFAULT]
launchpad_username = hikiko
email = Eleni Maria S.. <email address hidden>

(I am not sure it's necessary)

------------------------------------
+Quick build Instructions:
------------------------------------
sudo apt-get install bzr
sudo apt-get build-dep unity
sudo apt-get build-dep nux

cd ~
mkdir staging
cd staging

mkdir src
mkdir install

cd src
bzr branch lp:nux
bzr branch lp:~hikiko/unity/unity.low-gfx-integrated-intel unity

export PREFIX=~/staging/install/unity
export PATH=$PREFIX/bin:$PATH
export PKG_CONFIG_PATH="$PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH"
export LD_LIBRARY_PATH="$PREFIX/lib:$PREFIX/lib/libunity:/usr/lib/i386-linux-gnu/libunity:$LD_LIBRARY_PATH"
export LD_RUN_PATH="$PREFIX/lib:$PREFIX/lib/libunity:/usr/lib/i386-linux-gnu/libunity:$LD_RUN_PATH"
export XDG_DATA_DIRS="$PREFIX/share:/usr/share:/usr/local/share:$XDG_DATA_DIRS"
export CFLAGS="-O0 -g"
export CXXFLAGS="-O0 -g"

mkdir -p $PREFIX

cd nux
./autogen.sh --prefix=$PREFIX --enable-debug

(if autogen complains about any package -it shouldn't normally- apt-cache search package name and sudo apt-get install the -dev version)

make && make install

cd $PREFIX

cmake ../../src/unity -DCMAKE_INSTALL_PREFIX=$PREFIX -DCMAKE_BUILD_TYPE=Debug -DCOMPIZ_PLUGIN_INSTALL_TYPE=local -DGSETTINGS_LOCALINSTALL=ON

(if cmake complains about any package -it shouldn't normally- apt-cache search package name and sudo apt-get install the -dev version)

make
make install

To run the unity branch:
./bin/unity --replace ccp

To return to your installed unity version, switch to a tty and:
unity --replace ccp

If something went wrong with the previous command:
sudo restart lightdm

To remove everything:
rm -r ~/staging

PS: Thanks a lot!!! :-)