summaryrefslogtreecommitdiff
path: root/libre/kipi-plugins/digikam_libkexiv2.patch
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-11-03 16:28:50 -0200
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-11-03 16:28:50 -0200
commit23e5b7072724bdc485310f5057aa5250a50a4193 (patch)
tree57f2f7afeb65156ea12a5a90ff098e82da2732b7 /libre/kipi-plugins/digikam_libkexiv2.patch
parent66ff4b2f46c05845f3be9e9e655e0a2e45059ce2 (diff)
downloadabslibre-23e5b7072724bdc485310f5057aa5250a50a4193.tar.gz
abslibre-23e5b7072724bdc485310f5057aa5250a50a4193.tar.bz2
abslibre-23e5b7072724bdc485310f5057aa5250a50a4193.zip
kipi-plugins-4.4.0-1.parabola1{,.nonprism1}: updating version
Diffstat (limited to 'libre/kipi-plugins/digikam_libkexiv2.patch')
-rw-r--r--libre/kipi-plugins/digikam_libkexiv2.patch53
1 files changed, 53 insertions, 0 deletions
diff --git a/libre/kipi-plugins/digikam_libkexiv2.patch b/libre/kipi-plugins/digikam_libkexiv2.patch
new file mode 100644
index 000000000..018ce67a5
--- /dev/null
+++ b/libre/kipi-plugins/digikam_libkexiv2.patch
@@ -0,0 +1,53 @@
+commit f6945f23e0ed1e11f26e2c7e62b02baa8cfa640e
+Author: Pino Toscano <pino@kde.org>
+Date: Tue Oct 14 22:26:19 2014 +0200
+
+ fix libkexiv2 version for AltLangStrEdit::textEdit()
+
+ it is part of current libkexiv2/master only (i.e. post 4.14.x, which
+ is 2.3.x)
+
+diff --git a/libs/imageproperties/captionedit.cpp b/libs/imageproperties/captionedit.cpp
+index 88413fc..70bdb6d 100644
+--- a/libs/imageproperties/captionedit.cpp
++++ b/libs/imageproperties/captionedit.cpp
+@@ -202,7 +202,7 @@ void CaptionEdit::slotAuthorChanged(const QString& text)
+
+ MsgTextEdit* CaptionEdit::textEdit() const
+ {
+-#if KEXIV2_VERSION >= 0x020302
++#if KEXIV2_VERSION >= 0x020400
+ return d->altLangStrEdit->textEdit();
+ #else
+ return 0;
+diff --git a/libs/imageproperties/imagedescedittab.cpp b/libs/imageproperties/imagedescedittab.cpp
+index ebfbae1..3d12777 100644
+--- a/libs/imageproperties/imagedescedittab.cpp
++++ b/libs/imageproperties/imagedescedittab.cpp
+@@ -429,7 +429,7 @@ ImageDescEditTab::ImageDescEditTab(QWidget* const parent)
+
+ // Initialize ---------------------------------------------
+
+-#if KEXIV2_VERSION >= 0x020302
++#if KEXIV2_VERSION >= 0x020400
+ d->titleEdit->textEdit()->installEventFilter(this);
+ d->captionsEdit->textEdit()->installEventFilter(this);
+ #endif
+@@ -532,7 +532,7 @@ void ImageDescEditTab::setFocusToNewTagEdit()
+ void ImageDescEditTab::setFocusToTitlesEdit()
+ {
+ d->tabWidget->setCurrentIndex(Private::DESCRIPTIONS);
+-#if KEXIV2_VERSION >= 0x020302
++#if KEXIV2_VERSION >= 0x020400
+ d->titleEdit->textEdit()->setFocus();
+ #endif
+ }
+@@ -540,7 +540,7 @@ void ImageDescEditTab::setFocusToTitlesEdit()
+ void ImageDescEditTab::setFocusToCommentsEdit()
+ {
+ d->tabWidget->setCurrentIndex(Private::DESCRIPTIONS);
+-#if KEXIV2_VERSION >= 0x020302
++#if KEXIV2_VERSION >= 0x020400
+ d->captionsEdit->textEdit()->setFocus();
+ #endif
+ }