/purple-add-prefix

Extends the plugin search path of libpurple clients

Primary LanguageCGNU General Public License v2.0GPL-2.0

Purple Add Prefix

This plugin adds an additional prefix to the plugin search path of libpurple clients like Pidgin and finch. This works around a problem with Pidgin in Homebrew where Pidgin cannot find plugins from other packages.

Homebrew installs all packages in separate prefixes (cellar) and symlinks them together into a global prefix. This plugin adds the global prefix to the plugin search path. This is done at plugin enumeration so it may not (and can not) be loaded.

Building on macOS

For building on macOS Homebrew must be installed on the system. To build the plugin you need to extract a relase tarball and compile it from source:

  1. Install runtime and build dependencies:

    brew install pidgin pkg-config
    
  2. Compile for use with Homebrew:

    make ADD_PREFIX=/usr/local
    
  3. Install into home directory:

    mkdir -p ~/.purple/plugins
    cp purple-add-prefix.so ~/.purple/plugins/