It would be fantastic if this amazing plugin would be ported to a .so-file for Linux as well!
Comment #1
Posted on Oct 17, 2013 by Happy HorseComment deleted
Comment #2
Posted on Oct 18, 2013 by Happy HorseComment deleted
Comment #3
Posted on Oct 18, 2013 by Happy HorseOkay, I got it to compile on OpenSuse 12.2 x86_64, using this command. I probably included far more than I needed to, but I didn't feel like doing the research on what was actually needed:
gcc libmightytext.c strptime.c -o libmightytext.so pkg-config --cflags --libs glib-2.0
-I/usr/include/json-glib-1.0 -I/usr/include/libpurple -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -lgthread-2.0 -lrt -lglib-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libpng14 -lpurple -lglib-2.0 -ljson-glib-1.0 -g -O2 -shared -fPIC
mv libmightytext.so /usr/lib64/purple-2/libmightytext.so mv mightytext16.png /usr/share/pixmaps/pidgin/protocols/16/mightytext.png mv mightytext22.png /usr/share/pixmaps/pidgin/protocols/22/mightytext.png mv mightytext48.png /usr/share/pixmaps/pidgin/protocols/48/mightytext.png
For me, it connected and works. The attached libmightytext.so is x86_64. The locations are probably different for other distributions, so you might do "locate libaim.so" and "locate 16/aim.png" to find the correct locations.
- mighty.png 120.77KB
- libmightytext.so 96.24KB
- mightytext16.png 774
- mightytext22.png 1.24KB
- mightytext48.png 2.59KB
Comment #4
Posted on Oct 18, 2013 by Massive KangarooHere is a Makefile that works for debian wheezy. After compiling, copy the library to /usr/lib/pidgin/libmightytext.so
- Makefile 362
Comment #5
Posted on Jan 18, 2014 by Happy DogCompiled per instructions below, but when I log into it, I see my contact list filling up, then a message window opens, and all of pidgin crashes. Not quite sure how to bypass this.
Comment #6
Posted on Jan 18, 2014 by Happy HorseYou probably received an MMS image. I've been having this problem lately too.
Comment #7
Posted on Dec 3, 2014 by Helpful HorseThis plugin wouldn't load with telepathy-haze unless I specified the json library during linking (at least on Fedora 20). I used the attached Makefile to build the shared library. It doesn't really work though. I see from the debug logs that it gets a list of contacts but then reports an internal error so it doesn't really work with empathy. Didn't try pidgin by itself. My guess is the following line is the source of the problem.
** (haze:5403): CRITICAL **: purple_find_buddy: assertion '(name != NULL) && (*name != '\0')' failed
- Makefile 355
Comment #8
Posted on Dec 27, 2014 by Massive CatI made the changes suggested here and created a repo on github:
https://github.com/tubaman/pidgin-mightytext/tree/debian_makefile
Status: New
Labels:
Type-Defect
Priority-Medium