Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 177902 Details for
Bug 254049
media-gfx/gwenview-1.4.2 fails to build with media-gfx/exiv2-0.18 installed
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
gwenview-1.4.2.ebuild.patch - fixed
gwenview-1.4.2.ebuild.patch (text/plain), 1.99 KB, created by
Yar Odin
on 2009-01-09 19:29:42 UTC
(
hide
)
Description:
gwenview-1.4.2.ebuild.patch - fixed
Filename:
MIME Type:
Creator:
Yar Odin
Created:
2009-01-09 19:29:42 UTC
Size:
1.99 KB
patch
obsolete
>diff -ruN gwenview.orig/files/gwenview-1.4.2-exiv2.patch gwenview/files/gwenview-1.4.2-exiv2.patch >--- gwenview.orig/files/gwenview-1.4.2-exiv2.patch 1970-01-01 05:00:00.000000000 +0500 >+++ gwenview/files/gwenview-1.4.2-exiv2.patch 2009-01-09 22:58:37.000000000 +0500 >@@ -0,0 +1,46 @@ >+--- src/imageutils/jpegcontent.cpp.orig 2009-01-09 22:54:12.000000000 +0500 >++++ src/imageutils/jpegcontent.cpp 2009-01-09 22:56:48.000000000 +0500 >+@@ -47,6 +47,17 @@ >+ #include "imageutils/jpegcontent.h" >+ #include "imageutils/jpegerrormanager.h" >+ >++// Make sure an EXIV2_TEST_VERSION macro exists: >++ >++#ifdef EXIV2_VERSION >++# ifndef EXIV2_TEST_VERSION >++# define EXIV2_TEST_VERSION(major,minor,patch) \ >++ ( EXIV2_VERSION >= EXIV2_MAKE_VERSION(major,minor,patch) ) >++# endif >++#else >++# define EXIV2_TEST_VERSION(major,minor,patch) (false) >++#endif >++ >+ namespace ImageUtils { >+ >+ const int INMEM_DST_DELTA=4096; >+@@ -589,7 +600,12 @@ >+ QImage JPEGContent::thumbnail() const { >+ QImage image; >+ if (!d->mExifData.empty()) { >++#if (EXIV2_TEST_VERSION(0,17,91)) >++ Exiv2::ExifThumbC thumb(d->mExifData); >++ Exiv2::DataBuf const thumbnail = thumb.copy(); >++#else >+ Exiv2::DataBuf thumbnail = d->mExifData.copyThumbnail(); >++#endif >+ image.loadFromData(thumbnail.pData_, thumbnail.size_); >+ } >+ return image; >+@@ -611,7 +627,12 @@ >+ return; >+ } >+ >++#if (EXIV2_TEST_VERSION(0,17,91)) >++ Exiv2::ExifThumb thumb(d->mExifData); >++ thumb.setJpegThumbnail((unsigned char*)array.data(), array.size()); >++#else >+ d->mExifData.setJpegThumbnail((unsigned char*)array.data(), array.size()); >++#endif >+ } >+ >+ >diff -ruN gwenview.orig/gwenview-1.4.2.ebuild gwenview/gwenview-1.4.2.ebuild >--- gwenview.orig/gwenview-1.4.2.ebuild 2008-09-14 03:46:29.000000000 +0600 >+++ gwenview/gwenview-1.4.2.ebuild 2009-01-10 00:28:30.000000000 +0500 >@@ -35,6 +35,8 @@ > src_unpack() { > kde_src_unpack > >+ epatch "${FILESDIR}/"${P}"-exiv2.patch" >+ > if [ -d "${WORKDIR}/${I18N}" ]; then > cd "${WORKDIR}/${I18N}" > for X in ${LANGS}; do
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 254049
:
177858
|
177859
|
177874
|
177897
|
177898
|
177901
| 177902