[Pidgin] #16842: fatal error: libpurple/http.h: No such file or directory when building pidgin from hg tip

Pidgin trac at pidgin.im
Wed Jan 6 10:57:00 EST 2016


#16842: fatal error: libpurple/http.h: No such file or directory when building
pidgin from hg tip
---------------------+---------------------------
 Reporter:  shlomif  |       Owner:  EionRobb
     Type:  defect   |      Status:  closed
Milestone:           |   Component:  unclassified
  Version:  3.0.0hg  |  Resolution:  invalid
 Keywords:           |
---------------------+---------------------------

Comment (by shlomif):

 Sorry, that was a misbeahviour of my use of hg log. I am on the default
 branch as is indicative by:

 {{{
 shlomif at telaviv1:~/Download/unpack/net/pidgin/pidgin-main$ hg id
 54715f591a98
 shlomif at telaviv1:~/Download/unpack/net/pidgin/pidgin-main$ hg summary
 parent: 37496:54715f591a98
  Merged in CMaiku/pidgin/purple-plugin-path (pull request #5)
 branch: default
 commit: (clean)
 update: (current)
 shlomif at telaviv1:~/Download/unpack/net/pidgin/pidgin-main$ hg log -pvr .
 changeset:   37496:54715f591a98
 parent:      37494:d45200b32287
 parent:      37495:f28a27411235
 user:        Gary Kramlich <grim at reaperworld.com>
 date:        Thu Dec 31 02:55:37 2015 -0600
 description:
 Merged in CMaiku/pidgin/purple-plugin-path (pull request #5)

 Add PURPLE_PLUGIN_PATH environment variable


 diff -r d45200b32287 -r 54715f591a98 libpurple/plugins.c
 --- a/libpurple/plugins.c       Wed Dec 30 19:55:07 2015 -0600
 +++ b/libpurple/plugins.c       Thu Dec 31 02:55:37 2015 -0600
 @@ -1108,6 +1108,9 @@
  purple_plugins_init(void)
  {
         void *handle = purple_plugins_get_handle();
 +#ifdef PURPLE_PLUGINS
 +       const gchar *search_path;
 +#endif

         purple_signal_register(handle, "plugin-load",
                                purple_marshal_VOID__POINTER,
 @@ -1118,6 +1121,20 @@

  #ifdef PURPLE_PLUGINS
         gplugin_init();
 +
 +       search_path = g_getenv("PURPLE_PLUGIN_PATH");
 +       if (search_path) {
 +               gchar **paths;
 +               int i;
 +
 +               paths = g_strsplit(search_path, G_SEARCHPATH_SEPARATOR_S,
 0);
 +               for (i = 0; paths[i]; ++i) {
 +                       purple_plugins_add_search_path(paths[i]);
 +               }
 +
 +               g_strfreev(paths);
 +       }
 +
         gplugin_manager_add_default_paths();

         purple_plugins_add_search_path(PURPLE_LIBDIR);

 shlomif at telaviv1:~/Download/unpack/net/pidgin/pidgin-main$

 }}}


 Please reopen the ticket.

--
Ticket URL: <https://developer.pidgin.im/ticket/16842#comment:3>
Pidgin <https://pidgin.im>
Pidgin


More information about the Tracker mailing list