diff options
author | bsam <bsam@FreeBSD.org> | 2009-03-12 06:19:40 +0800 |
---|---|---|
committer | bsam <bsam@FreeBSD.org> | 2009-03-12 06:19:40 +0800 |
commit | 420f0acbf783b2a3949b01867eb8a9367689eb5a (patch) | |
tree | 9951433330e9cd4e3cb639625458e021f5762687 /graphics/gwenview-kde4 | |
parent | 05f137f20afed5123f9ddf775fa4a8ce6c59f259 (diff) | |
download | freebsd-ports-gnome-420f0acbf783b2a3949b01867eb8a9367689eb5a.tar.gz freebsd-ports-gnome-420f0acbf783b2a3949b01867eb8a9367689eb5a.tar.zst freebsd-ports-gnome-420f0acbf783b2a3949b01867eb8a9367689eb5a.zip |
. update graphics/exiv2 to the new version;
. bump ports which depends upon libexiv2.so
(the library was bumpted from *.so.3 to *.so.7);
. mark current graphics/py-exiv2 as broken since it doesn't compile
with new libexiv2; this should change with graphics/py-exiv2-0.2.
PR: ports/131376
Submitted by: bsam (me)
Discussed with: kde@
Approved by: maintainer timeout (5 weeks)
Diffstat (limited to 'graphics/gwenview-kde4')
-rw-r--r-- | graphics/gwenview-kde4/Makefile | 4 | ||||
-rw-r--r-- | graphics/gwenview-kde4/files/patch-src_imageutils_jpegcontent.cpp | 22 |
2 files changed, 24 insertions, 2 deletions
diff --git a/graphics/gwenview-kde4/Makefile b/graphics/gwenview-kde4/Makefile index 647143ed0e68..1d1d31f45c9a 100644 --- a/graphics/gwenview-kde4/Makefile +++ b/graphics/gwenview-kde4/Makefile @@ -7,7 +7,7 @@ PORTNAME= gwenview PORTVERSION= 1.4.2 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= graphics kde MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -16,7 +16,7 @@ MAINTAINER= markus@FreeBSD.org COMMENT= An image viewer and browser for the KDE environment LIB_DEPENDS= kipi.2:${PORTSDIR}/graphics/libkipi \ - exiv2.3:${PORTSDIR}/graphics/exiv2 + exiv2.7:${PORTSDIR}/graphics/exiv2 USE_BZIP2= yes USE_GMAKE= yes diff --git a/graphics/gwenview-kde4/files/patch-src_imageutils_jpegcontent.cpp b/graphics/gwenview-kde4/files/patch-src_imageutils_jpegcontent.cpp new file mode 100644 index 000000000000..48943654ed68 --- /dev/null +++ b/graphics/gwenview-kde4/files/patch-src_imageutils_jpegcontent.cpp @@ -0,0 +1,22 @@ +--- 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()); + } + + |