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 635367 - Correct and simplify setting the GJS module path
Correct and simplify setting the GJS module path
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2010-11-20 18:08 UTC by Owen Taylor
Modified: 2010-11-22 15:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Correct and simplify setting the GJS module path (4.04 KB, patch)
2010-11-20 18:08 UTC, Owen Taylor
committed Details | Review

Description Owen Taylor 2010-11-20 18:08:06 UTC
We were going to great effort to include the normal directories in the
GJS search path and the code to to do this broke recently when
jsdir and jsnativedir were moved to gjs-internals-1.0.pc. However, it
was actually unnecessary since the standard directories are appended
to the default path.

(We continue to use a GNOME_SHELL_JS envvar separate from GJS_PATH
for the Shell to enable the somewhat unlikely case where someone wants
to invoke the shell specifying a GJS_PATH.)
Comment 1 Owen Taylor 2010-11-20 18:08:09 UTC
Created attachment 174920 [details] [review]
Correct and simplify setting the GJS module path
Comment 2 Owen Taylor 2010-11-22 15:22:38 UTC
Attachment 174920 [details] pushed as 4800f63 - Correct and simplify setting the GJS module path