Hello community, here is the log from the commit of package libkexiv2 for openSUSE:Factory checked in at 2015-01-08 23:19:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libkexiv2 (Old) and /work/SRC/openSUSE:Factory/.libkexiv2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libkexiv2" Changes: -------- --- /work/SRC/openSUSE:Factory/libkexiv2/libkexiv2.changes 2014-11-19 20:28:23.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libkexiv2.new/libkexiv2.changes 2015-01-09 01:11:16.000000000 +0100 @@ -1,0 +2,12 @@ +Wed Jan 7 12:05:43 UTC 2015 - [email protected] + +- BuildRequire at least libexiv2-devel >= 0.24 + +------------------------------------------------------------------- +Wed Dec 17 20:41:28 UTC 2014 - [email protected] + +- Update to KDE Applications 14.12.0 + * KDE Applications 14.12.0 + * See https://www.kde.org/announcements/announce-applications-14.12.0.php + +------------------------------------------------------------------- Old: ---- libkexiv2-4.14.3.tar.xz New: ---- libkexiv2-14.12.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libkexiv2.spec ++++++ --- /var/tmp/diff_new_pack.UYzXEP/_old 2015-01-09 01:11:17.000000000 +0100 +++ /var/tmp/diff_new_pack.UYzXEP/_new 2015-01-09 01:11:17.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package libkexiv2 # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,14 +19,14 @@ %define _so 11 Name: libkexiv2 -Version: 4.14.3 +Version: 14.12.0 Release: 0 Summary: Library to manipulate picture meta data License: GPL-2.0+ Group: Development/Libraries/KDE Url: http://www.kde.org Source0: %{name}-%{version}.tar.xz -BuildRequires: libexiv2-devel >= 0.21 +BuildRequires: libexiv2-devel >= 0.24 BuildRequires: libkde4-devel BuildRequires: xz Requires: %{name}-%{_so} = %{version} ++++++ libkexiv2-4.14.3.tar.xz -> libkexiv2-14.12.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkexiv2-4.14.3/CMakeLists.txt new/libkexiv2-14.12.0/CMakeLists.txt --- old/libkexiv2-4.14.3/CMakeLists.txt 2014-10-07 08:07:22.000000000 +0200 +++ new/libkexiv2-14.12.0/CMakeLists.txt 2014-10-30 23:07:39.000000000 +0100 @@ -41,7 +41,7 @@ SET(LIBKEXIV2_AREA_CODE_GENERAL 51003) ADD_DEFINITIONS(-DKDE_DEFAULT_DEBUG_AREA=${LIBKEXIV2_AREA_CODE_GENERAL}) -SET(EXIV2_MIN_VERSION "0.21") +SET(EXIV2_MIN_VERSION "0.24") FIND_PACKAGE(Exiv2) MACRO_LOG_FEATURE(EXIV2_FOUND "Exiv2" "Required to build libkexiv2." "http://www.exiv2.org" TRUE ${EXIV2_MIN_VERSION} "") @@ -74,11 +74,12 @@ # 2.2.0 => 11.0.0 (Released with KDE 4.8.1) - Remove deprecated methods # 2.3.0 => 11.1.0 (Released with KDE 4.8.2) - Add new static methods about XMP sidecar file management. # 2.3.1 => 11.2.0 - Add new method to set specific XMP tag string +# 2.4.0 => 11.3.0 - Add new method to access on text edit widget from AltLangStrEdit. # Library API version SET(KEXIV2_LIB_MAJOR_VERSION "2") -SET(KEXIV2_LIB_MINOR_VERSION "3") -SET(KEXIV2_LIB_PATCH_VERSION "2") +SET(KEXIV2_LIB_MINOR_VERSION "4") +SET(KEXIV2_LIB_PATCH_VERSION "0") # Suffix to add at end of version string. Usual values are: # "-git" : alpha code unstable from git. Do not use in production @@ -92,7 +93,7 @@ # Library ABI version used by linker. # For details : http://www.gnu.org/software/libtool/manual/libtool.html#Updating-version-info SET(KEXIV2_LIB_SO_CUR_VERSION "11") -SET(KEXIV2_LIB_SO_REV_VERSION "2") +SET(KEXIV2_LIB_SO_REV_VERSION "3") SET(KEXIV2_LIB_SO_AGE_VERSION "0") # ======================================================= @@ -112,7 +113,7 @@ ENDIF(KDE4_BUILD_TESTS) INCLUDE(CMakePackageConfigHelpers) - CONFIGURE_PACKAGE_CONFIG_FILE(libkexiv2-config.cmake.in libkexiv2-config.cmake + CONFIGURE_PACKAGE_CONFIG_FILE(${CMAKE_CURRENT_SOURCE_DIR}/cmake/templates/libkexiv2-config.cmake.in libkexiv2-config.cmake INSTALL_DESTINATION "${LIB_INSTALL_DIR}/cmake/libkexiv2-${KEXIV2_LIB_VERSION_STRING}" PATH_VARS INCLUDE_INSTALL_DIR NO_CHECK_REQUIRED_COMPONENTS_MACRO) @@ -130,8 +131,8 @@ "${LIB_INSTALL_DIR}/cmake/libkexiv2-${KEXIV2_LIB_VERSION_STRING}" ) IF(NOT WIN32) - CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/libkexiv2.pc.cmake ${CMAKE_CURRENT_BINARY_DIR}/libkexiv2.pc) - CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/libkexiv2.lsm.cmake ${CMAKE_CURRENT_BINARY_DIR}/libkexiv2.lsm) + CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/cmake/templates/libkexiv2.pc.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/libkexiv2.pc) + CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/cmake/templates/libkexiv2.lsm.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/libkexiv2.lsm) INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/libkexiv2.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig ) ENDIF(NOT WIN32) ENDIF (EXIV2_FOUND) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkexiv2-4.14.3/NEWS new/libkexiv2-14.12.0/NEWS --- old/libkexiv2-4.14.3/NEWS 2014-10-07 08:07:22.000000000 +0200 +++ new/libkexiv2-14.12.0/NEWS 2014-10-30 23:07:39.000000000 +0100 @@ -24,7 +24,7 @@ * cleanupExiv2(). Added a new method to load image data from a byte array. -Bugs fixed from B.K.O (http://bugs.kde.org): +Bugs fixed from bug (http://bugs.kde.org): 001 ==> 166424: Crash when editing Caption with Digikam4 SVN. 0.2.0 - Released with KDE 4.1.0 @@ -35,7 +35,7 @@ New method to fix orientation of a QImage accordingly with Exif orientation tag. Moved from extragear/libs to kdegraphics/libs -Bugs fixed from B.K.O (http://bugs.kde.org): +Bugs fixed from bug (http://bugs.kde.org): 001 ==> 146864: Lesser XMP support in digiKam. 0.1.7 @@ -44,7 +44,7 @@ - API changed: Added a version method to get runtime library version. - Fix RemoveIptcTag() to handle all redondant Iptc tags at the same time. -Bugs fixed from B.K.O (http://bugs.kde.org): +Bugs fixed from bug (http://bugs.kde.org): 001 ==> 157552: negative altitudes are not shown in metadata GPS sidebar 0.1.6 @@ -52,7 +52,7 @@ - API Changed : Kexiv2 destructor is now virtual. Krazy Code Checker fix (http://www.englishbreakfastnetwork.org/krazy) -Bugs fixed from B.K.O (http://bugs.kde.org): +Bugs fixed from bug (http://bugs.kde.org): 001 ==> 137750: color mode2 nikon d70s not recognized as adobe rgb 002 ==> 149267: digiKam crashes after finding gif,avi,txt and so on. 003 ==> 148182: Iptc.Application2.Keywords appends always the 0-byte. @@ -71,7 +71,7 @@ - API changed: added 4 new static methods to get Exif/Iptc tags description/title. moved depreceate protected methods used by digiKam core to private. -Bugs fixed from B.K.O (http://bugs.kde.org): +Bugs fixed from bug (http://bugs.kde.org): 001 ==> 144604: Rotation causes Exif data corruption. GPS data fix General : Make size of icons used in album icon view more configurable using a slider @@ -85,13 +85,13 @@ - added support for exiv2 from svn (next 0.14.0 release) - API changed: added printExiv2ExceptionError to manage Exiv2 C++ Exception error message -Bugs fixed from B.K.O (http://bugs.kde.org): +Bugs fixed from bug (http://bugs.kde.org): 001 ==> 142564: digiKam-signature in iptc and exif tags. 002 ==> 140297: GPS kipi plugin truncates input coordinates, introducing inacuracy. 0.1.1 ------------------------------------------------------------------------ -Bugs fixed from B.K.O (http://bugs.kde.org): +Bugs fixed from bug (http://bugs.kde.org): 001 ==> 141980: digiKam crash when rescan certain files exiv2. 0.1.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkexiv2-4.14.3/cmake/templates/libkexiv2-config.cmake.in new/libkexiv2-14.12.0/cmake/templates/libkexiv2-config.cmake.in --- old/libkexiv2-4.14.3/cmake/templates/libkexiv2-config.cmake.in 1970-01-01 01:00:00.000000000 +0100 +++ new/libkexiv2-14.12.0/cmake/templates/libkexiv2-config.cmake.in 2014-10-30 23:07:39.000000000 +0100 @@ -0,0 +1,8 @@ +@PACKAGE_INIT@ +set_and_check(libkexiv2_INCLUDE_DIR @PACKAGE_INCLUDE_INSTALL_DIR@) +if(NOT TARGET Libkexiv2::kexiv2) + include(${CMAKE_CURRENT_LIST_DIR}/libkexiv2-export.cmake) +endif() + +set(libkexiv2_LIBRARY Libkexiv2::kexiv2) +set(libkexiv2_LIBRARIES ${libkexiv2_LIBRARY}) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkexiv2-4.14.3/cmake/templates/libkexiv2.lsm.cmake.in new/libkexiv2-14.12.0/cmake/templates/libkexiv2.lsm.cmake.in --- old/libkexiv2-4.14.3/cmake/templates/libkexiv2.lsm.cmake.in 1970-01-01 01:00:00.000000000 +0100 +++ new/libkexiv2-14.12.0/cmake/templates/libkexiv2.lsm.cmake.in 2014-10-30 23:07:39.000000000 +0100 @@ -0,0 +1,15 @@ +Begin4 +Title: libkexiv2 +Version: ${KEXIV2_LIB_VERSION_STRING} +Entered-date: 2007-05-08 +Description: A C++ library to manipulate EXIF/IPTC/XMP metadata using Exiv2 library. This library is used by digiKam and kipi-plugins. +Keywords: kde image jpeg raw tiff png exif iptc xmp digikam kipi-plugins +Author: caulier dot gilles at gmail dot com (Gilles Caulier) + marcel dot wiesweg at gmx dot de (Marcel Wiesweg) +Maintained-by: +Primary-site: http://www.digikam.org +Alternate-site: http://www.digikam.org +Original-site: +Platforms: Linux and other Unices, MacOs-X, Win32. Needs KDE 4.x +Copying-policy: GPL +End diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkexiv2-4.14.3/cmake/templates/libkexiv2.pc.cmake.in new/libkexiv2-14.12.0/cmake/templates/libkexiv2.pc.cmake.in --- old/libkexiv2-4.14.3/cmake/templates/libkexiv2.pc.cmake.in 1970-01-01 01:00:00.000000000 +0100 +++ new/libkexiv2-14.12.0/cmake/templates/libkexiv2.pc.cmake.in 2014-10-30 23:07:39.000000000 +0100 @@ -0,0 +1,12 @@ +prefix=${CMAKE_INSTALL_PREFIX} +exec_prefix=${BIN_INSTALL_DIR} +libdir=${LIB_INSTALL_DIR} +includedir=${INCLUDE_INSTALL_DIR} + +Name: libkexiv2 +Description: A C++ library to manipulate EXIF/IPTC/XMP metadata using Exiv2 library. This library is used by digiKam and kipi-plugins. +URL: http://www.digikam.org +Requires: +Version: ${KEXIV2_LIB_VERSION_STRING} +Libs: -L${LIB_INSTALL_DIR} -lkexiv2 +Cflags: -I${INCLUDE_INSTALL_DIR} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkexiv2-4.14.3/libkexiv2/CMakeLists.txt new/libkexiv2-14.12.0/libkexiv2/CMakeLists.txt --- old/libkexiv2-4.14.3/libkexiv2/CMakeLists.txt 2014-10-07 08:07:22.000000000 +0200 +++ new/libkexiv2-14.12.0/libkexiv2/CMakeLists.txt 2014-10-30 23:07:39.000000000 +0100 @@ -31,7 +31,7 @@ ADD_DEFINITIONS( -DEXV_HAVE_DLL ) ENDIF( WIN32 ) -CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/version.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/version.h) +CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/version.h.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/version.h) # This was used to enable catching of exceptions thrown by libexiv2. # We use now #pragma GCC visibility push(default) around the headers @@ -70,7 +70,7 @@ INSTALL(FILES topicset.iptc-subjectcode.xml DESTINATION ${DATA_INSTALL_DIR}/libkexiv2/data) # Check if compilation is done through digiKam SC or not. If yes, do not install header files. -IF(NOT DIGIKAMSC_USE_PRIVATE_KDEGRAPHICS) +IF(NOT DIGIKAMSC_USE_PRIVATE_SHAREDLIBS) INSTALL(FILES kexiv2.h kexiv2data.h kexiv2previews.h diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkexiv2-4.14.3/libkexiv2/altlangstredit.cpp new/libkexiv2-14.12.0/libkexiv2/altlangstredit.cpp --- old/libkexiv2-4.14.3/libkexiv2/altlangstredit.cpp 2014-10-07 08:07:22.000000000 +0200 +++ new/libkexiv2-14.12.0/libkexiv2/altlangstredit.cpp 2014-10-30 23:07:39.000000000 +0100 @@ -7,7 +7,7 @@ * @date 2009-06-15 * @brief multi-languages string editor * - * @author Copyright (C) 2009-2013 by Gilles Caulier + * @author Copyright (C) 2009-2014 by Gilles Caulier * <a href="mailto:caulier dot gilles at gmail dot com">caulier dot gilles at gmail dot com</a> * * This program is free software; you can redistribute it @@ -534,4 +534,9 @@ QWidget::changeEvent(e); } +MsgTextEdit* AltLangStrEdit::textEdit() const +{ + return d->valueEdit; +} + } // namespace KExiv2Iface diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkexiv2-4.14.3/libkexiv2/altlangstredit.h new/libkexiv2-14.12.0/libkexiv2/altlangstredit.h --- old/libkexiv2-4.14.3/libkexiv2/altlangstredit.h 2014-10-07 08:07:22.000000000 +0200 +++ new/libkexiv2-14.12.0/libkexiv2/altlangstredit.h 2014-10-30 23:07:39.000000000 +0100 @@ -7,7 +7,7 @@ * @date 2009-06-15 * @brief multi-languages string editor * - * @author Copyright (C) 2009-2012 by Gilles Caulier + * @author Copyright (C) 2009-2014 by Gilles Caulier * <a href="mailto:caulier dot gilles at gmail dot com">caulier dot gilles at gmail dot com</a> * * This program is free software; you can redistribute it @@ -39,6 +39,8 @@ namespace KExiv2Iface { +class MsgTextEdit; + class KEXIV2_EXPORT AltLangStrEdit : public QWidget { Q_OBJECT @@ -79,6 +81,8 @@ */ void addCurrent(); + MsgTextEdit* textEdit() const; + Q_SIGNALS: /** diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkexiv2-4.14.3/libkexiv2/kexiv2.cpp new/libkexiv2-14.12.0/libkexiv2/kexiv2.cpp --- old/libkexiv2-4.14.3/libkexiv2/kexiv2.cpp 2014-10-07 08:07:22.000000000 +0200 +++ new/libkexiv2-14.12.0/libkexiv2/kexiv2.cpp 2014-10-30 23:07:39.000000000 +0100 @@ -28,10 +28,16 @@ #include "kexiv2.h" #include "kexiv2_p.h" +// KDE includes + +#include <klibloader.h> + // Local includes #include "version.h" +static const KCatalogLoader loader("libkexiv2"); + namespace KExiv2Iface { @@ -399,7 +405,7 @@ regularFilePath = givenFileInfo.canonicalPath();// Walk all the symlinks } - // NOTE: see B.K.O #137770 & #138540 : never touch the file if is read only. + // NOTE: see bug #137770 & #138540 : never touch the file if is read only. QFileInfo finfo(regularFilePath); QFileInfo dinfo(finfo.path()); if (!dinfo.isWritable()) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkexiv2-4.14.3/libkexiv2/kexiv2.h new/libkexiv2-14.12.0/libkexiv2/kexiv2.h --- old/libkexiv2-4.14.3/libkexiv2/kexiv2.h 2014-10-07 08:07:22.000000000 +0200 +++ new/libkexiv2-14.12.0/libkexiv2/kexiv2.h 2014-10-30 23:07:39.000000000 +0100 @@ -170,14 +170,14 @@ /** Return true if Exiv2 library initialization is done properly. This method must be called before using libkexiv2 with multithreading. It initialize several non re-entrancy code from Adobe XMP SDK - See B.K.O #166424 for details. Call cleanupExiv2() to clean things up later. + See bug #166424 for details. Call cleanupExiv2() to clean things up later. */ static bool initializeExiv2(); /** Return true if Exiv2 library memory allocations are cleaned properly. This method must be called after using libkexiv2 with multithreading. It cleans up memory used by Adobe XMP SDK - See B.K.O #166424 for details. + See bug #166424 for details. */ static bool cleanupExiv2(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkexiv2-4.14.3/libkexiv2/kexiv2_p.cpp new/libkexiv2-14.12.0/libkexiv2/kexiv2_p.cpp --- old/libkexiv2-4.14.3/libkexiv2/kexiv2_p.cpp 2014-10-07 08:07:22.000000000 +0200 +++ new/libkexiv2-14.12.0/libkexiv2/kexiv2_p.cpp 2014-10-30 23:07:39.000000000 +0100 @@ -172,7 +172,7 @@ { Exiv2::AccessMode mode; bool wroteComment = false, wroteEXIF = false, wroteIPTC = false, wroteXMP = false; - + // We need to load target file metadata to merge with new one. It's mandatory with TIFF format: // like all tiff file structure is based on Exif. image->readMetadata(); @@ -187,6 +187,8 @@ wroteComment = true; } + kDebug() << "wroteComment: " << wroteComment; + // Exif metadata ---------------------------------- mode = image->checkMode(Exiv2::mdExif); @@ -245,6 +247,8 @@ wroteEXIF = true; } + kDebug() << "wroteEXIF: " << wroteEXIF; + // Iptc metadata ---------------------------------- mode = image->checkMode(Exiv2::mdIptc); @@ -255,6 +259,8 @@ wroteIPTC = true; } + kDebug() << "wroteIPTC: " << wroteIPTC; + // Xmp metadata ----------------------------------- mode = image->checkMode(Exiv2::mdXmp); @@ -267,6 +273,8 @@ #endif } + kDebug() << "wroteXMP: " << wroteXMP; + if (!wroteComment && !wroteEXIF && !wroteIPTC && !wroteXMP) { kDebug() << "Writing metadata is not supported for file" << finfo.fileName(); @@ -274,8 +282,7 @@ } else if (!wroteEXIF || !wroteIPTC || !wroteXMP) { - kDebug() << "Support for writing metadata is limited for file" << finfo.fileName() - << "EXIF" << wroteEXIF << "IPTC" << wroteIPTC << "XMP" << wroteXMP; + kDebug() << "Support for writing metadata is limited for file" << finfo.fileName(); } if (!updateFileTimeStamp) @@ -297,6 +304,8 @@ { ::utime(QFile::encodeName(filePath), &ut); } + + kDebug() << "File time stamp restored"; } else { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkexiv2-4.14.3/libkexiv2/kexiv2exif.cpp new/libkexiv2-14.12.0/libkexiv2/kexiv2exif.cpp --- old/libkexiv2-4.14.3/libkexiv2/kexiv2exif.cpp 2014-10-07 08:07:22.000000000 +0200 +++ new/libkexiv2-14.12.0/libkexiv2/kexiv2exif.cpp 2014-10-30 23:07:39.000000000 +0100 @@ -834,7 +834,7 @@ if (it != exifData.end()) { - // See B.K.O #184156 comment #13 + // See bug #184156 comment #13 std::string val = it->print(&exifData); QString tagValue = QString::fromLocal8Bit(val.c_str()); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkexiv2-4.14.3/libkexiv2/kexiv2image.cpp new/libkexiv2-14.12.0/libkexiv2/kexiv2image.cpp --- old/libkexiv2-4.14.3/libkexiv2/kexiv2image.cpp 2014-10-07 08:07:22.000000000 +0200 +++ new/libkexiv2-14.12.0/libkexiv2/kexiv2image.cpp 2014-10-30 23:07:39.000000000 +0100 @@ -47,7 +47,7 @@ d->exifMetadata()["Exif.Image.ProcessingSoftware"] = std::string(software.toAscii().constData()); - // See B.K.O #142564: Check if Exif.Image.Software already exist. If yes, do not touch this tag. + // See bug #142564: Check if Exif.Image.Software already exist. If yes, do not touch this tag. if (!d->exifMetadata().empty()) { @@ -196,7 +196,7 @@ { // Set Exif values. - // NOTE: see B.K.O #144604: need to cast to record an unsigned integer value. + // NOTE: see bug #144604: need to cast to record an unsigned integer value. d->exifMetadata()["Exif.Image.ImageWidth"] = static_cast<uint32_t>(size.width()); d->exifMetadata()["Exif.Image.ImageLength"] = static_cast<uint32_t>(size.height()); d->exifMetadata()["Exif.Photo.PixelXDimension"] = static_cast<uint32_t>(size.width()); @@ -769,6 +769,7 @@ const std::string &exifdatetime(dateTime.toString(QString("yyyy:MM:dd hh:mm:ss")).toAscii().constData()); d->exifMetadata()["Exif.Image.DateTime"] = exifdatetime; d->exifMetadata()["Exif.Photo.DateTimeOriginal"] = exifdatetime; + d->exifMetadata()["Exif.Image.PreviewDateTime"] = exifdatetime; if(setDateTimeDigitized) d->exifMetadata()["Exif.Photo.DateTimeDigitized"] = exifdatetime; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkexiv2-4.14.3/libkexiv2/version.h.cmake new/libkexiv2-14.12.0/libkexiv2/version.h.cmake --- old/libkexiv2-4.14.3/libkexiv2/version.h.cmake 2014-10-07 08:07:22.000000000 +0200 +++ new/libkexiv2-14.12.0/libkexiv2/version.h.cmake 1970-01-01 01:00:00.000000000 +0100 @@ -1,32 +0,0 @@ -/** =========================================================== - * - * This file is a part of digiKam project - * <a href="http://www.digikam.org">http://www.digikam.org</a> - * - * @date 2007-02-06 - * @brief Exiv2 library interface for KDE - * - * @author Copyright (C) 2007-2012 by Gilles Caulier - * <a href="mailto:caulier dot gilles at gmail dot com">caulier dot gilles at gmail dot com</a> - * - * This program is free software; you can redistribute it - * and/or modify it under the terms of the GNU General - * Public License as published by the Free Software Foundation; - * either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * ============================================================ */ - -#ifndef KEXIV2_VERSION_H -#define KEXIV2_VERSION_H - -static const char kexiv2_version[] = "${KEXIV2_LIB_VERSION_STRING}"; - -#define KEXIV2_VERSION ${KEXIV2_LIB_VERSION_ID} - -#endif // KEXIV2_VERSION_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkexiv2-4.14.3/libkexiv2/version.h.cmake.in new/libkexiv2-14.12.0/libkexiv2/version.h.cmake.in --- old/libkexiv2-4.14.3/libkexiv2/version.h.cmake.in 1970-01-01 01:00:00.000000000 +0100 +++ new/libkexiv2-14.12.0/libkexiv2/version.h.cmake.in 2014-10-30 23:07:39.000000000 +0100 @@ -0,0 +1,32 @@ +/** =========================================================== + * + * This file is a part of digiKam project + * <a href="http://www.digikam.org">http://www.digikam.org</a> + * + * @date 2007-02-06 + * @brief Exiv2 library interface for KDE + * + * @author Copyright (C) 2007-2012 by Gilles Caulier + * <a href="mailto:caulier dot gilles at gmail dot com">caulier dot gilles at gmail dot com</a> + * + * This program is free software; you can redistribute it + * and/or modify it under the terms of the GNU General + * Public License as published by the Free Software Foundation; + * either version 2, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * ============================================================ */ + +#ifndef KEXIV2_VERSION_H +#define KEXIV2_VERSION_H + +static const char kexiv2_version[] = "${KEXIV2_LIB_VERSION_STRING}"; + +#define KEXIV2_VERSION ${KEXIV2_LIB_VERSION_ID} + +#endif // KEXIV2_VERSION_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkexiv2-4.14.3/libkexiv2-config.cmake.in new/libkexiv2-14.12.0/libkexiv2-config.cmake.in --- old/libkexiv2-4.14.3/libkexiv2-config.cmake.in 2014-10-07 08:07:22.000000000 +0200 +++ new/libkexiv2-14.12.0/libkexiv2-config.cmake.in 1970-01-01 01:00:00.000000000 +0100 @@ -1,8 +0,0 @@ -@PACKAGE_INIT@ -set_and_check(libkexiv2_INCLUDE_DIR @PACKAGE_INCLUDE_INSTALL_DIR@) -if(NOT TARGET Libkexiv2::kexiv2) - include(${CMAKE_CURRENT_LIST_DIR}/libkexiv2-export.cmake) -endif() - -set(libkexiv2_LIBRARY Libkexiv2::kexiv2) -set(libkexiv2_LIBRARIES ${libkexiv2_LIBRARY}) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkexiv2-4.14.3/libkexiv2.lsm.cmake new/libkexiv2-14.12.0/libkexiv2.lsm.cmake --- old/libkexiv2-4.14.3/libkexiv2.lsm.cmake 2014-10-07 08:07:22.000000000 +0200 +++ new/libkexiv2-14.12.0/libkexiv2.lsm.cmake 1970-01-01 01:00:00.000000000 +0100 @@ -1,15 +0,0 @@ -Begin4 -Title: libkexiv2 -Version: ${KEXIV2_LIB_VERSION_STRING} -Entered-date: 2007-05-08 -Description: A C++ library to manipulate EXIF/IPTC/XMP metadata using Exiv2 library. This library is used by digiKam and kipi-plugins. -Keywords: kde image jpeg raw tiff png exif iptc xmp digikam kipi-plugins -Author: caulier dot gilles at gmail dot com (Gilles Caulier) - marcel dot wiesweg at gmx dot de (Marcel Wiesweg) -Maintained-by: -Primary-site: http://www.digikam.org -Alternate-site: http://www.digikam.org -Original-site: -Platforms: Linux and other Unices, MacOs-X, Win32. Needs KDE 4.x -Copying-policy: GPL -End diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkexiv2-4.14.3/libkexiv2.pc.cmake new/libkexiv2-14.12.0/libkexiv2.pc.cmake --- old/libkexiv2-4.14.3/libkexiv2.pc.cmake 2014-10-07 08:07:22.000000000 +0200 +++ new/libkexiv2-14.12.0/libkexiv2.pc.cmake 1970-01-01 01:00:00.000000000 +0100 @@ -1,12 +0,0 @@ -prefix=${CMAKE_INSTALL_PREFIX} -exec_prefix=${BIN_INSTALL_DIR} -libdir=${LIB_INSTALL_DIR} -includedir=${INCLUDE_INSTALL_DIR} - -Name: libkexiv2 -Description: A C++ library to manipulate EXIF/IPTC/XMP metadata using Exiv2 library. This library is used by digiKam and kipi-plugins. -URL: http://www.digikam.org -Requires: -Version: ${KEXIV2_LIB_VERSION_STRING} -Libs: -L${LIB_INSTALL_DIR} -lkexiv2 -Cflags: -I${INCLUDE_INSTALL_DIR} -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
