2009-04-27 11:41:48 Senthil Kumaran S napisaĆ(a):
> Arfrever Frehtes Taifersar Arahesis wrote:
> >> 2b) It should probably be called "Subversion passwords" instead of "network
> >> password".
> >
> > It might be caused by using of gnome_keyring_find_network_password_sync()
> > and gnome_keyring_set_network_password_sync().
>
> Ok all these difficulties pop up because we try to support older versions of
> gnome-keyring (I really don't know the exact version which qualifies for
> "older", may be what RHEL5 supports?), if we plan to support gnome-keyring
> version 2.22 and above then we can implement things in a smarter way which I ve
> attempted in the patch attached (not yet ready to commit, because we can remove
> more code in 'subversion/libsvn_auth_gnome_keyring/gnome_keyring.c', by
> supporting keyring >2.22).
>
> If everyone is ok with depending on gnome-keyring 2.22 and above, then I can
> come up with more pleasing implementation. There is no trade off here because
> most of the distros like Debian/Ubuntu/Fedora/Gentoo? etc already have latest
> gnome-keyring libraries except for CentOS/RHEL.
You can check availability of specific functions during running `configure`
and use them only if they are available.
--
Arfrever Frehtes Taifersar Arahesis
Received on 2009-04-30 21:57:43 CEST