Writings Photos Code Contact Resume Me
planet maemo

him-arabic has been uploaded to maemo extras

Submitted by msameer on Thu, 02/10/2008 - 3:20pm

Yup, thanks to Matan Ziv-Av who did a few improvements and fixes and uploaded him-arabic to maemo extras.

The good part is the addition of the Hebrew keymap (And a few other things).

Dear Hebrew maemo users...

Submitted by msameer on Mon, 28/01/2008 - 4:45pm

I'm getting a lot of questions on how to enable Hebrew under maemo. I know that the fonts have been packaged already and I guess there's also an input method. It's as easy as writing an XML file for my not so broken Hildon Arabic input method.

I just don't understand why can't they be made available publicly or made known ?

I can neither host nor support them, nothing personal. It's just that I don't know Hebrew and I can't support a language I don't know!

Please, oh pretty please with sugar on top, can someone give me a URL or at least share the information so I can at least copy and paste it as a reply to the emails I'm getting ?

P.S this link is not what I mean.

More packages for Chinook.

Submitted by msameer on Sun, 16/12/2007 - 4:47am

I was trying to package hunspell-ar for Chinook so I ended up packaging:
* hunspell (libhunspell and its development headers)
* enchant (hunspell and ispell providers but I'll disable ispell soon)
* hunspell-ar
* dictionaries-common and dictionaries-common-dev (hunspell-ar depends on them)

As for dictionaries-common and dictionaries-common-dev, they are different than the Debian ones. Yes I'm using the same source but I'm only providing the bits related to myspell. I didn't include the policy too.

uri = ftp://foolab.org/pub/apt
dist = chinook
components = spell

him-arabic is also available as well as a few Arabic fonts:

uri = ftp://foolab.org/pub/apt
dist = chinook
components = arabic

hildon input method and new languages...

Submitted by msameer on Fri, 14/12/2007 - 7:25pm

I noticed this because of my work on him-arabic.

If your plugin provides a language other than the 16 "known" languages, It will be displayed as " ()".

Ideally, The fix should be somewhere else but not all of the components are open so even if I can fix it, I won't be able to publish patches or packages.

It seems that the source provided with the SDK is a bit outdated so I had to grab the latest trunk: https://stage.maemo.org/svn/maemo/projects/haf/trunk/hildon-input-method/

And here's a patch. It'll return the language code if it fails to get the language description. (I know it's a bit hackish :|):

diff -Naur him.orig/src/hildon-im-languages.c him/src/hildon-im-languages.c
--- him.orig/src/hildon-im-languages.c  2007-12-14 19:09:29.000000000 +0200
+++ him/src/hildon-im-languages.c       2007-12-14 19:12:31.000000000 +0200
@@ -82,7 +82,18 @@
   if (translate_function)
-    return (*translate_function) (lang);
+    gchar *res = (*translate_function) (lang);
+    if (!res) {
+      return res;
+    }
+    else if (!strcmp(res, " ()")) {
+      g_free(res);
+      res = g_strdup(lang);
+      return res;
+    }
+    else {
+      return res;
+    }
   } else

Apply, build the packages and install hildon-input-method_1.99.33-2_armel.deb and libhildon-im-ui3_1.99.33-2_armel.deb

I hope it will be fixed otherwise I'll be providing packages soon. I know I promised to provide a lot of things (-:

Have a nice weekend.

Arabic Hildon Input Method

Submitted by msameer on Tue, 11/12/2007 - 1:53pm

HIM Arabic plugin is on its way.

The code is available from my svn repository

svn co http://home.foolab.org/svn/projects/him-arabic/trunk/ him-arabic

* The code is UGLY. A lot of the functionality is still missing.
* No packages yet. I'll create them but my cold doesn't help much :-)
* The above screenshot is for scratchbox not for the actual device. I didn't try yet to run it on the device.
* You will also need an Arabic font. I packaged one here: ftp://foolab.org/pub/apt/pool/arabic/t/ttf-kacst/ttf-arabic-kacstbook_1.6.2+mry-1.0.1_all.deb

I know there's one provided by the browser team. It was me who did the packaging for it but I'll be providing multiple fonts soon so ttf-arabic is now a virtual package.

My Arabic related TODO list for maemo

Submitted by msameer on Tue, 04/12/2007 - 7:45pm

This is my Arabic related TODO list for maemo. It's my personal one not the Nokia employee one :-)

* katoob should be fully functional (I'm learning here). Actually I did more work today and I guess it's fine.
* Package and publish some Arabic fonts (I know there's one provided by the browser team).
* See what can be done regarding input (Low priority. Sorry to say that I don't like the HIM plugin interface).
* Check arabeyes.org apps. Is there anything useful and needs "porting" ?
* glibc/x11 Arabic locale ?
* Any suggestions ?

I'll not translate the UI for 3 reasons:
* I'm not of a translator.
* The license you agree to while downloading the OS image prevents me from doing that.
* Because we are using logical IDs in the code, we will f*** up the UI unless all of the strings are translated.

katoob under maemo.

Submitted by msameer on Mon, 03/12/2007 - 6:31pm

So the svn repository now contains what should be katoob 0.5.9 (Hopefully). Which can now run under maemo.

drupal and the N810

Submitted by msameer on Mon, 22/10/2007 - 3:04pm

Here it goes. Lighttpd, php, sqlite and drupal with sqlite support.

All compiled inside scratchbox using the beta Chinook SDK.

Nokia N810

Submitted by msameer on Fri, 19/10/2007 - 3:32pm

First post from the N810. Had to do a bit of hacking to get Arabic! can't say I'm completely happy with it in general yet.