components/desktop/pidgin/patches/pidgin-01-gnome-keyring.patch
author Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
Tue, 04 Apr 2017 17:27:12 -0700
changeset 7830 a19af6ab1a9c
parent 7368 13871af9f746
permissions -rw-r--r--
25816799 Remove more excess FOSS from Desktop gate [PSARC 2016/088 - b122 subset] PSARC/2016/088 EOF of more excess FOSS from Desktop consolidation (scrubbing the decks harder)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7368
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
     1
Automatically enable the pidgin-gnome-keyring plugin so that account
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
     2
passwords can be saved in the system keyring rather than as cleartext
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
     3
in ~/.purple/accounts.xml
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
     4
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
     5
See PSARC/2016/385 for more details.
5091
81e5d6b75c3c 22185024 Move pidgin from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     6
7368
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
     7
This patch will not be submitted upsteam.
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
     8
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
     9
--- pidgin-2.11.0/configure.ac.orig	2016-08-17 07:39:38.956248926 -0700
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    10
+++ pidgin-2.11.0/configure.ac	2016-08-17 07:41:48.502561778 -0700
7830
a19af6ab1a9c 25816799 Remove more excess FOSS from Desktop gate [PSARC 2016/088 - b122 subset]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 7368
diff changeset
    11
@@ -2469,6 +2469,18 @@
5091
81e5d6b75c3c 22185024 Move pidgin from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    12
 	LDFLAGS="$orig_LDFLAGS"
81e5d6b75c3c 22185024 Move pidgin from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    13
 fi
81e5d6b75c3c 22185024 Move pidgin from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    14
 
81e5d6b75c3c 22185024 Move pidgin from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    15
+dnl #######################################################################
81e5d6b75c3c 22185024 Move pidgin from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    16
+dnl # Check for gnome-keyring
81e5d6b75c3c 22185024 Move pidgin from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    17
+dnl #--enable-gnome-keyring=(yes|no)
81e5d6b75c3c 22185024 Move pidgin from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    18
+dnl #######################################################################
81e5d6b75c3c 22185024 Move pidgin from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    19
+AC_ARG_ENABLE(gnome-keyring,
7368
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    20
+AC_HELP_STRING([--enable-gnome-keyring],
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    21
+               [use gnome keyring for storing password [default=no]]),,
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    22
+               enable_gnome_keyring=no)
5091
81e5d6b75c3c 22185024 Move pidgin from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    23
+if test "x$enable_gnome_keyring" = "xyes"; then
7830
a19af6ab1a9c 25816799 Remove more excess FOSS from Desktop gate [PSARC 2016/088 - b122 subset]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 7368
diff changeset
    24
+    AC_DEFINE(GAIM_ENABLE_KEYRING, [], [Set if we should use gnome-keyring])
5091
81e5d6b75c3c 22185024 Move pidgin from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    25
+fi
81e5d6b75c3c 22185024 Move pidgin from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    26
+
81e5d6b75c3c 22185024 Move pidgin from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    27
 AC_MSG_CHECKING(for me pot o' gold)
81e5d6b75c3c 22185024 Move pidgin from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    28
 AC_MSG_RESULT(no)
81e5d6b75c3c 22185024 Move pidgin from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    29
 AC_CHECK_FUNCS(gethostid lrand48 timegm)
7368
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    30
--- pidgin-2.11.0/libpurple/core.c.orig	2016-08-17 08:59:22.042425765 -0700
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    31
+++ pidgin-2.11.0/libpurple/core.c	2016-08-17 09:48:56.584454917 -0700
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    32
@@ -161,6 +161,12 @@
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    33
 	purple_connections_init();
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    34
 
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    35
 	purple_accounts_init();
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    36
+
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    37
+	/* Potentially load the gnome keyring plugin here because we need to
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    38
+	 * have had a couple signals registered by purple_accounts_init() first.
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    39
+	 */
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    40
+	purple_plugin_load_gnome_keyring_plugin();
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    41
+
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    42
 	purple_savedstatuses_init();
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    43
 	purple_notify_init();
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    44
 	purple_certificate_init();
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    45
--- pidgin-2.11.0/libpurple/plugin.h.orig	2016-08-17 09:08:26.448023611 -0700
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    46
+++ pidgin-2.11.0/libpurple/plugin.h	2016-08-17 09:49:20.857940837 -0700
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    47
@@ -733,6 +733,12 @@
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    48
  */
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    49
 void purple_plugin_action_free(PurplePluginAction *action);
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    50
 
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    51
+/**
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    52
+ * Potentially load the gnome keyring plugin.
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    53
+ */
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    54
+
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    55
+void purple_plugin_load_gnome_keyring_plugin(void);
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    56
+
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    57
 #ifdef __cplusplus
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    58
 }
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    59
 #endif
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    60
--- pidgin-2.11.0/libpurple/plugin.c.orig	2016-08-17 07:42:35.456904439 -0700
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    61
+++ pidgin-2.11.0/libpurple/plugin.c	2016-08-17 12:05:29.285059614 -0700
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    62
@@ -54,6 +54,10 @@
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    63
 
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    64
 } PurplePluginIpcCommand;
