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 113703 - Installing gconf schemas while using --prefix=$HOME
Installing gconf schemas while using --prefix=$HOME
Status: RESOLVED FIXED
Product: gnome-calculator
Classification: Core
Component: general
unspecified
Other Linux
: Normal minor
: ---
Assigned To: Rich Burridge
Rich Burridge
Depends on:
Blocks:
 
 
Reported: 2003-05-25 18:34 UTC by Stefano Canepa
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to fix this problem (per Havoc's suggestion). (450 bytes, text/plain)
2003-05-28 15:23 UTC, Rich Burridge
Details

Description Stefano Canepa 2003-05-25 18:34:37 UTC
I use to install GNOME applications downloaded form CVS into my home using
--prefix=$HOME as ./configure parameter. I found that into the main
Makefile of gcalctool the GCONF_SCHEMA_CONFIG_SOURCE variable does not have
a prefix in front of it so gconf is not able to install schemas correctly.
I defined GCONF_SCHEMA_CONFIG_SOURCE =
xml::${prefix}/etc/gconf/gconf.xml.defaults this vai and solved the problem.

Stefano
Comment 1 Rich Burridge 2003-05-26 21:06:40 UTC
I'm not too familiar with this area, so I asked around.
Here's a comment from Glynn Foster:

"Hrm, there doesn't look anything wrong in your Makefiles - I 
 think perhaps he just needs to use --sysconfdir=$HOME/etc, 
 since the default for --sysconfdir is /etc. At least, that's 
 my guess. You might want to ask Havoc though. But your 
 Makefiles look fine".

So I have an email in to Havoc at the moment. I'll append
whatever he suggests.
Comment 2 Havoc Pennington 2003-05-28 03:43:24 UTC
If you use AM_GCONF_SOURCE_2 in configure.in, 
then do a makefile snippet as in gnome-terminal/src/Makefile.am,
you should be able to specify --with-gconf-source=whatever

I can't come up with a way to solve this without manual intervention; 
if the makefile silently installed to your prefix, the program
wouldn't work (gconf would not find the installed data).

http://www.gnome.org/projects/gconf/ has more.

Comment 3 Rich Burridge 2003-05-28 15:23:19 UTC
Created attachment 16912 [details]
Patch to fix this problem (per Havoc's suggestion).
Comment 4 Rich Burridge 2003-05-28 15:25:55 UTC
I've checked the attached patch into CVS (v4.2.86).
It seems to do the correct thing. I've also attached
it to the bug if you'd prefer to try it in isolation
(it's a one line change). Thanks.