Bug 237846 - ufraw: missing exiv2 support
Summary: ufraw: missing exiv2 support
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: ufraw
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nils Philippsen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-04-25 17:28 UTC by Rex Dieter
Modified: 2007-11-30 22:12 UTC (History)
0 users

(edit)
Clone Of:
(edit)
Last Closed: 2007-04-26 13:37:28 UTC


Attachments (Terms of Use)
initial patch, it at least compiles now. (1018 bytes, patch)
2007-04-25 18:14 UTC, Rex Dieter
no flags Details | Diff

Description Rex Dieter 2007-04-25 17:28:09 UTC
Sorry, had only previously tested if the rebuild works, not functionality.

Rebuilding ufraw against exiv2-0.14 yields build.log containing:
...
checking whether to read raw EXIF data using exiv2... yes
checking for exiv2-config... no
...

problem being, exiv2 >= 0.14 no longer includes exiv2-config

I'll see about whipping up a patch for ufraw to use pkg-config instead.

Comment 1 Rex Dieter 2007-04-25 17:44:18 UTC
Sigh, if only it were that simple:
...
nikon_curve.c:2026: warning: ignoring return value of 'fread', declared with
attribute warn_unused_result
if g++ -DHAVE_CONFIG_H -I. -I. -I.    -ffast-math -fomit-frame-pointer -W -Wall
-O3   -I/usr/include/gimp-2.0 -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/libpng12   -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2
-I/usr/include/libpng12   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -MT ufraw_exiv2.o -MD -MP -MF
".deps/ufraw_exiv2.Tpo" -c -o ufraw_exiv2.o ufraw_exiv2.cc; \
        then mv -f ".deps/ufraw_exiv2.Tpo" ".deps/ufraw_exiv2.Po"; else rm -f
".deps/ufraw_exiv2.Tpo"; exit 1; fi
ufraw_exiv2.cc: In function 'int ufraw_exif_from_exiv2(ufraw_data*)':
ufraw_exiv2.cc:204: error: request for member 'c_str' in
'((Exiv2::AnyError*)e)->Exiv2::AnyError::<anonymous>.std::exception::what()',
which is of non-class type 'const char*'


Comment 2 Rex Dieter 2007-04-25 18:14:03 UTC
Created attachment 153434 [details]
initial patch, it at least compiles now.

runtime only mimimally tested.

Comment 3 Rex Dieter 2007-04-25 18:16:25 UTC
%changelog
* Wed Apr 25 2007 Rex Dieter <rdieter[AT]fedoraproject> - 0.11-6
- initial exiv2 patch (#237846)

comitted to cvs, I'll leave the building/testing to you. :)

Comment 4 Rex Dieter 2007-04-25 18:25:22 UTC
Patch sent to ufraw-devel ml for review:
http://sourceforge.net/mailarchive/message.php?msg_name=462F9B60.1050100%40math.unl.edu

Comment 5 Rex Dieter 2007-04-26 13:37:28 UTC
sync'd patch with what upstream has. Now I'm more confident, so I'll go ahead
and queue the build...


Note You need to log in before you can comment on or make changes to this bug.