5091
81e5d6b75c3c 22185024 Move pidgin from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    65
 
81e5d6b75c3c 22185024 Move pidgin from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    66
+#ifdef GAIM_ENABLE_KEYRING
7368
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    67
+static PurplePlugin *gnome_keyring_plugin = NULL;
5091
81e5d6b75c3c 22185024 Move pidgin from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    68
+#endif
81e5d6b75c3c 22185024 Move pidgin from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    69
+
7368
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    70
 static GList *search_paths     = NULL;
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    71
 static GList *plugins          = NULL;
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    72
 static GList *loaded_plugins   = NULL;
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    73
@@ -207,6 +211,10 @@
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    74
 	gchar *basename = NULL;
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    75
 	gboolean (*purple_init_plugin)(PurplePlugin *);
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    76
 
5091
81e5d6b75c3c 22185024 Move pidgin from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    77
+#ifdef GAIM_ENABLE_KEYRING
7368
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    78
+	gboolean is_gnome_keyring = FALSE;
5091
81e5d6b75c3c 22185024 Move pidgin from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    79
+#endif
7368
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    80
+
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    81
 	purple_debug_misc("plugins", "probing %s\n", filename);
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    82
 	g_return_val_if_fail(filename != NULL, NULL);
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    83
 
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    84
@@ -216,6 +224,12 @@
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    85
 	/* If this plugin has already been probed then exit */
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    86
 	basename = purple_plugin_get_basename(filename);
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    87
 	plugin = purple_plugins_find_with_basename(basename);
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    88
+
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    89
+#ifdef GAIM_ENABLE_KEYRING
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    90
+	if (!strcmp(basename, "gnome-keyring"))
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    91
+		is_gnome_keyring = TRUE;
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    92
+#endif
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    93
+
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    94
 	g_free(basename);
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    95
 	if (plugin != NULL)
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    96
 	{
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    97
@@ -484,6 +498,13 @@
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    98
 		}
5091
81e5d6b75c3c 22185024 Move pidgin from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    99
 	}
81e5d6b75c3c 22185024 Move pidgin from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   100
 
81e5d6b75c3c 22185024 Move pidgin from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   101
+#ifdef GAIM_ENABLE_KEYRING
7368
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
   102
+	if (is_gnome_keyring) {
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
   103
+		purple_debug_misc("plugins", "setting gnome_keyring_plugin.\n");
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
   104
+		gnome_keyring_plugin = plugin;
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
   105
+	}
5091
81e5d6b75c3c 22185024 Move pidgin from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   106
+#endif
7368
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
   107
+
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
   108
 	return plugin;
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
   109
 #else
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
   110
 	return NULL;
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
   111
@@ -1673,3 +1694,15 @@
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
   112
 	g_free(action->label);
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
   113
 	g_free(action);
5091
81e5d6b75c3c 22185024 Move pidgin from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   114
 }
81e5d6b75c3c 22185024 Move pidgin from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   115
+
7368
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
   116
+void
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
   117
+purple_plugin_load_gnome_keyring_plugin()
5091
81e5d6b75c3c 22185024 Move pidgin from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   118
+{
7368
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
   119
+#ifdef GAIM_ENABLE_KEYRING
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
   120
+	purple_debug_misc("plugins", "purple_plugin_load_gnome_keyring_plugin called.\n");
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
   121
+	if (gnome_keyring_plugin != NULL) {
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
   122
+		purple_debug_misc("plugins", "purple_plugin_load_gnome_keyring_plugin: calling purple_plugin_load.\n");
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
   123
+		purple_plugin_load(gnome_keyring_plugin);
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
   124
+	}
13871af9f746 PSARC 2016/385 pidgin-gnome-keyring
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
   125
+#endif
5091
81e5d6b75c3c 22185024 Move pidgin from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   126
+}