Re: [java-gnome-hackers] libappindicator and libindicate support
Brought to you by:
afcowie
From: Serkan K. <se...@ge...> - 2010-05-28 02:54:27
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 28-05-2010 05:00, Francisco Ortiz wrote: > 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: Great, well done. Feel free to send a bundle against mainline. > > 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? In any case, even if the dependencies are not checked for other distros it would be a problem in build stage because java-gnome currently doesn't support optional dependencies. By the way is this library going to stay being Ubuntu specific. > > - 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? This package name generation is java-gnome specific, you can leave it to default. That bug is probably about exported dbus objects which we don't care at bindings level. - -- Sincerely, Serkan KABA -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkv/MFUACgkQRh6X64ivZaKG0gCffL4cXz/I2f6oHy5rQFgi9UUm zC4AmwTvypeCex8hCnBJPmFPnn2ILMrL =zAg8 -----END PGP SIGNATURE----- |