项目作者: gkdr

项目描述 :
Experimental XEP-0280: Message Carbons plugin for libpurple (Pidgin, Finch, etc.)
高级语言: C
项目地址: git://github.com/gkdr/carbons.git
创建时间: 2017-02-15T16:29:49Z
项目社区:https://github.com/gkdr/carbons

开源协议:GNU General Public License v2.0

下载


carbons 0.2.3

Build status
codecov
Language grade: C/C++

Experimental XEP-0280: Message Carbons (v0.13.2) plugin for libpurple (Pidgin, Finch, etc.).

It enables you to have a consistent view of both sent and received messages between all devices which are online at the same time.

Installation

You can find compiled versions of this plugin for both Linux and Windows on the GitHub releases page.

To get the latest build for both operating systems you can head over to the artifacts page of this project’s current build on AppVeyor.

Usage

On startup, it sends a feature discovery request to the server and automatically enables message carbons if the server lists it among its supported features.

If something is not working right, consult the debug window.

Building it yourself

Linux

  1. Install the dependencies (libpurple-dev, libglib2.0-dev, libxml2-dev)
  2. git clone https://github.com/gkdr/carbons.git
  3. cd carbons
  4. make
  5. A final make install should copy the plugin into your libpurple plugin dir, or make install-home to copy it into ~/.purple/plugins.

MacOS

Install dependencies using Homebrew.

  1. brew install glib libxml2

Get a copy of the libpurple soure (from Pidgin), and prepare it so we can use it
during the build.

  1. hg clone https://bitbucket.org/pidgin/main pidgin
  2. cd pidgin
  3. hg checkout v2.10.12
  4. ./configure $(./configure --help | grep -i -- --disable | awk '{ print $1 }')
  1. make LIBPURPLE_CFLAGS=-I${PWD}/pidgin/libpurple LIBPURPLE_LDFLAGS=/Applications/Adium.app/Contents/Frameworks/libpurple.framework/libpurple LJABBER=

Windows

You can make use of the Makefile.mingw by EionRobb.
For this, you have to set up a build environment as described in https://developer.pidgin.im/wiki/BuildingWinPidgin.

Caveats

Note that this only synchronizes messages of devices that are online at the same time - for history synchronization, MAM is needed.
There is currently no libpurple plugin for this.