Monday, October 26, 2009

Building GNOME from source code

Reference: http://live.gnome.org/Jhbuild

First download and install Jhbuild as mentioned at:
http://live.gnome.org/Jhbuild

Modify the configuration file like this:

# -*- mode: python -*-

# edit this file to match your settings and copy it to ~/.jhbuildrc

# if you have a GNOME git account, uncomment this line
# repos['git.gnome.org'] = 'ssh://user@git.gnome.org/git/'

modulesets_dir = '/home/tuxnda/work/dev/jhbuild/modulesets/'
# what module set should be used. The default at the moment is 'gnome-2.26',
# but it can be any of the files in the modulesets directory, or even
# the URL of a module set file on a web server.
# moduleset = 'gnome-2.26'
moduleset = 'gnome-2.30'

# A list of the modules to build. Defaults to the Gnome Desktop and
# developer platform.
# modules = [ 'meta-gnome-desktop' ]

# what directory should the source be checked out to?
checkoutroot = os.path.expanduser('~/work/dev/gnome/checkout/gnome2')

# the prefix to configure/install modules to (must have write access)
prefix = os.path.expanduser('~/work/dev/gnome')

# extra arguments to pass to all autogen.sh scripts
# to speed up builds of gnome2, try '--disable-static --disable-gtk-doc'
# it is also possible to set CFLAGS this way, 'CFLAGS="-g -O2"' for example
#autogenargs=''

# On SMP systems you may use something like this to improve compilation time:
# be aware that not all modules compile correctly with make -j2
#makeargs = '-j2'




Build the basic bootstrap system for building gnome:

$ jhbuild bootstrap -c -a --ignore-system


Now build gnome:

$ jhbuild build


Tuesday, September 29, 2009

Adding DeviceKit-disks to ubuntu

Adding DeviceKit-disks to ubuntu is fairly simple once you reach this page:

http://packages.ubuntu.com/karmic/i386/devicekit-disks/download

Now add the following line to your software sources ( /etc/apt/sources.list ):
deb http://cz.archive.ubuntu.com/ubuntu karmic main


Thats it!

Sunday, July 5, 2009

Building the Nemiver Debugger for GNOME on Ubuntu 9.04

Building the Nemiver Debugger for GNOME on Ubuntu 9.04 - the Jaunty Jackalope : http://projects.gnome.org/nemiver/

Install the libraries

$ sudo aptitude install libglademm-2.4-dev libvte-dev libgtop2-dev libsqlite3-dev libgconf2-dev libgtksourceviewmm-2.0-dev gnome-common libboost-dev

Checkout the code
$ cd ~/work/
$ git clone git://git.gnome.org/nemiver nemiver.git

Now build Nemiver

$ cd nemiver.git
$ ./autogen.sh
$ make

Sunday, May 10, 2009

What will be the future of IT in India?

On one hand there is "Recession in the US" and on the other hand there is a potential Domestic IT market in India in the long run.

Till recently in 2006, the IT exports from India were accounted 60% by the US, 20% by the UK and rest by other countries and India's Domestic IT market. "Recession in the US" has changed this scenario. There have been may job cuts, lay-offs and cost cuttings specially by the companies which work for clients from US. Followed by this many new strategies are emerging like "reduce employees, increase the workload" to counter balance the effect of recession.

The US government is all set with various plans and strategies [2] to recover from the effect of recession. But no one knows about the future. We can only speculate the aftermath of the plans yet to be implemented. We can only work hard and hope for the better, after all it affects the Indian economy as well to a very large extent.

Did you see the point here? Well, the point is that even if the US does not complete recover from the recession right not, it "will" recover slowly. It will take its time to improve but will not atleast worsen the situation assuming that the new US Government policies are implemented and practiced successfully.


For the good news, you might/not be surprised to know that there is a lot of scope in Domestic IT market in India.

"Domestic IT spending is expected to increase further in the coming years due to increase in telecom and internet penetration, higher IT budget allocations by the governments, IT spending by BFSI (banking, financial services and insurance) sector, manufacturing and engineering firms, automobiles and retail sector, and greater focus on maintenance and security infrastructure by vendor firms." [1]

