Sarah Nagaty's Blog

Due to an error on visual studio, I couldn’t work on my openCV assignment so I looked for an alternative that would be easy to start working with. NetBeans seemed like a very good idea as I’m really familiar working on it but never on ubuntu. At first I downloaded NetBeans IDE 6.7.1 and installed it by typing:

sudo sh netbeans-6.7.1-ml-linux.s

Afterwards all the openCV libraries should be installed via the Synaptic Package Manager together with python-opencv .

Netbeans must be linked to openCV libraries (after the installation of openCV) so the following libraries should be added at the project properties-> Build-> Linker-> Libraries-> Add Library:

a. libcv.a
b. libcvaux.a
c. libcxcore.a
d. libhighgui.a

These libraries are found at: /usr/lib

Afterwards, The Build->C++ Compiler-> Include Directories should contain:
/usr/include/opencv

Hope this post helps :))

After my recovery from my colon problems, I resumed working on thunderbird building on ubuntu. I just realized that this might be the cause of my nervous colon!!! Anyways, I started the building process once again. Here are the building steps:

1. Installing cvs:

sudo apt-get install cvs

-Here I had an error that said: E: couldn’t find package cvs

so some additional commands had to be added in order to define cvs which are:

a. cat /etc/apt/sources.list

and the output was as follows:

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to

# newer versions of the distribution.

deb cdrom:[Ubuntu 7.04 _Feisty Fawn_ – Release amd64 (20070415)]/ feisty main restricted

deb http://us.archive.ubuntu.com/ubuntu/ feisty main restricted multiverse

deb-src http://us.archive.ubuntu.com/ubuntu/ feisty main restricted

## Major bug fix updates produced after the final release of the

## distribution.

deb http://us.archive.ubuntu.com/ubuntu/ feisty-updates main restricted multiverse

deb-src http://us.archive.ubuntu.com/ubuntu/ feisty-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu

## team, and may not be under a free licence. Please satisfy yourself as to

## your rights to use the software. Also, please note that software in

## universe WILL NOT receive any review or updates from the Ubuntu security

## team.

deb http://us.archive.ubuntu.com/ubuntu/ feisty universe

deb-src http://us.archive.ubuntu.com/ubuntu/ feisty universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu

## team, and may not be under a free licence. Please satisfy yourself as to

## your rights to use the software. Also, please note that software in

## multiverse WILL NOT receive any review or updates from the Ubuntu

## security team.

## Uncomment the following two lines to add software from the ‘backports’

## repository.

## N.B. software from this repository may not have been tested as

## extensively as that contained in the main release, although it includes

## newer versions of some applications which may provide useful features.

## Also, please note that software in backports WILL NOT receive any review

## or updates from the Ubuntu security team.

# deb http://us.archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse

# deb-src http://us.archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu feisty-security main restricted multiverse

deb-src http://security.ubuntu.com/ubuntu feisty-security main restricted

deb http://security.ubuntu.com/ubuntu feisty-security universe

deb-src http://security.ubuntu.com/ubuntu feisty-security universe

b. sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup

c. sudo gedit /etc/apt/sources.list

d. Delete the shown # and the space after it in the bold lines.

Save and then add:

e. sudo apt-get update

2. Installing build tools:

sudo apt-get build-dep thunderbird

sudo apt-get install mercurial libasound2-dev libcurl4-openssl-dev libnotify-dev

3. To get autoconf version 2.13:

wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.13.tar.gz

tar -xvzf autoconf-2.13.tar.gz

cd autoconf-2.13/

./configure –program-suffix=2.13

make

sudo make install

4. Get the source:

hg clone http://hg.mozilla.org/comm-central/

cd comm-central

python client.py checkout

5. To get missing packages such as mesa or header files such as iwlib.h:

sudo apt-get install mesa-common-dev libiw-dev

6. Create an empty file in comm-central directory and rename it to “.mozconfig”

7. Add the following lines in the “.mozconfig” file:

mk_add_options MOZ_PBJDIR=@TOPSRCDIR@/objdir-tb-debug

ac_add_options –enable-application=mail

ac_add_options –enable-debug

ac_add_options –disable-optimize

8. Start the build:

make -f client.mk

Thanks to Eng. Mostafa ElKhouly who helped me through his useful blog.  Wohooooooooooooooo :))) finally, thunderbird is  built successfully =). I really hope that this blog is useful to others.

Last week I was introduced to processing.js which is an open source programming language IDE built for the electronic arts and visual design communities with the purpose of teaching the basics of computer programming in a visual context, and to serve as the foundation for electronic sketchbooks. From the first glance, I thought that processing.js is soo powerful and I really enjoyed watching amazing demos. At first I liked playing around and watching all the demos and it was reaaaaaaaal fun but I then realized that i’m not actually working this way as I have things to be done. The most one i liked was this which i found so colorful.

My team and I chose to work on the visualization of the members in our g-osc community . At first we worked on retrieving the desired data which in our case was the names of all the users. After exploring the media wiki api, we succeeded in getting the xml data file containing all the users. Afterwards, We started working on processing.js. It is similar to the java methods and since we have a good experience with java, It was an easy task when it came to processing. We created a bubble for every member containing his username.

Finally, we’re done with it. And just after finishing it…Guess what??!!?? I have to think of the next thing to be done…THE MINI PROJECT! I’ll have to choose one of the ” thunderbird’s ” proposed list and work on it for the next 3 weeks. WISH ME LUCK!

good luck every1 🙂

Installing Bespin locally was one of this week’s tasks in the open source development course..
I started installing it but then i faced some problems which made me leave it till i finish the other task which is the processing.js visualization.

My visualization proposal is visualizating the gosc media wiki users by creating a colored ball having the name of each user. We’re still trying to add animation but actually things are not yet finalized.

Hopefully, I’ll finish the visualization then start installing Bespin and sure i’ll be blogging on that sooon!

hello :),
hope every1 is doing well. Today I resumed working on my own ubiquity command “g-osc-last-updated-page” which I proposed to work on. This command takes no arguments and returns the name of the latest file being updated on g-osc media wiki. At first, everything looked soo vague and I felt lost. I started making use of blogs and mozilla support community which helped me alot. Finally, I’m done with the command! =)

Things are getting more exciting in the “Open Source Development” course which I regard as a true “GRADUATE” course. Although I sometimes feel lost, but I’m not a quitter and I think it’s never too late to get on the right track. Hopefully,….mmm

Heyy every1,

This is the first time for me blogging which i think is interesting.  My name is Sarah Nagaty.

I’m a computer engineering graduate from the german university in cairo (GUC). Actually, I never had a personal blog until it became a must-to-have for a university course (Open Source Development: SE).

I’m a member in the g-osc (GUC open source community) founded by Dr.Fatma Meawad. I really hope to learn from this course as it seems very  interesting and to be an effective member in the community.

Wait for more posts sooon! :))


  • None
  • ramsey nagaty: Hi Best of luck with your studies
  • snagaty: Anytime! uw :)
  • Auto Insurance Guy: Ah!!! at last I found what I was looking for. Somtimes it takes so much effort to find even tiny useful piece of information. Nice post. Thanks

Categories