Bug 45417 - Rhythmbox 0.6.8 not installing schemas properly
Bug#: 45417 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: major Priority: P1
Resolution: FIXED Assigned To: gnome@gentoo.org Reported By: rotund@fatnsoft.com
Component: Ebuilds
URL: 
Summary: Rhythmbox 0.6.8 not installing schemas properly
Keywords:  
Status Whiteboard: 
Opened: 2004-03-22 11:07 0000
Description:   Opened: 2004-03-22 11:07 0000
If you look at the rhythmbox 0.6.8 ebuild, it imports the GNOME2 eclass.  This
causes it to say "installing GNOME 2 schemas, but it actually doesn't install
it.  This causes rhythmbox not to start w/o crashing.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

------- Comment #1 From foser (RETIRED) 2004-03-22 14:41:42 0000 -------
schemas install fine here..

what does 'qpkg -l rhythmbox | grep schemas' give ?

------- Comment #2 From Joe Tennies 2004-03-22 22:53:48 0000 -------
it yields nothing.  I JUST resynced portage and tried again.  You sure you have
0.6.8 (it's currently in ~x86)?  I've had this problem for a couple of the ~x86
ones.  I even 'emerge -C rhythmbox' and started again to be certain.  Perhaps
this is my problem (or where we differ).  Remove the schema and try again.

------- Comment #3 From Alastair Tse (RETIRED) 2004-03-23 02:21:32 0000 -------
attach the full output of the emerge

------- Comment #4 From Hans Oluf Hagen 2004-03-26 03:41:22 0000 -------
I have the same problem. The CONTENTS file in
/var/db/pkg/media-sound/rhythmbox-0.6.8 does not contain a schema file. 

I tried to find out why so I did the following steps:

I did an ebuild ... compile
I viewed the Makefile in the data directory:

#schemadir = $(sysconfdir)/gconf/schemas/
#schema_DATA = rhythmbox.schemas

These are commented out due to the following lines in Makefile.in:

@GCONF_SCHEMAS_INSTALL_TRUE@schemadir = @GCONF_SCHEMA_FILE_DIR@
@GCONF_SCHEMAS_INSTALL_TRUE@schema_DATA = rhythmbox.schemas

Maybe the ebuild should manually copy the schema file to image/etc/gconf? 

------- Comment #5 From foser (RETIRED) 2004-03-26 08:38:25 0000 -------
yep, turns out I looked at another version myself where this is not a problem.

suggestion in #4 would work or uncommenting that stuff in the Makefile probably.

------- Comment #6 From Alastair Tse (RETIRED) 2004-03-28 09:15:11 0000 -------
removing --disable-schemas (which is the same as uncommenting) would likely
cause sandboxing problems. 

i think manually copying is the way to go for this one, and it works.

------- Comment #7 From Alastair Tse (RETIRED) 2004-03-28 09:32:52 0000 -------
added manual installation of schema into 0.6.8

(btw, i meant --disable-schemas-install in my last comment)

------- Comment #8 From Joe Tennies 2004-03-28 10:20:27 0000 -------
why is it using the configure option
 --disable-schemas-install
instead of
 export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1"
like most others do?