This means that there is a large scope for ventures that can be done with IT in mind.


"According to the Broadband Policy 2004 document published by the Ministry of Communication and Information Technology, Government of India, New Delhi, internet connectivity is expected to increase from 6 millions in 2005 to 40 million in 2010. A denser telephone and internet network along with increased PC ownership will provide the opportunities for increasing the rate of training people for the IT industry." [1]

This meas that there will be an increasing user base for the services/products created using the IT infrastructure.

So overall, we ( as IT workers ) need not worry about our futures. And as the universal rule "survival of the fittest" says that we continuously need to brush up our skills to be on the edge, so we just have to keep the spirit alive.

"Although the domestic IT market is just marginally more than half of the export, it has started growing at a rate of 20% per year or so during the recent years." [1]


You might be temped by now to think of a venture into the Indian Domestic IT Industry. Wait! It is feasible to start your venture if you target only the urban areas ( like metro cities ). But there are some potential problems which might have to be resolved first if you target rural areas:

• What exactly are you trying to correct in the rural areas? ( it applies to urban areas as well )
• How well will the rural people able to use the services you build using IT? ( education, familiarity with the technology etc.)
• How easy will it be to make it accessible to them? ( hardware, software, regualtory issues, communication issues, tarrifs etc. )

This is my effort to understand the future prospects for the IT industry in India. Your comments are welcome.


References:
[1] "Information Technology in India: Present Status and Future Prospects for Economic Development" http://www.iitk.ac.in/directions/may2006/PRINT~SANJAY.pdf

[2] "Larry Summers Speech, Brookings Institution, The Obama Program and the Current Economic Crisis" http://www.clipsandcomment.com/2009/03/13/full-text-larry-summers-speech-brookings-institution-the-obama-program-and-the-current-economic-crisis/

Friday, January 30, 2009

Thoughts

"Any man under 30 who is not a liberal has no heart, and any man over 30 who is not a conservative has no brains."
— Winston Churchill

Friday, July 4, 2008

Rambling

The meaning of poetry has no direction.
It is like a sling; it is not under control.
-- Rumi


Har ek zajbat ko dua nahi milti
Har ek arzu ko zuban nahi milti
Muskan sajae rakho to duniya hai sath
kyuki Aansu ko to ankho main bhi Panah nahi milti

-- anonymous

Thursday, July 3, 2008

Collection of thoughts/poems

Few favourite quotes / poems / thoughts , which I have collected recently.


What happens to a dream deferred?
Does it dry up
Like a raisin in the sun?...
Or does it explode?

-- Langston Hughes, Harlem


Hope, like the gleaming taper's light,
Adorns and cheers our way;
And still, as darker grows the night,
Emits a lighter ray.
-- Oliver Goldsmith

A man used to ask his mother, 'How can I find the right woman for me?' and she would answer, 'Don't worry about finding the right woman- concentrate on becoming the right man.
-- anonymous


There is tremendous happiness in making others happy, despite our own situations.
Shared grief is half the sorrow, but happiness when shared, is doubled..
If you want to feel rich, just count all the things you have that money can't buy.
'Today is a gift, that is why it is called - The Present.'
-- anonymoys

A good friend who points out mistakes and imperfections and rebukes evil is to be respected as if he reveals a secret of hidden treasure.

-- anonymous


...You shall not dwell in tombs made by the dead for the living.

And though of magnificence and splendour, your house shall not hold your secret nor shelter your longing.
For that which is boundless in you abides in the mansion of the sky, whose door is the morning mist, and whose windows are the songs and the silences of night.

-- Kahlil Gibran ( on Houses )


You talk when you cease to be at peace with your thoughts;

And when you can no longer dwell in the solitude of your heart you live in your lips, and sound is a diversion and a pastime.

And in much of your talking, thinking is half murdered.

For thought is a bird of space, that in a cage of words may indeed unfold its wings but cannot fly.

-- Kahlil Gibran


