[java-gnome-hackers] libappindicator and libindicate support
Brought to you by:
afcowie
From: Francisco O. <fr...@pu...> - 2010-05-28 02:00:54
|
Hi everybody, First of all I want to thank for the huge effort you are doing delivering java bindings for gnome. I am developing a little java app just for fun and I am using the binding for libnotify provided for java-gnome project. As an Ubuntu user I want my app to support the new indicators (complementing the lack of 'actions' support for ubuntu notification system) based on the Ayatana umbrella project , so I read the docs get a copy of java-gnome src from the ubuntu repository (didn't use bzr way, but is the next step) and started hacking the bindings. After 3 days of work I have working bindings for libindicate <https://wiki.ubuntu.com/MessagingMenu/> and libappindicator <https://wiki.ubuntu.com/DesktopExperienceTeam/ApplicationIndicators>. I want to share with you what i did (i read the style, hacking, and docs and i am in process to document all the API) and i have a couple of questions: In configure (and in build/faster) I added the package dependencies under debian OS (shared with Ubuntu) but i think is not the best solution. The previous dependencies are Ubuntu specific, but I dont want to break the code of the project if you are not using Ubuntu. Even in Ubuntu I don't know if the libs are required. - How should I handle optional libraries for optional bindings? Or maybe I need to implement some kind of fallback implementation? - By default the generated code is under org.gnome.<libname> package but i dont know if its a valid package. I dont know the state I was inspecting the DBus messages and they are using org.ayatana or org.freedesktop namespaces, there is a ticket in the launchpad https://bugs.launchpad.net/libindicate/+bug/452165 regarding this. Suggestions? Thanks in advance for the answers, Regards Fran |