← Back to team overview

unity-dev team mailing list archive

FW: my first unity hack

 


From: mohsen47@xxxxxxxxxxxxx
To: stephen.webb@xxxxxxxxxxxxx
Subject: RE: [Unity-dev] my first unity hack
Date: Tue, 7 Jul 2015 05:42:13 +0000




If I change the installation prefix to /usr, my compiled unity version will replace my system version, and if I make any mistakes in the source code I will need to re-install unity from the repositories to be able to log in again.

Your hint helped me to identify the problem I was running cmake like this 
cmake .. -DCMAKE_BUILD_TYPE=Debug -DCOMPIZ_PLUGIN_INSTALL_TYPE=local -DCMAKE_INSTALL_PREFIX=$HOME/staging/ -DGSETTINGS_LOCALINSTALL=O
If you notice there is a missing N at the end so I added it and every thing worked perfectly.😊
There is one problem, when I run my compiled version of unity I cannot use Ctrl + Alt + T to open the terminal, should I report this as a bug and where? One more thing could you tell me where can I find the unity entry point, I mean the first line of code executed in the unity package?

> Date: Mon, 6 Jul 2015 13:25:07 -0400
> From: stephen.webb@xxxxxxxxxxxxx
> To: unity-dev@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Unity-dev] my first unity hack
> 
> On 15-07-06 01:11 PM, Mohsen Ibrahim wrote:
> > Hi, I recently managed to download and install unity 7 from source on my Ubuntu 15.04.
> > I followed the instructions here https://unity.ubuntu.com/getinvolved/development/unity/.
> 
> Splendid.
> 
> > Now I want to contribute to unity project, but before that I need to know if my environment is setup correctly, so as a
> > start I tried to modify the string that appears in unity launcher by editing the file launcher/BFBLauncherIcon.cpp,
> > after that I run make && make install and logged in to my system using my user name and password but nothing changed in
> > the launcher!!
> 
> It's possible you did not set the installation prefix properly, resulting in your Unity Compiz plugin not getting
> installed where Compiz will look for it.  Try adding -DCMAKE_INSTALL_PREFIX:PATH=/usr to your CMake invocation before
> running Make.
> 
> -- 
> Stephen M. Webb  <stephen.webb@xxxxxxxxxxxxx>
> 
> -- 
> Mailing list: https://launchpad.net/~unity-dev
> Post to     : unity-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~unity-dev
> More help   : https://help.launchpad.net/ListHelp
 		 	   		   		 	   		  

Follow ups

References