I put together package, but for some reason it did not compile with 0.18 in PPA 
- need to investigate these further:
http://launchpadlibrarian.net/22891119/buildlog_ubuntu-jaunty-amd64.pyexiv2_0.1.2-4build2~ppa~lure1_FAILEDTOBUILD.txt.gz

For transition, it would be helpful if pyexiv2 would be still supporting 0.17 
version. Would it be possible to make it conditionally compile 0.17 or 0.18 
Thumbnail code?
Koffice2/Krita does exactly this, by checking:

#if EXIV2_MAJOR_VERSION == 0 && EXIV2_MINOR_VERSION <= 17
    Exiv2::DataBuf rawData = exifData.copy();
    ioDevice->write((const char*) rawData.pData_, rawData.size_);
#else
    Exiv2::Blob rawData;
    Exiv2::ExifParser::encode( rawData, Exiv2::littleEndian, exifData );
    ioDevice->write((const char*) &*rawData.begin(), rawData.size() );
#endif

That way, it would be possible to use pyexiv2 with both.

-- 
Please sync exiv2-0.18 from Debian Experimental
https://bugs.launchpad.net/bugs/309684
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to