Hello everyone !
Since a few weeks, I can't anymore build the git version of darktable on
archlinux because libgnome-keyring seems to be deprecated. Is there a way
to desactivate this backend ?
I don't know if it's important but here is the errors
[ 47%] Building C object
src/CMakeFiles/lib_darktable.dir/common/pwstorage/backend_gkeyring.c.o
/tmp/yaourt-tmp-fred/aur-darktable-git/src/darktable/src/common/pwstorage/backend_gkeyring.c:
In function 'dt_pwstorage_gkeyring_set':
/tmp/yaourt-tmp-fred/aur-darktable-git/src/darktable/src/common/pwstorage/backend_gkeyring.c:71:3:
erreur: 'gnome_keyring_attribute_list_append_string' is deprecated
(declared at /usr/include/gnome-keyring-1/gnome-keyring.h:145): Use
'g_hash_table_replace' instead [-Werror=deprecated-declarations]
gnome_keyring_attribute_list_append_string
(attributes,"magic",PACKAGE_NAME);
^
/tmp/yaourt-tmp-fred/aur-darktable-git/src/darktable/src/common/pwstorage/backend_gkeyring.c:72:3:
erreur: 'gnome_keyring_attribute_list_append_string' is deprecated
(declared at /usr/include/gnome-keyring-1/gnome-keyring.h:145): Use
'g_hash_table_replace' instead [-Werror=deprecated-declarations]
gnome_keyring_attribute_list_append_string (attributes,"slot",slot);
^
/tmp/yaourt-tmp-fred/aur-darktable-git/src/darktable/src/common/pwstorage/backend_gkeyring.c:76:3:
erreur: 'gnome_keyring_find_items_sync' is deprecated (declared at
/usr/include/gnome-keyring-1/gnome-keyring.h:321): Use
'secret_service_search_sync' instead [-Werror=deprecated-declarations]
gnome_keyring_find_items_sync
(GNOME_KEYRING_ITEM_GENERIC_SECRET,attributes,&items);
^
/tmp/yaourt-tmp-fred/aur-darktable-git/src/darktable/src/common/pwstorage/backend_gkeyring.c:84:5:
erreur: 'gnome_keyring_attribute_list_append_string' is deprecated
(declared at /usr/include/gnome-keyring-1/gnome-keyring.h:145): Use
'g_hash_table_replace' instead [-Werror=deprecated-declarations]
gnome_keyring_attribute_list_append_string (attributes,key,value);
^
/tmp/yaourt-tmp-fred/aur-darktable-git/src/darktable/src/common/pwstorage/backend_gkeyring.c:89:5:
erreur: 'gnome_keyring_item_set_attributes_sync' is deprecated (declared at
/usr/include/gnome-keyring-1/gnome-keyring.h:407): Use
'secret_item_set_attributes_sync' instead [-Werror=deprecated-declarations]
gnome_keyring_item_set_attributes_sync(DARKTABLE_KEYRING,f->item_id,attributes);
^
/tmp/yaourt-tmp-fred/aur-darktable-git/src/darktable/src/common/pwstorage/backend_gkeyring.c:95:5:
erreur: 'gnome_keyring_item_create_sync' is deprecated (declared at
/usr/include/gnome-keyring-1/gnome-keyring.h:340): Use
'secret_item_create_sync' instead [-Werror=deprecated-declarations]
result = gnome_keyring_item_create_sync(DARKTABLE_KEYRING,
^
/tmp/yaourt-tmp-fred/aur-darktable-git/src/darktable/src/common/pwstorage/backend_gkeyring.c:104:3:
erreur: 'gnome_keyring_attribute_list_free' is deprecated (declared at
/usr/include/gnome-keyring-1/gnome-keyring.h:155): Use 'g_hash_table_unref'
instead [-Werror=deprecated-declarations]
gnome_keyring_attribute_list_free(attributes);
^
/tmp/yaourt-tmp-fred/aur-darktable-git/src/darktable/src/common/pwstorage/backend_gkeyring.c:
In function 'dt_pwstorage_gkeyring_get':
/tmp/yaourt-tmp-fred/aur-darktable-git/src/darktable/src/common/pwstorage/backend_gkeyring.c:118:3:
erreur: 'gnome_keyring_attribute_list_append_string' is deprecated
(declared at /usr/include/gnome-keyring-1/gnome-keyring.h:145): Use
'g_hash_table_replace' instead [-Werror=deprecated-declarations]
gnome_keyring_attribute_list_append_string
(attributes,"magic",PACKAGE_NAME);
^
/tmp/yaourt-tmp-fred/aur-darktable-git/src/darktable/src/common/pwstorage/backend_gkeyring.c:119:3:
erreur: 'gnome_keyring_attribute_list_append_string' is deprecated
(declared at /usr/include/gnome-keyring-1/gnome-keyring.h:145): Use
'g_hash_table_replace' instead [-Werror=deprecated-declarations]
gnome_keyring_attribute_list_append_string (attributes,"slot",slot);
^
/tmp/yaourt-tmp-fred/aur-darktable-git/src/darktable/src/common/pwstorage/backend_gkeyring.c:120:3:
erreur: 'gnome_keyring_find_items_sync' is deprecated (declared at
/usr/include/gnome-keyring-1/gnome-keyring.h:321): Use
'secret_service_search_sync' instead [-Werror=deprecated-declarations]
gnome_keyring_find_items_sync
(GNOME_KEYRING_ITEM_GENERIC_SECRET,attributes,&items);
^
/tmp/yaourt-tmp-fred/aur-darktable-git/src/darktable/src/common/pwstorage/backend_gkeyring.c:121:3:
erreur: 'gnome_keyring_attribute_list_free' is deprecated (declared at
/usr/include/gnome-keyring-1/gnome-keyring.h:155): Use 'g_hash_table_unref'
instead [-Werror=deprecated-declarations]
gnome_keyring_attribute_list_free(attributes);
^
/tmp/yaourt-tmp-fred/aur-darktable-git/src/darktable/src/common/pwstorage/backend_gkeyring.c:129:5:
erreur: 'gnome_keyring_item_get_attributes_sync' is deprecated (declared at
/usr/include/gnome-keyring-1/gnome-keyring.h:396): Use
'secret_item_get_attributes' instead [-Werror=deprecated-declarations]
gnome_keyring_item_get_attributes_sync
(DARKTABLE_KEYRING,f->item_id,&attributes);
^
/tmp/yaourt-tmp-fred/aur-darktable-git/src/darktable/src/common/pwstorage/backend_gkeyring.c:143:5:
erreur: 'gnome_keyring_attribute_list_free' is deprecated (declared at
/usr/include/gnome-keyring-1/gnome-keyring.h:155): Use 'g_hash_table_unref'
instead [-Werror=deprecated-declarations]
gnome_keyring_attribute_list_free(attributes);
^
/tmp/yaourt-tmp-fred/aur-darktable-git/src/darktable/src/common/pwstorage/backend_gkeyring.c:144:5:
erreur: 'gnome_keyring_found_free' is deprecated (declared at
/usr/include/gnome-keyring-1/gnome-keyring.h:172)
[-Werror=deprecated-declarations]
gnome_keyring_found_free (items->data);
^
cc1: all warnings being treated as errors
src/CMakeFiles/lib_darktable.dir/build.make:2027: recipe for target
'src/CMakeFiles/lib_darktable.dir/common/pwstorage/backend_gkeyring.c.o'
failed
make[2]: ***
[src/CMakeFiles/lib_darktable.dir/common/pwstorage/backend_gkeyring.c.o]
Error 1
CMakeFiles/Makefile2:1049: recipe for target
'src/CMakeFiles/lib_darktable.dir/all' failed
make[1]: *** [src/CMakeFiles/lib_darktable.dir/all] Error 2
Makefile:136: recipe for target 'all' failed
make: *** [all] Error 2
------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
• 3 signs your SCM is hindering your productivity
• Requirements for releasing software faster
• Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
darktable-devel mailing list
darktable-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-devel