Writings Photos Code Contact Resume Me
Arabization

Katoob, the baby has a new father.

Submitted by msameer on Mon, 12/05/2008 - 9:31pm.

This post has a bit of my history and emotions. It can be skipped!

The summary is: Katoob has a new maintainer.

...


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
   {
     gchar path [sizeof(GCONF_TRANSLATION_STATIC_PATH) + MAX_LANG_LENGTH];

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.


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.


hunspell-ar for debian hits NEW.

Submitted by msameer on Sun, 12/08/2007 - 4:10pm.

I've just uploaded the result of the ayaspell-dic project packaged for debian as hunspell-ar (The Arabic hunspell dictionary).
The packages are now waiting in new.

The same packages can be downloaded from here. Maybe someone other than me'd like to use them ;-)


مسابقة البرامج العربية مفتوحة المصدر

Submitted by msameer on Sat, 20/01/2007 - 3:31am.

مسابقة الشيخ على الجابر العلى الصباح العربية للبرامج مفتوحة المصدر

المسابقه تنقسم الى قسم للمطورين و قسم للمستخدمين

مدة المسابقه من 15-1-2007 الى 15-5-2007

وادى عنوان الموقع بتاع المسابقه:
http://www.alialsabahcontest.org/


katoob 0.5.5 is out.

Submitted by msameer on Thu, 02/11/2006 - 2:22pm.

ChangeLog:
* Replace dialog: Removed "Find And Replace".
* Severe optimization for the lam-alef detection and manipulation code.
* Syntax highlighting support (Via libgtksourceviewmm)

Tarball, md5sum and GPG signed md5sum


يوم ويكيبيديا العربية

Submitted by msameer on Fri, 18/08/2006 - 9:39pm.

ماذا ؟
سيقوم المتطوعين المهتمين بالمساهمة فى الويكيبيديا العربية بالاجتماع افتراضيا على شبكة الانترنيت لمدة يوم كامل, حيث سيتم طرح قائمة بالمقالات المراد انشاءها أو استكمالها أو تصحيحها. وسيعمل كل متطوع من بيته ولكن الكل مجتمعين افتراضياً فى غرفة محادثة واحدة (IRC #wikipedia-ar@irc.freenode.org).


CLRSpell, My first and hopefully last VC++/.NET application.

Submitted by msameer on Fri, 12/05/2006 - 11:30pm.

So, The wordlist has been growing lately, We hit 250,000 words, I tried hard not to put incorrect words but a lot of incorrect words went in, Manual review doesn't seem right to me, It'll take years!


Yet another Arabic support patch, Gedit!

Submitted by msameer on Sun, 02/04/2006 - 10:14pm.

God damn you Islam you are always getting me into this.

Gedit doesn't identify Arabic as a known language thus won't use the aspell Arabic dictionary for it. This patch adds Arabic and Arabic (Egypt).