Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pidgin: solve searching for plugins #992

Closed
kevinfish opened this issue Sep 20, 2013 · 9 comments
Closed

pidgin: solve searching for plugins #992

kevinfish opened this issue Sep 20, 2013 · 9 comments
Assignees
Labels
0.kind: enhancement Add something new

Comments

@kevinfish
Copy link

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

@shlevy
Copy link
Member

shlevy commented Apr 4, 2014

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?

@shlevy shlevy added the bug label Apr 4, 2014
@bjornfor
Copy link
Contributor

bjornfor commented Apr 4, 2014

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.

vcunat added a commit that referenced this issue Apr 4, 2014
@vcunat
Copy link
Member

vcunat commented Apr 4, 2014

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.)

@vcunat vcunat added enhancement and removed bug labels Apr 4, 2014
@vcunat vcunat changed the title pidgin-otr not showing up pidgin: solve searching for plugins Apr 4, 2014
lucabrunox pushed a commit to lucabrunox/nixpkgs that referenced this issue Apr 6, 2014
@abbradar
Copy link
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.

@vcunat vcunat self-assigned this Sep 13, 2014
@vcunat
Copy link
Member

vcunat commented Sep 13, 2014

I'll look at it. I forgot this.

@user318
Copy link
Contributor

user318 commented Sep 24, 2014

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.

@abbradar
Copy link
Member

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

@vcunat
Copy link
Member

vcunat commented Oct 17, 2014

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

@abbradar
Copy link
Member

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

@vcunat vcunat closed this as completed in 2feaa02 Oct 23, 2014
klemensn added a commit to klemensn/nixpkgs that referenced this issue Jun 3, 2022
This release is still subject to double-free crashes in at least the
signature verification functionality, but debugging that requires an up
to date version (released two months ago), so here we go.

NB: Upstream released two source tarballs without further information,
qdigidoc4_r.2.11.110.orig.tar.xz contains sources without subdirectory,
qdigidoc4_r.2.11.110-1804.tar.xz contains a subdirectory with sources;
their difference is irrelevant for our build, so pick the one 1804 one:
```
$ diff -u -r qdigidoc4_r.2.11.110.orig/ qdigidoc4_r.2.11.110-1804/qdigidoc4/
Only in qdigidoc4_r.2.11.110.orig/cmake: .git
Only in qdigidoc4_r.2.11.110.orig/common: .git
Only in qdigidoc4_r.2.11.110.orig/common: .gitmodules
diff '--color=auto' -u -r qdigidoc4_r.2.11.110.orig/debian/changelog qdigidoc4_r.2.11.110-1804/qdigidoc4/debian/changelog
--- qdigidoc4_r.2.11.110.orig/debian/changelog	2022-01-28 13:44:35.000000000 +0200
+++ qdigidoc4_r.2.11.110-1804/qdigidoc4/debian/changelog	2022-01-28 13:44:38.000000000 +0200
@@ -1,3 +1,9 @@
+qdigidoc4 (4.2.11.110-1804) unstable; urgency=medium
+
+  * Release: 4.2.11.110.
+
+ -- RIA <[email protected]>  Fri, 28 Jan 2022 13:44:38 +0200
+
 qdigidoc4 (0.2.0.3) stable; urgency=low

   * Initial release
Only in qdigidoc4_r.2.11.110.orig/extensions/cmake: .git
Only in qdigidoc4_r.2.11.110.orig/extensions: .git
Only in qdigidoc4_r.2.11.110.orig/extensions: .gitmodules
```

```
$ git log --oneline v4.2.9..v4.2.11
2631e24 (tag: v4.2.11) Update translation (NixOS#1025)
76c671a Support Fedora (NixOS#997)
639cebe Update Qt to 5.12.2 (NixOS#1019)
cde7fb8 Add web-eid to diagnostics (NixOS#989)
faa8276 Add default option to sign button (NixOS#1001)
cb8262a Update OpenLDAP 2.6.0 (NixOS#996)
132de43 Workaround for Yaru theme on ubuntu 21.10 (NixOS#994)
58e4278 Improve safeFilename (NixOS#986)
1710f47 Fix coverity and cppcheck warnings (NixOS#992)
60af0bb Remove autofocus (NixOS#981)
5a9ff0a Use thread monitor event state (NixOS#845)
cdd95a5 Fix LDAP certificate validation (NixOS#980)
92f81ec Workaround SID/MID proxy unicode issues (NixOS#982)
92a5aaa Update version number and OpenSSL, OpenLDAP versions (NixOS#977)
5971e54 Update Xalan-C 1.12 (NixOS#976)
1f848cf Add more specific info for OpenSSLExceptions (NixOS#970)
0497b7f Set Select folder dialog button label and fix some translation warnings (NixOS#974)
e56e814 Workaround recent Qt changes to pass mousePressEvent (NixOS#978)
44f4a7e Update translations in russian for settings (NixOS#973)
25756eb Wait for upper level operations to avoid locked screen (NixOS#979)
232784e Don't set focus to fonds image (NixOS#967)
5cf2157 Change the view of expired and expiring certificates (NixOS#965)
b001274 Resolve a yellow background, when PIN is locked (NixOS#971)
4b20375 Fix the boolean value (NixOS#975)
1a41817 Resolve Ubuntu 21.04 warnings (NixOS#946)
301178b Set read-only permission for files in signed container (NixOS#962)
e028a30 Update OpenLDAP 2.5.5 (NixOS#963)
1fb5f6a Set accessible name to pin (NixOS#966)
18e6112 Handle libdigidocpp exception (NixOS#943)
a9efe0f Update translations (NixOS#961)
06e44a0 Fix Linux dark theme (NixOS#950)
a6ff428 Fix missed border of Accordion (NixOS#960)
a14476c Update list of components in Info view (NixOS#958)
8980270 Fix normalization of filenames (NixOS#952)
e4aac44 Shorten notifications display time (NixOS#948)
14606dc Use QSysInfo for OS version (NixOS#931)
b8716e7 Resolve a yellow background, when PIN is locked (NixOS#947)
0319c6b Don't allow searching for spaces during encryption (NixOS#929)
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: enhancement Add something new
Projects
None yet
Development

No branches or pull requests

6 participants