Commit Graph

6 Commits

Author SHA1 Message Date
Niels De Graef
2c2b0abef7 Drop "volatile" for g_once_init_enter locations
This fixes a few (fatal in gcc 11) warnings, breaking the CI.

For the original discussion on why this change is needed, see
https://gitlab.gnome.org/GNOME/glib/-/issues/600
2021-06-12 13:23:00 +02:00
Stef Walter
5e2fe4afaa egg: Accomodate thread-safe libgcrypt 1.6+
libcrypt no longer supports setting our own threading callbacks,
and is thread-safe if we call gcry_check_version() before creating
threads.

Unfortunately we can't guarantee that we call gcry_check_version()
early enough, we try our best. Most of the callers of libsecret either
don't use libgcrypt, or also initialize it appropriately themselves.

Bump libgcrypt dependency to 1.4.5+, and have earlier versions use
the native pthread implementation of locking.
2014-09-09 15:18:33 +02:00
Stef Walter
2e8ee7cdb6 egg: Don't use deprecated g_thread_supported() function
Nowadays glib always supports threading.
2013-02-13 17:18:17 +01:00
Stef Walter
125289ae45 Fix license header issues
* Update to LGPL 2.1
 * Fix typos in license comments
 * Update FSF address

https://bugzilla.gnome.org/show_bug.cgi?id=673194
2012-03-31 15:33:25 +02:00
Stef Walter
e670fe5645 Fix for deprecations in glib 2.31.0 2011-11-06 13:38:51 +01:00
Stef Walter
ef85c4ff45 Add dependency on libgcrypt
* This can be disabled using --disable-libgcrypt, which then disables
   encryption of secrets in transit to the secret service
2011-09-25 10:03:48 +02:00