head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.4 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.2 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.3.0.24 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.3.0.22 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.3.0.20 pkgsrc-2011Q2-base:1.3 pkgsrc-2011Q1:1.3.0.18 pkgsrc-2011Q1-base:1.3 pkgsrc-2010Q4:1.3.0.16 pkgsrc-2010Q4-base:1.3 pkgsrc-2010Q3:1.3.0.14 pkgsrc-2010Q3-base:1.3 pkgsrc-2010Q2:1.3.0.12 pkgsrc-2010Q2-base:1.3 pkgsrc-2010Q1:1.3.0.10 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.3.0.8 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.3.0.6 pkgsrc-2009Q3-base:1.3 pkgsrc-2009Q2:1.3.0.4 pkgsrc-2009Q2-base:1.3 pkgsrc-2009Q1:1.3.0.2 pkgsrc-2009Q1-base:1.3 pkgsrc-2008Q4:1.2.0.20 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.18 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.16 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.14 pkgsrc-2008Q2-base:1.2 pkgsrc-2008Q1:1.2.0.12 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.10 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.8 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.6 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.4 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.2 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.1.0.6 pkgsrc-2006Q3-base:1.1 pkgsrc-2006Q2:1.1.0.4 pkgsrc-2006Q2-base:1.1 pkgsrc-2006Q1:1.1.0.2 pkgsrc-2006Q1-base:1.1; locks; strict; comment @# @; 1.4 date 2012.03.19.23.32.15; author markd; state dead; branches; next 1.3; 1.3 date 2009.03.22.20.07.31; author markd; state Exp; branches; next 1.2; 1.2 date 2006.12.03.05.07.08; author markd; state dead; branches; next 1.1; 1.1 date 2006.01.10.20.16.44; author wiz; state Exp; branches; next ; desc @@ 1.4 log @Update to KDE SC 4.8.0 @ text @$NetBSD: patch-aa,v 1.3 2009/03/22 20:07:31 markd Exp $ Fix build with exiv2-01.8 from gentoo patches. --- src/imageutils/jpegcontent.cpp.orig 2007-09-15 19:46:17.000000000 +0600 +++ src/imageutils/jpegcontent.cpp 2009-01-09 14:24:04.000000000 +0500 @@@@ -589,7 +589,8 @@@@ QImage JPEGContent::thumbnail() const { QImage image; if (!d->mExifData.empty()) { - Exiv2::DataBuf thumbnail = d->mExifData.copyThumbnail(); + Exiv2::ExifThumbC thumb(d->mExifData); + Exiv2::DataBuf const thumbnail = thumb.copy(); image.loadFromData(thumbnail.pData_, thumbnail.size_); } return image; @@@@ -611,7 +612,8 @@@@ return; } - d->mExifData.setJpegThumbnail((unsigned char*)array.data(), array.size()); + Exiv2::ExifThumb thumb(d->mExifData); + thumb.setJpegThumbnail((unsigned char*)array.data(), array.size()); } @ 1.3 log @add missing patch from previous. @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Update gwenview{,-i18n} to 1.4.1 New features: * Show preview of images when dragging them. * Added "back/forward/reload/save as" actions to the KPart context menu Fixes: * Load JPEG rotated images using the right rotation directly instead of loading them first and rotate them after. * Fix crash when showing current folder properties from context menu. * Do not show the name of the current file in the status bar: it's already shown in the title bar and it was causing the mainwindow to be enlarged if the name was very long. * Show the "rotate left" button in KParts. * Use Exiv2 instead of libexif to fix troubles with some JPEG. * Fix crash when using Gwenview KPart in kwebdesktop. * Fix content of KPart context menu when viewing remote images. * Do not let the KPart title get overriden when switching tabs. * Make context menu behavior coherent with KDE. * Fix compilation with --enable-final * Do not loose selection when switching from detail to thumbnail view. * In KPart, do not loose selection when starting a drag. * Fixed behavior of the middle-mouse button. * Unless the user rotated the image, saving from the KPart now does a copy of the image instead of recompressing it. This ensures the KPart won't fail to save certain files. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.1 2006/01/10 20:16:44 wiz Exp $ d3 22 a24 4 --- src/imageutils/jpeg-data.h.orig 2005-11-20 17:08:51.000000000 +0000 +++ src/imageutils/jpeg-data.h @@@@ -22,7 +22,7 @@@@ #define __JPEG_DATA_H__ a25 3 #include "jpeg-marker.h" -#include "exif-data.h" +#include "libexif/exif-data.h" a26 2 #ifdef __cplusplus extern "C" { @ 1.1 log @Make build after libexif update. Add pkg-config to USE_TOOLS, used by libexif. @ text @d1 1 a1 1 $NetBSD$ @