Hello community, here is the log from the commit of package libkdcraw for openSUSE:Factory checked in at 2014-07-16 16:18:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libkdcraw (Old) and /work/SRC/openSUSE:Factory/.libkdcraw.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libkdcraw" Changes: -------- --- /work/SRC/openSUSE:Factory/libkdcraw/libkdcraw.changes 2014-06-19 13:15:43.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libkdcraw.new/libkdcraw.changes 2014-07-16 16:18:49.000000000 +0200 @@ -1,0 +2,7 @@ +Thu Jul 10 22:20:28 UTC 2014 - [email protected] + +- Update to 4.13.80 + * KDE 4.14 Beta 1 release + * See http://www.kde.org/announcements/announce-4.14-beta1.php + +------------------------------------------------------------------- Old: ---- libkdcraw-4.13.2.tar.xz New: ---- libkdcraw-4.13.80.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libkdcraw.spec ++++++ --- /var/tmp/diff_new_pack.c3Aqin/_old 2014-07-16 16:18:50.000000000 +0200 +++ /var/tmp/diff_new_pack.c3Aqin/_new 2014-07-16 16:18:50.000000000 +0200 @@ -19,7 +19,7 @@ %define _so 23 Name: libkdcraw -Version: 4.13.2 +Version: 4.13.80 Release: 0 Summary: Shared library interface around dcraw License: LGPL-2.0+ and GPL-2.0+ and GPL-3.0+ ++++++ libkdcraw-4.13.2.tar.xz -> libkdcraw-4.13.80.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkdcraw-4.13.2/CMakeLists.txt new/libkdcraw-4.13.80/CMakeLists.txt --- old/libkdcraw-4.13.2/CMakeLists.txt 2013-12-10 17:26:18.000000000 +0100 +++ new/libkdcraw-4.13.80/CMakeLists.txt 2014-07-06 09:20:12.000000000 +0200 @@ -6,7 +6,7 @@ # @date 2006-12-09 # @brief a tread-safe libraw C++ program interface for KDE # -# @author Copyright (C) 2006-2013 by Gilles Caulier +# @author Copyright (C) 2006-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 @@ -132,10 +132,13 @@ # ================================================================================================== ADD_SUBDIRECTORY(libkdcraw) -ADD_SUBDIRECTORY(test) ADD_SUBDIRECTORY(icons) ADD_SUBDIRECTORY(profiles) +IF(KDE4_BUILD_TESTS) + MACRO_OPTIONAL_ADD_SUBDIRECTORY(tests) +ENDIF(KDE4_BUILD_TESTS) + IF(NOT WIN32) CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/libkdcraw.pc.cmake ${CMAKE_CURRENT_BINARY_DIR}/libkdcraw.pc) CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/libkdcraw.lsm.cmake ${CMAKE_CURRENT_BINARY_DIR}/libkdcraw.lsm) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkdcraw-4.13.2/test/CMakeLists.txt new/libkdcraw-4.13.80/test/CMakeLists.txt --- old/libkdcraw-4.13.2/test/CMakeLists.txt 2013-12-10 17:26:18.000000000 +0100 +++ new/libkdcraw-4.13.80/test/CMakeLists.txt 1970-01-01 01:00:00.000000000 +0100 @@ -1,33 +0,0 @@ -# =========================================================== -# -# This file is a part of digiKam project -# <a href="http://www.digikam.org">http://www.digikam.org</a> -# -# @date 2006-12-09 -# @brief a tread-safe libraw C++ program interface for KDE -# -# @author Copyright (C) 2006-2013 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. -# -# ============================================================ - -INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../libkdcraw) - -SET(raw2png_SRCS raw2png.cpp) -ADD_EXECUTABLE(raw2png ${raw2png_SRCS}) -TARGET_LINK_LIBRARIES(raw2png kdcraw ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY}) - -SET(libinfo_SRCS libinfo.cpp) -ADD_EXECUTABLE(libinfo ${libinfo_SRCS}) -TARGET_LINK_LIBRARIES(libinfo kdcraw ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY}) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkdcraw-4.13.2/test/libinfo.cpp new/libkdcraw-4.13.80/test/libinfo.cpp --- old/libkdcraw-4.13.2/test/libinfo.cpp 2013-12-10 17:26:18.000000000 +0100 +++ new/libkdcraw-4.13.80/test/libinfo.cpp 1970-01-01 01:00:00.000000000 +0100 @@ -1,49 +0,0 @@ -/** =========================================================== - * - * This file is a part of digiKam project - * <a href="http://www.digikam.org">http://www.digikam.org</a> - * - * @date 2013-09-07 - * @brief a command line tool to show libkdcraw info - * - * @author Copyright (C) 2013 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. - * - * ============================================================ */ - -// Qt includes - -#include <QString> -#include <QDebug> - -// Local includes - -#include "kdcraw.h" - -using namespace KDcrawIface; - -int main(int /*argc*/, char** /*argv*/) -{ - qDebug() << "Libkdcraw version : " << KDcraw::version(), - qDebug() << "Libraw version : " << KDcraw::librawVersion(); - qDebug() << "Use OpenMP : " << KDcraw::librawUseGomp(); - qDebug() << "Use RawSpeed : " << KDcraw::librawUseRawSpeed(); - qDebug() << "Use GPL2 Pack : " << KDcraw::librawUseGPL2DemosaicPack(); - qDebug() << "Use GPL3 Pack : " << KDcraw::librawUseGPL3DemosaicPack(); - qDebug() << "Raw files list : " << KDcraw::rawFilesList(); - qDebug() << "Raw files version : " << KDcraw::rawFilesVersion(); - qDebug() << "Supported camera : " << KDcraw::supportedCamera(); - - return 0; -} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkdcraw-4.13.2/test/raw2png.cpp new/libkdcraw-4.13.80/test/raw2png.cpp --- old/libkdcraw-4.13.2/test/raw2png.cpp 2013-12-10 17:26:18.000000000 +0100 +++ new/libkdcraw-4.13.80/test/raw2png.cpp 1970-01-01 01:00:00.000000000 +0100 @@ -1,138 +0,0 @@ -/** =========================================================== - * - * This file is a part of digiKam project - * <a href="http://www.digikam.org">http://www.digikam.org</a> - * - * @date 2008-15-09 - * @brief a command line tool to convert RAW file to PNG - * - * @author Copyright (C) 2008-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. - * - * ============================================================ */ - -// Qt includes - -#include <QString> -#include <QFile> -#include <QFileInfo> -#include <QDebug> - -// Local includes - -#include "kdcraw.h" -#include "rawdecodingsettings.h" - -using namespace KDcrawIface; - -int main(int argc, char** argv) -{ - if(argc != 2) - { - qDebug() << "raw2png - RAW Camera Image to PNG Converter"; - qDebug() << "Usage: <rawfile>"; - return -1; - } - - QString filePath(argv[1]); - QFileInfo input(filePath); - QString previewFilePath(input.baseName() + QString(".preview.png")); - QFileInfo previewOutput(previewFilePath); - QString halfFilePath(input.baseName() + QString(".half.png")); - QFileInfo halfOutput(halfFilePath); - QString fullFilePath(input.baseName() + QString(".full.png")); - QFileInfo fullOutput(fullFilePath); - QImage image; - DcrawInfoContainer identify; - - // ----------------------------------------------------------- - - qDebug() << "raw2png: Identify RAW image from " << input.fileName(); - - KDcraw rawProcessor; - if (!rawProcessor.rawFileIdentify(identify, filePath)) - { - qDebug() << "raw2png: Idendify RAW image failed. Aborted..."; - return -1; - } - - int width = identify.imageSize.width(); - int height = identify.imageSize.height(); - - qDebug() << "raw2png: Raw image info:"; - qDebug() << "--- Date: " << identify.dateTime.toString(Qt::ISODate); - qDebug() << "--- Make: " << identify.make; - qDebug() << "--- Model: " << identify.model; - qDebug() << "--- Size: " << width << "x" << height; - qDebug() << "--- Filter: " << identify.filterPattern; - qDebug() << "--- Colors: " << identify.rawColors; - - // ----------------------------------------------------------- - - qDebug() << "raw2png: Loading RAW image preview"; - - if (!rawProcessor.loadRawPreview(image, filePath)) - { - qDebug() << "raw2png: Loading RAW image preview failed. Aborted..."; - return -1; - } - - qDebug() << "raw2png: Saving preview image to " - << previewOutput.fileName() << " size (" - << image.width() << "x" << image.height() - << ")"; - image.save(previewFilePath, "PNG"); - - // ----------------------------------------------------------- - - qDebug() << "raw2png: Loading half RAW image"; - - image = QImage(); - if (!rawProcessor.loadHalfPreview(image, filePath)) - { - qDebug() << "raw2png: Loading half RAW image failed. Aborted..."; - return -1; - } - - qDebug() << "raw2png: Saving half image to " - << halfOutput.fileName() << " size (" - << image.width() << "x" << image.height() - << ")"; - image.save(halfFilePath, "PNG"); - - // ----------------------------------------------------------- - - qDebug() << "raw2png: Loading full RAW image"; - - image = QImage(); - RawDecodingSettings settings; - settings.halfSizeColorImage = false; - settings.sixteenBitsImage = false; - settings.RGBInterpolate4Colors = false; - settings.RAWQuality = RawDecodingSettings::BILINEAR; - - if (!rawProcessor.loadFullImage(image, filePath, settings)) - { - qDebug() << "raw2png: Loading full RAW image failed. Aborted..."; - return -1; - } - - qDebug() << "raw2png: Saving full RAW image to " - << fullOutput.fileName() << " size (" - << image.width() << "x" << image.height() - << ")"; - image.save(fullFilePath, "PNG"); - - return 0; -} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkdcraw-4.13.2/tests/CMakeLists.txt new/libkdcraw-4.13.80/tests/CMakeLists.txt --- old/libkdcraw-4.13.2/tests/CMakeLists.txt 1970-01-01 01:00:00.000000000 +0100 +++ new/libkdcraw-4.13.80/tests/CMakeLists.txt 2014-07-06 09:20:12.000000000 +0200 @@ -0,0 +1,33 @@ +# =========================================================== +# +# This file is a part of digiKam project +# <a href="http://www.digikam.org">http://www.digikam.org</a> +# +# @date 2006-12-09 +# @brief a tread-safe libraw C++ program interface for KDE +# +# @author Copyright (C) 2006-2013 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. +# +# ============================================================ + +INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../libkdcraw) + +SET(raw2png_SRCS raw2png.cpp) +ADD_EXECUTABLE(raw2png ${raw2png_SRCS}) +TARGET_LINK_LIBRARIES(raw2png kdcraw ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY}) + +SET(libinfo_SRCS libinfo.cpp) +ADD_EXECUTABLE(libinfo ${libinfo_SRCS}) +TARGET_LINK_LIBRARIES(libinfo kdcraw ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY}) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkdcraw-4.13.2/tests/libinfo.cpp new/libkdcraw-4.13.80/tests/libinfo.cpp --- old/libkdcraw-4.13.2/tests/libinfo.cpp 1970-01-01 01:00:00.000000000 +0100 +++ new/libkdcraw-4.13.80/tests/libinfo.cpp 2014-07-06 09:20:12.000000000 +0200 @@ -0,0 +1,49 @@ +/** =========================================================== + * + * This file is a part of digiKam project + * <a href="http://www.digikam.org">http://www.digikam.org</a> + * + * @date 2013-09-07 + * @brief a command line tool to show libkdcraw info + * + * @author Copyright (C) 2013 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. + * + * ============================================================ */ + +// Qt includes + +#include <QString> +#include <QDebug> + +// Local includes + +#include "kdcraw.h" + +using namespace KDcrawIface; + +int main(int /*argc*/, char** /*argv*/) +{ + qDebug() << "Libkdcraw version : " << KDcraw::version(), + qDebug() << "Libraw version : " << KDcraw::librawVersion(); + qDebug() << "Use OpenMP : " << KDcraw::librawUseGomp(); + qDebug() << "Use RawSpeed : " << KDcraw::librawUseRawSpeed(); + qDebug() << "Use GPL2 Pack : " << KDcraw::librawUseGPL2DemosaicPack(); + qDebug() << "Use GPL3 Pack : " << KDcraw::librawUseGPL3DemosaicPack(); + qDebug() << "Raw files list : " << KDcraw::rawFilesList(); + qDebug() << "Raw files version : " << KDcraw::rawFilesVersion(); + qDebug() << "Supported camera : " << KDcraw::supportedCamera(); + + return 0; +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkdcraw-4.13.2/tests/raw2png.cpp new/libkdcraw-4.13.80/tests/raw2png.cpp --- old/libkdcraw-4.13.2/tests/raw2png.cpp 1970-01-01 01:00:00.000000000 +0100 +++ new/libkdcraw-4.13.80/tests/raw2png.cpp 2014-07-06 09:20:12.000000000 +0200 @@ -0,0 +1,138 @@ +/** =========================================================== + * + * This file is a part of digiKam project + * <a href="http://www.digikam.org">http://www.digikam.org</a> + * + * @date 2008-15-09 + * @brief a command line tool to convert RAW file to PNG + * + * @author Copyright (C) 2008-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. + * + * ============================================================ */ + +// Qt includes + +#include <QString> +#include <QFile> +#include <QFileInfo> +#include <QDebug> + +// Local includes + +#include "kdcraw.h" +#include "rawdecodingsettings.h" + +using namespace KDcrawIface; + +int main(int argc, char** argv) +{ + if(argc != 2) + { + qDebug() << "raw2png - RAW Camera Image to PNG Converter"; + qDebug() << "Usage: <rawfile>"; + return -1; + } + + QString filePath(argv[1]); + QFileInfo input(filePath); + QString previewFilePath(input.baseName() + QString(".preview.png")); + QFileInfo previewOutput(previewFilePath); + QString halfFilePath(input.baseName() + QString(".half.png")); + QFileInfo halfOutput(halfFilePath); + QString fullFilePath(input.baseName() + QString(".full.png")); + QFileInfo fullOutput(fullFilePath); + QImage image; + DcrawInfoContainer identify; + + // ----------------------------------------------------------- + + qDebug() << "raw2png: Identify RAW image from " << input.fileName(); + + KDcraw rawProcessor; + if (!rawProcessor.rawFileIdentify(identify, filePath)) + { + qDebug() << "raw2png: Idendify RAW image failed. Aborted..."; + return -1; + } + + int width = identify.imageSize.width(); + int height = identify.imageSize.height(); + + qDebug() << "raw2png: Raw image info:"; + qDebug() << "--- Date: " << identify.dateTime.toString(Qt::ISODate); + qDebug() << "--- Make: " << identify.make; + qDebug() << "--- Model: " << identify.model; + qDebug() << "--- Size: " << width << "x" << height; + qDebug() << "--- Filter: " << identify.filterPattern; + qDebug() << "--- Colors: " << identify.rawColors; + + // ----------------------------------------------------------- + + qDebug() << "raw2png: Loading RAW image preview"; + + if (!rawProcessor.loadRawPreview(image, filePath)) + { + qDebug() << "raw2png: Loading RAW image preview failed. Aborted..."; + return -1; + } + + qDebug() << "raw2png: Saving preview image to " + << previewOutput.fileName() << " size (" + << image.width() << "x" << image.height() + << ")"; + image.save(previewFilePath, "PNG"); + + // ----------------------------------------------------------- + + qDebug() << "raw2png: Loading half RAW image"; + + image = QImage(); + if (!rawProcessor.loadHalfPreview(image, filePath)) + { + qDebug() << "raw2png: Loading half RAW image failed. Aborted..."; + return -1; + } + + qDebug() << "raw2png: Saving half image to " + << halfOutput.fileName() << " size (" + << image.width() << "x" << image.height() + << ")"; + image.save(halfFilePath, "PNG"); + + // ----------------------------------------------------------- + + qDebug() << "raw2png: Loading full RAW image"; + + image = QImage(); + RawDecodingSettings settings; + settings.halfSizeColorImage = false; + settings.sixteenBitsImage = false; + settings.RGBInterpolate4Colors = false; + settings.RAWQuality = RawDecodingSettings::BILINEAR; + + if (!rawProcessor.loadFullImage(image, filePath, settings)) + { + qDebug() << "raw2png: Loading full RAW image failed. Aborted..."; + return -1; + } + + qDebug() << "raw2png: Saving full RAW image to " + << fullOutput.fileName() << " size (" + << image.width() << "x" << image.height() + << ")"; + image.save(fullFilePath, "PNG"); + + return 0; +} -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
