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.
I put together package, but for some reason it did not compile with 0.18 in PPA - need to investigate these further: launchpadlibrar ian.net/ 22891119/ buildlog_ ubuntu- jaunty- amd64.pyexiv2_ 0.1.2-4build2~ ppa~lure1_ FAILEDTOBUILD. txt.gz
http://
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 >write( (const char*) rawData.pData_, rawData.size_); :ExifParser: :encode( rawData, Exiv2:: littleEndian, exifData ); >write( (const char*) &*rawData.begin(), rawData.size() );
Exiv2::DataBuf rawData = exifData.copy();
ioDevice-
#else
Exiv2::Blob rawData;
Exiv2:
ioDevice-
#endif
That way, it would be possible to use pyexiv2 with both.