Hello community, here is the log from the commit of package libgnome-keyring for openSUSE:Factory checked in at 2013-06-05 11:53:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libgnome-keyring (Old) and /work/SRC/openSUSE:Factory/.libgnome-keyring.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libgnome-keyring" Changes: -------- --- /work/SRC/openSUSE:Factory/libgnome-keyring/libgnome-keyring.changes 2013-04-02 12:15:45.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libgnome-keyring.new/libgnome-keyring.changes 2013-06-05 11:53:56.000000000 +0200 @@ -1,0 +2,6 @@ +Wed May 1 08:17:45 UTC 2013 - [email protected] + +- Update to version 3.9.1: + + Build fixes and tweaks. + +------------------------------------------------------------------- Old: ---- libgnome-keyring-3.8.0.tar.xz New: ---- libgnome-keyring-3.9.1.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libgnome-keyring.spec ++++++ --- /var/tmp/diff_new_pack.ws7wqm/_old 2013-06-05 11:53:56.000000000 +0200 +++ /var/tmp/diff_new_pack.ws7wqm/_new 2013-06-05 11:53:56.000000000 +0200 @@ -17,13 +17,13 @@ Name: libgnome-keyring -Version: 3.8.0 +Version: 3.9.1 Release: 0 Url: http://www.gnome.org/ Summary: Library to integrate with the GNOME Keyring License: GPL-2.0+ and LGPL-2.1+ Group: Development/Libraries/GNOME -Source: http://download.gnome.org/sources/libgnome-keyring/3.8/%{name}-%{version}.tar.xz +Source: http://download.gnome.org/sources/libgnome-keyring/3.9/%{name}-%{version}.tar.xz BuildRequires: dbus-1-devel BuildRequires: fdupes BuildRequires: glib2-devel ++++++ libgnome-keyring-3.8.0.tar.xz -> libgnome-keyring-3.9.1.tar.xz ++++++ ++++ 10289 lines of diff (skipped) ++++ retrying with extended exclude list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libgnome-keyring-3.8.0/ChangeLog new/libgnome-keyring-3.9.1/ChangeLog --- old/libgnome-keyring-3.8.0/ChangeLog 2013-03-25 11:10:11.000000000 +0100 +++ new/libgnome-keyring-3.9.1/ChangeLog 2013-04-30 18:24:16.000000000 +0200 @@ -1,5 +1,52 @@ # Generate automatically. Do not edit. +commit 628389cc06e33f0f034b5dd0b58a40ae811736b0 +Author: Stef Walter <[email protected]> +Date: 2013-04-30 + + Release version 3.9.1 + + NEWS | 3 +++ + configure.ac | 2 +- + 2 files changed, 4 insertions(+), 1 deletion(-) + +commit 675668c8fb1ff9eaad7af3ca60438828cbb6d974 +Author: Stef Walter <[email protected]> +Date: 2013-04-27 + + Add testing tool for locking all keyrings + + .gitignore | 1 + + library/gnome-keyring.c | 2 ++ + library/tests/Makefile.am | 3 ++- + library/tests/frob-lock-all.c | 53 +++++++++++++++++++++++++++++++++++++++++++ + 4 files changed, 58 insertions(+), 1 deletion(-) + +commit 79c2751a7bee5b441c2819d8f559af1618a53e73 +Author: Stef Walter <[email protected]> +Date: 2013-04-27 + + Don't use deprecated glib 2.36 stuff + + egg/egg-libgcrypt.c | 3 +-- + egg/egg-secure-memory.h | 6 +++--- + library/gnome-keyring-memory.c | 6 +++--- + 3 files changed, 7 insertions(+), 8 deletions(-) + +commit 200ae6effde7d0be7181b4946f945c5cb6a32beb +Author: Stef Walter <[email protected]> +Date: 2013-04-27 + + Add option for building with code coverage + + .gitignore | 2 ++ + configure.ac | 29 +++++++++++++++++++++++++++++ + egg/Makefile.am | 3 +++ + egg/tests/Makefile.am | 3 +++ + library/Makefile.am | 3 ++- + library/tests/Makefile.am | 3 +++ + 6 files changed, 42 insertions(+), 1 deletion(-) + commit e90f485af50c1cfa3a35ff13bbf4353249e1e834 Author: Stef Walter <[email protected]> Date: 2013-03-25 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libgnome-keyring-3.8.0/NEWS new/libgnome-keyring-3.9.1/NEWS --- old/libgnome-keyring-3.8.0/NEWS 2013-03-25 11:09:28.000000000 +0100 +++ new/libgnome-keyring-3.9.1/NEWS 2013-04-30 18:19:03.000000000 +0200 @@ -1,3 +1,6 @@ +Changes in version 3.9.1 are: + * Build fixes and tweaks + Changes in version 3.8.0 are: * Updated translations diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libgnome-keyring-3.8.0/configure.ac new/libgnome-keyring-3.9.1/configure.ac --- old/libgnome-keyring-3.8.0/configure.ac 2013-03-25 11:09:08.000000000 +0100 +++ new/libgnome-keyring-3.9.1/configure.ac 2013-04-30 18:18:01.000000000 +0200 @@ -1,4 +1,4 @@ -AC_INIT([libgnome-keyring], [3.8.0]) +AC_INIT([libgnome-keyring], [3.9.1]) AC_CONFIG_SRCDIR([library/gnome-keyring.h]) AM_INIT_AUTOMAKE([tar-ustar]) AC_CONFIG_MACRO_DIR([build/m4]) @@ -228,6 +228,34 @@ AC_SUBST(INTROSPECTION_FLAGS) AC_SUBST(TEST_MODE) +AC_MSG_CHECKING([whether to build with gcov testing]) +AC_ARG_ENABLE([coverage], + [AS_HELP_STRING([--enable-coverage], [Whether to enable coverage testing ])], + [], + [enable_coverage=no]) + +AC_MSG_RESULT([$enable_coverage]) + +AC_MSG_CHECKING([code coverage]) + +if test "$enable_coverage" = "yes"; then + if test "$GCC" != "yes"; then + AC_MSG_ERROR(Coverage testing requires GCC) + fi + + AC_PATH_PROG(GCOV, gcov, no) + if test "$GCOV" = "no" ; then + AC_MSG_ERROR(gcov tool is not available) + fi + + CFLAGS="$CFLAGS -O0 -g --coverage" + LDFLAGS="$LDFLAGS --coverage" +fi + +AM_CONDITIONAL([WITH_COVERAGE], [test "$enable_coverage" = "yes"]) + +AC_MSG_RESULT($enable_coverage) + # ---------------------------------------------------------------------- # Status @@ -260,4 +288,5 @@ echo " Vala: $enable_vala" echo " Debug Build: $debug_status" echo " Strict Build: $strict_status" +echo " Code Coverage: $enable_coverage" echo diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libgnome-keyring-3.8.0/egg/Makefile.am new/libgnome-keyring-3.9.1/egg/Makefile.am --- old/libgnome-keyring-3.8.0/egg/Makefile.am 2012-09-25 15:42:47.000000000 +0200 +++ new/libgnome-keyring-3.9.1/egg/Makefile.am 2013-04-30 18:17:39.000000000 +0200 @@ -20,6 +20,9 @@ egg-secure-memory.c egg-secure-memory.h \ egg-testing.c egg-testing.h +CLEANFILES = \ + *.gcda *.gcno + # ------------------------------------------------------------------- SUBDIRS = . tests diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libgnome-keyring-3.8.0/egg/egg-libgcrypt.c new/libgnome-keyring-3.9.1/egg/egg-libgcrypt.c --- old/libgnome-keyring-3.8.0/egg/egg-libgcrypt.c 2012-10-27 12:12:54.000000000 +0200 +++ new/libgnome-keyring-3.9.1/egg/egg-libgcrypt.c 2013-04-30 18:17:39.000000000 +0200 @@ -108,8 +108,7 @@ /* Only initialize libgcrypt if it hasn't already been initialized */ if (!gcry_control (GCRYCTL_INITIALIZATION_FINISHED_P)) { - if (g_thread_supported()) - gcry_control (GCRYCTL_SET_THREAD_CBS, &glib_thread_cbs); + gcry_control (GCRYCTL_SET_THREAD_CBS, &glib_thread_cbs); gcry_check_version (LIBGCRYPT_VERSION); gcry_set_log_handler (log_handler, NULL); gcry_set_outofcore_handler (no_mem_handler, NULL); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libgnome-keyring-3.8.0/egg/egg-secure-memory.h new/libgnome-keyring-3.9.1/egg/egg-secure-memory.h --- old/libgnome-keyring-3.8.0/egg/egg-secure-memory.h 2012-10-27 12:20:44.000000000 +0200 +++ new/libgnome-keyring-3.9.1/egg/egg-secure-memory.h 2013-04-30 18:17:39.000000000 +0200 @@ -57,11 +57,11 @@ lock, unlock, fallback, NULL, EGG_SECURE_POOL_VER_STR }; #define EGG_SECURE_DEFINE_GLIB_GLOBALS() \ - static GStaticMutex memory_mutex = G_STATIC_MUTEX_INIT; \ + static GMutex memory_mutex = { 0, }; \ static void egg_memory_lock (void) \ - { g_static_mutex_lock (&memory_mutex); } \ + { g_mutex_lock (&memory_mutex); } \ static void egg_memory_unlock (void) \ - { g_static_mutex_unlock (&memory_mutex); } \ + { g_mutex_unlock (&memory_mutex); } \ EGG_SECURE_DEFINE_GLOBALS (egg_memory_lock, egg_memory_unlock, g_realloc); extern egg_secure_glob EGG_SECURE_GLOBALS; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libgnome-keyring-3.8.0/egg/tests/Makefile.am new/libgnome-keyring-3.9.1/egg/tests/Makefile.am --- old/libgnome-keyring-3.8.0/egg/tests/Makefile.am 2012-10-27 13:25:21.000000000 +0200 +++ new/libgnome-keyring-3.9.1/egg/tests/Makefile.am 2013-04-30 18:17:39.000000000 +0200 @@ -15,6 +15,9 @@ check_PROGRAMS = $(TEST_PROGS) +CLEANFILES = \ + *.gcda *.gcno + test: ${TEST_PROGS} gtester -k --verbose ${TEST_PROGS} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libgnome-keyring-3.8.0/library/Makefile.am new/libgnome-keyring-3.9.1/library/Makefile.am --- old/libgnome-keyring-3.8.0/library/Makefile.am 2012-11-21 17:42:33.000000000 +0100 +++ new/libgnome-keyring-3.9.1/library/Makefile.am 2013-04-30 18:17:39.000000000 +0200 @@ -59,7 +59,8 @@ GnomeKeyring-1.0.metadata \ GnomeKeyring-1.0-custom.vala -CLEANFILES= +CLEANFILES = \ + *.gcda *.gcno # build introspection typelib -include $(INTROSPECTION_MAKEFILE) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libgnome-keyring-3.8.0/library/gnome-keyring-memory.c new/libgnome-keyring-3.9.1/library/gnome-keyring-memory.c --- old/libgnome-keyring-3.8.0/library/gnome-keyring-memory.c 2012-10-27 12:17:37.000000000 +0200 +++ new/libgnome-keyring-3.9.1/library/gnome-keyring-memory.c 2013-04-30 18:17:39.000000000 +0200 @@ -48,7 +48,7 @@ * sensitive information. */ -static GStaticMutex memory_mutex = G_STATIC_MUTEX_INIT; +static GMutex memory_mutex = { 0, }; #define WARNING "couldn't allocate secure memory to keep passwords " \ "and or keys from being written to the disk" @@ -65,13 +65,13 @@ static void egg_memory_lock (void) { - g_static_mutex_lock (&memory_mutex); + g_mutex_lock (&memory_mutex); } static void egg_memory_unlock (void) { - g_static_mutex_unlock (&memory_mutex); + g_mutex_unlock (&memory_mutex); } static void * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libgnome-keyring-3.8.0/library/gnome-keyring.c new/libgnome-keyring-3.9.1/library/gnome-keyring.c --- old/libgnome-keyring-3.8.0/library/gnome-keyring.c 2013-01-14 22:21:02.000000000 +0100 +++ new/libgnome-keyring-3.9.1/library/gnome-keyring.c 2013-04-30 18:17:39.000000000 +0200 @@ -876,6 +876,8 @@ g_return_val_if_fail (callback, NULL); + gkr_debug ("Calling o.f.S.Service.LockService"); + req = dbus_message_new_method_call (gkr_service_name, SERVICE_PATH, SERVICE_INTERFACE, "LockService"); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libgnome-keyring-3.8.0/library/tests/Makefile.am new/libgnome-keyring-3.9.1/library/tests/Makefile.am --- old/libgnome-keyring-3.8.0/library/tests/Makefile.am 2012-10-15 14:27:57.000000000 +0200 +++ new/libgnome-keyring-3.9.1/library/tests/Makefile.am 2013-04-30 18:17:39.000000000 +0200 @@ -39,7 +39,8 @@ frob-any-daemon \ frob-unlock-keyring \ frob-list-modified \ - frob-default-keyring + frob-default-keyring \ + frob-lock-all EXTRA_DIST = \ test-gi.py \ @@ -47,6 +48,9 @@ mock-service-normal.py \ mock-service-cancel.py +CLEANFILES = \ + *.gcda *.gcno + test: $(TEST_PROGS) gtester -k --verbose $(TEST_PROGS) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libgnome-keyring-3.8.0/library/tests/frob-lock-all.c new/libgnome-keyring-3.9.1/library/tests/frob-lock-all.c --- old/libgnome-keyring-3.8.0/library/tests/frob-lock-all.c 1970-01-01 01:00:00.000000000 +0100 +++ new/libgnome-keyring-3.9.1/library/tests/frob-lock-all.c 2013-04-30 18:17:39.000000000 +0200 @@ -0,0 +1,53 @@ +/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ +/* + + Copyright (C) 2011 Collabora Ltd. + + The Gnome Keyring Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The Gnome Keyring Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the Gnome Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. + + Author: Stef Walter <[email protected]> +*/ + +#include "config.h" + +#include "gnome-keyring.h" +#include <glib.h> + +int +main (int argc, char **argv) +{ + GnomeKeyringResult res; + + g_test_init (&argc, &argv, NULL); + g_set_prgname ("frob-lock-all"); + + if (argc != 1) { + g_printerr ("no arguments should be specified\n"); + return 2; + } + + res = gnome_keyring_lock_all_sync (); + if (res == GNOME_KEYRING_RESULT_OK) { + g_printerr ("ok\n"); + return 0; + } else if (res == GNOME_KEYRING_RESULT_CANCELLED) { + g_printerr ("cancel\n"); + return 0; + } else { + g_printerr ("failed: %s\n", gnome_keyring_result_to_message (res)); + return 1; + } +} -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
