GSoC/GCI Archive
Google Code-in 2014 FOSSASIA

Fix libavg coding convention violations

completed by: AW

mentors: Mario Behling, Ulrich von Zadow

Your task is to fix some coding convention violations in the media development framework libavg.

About libavg

libavg allows programmers, media artists and designers to quickly develop media applications. It uses python as scripting language and is written in high-speed C++. libavg is a framework for creating applications that use a lot of media, e.g. company showroom installations or museums. libavg is also great for multitouch development. It supports Win7 Touch, Linux Drivers, TUIO and even the Apple Multitouch Trackpad - in short, all major driver models.

How To

To work on your task, you first need to fork libavg on github. Then install and test libavg on your computer by cloning the forked project to your local computer and following the installation instructions appropriate for your operating system:

  * Ubuntu: https://www.libavg.de/site/projects/libavg/wiki/UbuntuSourceInstall
  * Windows: https://www.libavg.de/site/projects/libavg/wiki/WinSourceInstall
  * Mac OS X:  https://www.libavg.de/site/projects/libavg/wiki/MacSourceInstall
 
The instructions say to clone the libavg master repository - replace this with your fork.

Once this is done, you are ready to fix some coding convention violations. The coding conventions are described here: https://www.libavg.de/site/projects/libavg/wiki/CodingConventions. You need to go through the libavg source code (in your clone under the src/ directory) and find places where they are not followed. Find a C++ or Python file to fix and make the necessary changes.

To check that you didn't make any mistakes, you need to recompile libavg and run the tests again. If that works, commit your work with an appropriate comment and push your changes to github. Finally, submit a pull request to libavg.

 

[IMAGE http://blog.fossasia.org/sites/default/files/libavg_0.png]

Links

Website https://www.libavg.de