Maulieo / flist-pidgin

Automatically exported from code.google.com/p/flist-pidgin
0 stars 0 forks source link

Linux Build #14

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Would be really awesome of you if you compiled a .so version of this plugin for 
all us Linux users of Pidgin.

Original issue reported on code.google.com by palshife...@gmail.com on 25 Apr 2012 at 6:22

GoogleCodeExporter commented 8 years ago
It would...

Original comment by TestPant...@gmail.com on 28 May 2012 at 3:01

GoogleCodeExporter commented 8 years ago
Current Code will build under Fedora 15 (x86_64) but will the .so will not load 
due to undefined symbols. Working forward I found the following.

f-list_commands.c calls flist_blist_node_action
-> f-list_friends.c was not included in makefile / includes
  f-list_commands.c calls flist_update_server_status
  -> f-list_status.c was not included in makefile / includes
    f-list.c calls flist_web_requests_init();
    -> f-list_json.c was not included in makefile / includes

Modified the Makefile as follows:

@@ -16,11 +16,14 @@
         f-list_channels.c \
         f-list_commands.c \
         f-list_connection.c \
+       f-list_friends.c \
         f-list_http.c \
         f-list_icon.c \
         f-list_kinks.c \
         f-list_profile.c \
-       f-list_pidgin.c
+       f-list_pidgin.c \
+       f-list_status.c \
+       f-list_json.c

Plugin will now load. Have not tested functionality.

Original comment by openre...@gmail.com on 30 Jul 2012 at 8:47

GoogleCodeExporter commented 8 years ago
Patch above lacks headers, will not apply. Patch recreated below. This is not 
from the prepatched file on pastebin.com. Download from that site didn't work, 
(I wanted to curl http://pastebin.com/download.php?i=V2PXK5HL > Makefile), so I 
posted my fixed Makefile on a site where that would be possible: 
http://sprunge.us/FfeS

--- Makefile.orig   2013-05-30 19:29:55.686576622 +0100
+++ Makefile    2013-05-30 20:19:04.112683321 +0100
@@ -9,18 +9,21 @@

 FLIST_SOURCES = \
         f-list.c \
-       f-list_admin.c \
+   f-list_admin.c \
         f-list_autobuddy.c \
         f-list_bbcode.c \
         f-list_callbacks.c \
         f-list_channels.c \
         f-list_commands.c \
         f-list_connection.c \
+        f-list_friends.c \
         f-list_http.c \
         f-list_icon.c \
         f-list_kinks.c \
         f-list_profile.c \
-   f-list_pidgin.c
+   f-list_pidgin.c \
+   f-list_status.c \
+   f-list_json.c

 #Standard stuff here
 .PHONY:    all clean install

Original comment by tereniao...@gmail.com on 30 May 2013 at 7:45

GoogleCodeExporter commented 8 years ago
I will not be compiling the plugin to Linux.

The next version of the makefile includes all the proper sources.

Original comment by TestPant...@gmail.com on 10 Jan 2014 at 8:02