After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 664316 - Searchpath separator required
Searchpath separator required
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Script-Fu
unspecified
Other All
: Normal enhancement
: 2.8
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2011-11-18 07:08 UTC by Kevin Payne
Modified: 2011-11-18 08:41 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Kevin Payne 2011-11-18 07:08:32 UTC
In order to use the output from (gimp-gimprc-query "script-fu-path") and breakup the string into individual paths it is necessary to know the value of the searchpath separator.

You have provided a suitable directory separator DIR-SEPARATOR, but have not exposed the equivalent SEARCHPATH-SEPARATOR to Script-Fu.

Can you please provide a suitable constant, to enable platform independent scripts to be written (without having to assume future GIMP behaviour)
Comment 1 Michael Natterer 2011-11-18 08:41:21 UTC
Fixed in master:

commit 262cc1c9463210d7a4502029401c5da417860549
Author: Michael Natterer <mitch@gimp.org>
Date:   Fri Nov 18 09:39:03 2011 +0100

    Bug 664316 - Searchpath separator required
    
    Add constant SEARCHPATH-SEPARATOR (= G_SEARCHPATH_SEPARATOR_S).

 plug-ins/script-fu/scheme-wrapper.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)