-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
When following your instructions, I got a whole bunch of build warnings (full output below). Looking into it, apparently gnome-keyring is depreciated! Maybe you should update the instructions?
alexander@alexander-desktop-ubuntu:~/github$ pushd /usr/share/doc/git/contrib/credential/gnome-keyring
/usr/share/doc/git/contrib/credential/gnome-keyring ~/github ~ ~/Downloads/i7z ~/Downloads/i7z/i7z
alexander@alexander-desktop-ubuntu:/usr/share/doc/git/contrib/credential/gnome-keyring$ sudo make
gcc -g -O2 -Wall -I/usr/include/gnome-keyring-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -o git-credential-gnome-keyring.o -c git-credential-gnome-keyring.c
git-credential-gnome-keyring.c: In function ‘keyring_get’:
git-credential-gnome-keyring.c:179:2: warning: ‘gnome_keyring_find_network_password_sync’ is deprecated: Use 'SECRET_SCHEMA_COMPAT_NETWORK' instead [-Wdeprecated-declarations]
result = gnome_keyring_find_network_password_sync(
^
In file included from git-credential-gnome-keyring.c:30:0:
/usr/include/gnome-keyring-1/gnome-keyring.h:551:20: note: declared here
GnomeKeyringResult gnome_keyring_find_network_password_sync (const char *user,
^
git-credential-gnome-keyring.c:198:3: warning: ‘gnome_keyring_result_to_message’ is deprecated [-Wdeprecated-declarations]
g_critical("%s", gnome_keyring_result_to_message(result));
^
In file included from git-credential-gnome-keyring.c:30:0:
/usr/include/gnome-keyring-1/gnome-keyring.h:166:28: note: declared here
const gchar* gnome_keyring_result_to_message (GnomeKeyringResult res);
^
git-credential-gnome-keyring.c:205:2: warning: ‘gnome_keyring_memory_free’ is deprecated: Use 'gcr_secure_memory_free' instead [-Wdeprecated-declarations]
gnome_keyring_memory_free(c->password);
^
In file included from git-credential-gnome-keyring.c:36:0:
/usr/include/gnome-keyring-1/gnome-keyring-memory.h:70:11: note: declared here
void gnome_keyring_memory_free (gpointer p);
^
git-credential-gnome-keyring.c:206:2: warning: ‘gnome_keyring_memory_strdup’ is deprecated: Use 'gcr_secure_memory_strdup' instead [-Wdeprecated-declarations]
c->password = gnome_keyring_memory_strdup(password_data->password);
^
In file included from git-credential-gnome-keyring.c:36:0:
/usr/include/gnome-keyring-1/gnome-keyring-memory.h:76:11: note: declared here
gchar* gnome_keyring_memory_strdup (const gchar* str);
^
git-credential-gnome-keyring.c:211:2: warning: ‘gnome_keyring_network_password_list_free’ is deprecated [-Wdeprecated-declarations]
gnome_keyring_network_password_list_free(entries);
^
In file included from git-credential-gnome-keyring.c:30:0:
/usr/include/gnome-keyring-1/gnome-keyring.h:537:6: note: declared here
void gnome_keyring_network_password_list_free (GList *list);
^
git-credential-gnome-keyring.c: In function ‘keyring_store’:
git-credential-gnome-keyring.c:236:2: warning: ‘gnome_keyring_set_network_password_sync’ is deprecated: Use 'SECRET_SCHEMA_COMPAT_NETWORK' instead [-Wdeprecated-declarations]
result = gnome_keyring_set_network_password_sync(
^
In file included from git-credential-gnome-keyring.c:30:0:
/usr/include/gnome-keyring-1/gnome-keyring.h:573:20: note: declared here
GnomeKeyringResult gnome_keyring_set_network_password_sync (const char *keyring,
^
git-credential-gnome-keyring.c:252:3: warning: ‘gnome_keyring_result_to_message’ is deprecated [-Wdeprecated-declarations]
g_critical("%s", gnome_keyring_result_to_message(result));
^
In file included from git-credential-gnome-keyring.c:30:0:
/usr/include/gnome-keyring-1/gnome-keyring.h:166:28: note: declared here
const gchar* gnome_keyring_result_to_message (GnomeKeyringResult res);
^
git-credential-gnome-keyring.c: In function ‘keyring_erase’:
git-credential-gnome-keyring.c:279:2: warning: ‘gnome_keyring_find_network_password_sync’ is deprecated: Use 'SECRET_SCHEMA_COMPAT_NETWORK' instead [-Wdeprecated-declarations]
result = gnome_keyring_find_network_password_sync(
^
In file included from git-credential-gnome-keyring.c:30:0:
/usr/include/gnome-keyring-1/gnome-keyring.h:551:20: note: declared here
GnomeKeyringResult gnome_keyring_find_network_password_sync (const char *user,
^
git-credential-gnome-keyring.c:298:3: warning: ‘gnome_keyring_result_to_message’ is deprecated [-Wdeprecated-declarations]
g_critical("%s", gnome_keyring_result_to_message(result));
^
In file included from git-credential-gnome-keyring.c:30:0:
/usr/include/gnome-keyring-1/gnome-keyring.h:166:28: note: declared here
const gchar* gnome_keyring_result_to_message (GnomeKeyringResult res);
^
git-credential-gnome-keyring.c:305:2: warning: ‘gnome_keyring_item_delete_sync’ is deprecated: Use 'secret_item_delete_sync' instead [-Wdeprecated-declarations]
result = gnome_keyring_item_delete_sync(
^
In file included from git-credential-gnome-keyring.c:30:0:
/usr/include/gnome-keyring-1/gnome-keyring.h:354:20: note: declared here
GnomeKeyringResult gnome_keyring_item_delete_sync (const char *keyring,
^
git-credential-gnome-keyring.c:308:2: warning: ‘gnome_keyring_network_password_list_free’ is deprecated [-Wdeprecated-declarations]
gnome_keyring_network_password_list_free(entries);
^
In file included from git-credential-gnome-keyring.c:30:0:
/usr/include/gnome-keyring-1/gnome-keyring.h:537:6: note: declared here
void gnome_keyring_network_password_list_free (GList *list);
^
git-credential-gnome-keyring.c:311:3: warning: ‘gnome_keyring_result_to_message’ is deprecated [-Wdeprecated-declarations]
g_critical("%s", gnome_keyring_result_to_message(result));
^
In file included from git-credential-gnome-keyring.c:30:0:
/usr/include/gnome-keyring-1/gnome-keyring.h:166:28: note: declared here
const gchar* gnome_keyring_result_to_message (GnomeKeyringResult res);
^
git-credential-gnome-keyring.c: In function ‘credential_clear’:
git-credential-gnome-keyring.c:342:2: warning: ‘gnome_keyring_memory_free’ is deprecated: Use 'gcr_secure_memory_free' instead [-Wdeprecated-declarations]
gnome_keyring_memory_free(c->password);
^
In file included from git-credential-gnome-keyring.c:36:0:
/usr/include/gnome-keyring-1/gnome-keyring-memory.h:70:11: note: declared here
void gnome_keyring_memory_free (gpointer p);
^
git-credential-gnome-keyring.c: In function ‘credential_read’:
git-credential-gnome-keyring.c:354:2: warning: ‘gnome_keyring_memory_alloc’ is deprecated: Use 'gcr_secure_memory_alloc' instead [-Wdeprecated-declarations]
key = buf = gnome_keyring_memory_alloc(1024);
^
In file included from git-credential-gnome-keyring.c:36:0:
/usr/include/gnome-keyring-1/gnome-keyring-memory.h:58:11: note: declared here
gpointer gnome_keyring_memory_alloc (gulong sz);
^
git-credential-gnome-keyring.c:368:4: warning: ‘gnome_keyring_memory_free’ is deprecated: Use 'gcr_secure_memory_free' instead [-Wdeprecated-declarations]
gnome_keyring_memory_free(buf);
^
In file included from git-credential-gnome-keyring.c:36:0:
/usr/include/gnome-keyring-1/gnome-keyring-memory.h:70:11: note: declared here
void gnome_keyring_memory_free (gpointer p);
^
git-credential-gnome-keyring.c:391:4: warning: ‘gnome_keyring_memory_free’ is deprecated: Use 'gcr_secure_memory_free' instead [-Wdeprecated-declarations]
gnome_keyring_memory_free(c->password);
^
In file included from git-credential-gnome-keyring.c:36:0:
/usr/include/gnome-keyring-1/gnome-keyring-memory.h:70:11: note: declared here
void gnome_keyring_memory_free (gpointer p);
^
git-credential-gnome-keyring.c:392:4: warning: ‘gnome_keyring_memory_strdup’ is deprecated: Use 'gcr_secure_memory_strdup' instead [-Wdeprecated-declarations]
c->password = gnome_keyring_memory_strdup(value);
^
In file included from git-credential-gnome-keyring.c:36:0:
/usr/include/gnome-keyring-1/gnome-keyring-memory.h:76:11: note: declared here
gchar* gnome_keyring_memory_strdup (const gchar* str);
^
git-credential-gnome-keyring.c:403:2: warning: ‘gnome_keyring_memory_free’ is deprecated: Use 'gcr_secure_memory_free' instead [-Wdeprecated-declarations]
gnome_keyring_memory_free(buf);
^
In file included from git-credential-gnome-keyring.c:36:0:
/usr/include/gnome-keyring-1/gnome-keyring-memory.h:70:11: note: declared here
void gnome_keyring_memory_free (gpointer p);
^
gcc -o git-credential-gnome-keyring git-credential-gnome-keyring.o -lgnome-keyring -lglib-2.0
Metadata
Metadata
Assignees
Labels
No labels