Anjuta – Building and making a Patch.

I have heard about Anjuta before but it was recently that I started using Anjuta. When I searched for its features, I was amazed to know that Anjuta is an advanced software development studio with advanced programming facilities. Its features includes project management, application wizard, interactive debugger, source editor, version control, GUI designer, profiler and many more tools.

I would like to mention the procedures that I went through for installing and making my first patch in Anjuta.

1. Install git.

$sudo apt-get install git

2. Download the source code of Anjuta from Git repository.

$git clone git://git.gnome.org/anjuta

3.Go to the directory of Anjuta that get copied into your home folder.

$cd anjuta

4.Run autogen

$ ./autogen.sh

Note: Make sure that your Ubuntu system is upgraded to 11.04 or more. Otherwise you will find difficulties in    installing all the required dependencies.

5. Compile the generated files.

$make -j2

6. Install Anjuta in your system

$make install

I worked on the bug https://bugzilla.gnome.org/show_bug.cgi?id=661345.

I made a patch on the code by the following steps.

1. Commit the change that you want to make.

$git commit -a -m “A commit message goes here explaining what your changes are. If your changes fix a bug, include the bug #.”

2.Create the patch

$git format-patch HEAD^

This will create a .patch file in your current directory (the filename will start with 0001-)

Advertisements