Google Maps Bergen

Next week we will organise a Kaleidoscope NoE meeting and as I know that some of the participants are researchers studying GPS (among others), I made this google map with GPS coordinates included :-)

I suppose we will start to use google maps in the future to inform visitors. I even told the UIB Media Department (’Formidlingsavdelingen’) about this so let’s hope for some kool google maps hacks from UiB in the future.

BBC Spike Lee interview

Wise words from film director Spike Lee in this BBC Hardtalk interview (23 min real media stream).

Installing gnome-bluetooth in Debian Stable

I’ve seen several reports from people missing gnome-bluetooth in Debian Stable (Sarge). This is how I installed it on my box.

Download the packages.

e@debian:~$ wget http://ftp.gnome.org/pub/gnome/sources/libbtctl/0.6/libbtctl-0.6.0.tar.gz

(
Alternatively if you want to try cvs
e@debian:~$ cvs -d:pserver:anonymous@anoncvs.gnome.org:/cvs/gnome login
e@debian:~$ cvs -z3 -d:pserver:anonymous@anoncvs.gnome.org:/cvs/gnome co libbtctl

)

Install some dev dependencies

e@debian:~$ apt-get install libopenobex-1.0-0-dev
e@debian:~$ apt-get install libbluetooth1-dev

Unpack

e@debian:~$ tar -xzvf libbtctl-0.6.0.tar.gz

Go into the unpacked lib and build it with configure, make, and make install

e@debian:~$ cd libbtctl-0.6.0
e@debian:~$ ./configure
e@debian:~$make
e@debian:~$ make install

Get gnome-bluetooth

e@debian:~$ wget http://ftp.gnome.org/pub/gnome/sources/gnome-bluetooth/0.7/gnome-bluetooth-0.7.0.tar.gz tar -xzvf gnome-bluetooth-0.7.0.tar.gz

(
Alternatively if you want to try cvs
e@debian:~$ cvs -d:pserver:anonymous@anoncvs.gnome.org:/cvs/gnome login
e@debian:~$ cvs -z3 -d:pserver:anonymous@anoncvs.gnome.org:/cvs/gnome co gnome-bluetooth

)

Install some dependencies

e@debian:~$ apt-get install gob2
e@debian:~$ apt-get install python-gtk2-dev
e@debian:~$ apt-get install librsvg2-dev

Build it

e@debian:~$ cd gnome-bluetooth-0.7.0
e@debian:~$ ./configure
e@debian:~$ make
e@debian:~$ make install

Now I can exchange files between my box and my phone using gnome-obex-send and gnome-obex-server.

Example sending
: e@debian:~$ gnome-obex-send filename.py 00:13:72:A3:28:B1

Example receiving
: e@debian:~$ gnome-obex-server
(gnome-obex-server:14734): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.
conn_request: bdaddr 00:13:72:A3:28:B1
conn_complete: status 0x00
** Message: Incoming connection from 00:13:72:A3:28:B1
** Message: Device 00:13:72:A3:28:B1 is about to send an object.
** Message: File arrived from 00:13:72:A3:28:B11
** Message: Filename ‘24032006(004).jpg’ Length 200990
** Message: Saving to ‘/root/24032006(004).jpg’
** Message: Incoming connection from 00:13:72:A3:28:B1

One problem(bug ?). I can’t get gnome-bluetooth-manager to work.

UPDATE: A fix for this bug can be found in the bugtracker item: 149710. BN writes: “Remove the python.m4 file, it is shipped with automake, so people can’t blame us for automake’s bugs”

gnome-bluetooth-manager
/usr/bin/python: can’t open file ‘/usr/lib/python2.3/site-packages/gnomebt/manager.py’
e@debian:~$

This is due to another weird thing. The site-packes are installed into /usr/usr

e@debian:~$ ll /usr/usr/local/lib/python2.3/site-packages/gnomebt/
total 1080
-rwxr-xr-x 1 root root 2495 2006-04-01 18:21 chooser.la
-rwxr-xr-x 1 root root 327424 2006-04-01 18:21 chooser.so
-rwxr-xr-x 1 root root 2513 2006-04-01 18:21 controller.la
-rwxr-xr-x 1 root root 150108 2006-04-01 18:21 controller.so
-rw-r–r– 1 root root 63 2006-04-01 18:21 defs.py
-rw-r–r– 1 root root 2551 2006-04-01 18:21 hig_alert.py
-rwxr-xr-x 1 root root 2471 2006-04-01 18:21 iconlist.la
-rwxr-xr-x 1 root root 572740 2006-04-01 18:21 iconlist.so
-rw-r–r– 1 root root 53 2006-04-01 18:21 init.py
-rw-r–r– 1 root root 201 2006-04-01 18:14 init.pyc
-rw-r–r– 1 root root 9160 2006-04-01 18:21 manager.py
e@debian:~$

I will update this post if I find out how to fix this bug.

Update

This issue is reported in http://bugzilla.gnome.org/show_bug.cgi?id=149710. The bug is due to a automake bug.

2006-04-26  Bastien Nocera  

        * autogen.sh:
        * python.m4: Remove the python.m4 file, it is shipped with automake,
        so people can’t blame us for automake’s bugs (Closes: #149710)

I can now launch gnome-bluetooth-manager after performing these steps:

e@debian:~$ cp -r /usr/usr/local/lib/python2.3/site-packages/gnomebt /usr/lib/python2.3/site-packages/

e@debian:~$ cp /usr/local/share/pixmaps/blueradio-48.png /usr/local/share/gnome-bluetooth/pixmaps/

Change line 142 in /usr/lib/python2.3/site-packages/gnomebt/manager.py to
self.statusbar = gnome.ui.AppBar (True, True, gnome.ui.PREFERENCES_NEVER)