diff options
Diffstat (limited to 'kde-apps/gwenview/files/gwenview-15.08.3-fix-libkipi.patch')
-rw-r--r-- | kde-apps/gwenview/files/gwenview-15.08.3-fix-libkipi.patch | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/kde-apps/gwenview/files/gwenview-15.08.3-fix-libkipi.patch b/kde-apps/gwenview/files/gwenview-15.08.3-fix-libkipi.patch deleted file mode 100644 index a66eeb3f6b62..000000000000 --- a/kde-apps/gwenview/files/gwenview-15.08.3-fix-libkipi.patch +++ /dev/null @@ -1,62 +0,0 @@ -diff --git a/app/kipiinterface.h b/app/kipiinterface.h -index d3961e9..f8a2f8e 100644 ---- a/app/kipiinterface.h -+++ b/app/kipiinterface.h -@@ -26,9 +26,17 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Cambridge, MA 02110-1301, USA - #include <kipi/interface.h> - #include <kipi/imagecollectionshared.h> - #include <kipi/plugin.h> -+#include <libkipi_version.h> - - class QAction; - -+#ifndef KIPI_VERSION_MAJOR -+#error KIPI_VERSION_MAJOR should be provided. -+#endif -+#if KIPI_VERSION_MAJOR >= 5 -+#define GWENVIEW_KIPI_WITH_CREATE_METHODS -+#endif -+ - namespace Gwenview - { - -@@ -60,6 +68,12 @@ public: - - bool isLoadingFinished() const; - -+#ifdef GWENVIEW_KIPI_WITH_CREATE_METHODS -+ virtual KIPI::FileReadWriteLock* createReadWriteLock(const QUrl& url) const; -+ virtual KIPI::MetadataProcessor* createMetadataProcessor() const; -+ virtual KIPI::RawProcessor* createRawProcessor() const; -+#endif -+ - Q_SIGNALS: - void loadingFinished(); - -diff --git a/app/kipiinterface.cpp b/app/kipiinterface.cpp -index 8f71700..88a212b 100644 ---- a/app/kipiinterface.cpp -+++ b/app/kipiinterface.cpp -@@ -457,4 +457,22 @@ void KIPIInterface::slotDirectoryChanged() - emit currentAlbumChanged(true); - } - -+#ifdef GWENVIEW_KIPI_WITH_CREATE_METHODS -+KIPI::FileReadWriteLock* KIPIInterface::createReadWriteLock(const QUrl& url) const -+{ -+ return NULL; -+} -+ -+KIPI::MetadataProcessor* KIPIInterface::createMetadataProcessor() const -+{ -+ return NULL; -+} -+ -+KIPI::RawProcessor* KIPIInterface::createRawProcessor() const -+{ -+ return NULL; -+} -+#endif -+ -+ - } //namespace |