Bug 237846

Summary: ufraw: missing exiv2 support
Product: [Fedora] Fedora Reporter: Rex Dieter <rdieter>
Component: ufrawAssignee: Nils Philippsen <nphilipp>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-04-26 13:37:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
initial patch, it at least compiles now. none

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...