Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 295083 - media-gfx/ufraw wrong default gconf schemas directory
Summary: media-gfx/ufraw wrong default gconf schemas directory
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Graphics Project
Depends on:
Reported: 2009-11-29 19:35 UTC by PiotrAF
Modified: 2011-10-09 07:34 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---

ufraw-999.ebuild (ufraw-999.ebuild,1.85 KB, text/plain)
2009-12-05 17:59 UTC, INODE64 Sistemas

Note You need to log in before you can comment on or make changes to this bug.
Description PiotrAF 2009-11-29 19:35:42 UTC
1. The default gconf schemas directory in which ufraw.schemas is installed is /usr/share/gconf/schemas and should be where all schemas reside i.e. /etc/gconf/schemas
2. after installation of ufraw, nautilus should recognize *.raw as image/x-panasonic-raw and be able to create thumbnails as it is in other distros and as it is stated in ufraw-0.16 README:
# Associate mime type to raw images:
$ (only needed if you are using shared-mime-info < 0.21)
update-mime-database /usr/share/mime
# Install UFRaw's thumbnails generator:
GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-install-rule /usr/share/gconf/schemas/ufraw.schemas
# Associate UFRaw with the raw images mime types:

which is missing in the ebuilds

Reproducible: Always

Actual Results:  
/usr/share/gconf/schemas/ufraw.schemas and no panasonic *.raw files thumbnails in nautilus

Expected Results:  
/etc/gconf/schemas/ufraw.schemas and panasonic *.raw files thumbnails in nautilus

The FIX:

--- /usr/portage/media-gfx/ufraw/ufraw-0.16.ebuild	2009-11-21 20:36:00.000000000 +0100
+++ /usr/local/portage/piotr/media-gfx/ufraw/ufraw-0.16-r1.ebuild	2009-11-29 19:49:21.934091894 +0100
@@ -45,15 +45,18 @@
 		$(use_with lensfun) \
 		$(use_enable openmp) \
 		$(use_enable timezone dst-correction)
-	emake || die "emake failed"
+	emake schemasdir=/etc/gconf/schemas  || die "emake failed"
 src_install() {
-	emake DESTDIR="${D}" install || die "make install failed"
+	emake DESTDIR="${D}" schemasdir=/etc/gconf/schemas install || die "make install failed"
 	dodoc README TODO || die "doc installation failed"
 pkg_postinst() {
+	GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` \
+	gconftool-2 --makefile-install-rule \
+	/etc/gconf/schemas/ufraw.schemas >& /dev/null || :
 	if use gnome ; then
Comment 1 INODE64 Sistemas 2009-12-05 17:59:47 UTC
Created attachment 212173 [details]

update from cvs
Comment 2 INODE64 Sistemas 2009-12-05 18:01:54 UTC
- Update deps, sci-libs/cfitsio
- fix schema
- And remove invalid configure options
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2011-10-09 07:34:28 UTC
+  09 Oct 2011; Samuli Suominen <> ufraw-0.18.ebuild:
+  Fix gconf schema installation wrt #295083 by "PiotrAF" and Francisco Javier

Should be OK