Support the PURPLE_PLUGIN_PATH environment variable. This patch is based on one from Nixpkgs, but properly handles the case where that variable is unset. --- pidgin-2.10.11/libpurple/plugin.c.orig 2014-11-23 11:41:25.000000000 -0500 +++ pidgin-2.10.11/libpurple/plugin.c 2015-08-04 14:31:02.257366144 -0400 @@ -1178,8 +1178,19 @@ void purple_plugins_init(void) { void *handle = purple_plugins_get_handle(); + const gchar *purple_plugin_path; purple_plugins_add_search_path(LIBDIR); + purple_plugin_path = g_getenv("PURPLE_PLUGIN_PATH"); + if (purple_plugin_path && *purple_plugin_path) { + gchar **paths = g_strsplit(purple_plugin_path, ":", -1); + if (paths) { + gchar **p; + for (p = paths; *p; ++p) + if (**p) purple_plugins_add_search_path(*p); + } + g_strfreev(paths); + } purple_signal_register(handle, "plugin-load", purple_marshal_VOID__POINTER, form> Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/apr.scm
AgeCommit message (Expand)Author
2018-03-23gnu: apr-util: Use invoke....Mark H Weaver
2017-10-30gnu: apr-util: Update to 1.6.1 [fixes CVE-2017-12618]....Leo Famulari
2017-10-30gnu: apr: Update to 1.6.3 [fixes CVE-2017-12613]....Leo Famulari
2017-09-20gnu: Use 'modify-phases' syntax....Kei Kebreau
2016-04-14gnu: packages: Use 'search-patches' everywhere....Alex Kost