[lang]

Present Perfect

Personal
Projects
Packages
Patches
Presents
Linux

Picture Gallery
Present Perfect

desktopcouch on N900

Filed under: couchdb,Hacking,maemo — Thomas @ 12:05

2010-01-17
12:05

It took quite a bit of blood, sweat, tears, and dirty hacks, but finally:


Nokia-N900-42-11:~# apt-get install desktopcouch
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
couchdb-bin erlang-base erlang-crypto erlang-inets erlang-mnesia
erlang-public-key erlang-runtime-tools erlang-ssl erlang-xmerl libjs
python-desktopcouch python-desktopcouch-records python-keyring
Suggested packages:
couchdb erlang-tools erlang erlang-manpages erlang-doc-html
python-keyring-gnome python-keyring-kwallet
Recommended packages:
erlang-syntax-tools
The following NEW packages will be installed:
couchdb-bin desktopcouch erlang-base erlang-crypto erlang-inets
erlang-mnesia erlang-public-key erlang-runtime-tools erlang-ssl erlang-xmerl
libjs python-desktopcouch python-desktopcouch-records python-keyring
0 upgraded, 14 newly installed, 0 to remove and 9 not upgraded.
Need to get 0B/12,5MB of archives.
After this operation, 27,9MB of additional disk space will be used.
Do you want to continue [Y/n]?
WARNING: The following packages cannot be authenticated!
erlang-base erlang-crypto erlang-mnesia erlang-runtime-tools
erlang-public-key erlang-ssl erlang-inets erlang-xmerl libjs couchdb-bin
python-keyring python-desktopcouch python-desktopcouch-records desktopcouch
Install these packages without verification [y/N]? y
Selecting previously deselected package erlang-base.
(Reading database ... 27651 files and directories currently installed.)
Unpacking erlang-base (from .../erlang-base_1%3a13.b.2.1-dfsg-3maemo2_armel.deb) ...
Selecting previously deselected package erlang-crypto.
Unpacking erlang-crypto (from .../erlang-crypto_1%3a13.b.2.1-dfsg-3maemo2_armel.deb) ...
Selecting previously deselected package erlang-mnesia.
Unpacking erlang-mnesia (from .../erlang-mnesia_1%3a13.b.2.1-dfsg-3maemo2_armel.deb) ...
Selecting previously deselected package erlang-runtime-tools.
Unpacking erlang-runtime-tools (from .../erlang-runtime-tools_1%3a13.b.2.1-dfsg-3maemo2_armel.deb) ...
Selecting previously deselected package erlang-public-key.
Unpacking erlang-public-key (from .../erlang-public-key_1%3a13.b.2.1-dfsg-3maemo2_armel.deb) ...
Selecting previously deselected package erlang-ssl.
Unpacking erlang-ssl (from .../erlang-ssl_1%3a13.b.2.1-dfsg-3maemo2_armel.deb) ...
Selecting previously deselected package erlang-inets.
Unpacking erlang-inets (from .../erlang-inets_1%3a13.b.2.1-dfsg-3maemo2_armel.deb) ...
Selecting previously deselected package erlang-xmerl.
Unpacking erlang-xmerl (from .../erlang-xmerl_1%3a13.b.2.1-dfsg-3maemo2_armel.deb) ...
Selecting previously deselected package libjs.
Unpacking libjs (from .../libjs_1.8.0-rc1-1_armel.deb) ...
Selecting previously deselected package couchdb-bin.
Unpacking couchdb-bin (from .../couchdb-bin_0.10.0-0maemo3_armel.deb) ...
Selecting previously deselected package python-keyring.
Unpacking python-keyring (from .../python-keyring_0.2-3_all.deb) ...
Selecting previously deselected package python-desktopcouch.
Unpacking python-desktopcouch (from .../python-desktopcouch_0.5.1-0maemo1_all.deb) ...
Selecting previously deselected package python-desktopcouch-records.
Unpacking python-desktopcouch-records (from .../python-desktopcouch-records_0.5.1-0maemo1_all.deb) ...
Selecting previously deselected package desktopcouch.
Unpacking desktopcouch (from .../desktopcouch_0.5.1-0maemo1_all.deb) ...
Setting up erlang-base (1:13.b.2.1-dfsg-3maemo2) ...
Searching for services which depend on erlang and should be started...none found.
Setting up erlang-crypto (1:13.b.2.1-dfsg-3maemo2) ...
Setting up erlang-mnesia (1:13.b.2.1-dfsg-3maemo2) ...
Setting up erlang-runtime-tools (1:13.b.2.1-dfsg-3maemo2) ...
Setting up erlang-public-key (1:13.b.2.1-dfsg-3maemo2) ...
Setting up erlang-ssl (1:13.b.2.1-dfsg-3maemo2) ...
Setting up erlang-inets (1:13.b.2.1-dfsg-3maemo2) ...
Setting up erlang-xmerl (1:13.b.2.1-dfsg-3maemo2) ...
Setting up libjs (1.8.0-rc1-1) ...
Setting up couchdb-bin (0.10.0-0maemo3) ...
Setting up python-keyring (0.2-3) ...
Setting up python-desktopcouch (0.5.1-0maemo1) ...
Setting up python-desktopcouch-records (0.5.1-0maemo1) ...
Setting up desktopcouch (0.5.1-0maemo1) ...
Nokia-N900-42-11:~# dbus-send --session --dest=org.desktopcouch.CouchDB \
> --print-reply --type=method_call / \
> org.desktopcouch.CouchDB.getPort
method return sender=:1.516 -> dest=:1.515 reply_serial=2
int32 53864
Nokia-N900-42-11:~#

