Skip to content

bsx/weechat-silc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A WeeChat plugin for silc

GitHub version GitHub forks GitHub issues GitHub license

Installation

  • Install weechat either from source or with your favorite package manager
    • Make sure weechat.pc is in either /usr/lib/pkgconfig/ or /usr/local/lib/pkgconfig/`
  • Install the silc tookit either from source or your favorite package manager
    • Make sure silcclient.pc is in either /usr/lib/pkgconfig/ or /usr/local/lib/pkgconfig/`
  • Clone the latest version of this plugin
git clone git@github.com:bsx/weechat-silc.git
  • Make a build directory and run cmake and make
cd weechat-silc
mkdir build
cd build
cmake ..
make
  • Install the now built libweechatsilc.so
sudo make install

Troubleshooting

If you get a CMake Error that either module silccliient or weemake were not found

-- checking for module 'weechat>=1.5'
--   package 'weechat>=1.5' not found
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:279 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPkgConfig.cmake:333 (_pkg_check_modules_internal)
  CMakeLists.txt:14 (pkg_check_modules)

-- checking for module 'silcclient'
--   package 'silcclient' not found
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:279 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPkgConfig.cmake:333 (_pkg_check_modules_internal)
  CMakeLists.txt:15 (pkg_check_modules)

You either don't have the appropiate .pc files in their right place or you might need to set your PKG_CONFIG_PATH

export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/local/lib/pkgconfig:/usr/lib64/pkgconfig:/usr/share/pkgconfig

Run ldd libweechatsilc.so to make sure your libraries are linked correctly, if not you might need to do

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

Usage

What you can do

  • connecting to a silc server: /silc connect
  • joining a channel: /silc join
  • talking in a channel
  • nicklist and modes should work as well
  • private messages: /silc msg []
  • disconnecting from a server: /silc disconnect

What you can't do yet (PR's very much appreciated)

  • leaving a channel (you can close the buffer, but that will just lead to madness)
  • changing channel or user modes
  • setting a channel topic
  • nick changes (both yours and others)
  • kicking people and being kicked (see: leaving a channel)
  • password prompts for keys (currently just loads/generates a key in the current working directory)

References