Skip to main content

Freevo 2.0 and Evas

I decided to start working on Freevo 2.0. I compiled and installed evas in a local space with the following commands:

./configure --enable-gl-x11 --prefix=~/workspace/usr/local
make
make install

Now I had to export the lib path using LD_LIBRARY_PATH. I prefer to run everything in a subshell with the proper environment variables set. So I write this small script called setup-subshell (modified it from project pigment's subshell):

#!/bin/bash -i
#
# Set up environment.
#
PROJECT='newvo'

LD_LIBRARY_PATH=/home/chandanp/workspace/usr/local/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
export LD_LIBRARY_PATH

# Common env vars
export PKG_CONFIG_PATH=/home/chandanp/workspace/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
export PYTHONPATH=/home/chandanp/workspace/python/kaa-lib/lib/python2.5/site-packages/:$PYTHONPATH

# If we got a command, run it and exit
if test ! -z "$1";
then
$@
exit $?
fi

# Set up a prompt helping us remember we're in a subshell
tmp=`mktemp -t bashrc.XXXXXXXX`
echo source $HOME/.bashrc >> $tmp
echo PS1=\'[$PROJECT] $PS1\' >> $tmp
SHELL_OPTIONS="--init-file $tmp"

# Start the shell
echo Entering interactive $PROJECT shell $SHELL.
$SHELL $SHELL_OPTIONS

# Remove temporary file
if test ! -z "$tmp"
then
rm $tmp
fi

echo Thank you for using $PROJECT.


Launched the subshell and installed kaa using the following command

python setup.py install --prefix=/home/chandanp/workspace/python/kaa-lib

However I found that beacon is not being installed because it thinks imlib2 is not installed. So I installed imlib2-dev and went one step further. Now the problem is that pysqlite2 is not installed. So I installed pysqlite2 and was able to install kaa.beacon but when I tried to run it, there was another problem. It could not find kaa.db. I have to find out why kaa.db failed to install. May be tomorrow :-)

Comments

Popular posts from this blog

Attesting General Power of Attorney in SF

Recently I had to go through the motions of getting a General Power of Attorney (GPA) document attested in San Francisco. I am an Indian by birth. My parents were trying to buy a house back in India for me. Since I did not want to travel to India they needed a GPA so that they can act on my behalf to sign all the documents required to buy the house. The problem however is that they needed it urgently because the seller lives in UK and wants to get all the things done quickly so he can go back. My parents send me a GPA document that they obtained from a lawyer. This is a document that will give the power to my parents to buy the said property in the document on my behalf. The lawyer said that I will have to get the document attested at an Indian Consulate in USA. The closest one for me is in SF and I can drive there in about an hour from where I live. So I though it will be like a day's work to get all the things done. I looked up at their  website  for the procedure t...

XBMC / Boxee remote control android app

I have been writing a few android apps over weekends at home and during 20% time at Google. However I never actually released any of them in the android market mainly because they were quick and dirty apps that fit my needs but perhaps would not be appealing to the general public. One such app that I quickly wrote over a couple of weekends is a XBMC remote. The media center that I use at home is XBMC and I have always wanted to have more control and faster access to my media. Using my remote to navigate through the menus is not as fast. Especially when I wanted to queue a lot of music it is very slow. So I wrote this nice little app called "XBMC remote" for my android phone to control XBMC from anywhere :). Give it a try. Search for "xbmc" in android market and install it if you use XBMC as your media center. When you first launch the app you will start with this screen. You will have to setup your web server address, username and password (if required) by ...

VirtualBox 1.6 is out

The most usable (for me anyway) VirtualBox release for mac is out. I just downloaded 1.6.0 from VirtualBox.org . I was finally able to load the virtualbox additions. Check out my previous blog to read about the issues I faced. Here is a quick recap of the issues: I could not use my full screen real estate which was 1440x900. The max resolution I could get was 1152x864. Unable to mount my shared folder. Cannot ssh from master OS (mac OS). First I am glad that VBox for mac has finally come out of beta. Just the fact that there is a release lifts the spirits a bit. Coming to my first issue, I am now able to make full use of my screen. It did not work out of the box, but the tweaks I had to do were small enough to not make me grumpy. I installed 1.6.0 on my macbook pro. Started my Gentoo guest OS. Loaded the virtualbox additions iso to the virtual cdrom by doing Devices > Install Guest Additions... Mounted the cdrom from Gentoo by doing mount /mnt/cdrom as root. Executed /mnt/cdrom...