Among other things, I had to:

  • port desktopcouch to use python-keyring as suggested by the desktopcouch hackers, although I'm not sure what they now want to do with it since there's no way to make it compatible with their current way of storing in gnome-keyring
  • Build the arm parts of erlang and couchdb on my phone in a chroot, since qemu-arm-sb actually hangs when executing erlc. Had to build it in an actual maemo chroot as well; the easy-deb chroot was not a solution since it comes with newer C and ssl libraries.
  • figure out how to package spidermonkey, instead of depending on xulrunner the way the debian couchdb does
  • package lots of missing packages; for example, while maemo has avahi, it didn't have the python bindings built.

For the adventurous, I think you should be able to download tao.install on your phone, then go to console and run the same apt-get install command as I did. Please let me know if it worked for you !

Now, need to figure out (or get told by the desktopcouch hackers) how I can set up pairing with UbuntuOne for my data without needing to port the whole gnome applet...

N900, GooSync and SyncEvolution

Filed under: maemo — Thomas @ 23:20

2010-01-14
23:20

Zaheer pointed me to a temporary solution for my calendar sync problem while he (hopefully) keeps working on his more final solution which would allow full multiple-calendar synchronization.

I have a previous GooSync account that I used happily with my E51. GooSync supports SyncML, so it can be used with SyncEvolution on the device, which was recently ported.

I've put full instructions on my wiki if you're in the same boat as me. Let me know if it works for you! And thanks again Zaheer for pointing the way.

restore to current workspace ?

Filed under: GNOME — Thomas @ 11:25

2009-12-24
11:25

After being confused for the umpteenth time that, when I clicked on some minimized application that wasn't on my current workspace, it would just start blinking in bold, without actually showing the window I expected to see, I twiddled the task applet settings a little.

'Restore to original workspace' seems to work fine. Any GNOMErs actually using 'Restore to current workspace' correctly ? I don't remember when this started happening, I seem to recall it happening on F9 just as well. I'm currently on F11 with 2.26

Let's see if Bugzilla turns anything up...

Save MySQL ?

Filed under: General — Thomas @ 11:49

2009-12-13
11:49

I was surprised to read Monty Widenius's plea to help save MySQL.

On the one hand clearly I sympathize and want to keep MySQL free. I am not entirely sure how that's not already possible given that there's always the option of forking, but I'll leave that aside.

However, I don't really get what Oracle is doing wrong here. In my opinion, Monty should have made sure when MySQL was sold to Sun to get all the things he's now asking Oracle to commit to in writing. Sure, Sun didn't have a competing product. But Sun is a company, and to not even consider that the company you're selling to can be taken over by any other company, or can sell off your product to some other company, seems pretty dumb to me. Who were the other rumoured potential buyers of Sun ? IBM was one of them, no ? They have a database, no ? That database gets hurt by MySQL in the market as well, no ?

So, since I'm just an armchair commentator, I don't really know what to do here. What do you guys think ? Surely I'm missing something obvious about what Oracle is doing.

It finally happened

Filed under: Music — Thomas @ 10:07

2009-12-09
10:07

The best French music site teamed up with the best French band to produce a lovely child I didn't even know I wanted!

Amazing how good 1901 sounds stripped down on acoustics. The big surprise here for me was 'One Time Too Many' - it's a great song, but on this recording just simply the intro they were playing here gripped me immediately. And then, as they get off the bus, but keep playing and singing, and you actually stop hearing the keyboard (because it's the last in line to get off the bus), then hear it come back again at the right moment... Simply awesome.

Three more months to seeing them in March!

« Previous PageNext Page »
picture