Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 263374 - media-gfx/f-spot-0.5.0.3 cannot import raw with x11-libs/gtk+-2.14.7-r2
Summary: media-gfx/f-spot-0.5.0.3 cannot import raw with x11-libs/gtk+-2.14.7-r2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Denis Dupeyron (RETIRED)
URL: https://bugzilla.gnome.org/show_bug.c...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-22 15:55 UTC by Benjamin Bannier
Modified: 2010-10-04 08:24 UTC (History)
3 users (show)

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


Attachments
f-spot --debug output w detect duplicates (f-spot_detect_dup.log,46.30 KB, text/plain)
2009-03-22 15:56 UTC, Benjamin Bannier
Details
f-spot --debug output w/o detect duplicates (f-spot_no_detect_dup.log,59.33 KB, text/plain)
2009-03-22 15:56 UTC, Benjamin Bannier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Bannier 2009-03-22 15:55:38 UTC
Hi,

some time ago I moved my system to ~x86 and and now found out that f-spot is having problems displaying and importing raw pictures from my Panasonic LX2 camera. I can at least display the thumbnails from earlier imports, but new imports fail, both with f-spot "Detect Duplicates" feature on and off.

The problem appears to come from gdk-pixbuf -- see attached logs.

I also tried a downgrade of x11-misc/shared-mime-info from 0.60 to 0.51, but to no avail.

Please tell me what more information I can provide to get this fixed.

Reproducible: Always

Steps to Reproduce:
Comment 1 Benjamin Bannier 2009-03-22 15:56:18 UTC
Created attachment 185882 [details]
f-spot --debug output w detect duplicates
Comment 2 Benjamin Bannier 2009-03-22 15:56:40 UTC
Created attachment 185884 [details]
f-spot --debug output w/o detect duplicates
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-03-22 15:59:23 UTC
what is your version of libopenraw ?
Comment 4 Benjamin Bannier 2009-03-22 16:02:20 UTC
(In reply to comment #3)
> what is your version of libopenraw ?

I don't have it installed. I believe f-spot uses dcraw.
Comment 5 Benjamin Bannier 2009-03-22 17:07:06 UTC
This is also reported upstream at http://bugzilla.gnome.org/show_bug.cgi?id=576308
Comment 6 TGL 2009-05-13 13:27:35 UTC
I have this problem too.  My explanation is here:
http://bugzilla.gnome.org/show_bug.cgi?id=551264#c20

As a _workaround_, I now compile GTK+ with the following patch (it undefs GDK_PIXBUF_USE_GIO_MIME, thus f-spot works again, as with older GTK+ versions):
--- configure.orig	2009-03-08 13:09:59.000000000 +0100
+++ configure	2009-03-08 13:10:33.000000000 +0100
@@ -29338,7 +29338,7 @@
     char *content_type;
     char *image_png;
     content_type = g_content_type_guess (NULL, data, data_size, NULL);
-    image_png = g_content_type_from_mime_type ("image/png");
+    image_png = g_content_type_from_mime_type ("image/no_GIO_MIME_sniffing_please");
     return !!strcmp (content_type, image_png);
   }
 _ACEOF
Comment 7 Pacho Ramos gentoo-dev 2010-10-01 19:38:46 UTC
Please test with just committed f-spot-0.8

Good luck! 
Comment 8 Benjamin Bannier 2010-10-03 18:04:14 UTC
> Please test with just committed f-spot-0.8

Yes, works like a charm both with and without USE=raw. Am I right that this is
an upstream fix and I can close the bugreport there as well?


Thanks,

b.
Comment 9 Pacho Ramos gentoo-dev 2010-10-04 08:24:25 UTC
I agree :-)