Package Details: wee-slack 2.5.0-1

Git Clone URL: https://aur.archlinux.org/wee-slack.git (read-only, click to copy)
Package Base: wee-slack
Description: A WeeChat plugin for Slack.com
Upstream URL: https://github.com/wee-slack/wee-slack/
Licenses: MIT
Conflicts: wee-slack-git
Submitter: swiftgeek
Maintainer: swiftgeek (sudoforge)
Last Packager: sudoforge
Votes: 7
Popularity: 1.03
First Submitted: 2018-06-20 04:10
Last Updated: 2020-03-25 18:20

Pinned Comments

sudoforge commented on 2019-11-26 15:19

POST-INSTALLATION INSTRUCTIONS

WeeChat is unable to source files from outside of a user's home directory. Because of this limitation, this package DOES NOT make the Slack plugin available to WeeChat without end user interaction.

Each user who wants to enable the Slack plugin needs to create symlinks in the WeeChat configuration directory for their user (by default, ~/.weechat). The following commands will accomplish this:

$ ln -s /usr/lib/weechat/weemoji.json ~/.weechat/weemoji.json
$ ln -s /usr/lib/weechat/python/wee_slack.py ~/.weechat/python/autoload/wee_slack.py

Latest Comments

sudoforge commented on 2019-11-26 15:19

POST-INSTALLATION INSTRUCTIONS

WeeChat is unable to source files from outside of a user's home directory. Because of this limitation, this package DOES NOT make the Slack plugin available to WeeChat without end user interaction.

Each user who wants to enable the Slack plugin needs to create symlinks in the WeeChat configuration directory for their user (by default, ~/.weechat). The following commands will accomplish this:

$ ln -s /usr/lib/weechat/weemoji.json ~/.weechat/weemoji.json
$ ln -s /usr/lib/weechat/python/wee_slack.py ~/.weechat/python/autoload/wee_slack.py

sudoforge commented on 2019-11-06 13:49

@mprom You just need to create a symlink. You're right that Weechat doesn't source files outside of home.

I added a warning to wee-slack-git; should probably do that here too. Check out the wee-slack-git PKGBUILD for more info:

https://github.com/sudoforge/pkgbuilds/blob/master/wee-slack-git/PKGBUILD

mprom commented on 2019-11-06 12:46

I'm not sure this package currently installs wee-slack completely? AFAICS it just creates /usr/lib/weechat/python/wee_slack.py , but in order for it to work, it needs to be in ~/.weechat/python and in order for it to always start with weechat, it needs to have a symbolic link in ~/.weechat/python/autoload. Essentially, we can skip the middle step and just do ln -s /usr/lib/weechat/python/wee_slack.py /home/<user>/.weechat/python/autoload in order to have it loaded with weechat every time.

I get that the package probably needs to be installed somewhere outside of /home, but I'm wondering if we can somehow add the missing last step (symlink to autoload) to the PKGBUILD? Or at least add a notification explaining what's missing.

sudoforge commented on 2019-11-05 20:31

@gaelic Thanks for the heads up. This should be fixed.

gaelic commented on 2019-09-09 06:30

python2 is no longer working; dep is not python-websocket-client

sudoforge commented on 2018-10-10 21:33

@swiftgeek, this package is now two releases behind. I'd be happy to co-maintain it if you want to add me.