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 651005 - minor wrapper script fixes
minor wrapper script fixes
Status: RESOLVED FIXED
Product: caribou
Classification: Applications
Component: default
git master
Other Linux
: Normal normal
: ---
Assigned To: caribou-maint
caribou-maint
Depends on:
Blocks:
 
 
Reported: 2011-05-24 20:33 UTC by Dan Winship
Modified: 2011-05-24 21:16 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
bin: minor Makefile fixes (896 bytes, patch)
2011-05-24 20:33 UTC, Dan Winship
committed Details | Review
bin: fix path settings to never include empty path elements. fix typos (4.69 KB, patch)
2011-05-24 20:33 UTC, Dan Winship
committed Details | Review

Description Dan Winship 2011-05-24 20:33:09 UTC
see patches. Note that even with the fixes in the second patch, you still
can't run things out of the source tree, because they need the gsettings
schemas. And setting GSETTINGS_SCHEMA_DIR doesn't help, because there's
no gschemas.compiled in the build tree.
Comment 1 Dan Winship 2011-05-24 20:33:25 UTC
Created attachment 188520 [details] [review]
bin: minor Makefile fixes

Files that are generated from configure should be DISTCLEANFILES,
not CLEANFILES. Also, include $(libexec_SCRIPTS) everywhere
Comment 2 Dan Winship 2011-05-24 20:33:28 UTC
Created attachment 188521 [details] [review]
bin: fix path settings to never include empty path elements. fix typos

Things like PYTHONPATH="foo:$PYTHONPATH" are bad, because if
PYTHONPATH isn't previously set, you'll end up with a "" element in
it, which will be interpreted as ".", which you don't want.

Use some tricky bash syntax to say "add : and $PYTHONPATH if
PYTHONPATH is set".

Also fix a few typos ("licaribou", etc)
Comment 3 Eitan Isaacson 2011-05-24 20:44:56 UTC
These look great, please commit. Thanks.

Do you have any idea how we could get it to work with a non-installed gsettings schema?
Comment 4 Dan Winship 2011-05-24 21:15:30 UTC
Maybe run the schema compiler in the build tree in addition to doing it at install time?

(In gnome-shell we don't actually bother trying to make it work, we just require that you already did a "make install" even if you're running from the source tree. Which isn't that big a deal since we normally build via jhbuild, which does an install anyway.)
Comment 5 Dan Winship 2011-05-24 21:16:36 UTC
Attachment 188520 [details] pushed as 755d714 - bin: minor Makefile fixes
Attachment 188521 [details] pushed as c27aa5d - bin: fix path settings to never include empty path elements. fix typos