GNOME Bugzilla – Bug 664650
gconf binaries not relocatable
Last modified: 2011-11-28 14:36:53 UTC
Created attachment 202006 [details] [review] Patch allowing GCONF_BACKEND_DIR to be set from the environment The path used for GCONF_BACKEND_DIR is hard coded into gconf at compile time. This makes it impossible to move the binary to a different location and run it which is a requirement within certain build environments where prebuilt binaries can be reused (for example Poky/OpenEmbedded). If the directory could be overridden from the environment this restriction is removed and the binary can be relocated, see the attached patch for an example of this.
LGTM. Ross?
Committed and pushed. I use g_getenv because it does encoding magic which is probably useful in some edge cases.