Skip to content

pidgin: solve searching for plugins #992

Closed

Description

@kevinfish

installed pidgin and pidgin-otr but when I look for the otr plugin it doesn't show up in the plugin list.

Activity

  1. shlevy commented on Apr 4, 2014

    @shlevy
    Member

    Hmm, it seems pidgin has no maintainer. @vcunat @bjornfor I see you've made some commits there, do either of you want to pick this up?

  2. bjornfor commented on Apr 4, 2014

    @bjornfor
    Contributor

    My only contribution to the pidgin expression was removed a trailing '.' from meta.description :-D

    According to https://developer.pidgin.im/wiki/ThirdPartyPlugins, plugins should go in ~/.purple/plugins/. So "installing" the plugin with nix will not work, because the plugin would end up in e.g. ~/.nix-profile/lib/something.

    A manual work-around is this (which I successfully tested):

    mkdir -p ~/.purple/plugins
    ln -sf $(nix-build -A pidginotr)/lib/pidgin/pidgin-otr.* ~/.purple/plugins/
    

    Start pidgin, go to Tools -> Plugins and there you'll see the plugin.

    According to http://pidgin.im/pipermail/devel/2009-June/008380.html, pidgin also has global directory(ies) for plugins:

    # For plugins that are UI-independent (i.e. libpurple plugins):
    /usr/lib/purple-2/
    
    # For Pidgin plugins:
    /usr/lib/pidgin/
    

    (I guess the global paths really are $PREFIX/lib/.....)

    The only fix I can think of right now is to make upstream add support for an environment variable to look for plugins, and then possibly write a wrapper.

  3. vcunat commented on Apr 4, 2014

    @vcunat
    Member

    OK, I adopted the orphan, as I use it daily. I've never used any plugins, though.

    Unfortunately, for most packages the environments don't work like that (yet), especially for plugins. (Therefore, I rather classify this as an enhancement than a true bug.)

  4. changed the title [-]pidgin-otr not showing up[/-] [+]pidgin: solve searching for plugins[/+] on Apr 4, 2014
  5. abbradar commented on Sep 12, 2014

    @abbradar
    Member

    Any updates on this? This practically renders "pidginotr" unusable without a hacky workaround, so for it (not for the "pidgin" package) it would be a bug.

  6. self-assigned this
    on Sep 13, 2014
  7. vcunat commented on Sep 13, 2014

    @vcunat
    Member

    I'll look at it. I forgot this.

  8. user318 commented on Sep 24, 2014

    @user318
    Contributor

    ln -sf $(nix-build -A pidginotr)/lib/pidgin/pidgin-otr.* ~/.purple/plugins/

    I think it will be better to symlink it from ~/.nix-profile/lib/pidgin/...
    In that way it should not be changed after updates.

  9. abbradar commented on Oct 17, 2014

    @abbradar
    Member

    Maybe it would be sufficient to make a wrapper package and a patch for pidgin to read an environment variable?

  10. vcunat commented on Oct 17, 2014

    @vcunat
    Member

    Yes, something like that. Unfortunately, I'm overwhelmed by other things these two months.

  11. abbradar commented on Oct 18, 2014

    @abbradar
    Member

    @vcunat No problem! I think I solved this, if you can, please have a look.

  12. added a commit that references this issue on Jun 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

0.kind: enhancement

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions