Re: [java-gnome-hackers] libnotify 0.7.0 Re: Useful lists
Brought to you by:
afcowie
|
From: Serkan K. <se...@ge...> - 2011-01-31 18:07:44
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 16-11-2010 16:56, Alexander Boström wrote: > lör 2010-10-30 klockan 19:55 +0200 skrev Andrew Cowie: >> Just a passing comment: as major API changes are happening in GTK >> towards 3.0, useful mailing lists to be subscribed to are: > > Yup, this already happened with the Fedora package in rawhide (the > future F15 release) as libnotify was updated to 0.7.0 and java-gnome > won't build with that. (So I need a snapshot, rc or release which does.) > > Possibly I can provide a patch myself, as the changes seem rather > trivial but it needs to be done in a way that'll still work with older > libnotify releases. > > Is it ok to change the API exposed to the Java side? IIRC java-gnome > isn't declare API stable but it'd be weird to have different APIs > depending on which libnotify version it was compiled with. > > I guess the simplest solution is to change the API for all java-gnome > users regardless of which libnotify it was compiled with... > > >> From: Matthias Clasen <mc...@re...> >> Datum: Mon, 01 Nov 2010 21:12:47 -0400 > >> Here is an overview of the api changes: >> >> notify_notification_new_with_status_icon is gone >> notify_notification_attach_to_status_icon is gone >> notify_notification_attach_to_widget is gone >> notify_notification_set_geometry_hints is gone >> notify_notification_new has lost its widget argument >> >> A typical patch will look like this one: >> https://bugzilla.gnome.org/review?bug=632327&attachment=172525 >> >> For some background on these changes, see >> http://live.gnome.org/GnomeShell/Design/Guidelines/MessageTray/Compatibility > > > /Alexander I'm attaching a patch that can be applied to v4.0.18 to nuke all these methods. I'll keep this branch as "to be merged later" (probably until mainline distros have it in their stable versions). Samuli will be testing it for Gentoo (And applying the patch based on libnotify version being linked against). I remember Guillaume hitting the same issue with Debian/Ubuntu packaging in unstable/experimental branch. - -- Sincerely, Serkan KABA Gentoo Developer Java/GNOME Developer -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk1G+mIACgkQRh6X64ivZaL8fACeNCkTJB3PJOpIX15M0HRYhFk5 zJcAnRuGGjOP9VJgUY8y5XjnreopgFTa =9kjq -----END PGP SIGNATURE----- |