It is the highest form of self-respect to admit our errors and mistakes and make amends for them. To make a mistake is only an error in judgment, but to adhere to it when it is discovered shows infirmity of character.
-- anonymous


King, saint, thief, madman -
Love has grabbed everyone by the neck
And drags us to God by secret ways ...
How could I ever have guessed
That God, too, desired us?

-- Rumi ( Odes )


Be drunk on love, because love is all that exists;
Without love, no one has the right to enter His house.
They ask, "What is love?" Reply: "Giving up your self-will."
He who hasn't given up his will isn't chosen.
The lover's an emperor, the two worlds are at his feet:
Does an emperor notice what is thrown in his path?
It is Love and the Lover that live eternally -
Don't lend your heart to anything else; all else is borrowed.
How long will you go on and on embracing a corpse?
Embrace the soul that is embraced by nothing else.

-- Rumi ( Mathnavi )



When God created the pure body of Adam he drew it out of the earth and breathed into it His sacred breath and said to Gabriel, "Take from the sea of My Omnipotence three pearls, place them on a plate of light, and present them to Adam so he can choose one." The three pearls were reason, faith and humility.

Gabriel presented the plate to Adam and told him what God wanted. Adam, illumined by the divine light, chose the pearl of reason, Gabriel wanted to take back the plate with the two pearls it still held to the sea of Omnipotence; but, because of their heaviness, he did not have the strength to lift them. The pearls of faith and humility then said to him, "We cannot separate ourselves from the holy company of our friend Reason; without him, we cannot establish ourselves firmly or even exist. During ancient times we were all three the jewels of the mine of Divine Glory; the pearls of the Sea of Omnipotence are inseparable."

Then the voice of God rang out, "Gabriel, leave the two pearls where they are and return!" So Reason installed itself at the peak of human intellect; faith lodged itself in Adam's pure and sensitive heart; humility reigned on his holy face.

These three pure pearls are the heritage of the children of Adam. Every child descended from Adam who is not adorned by these pearls and does not shine with their brilliance is shut off from the light and deprived of authentic gnosis.

-- Rumi ( AFLAKI )


Time is the wisest counselor.
-- anonymous


Mujhe us se ab bhi mohabbat hai,
magar na jaane kyon,
ab is mohabbat mein, pehle si shiddat nahin rahi.

Mujhe woh ab bhi yaad aati hai,
magar na jaane kyon,
ab uski yaad mein, sitaron se haal-e-dil kehne ki aadat nahin rahi.

Mujhe us ka ab bhi intezaar rehta hai,
magar na jaane kyon,
ab us se milne ki tadap nahin rahi.

Sochta hoon, kitna badal gaya hoon "main"...
lagta hai...
"uski" tarah hi bann gaya hoon "main"!
-- anonymous


Oh Beloved, take me.
Liberate my soul.
Fill me with your love and
release me from the two worlds.
If I set my heart on anything but you
let fire burn me from inside.

Oh Beloved,
take away what I want.
Take away what I do.
Take away what I need.
Take away everything
that takes me from you.

--Rumi


Let go of your worries
and be completely clear-hearted,
like the face of a mirror
that contains no images.
If you want a clear mirror,
behold yourself
and see the shameless truth,
which the mirror reflects.
If metal can be polished
to a mirror-like finish,
what polishing might the mirror
of the heart require?
Between the mirror and the heart
is this single difference:
the heart conceals secrets,
while the mirror does not.

-- Rumi





Lab pe aati hai dua ban ke tamanna meri,
Zindgi shama ki surat ho Khudaya meri.

Door duniya ka mere dam se andhera hojaye,
Har jagah mere chamakne se ujala hojaye.

Ho mere dum se yunhi mere watan ki zeenat,
Jistara phool se hoti hai chaman ki zeenat.

Zindigi ho meri parwaane ki soorat ya rab,
Ilm ki shama se ho mujko mohabat ya rab.

Ho mera kaam ghareebon ki himayat karna,
Dardmandon se, Zaeefon se muhabbat karna.
Mere Allah! Buraee se bachana mujhko,
Naik jo raah ho us rah pe chalana mujhko.