* plugins as separate packages for desktop application
@ 2019-07-29 15:29 Jack Hill
2019-07-29 17:53 ` Tobias Geerinckx-Rice
0 siblings, 1 reply; 2+ messages in thread
From: Jack Hill @ 2019-07-29 15:29 UTC (permalink / raw)
To: guix-devel
Hi Guix,
I've been thinking about https://issues.guix.gnu.org/issue/34759 again
recently. 34759 is an issue with GIMP in which it does not find plugins
that are installed via separate packages in the same profile. I believe
that what is going on is that GIMP is only looking for plugins in its
store directory and in the user's XDG_CONFIG_DIR.
I've run into a similar issue (no ticket yet) with Blender. It seems like
this might be a problem common to many applications, and I'm wondering if
we should have a common solution. I don't really like the symlink
workaround I used in the GIMP ticket because it won't work in the context
of guix environment.
I think a good way forward would be to work with upstreams to have their
applications support an APPNAME_PLUGIN_PATH variable and when plugins are
present in a profile they would augment that variable.
What do y'all think? Is this a reasonable approach? Is there something I'm
missing? A better way to proceed?
Thanks,
Jack
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: plugins as separate packages for desktop application
2019-07-29 15:29 plugins as separate packages for desktop application Jack Hill
@ 2019-07-29 17:53 ` Tobias Geerinckx-Rice
0 siblings, 0 replies; 2+ messages in thread
From: Tobias Geerinckx-Rice @ 2019-07-29 17:53 UTC (permalink / raw)
To: guix-devel, Jack Hill
[-- Attachment #1: Type: text/plain, Size: 897 bytes --]
Jack,
Jack Hill 写道:
> I think a good way forward would be to work with upstreams to
> have
> their applications support an APPNAME_PLUGIN_PATH variable and
> when
> plugins are present in a profile they would augment that
> variable.
I agree. Many packages already do this & it jives nicely with our
native-search-paths feature.
Two random lessons from previous experience with (well-meaning)
upstreams:
1. Ensure that it's a search path (in the GNU sense of the word),
a standard colon-separated one if at all possible, not just a
single directory.
2a. Ensure that this environment variable can't be too easily
(=accidentally) masked by a user preference, and
2b. don't use it as a 'default value' to initialise a preference
that will later be saved to disc, because that's how we end up
with weird bugs.
Thanks for taking charge of this,
T G-R
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-07-29 17:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-29 15:29 plugins as separate packages for desktop application Jack Hill
2019-07-29 17:53 ` Tobias Geerinckx-Rice
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).