Package: calligra / 1:2.8.5+dfsg-1

kisjpegtest_call_kisexiv2_initialize Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Index: calligra/krita/plugins/formats/jpeg/tests/kis_jpeg_test.cpp
===================================================================
--- calligra.orig/krita/plugins/formats/jpeg/tests/kis_jpeg_test.cpp	2014-07-09 11:09:39.538991380 +0200
+++ calligra/krita/plugins/formats/jpeg/tests/kis_jpeg_test.cpp	2014-07-09 11:33:12.712150352 +0200
@@ -27,6 +27,8 @@
 #include "filestest.h"
 #include "jpeglib.h"
 
+#include "kisexiv2/kis_exiv2.h"
+
 #ifndef FILES_DATA_DIR
 #error "FILES_DATA_DIR not set. A directory with the data used for testing the importing of files in krita"
 #endif
@@ -37,6 +39,7 @@
 
 void KisJpegTest::testFiles()
 {
+    KisExiv2::initialize();
     if (JPEG_LIB_VERSION == 80){
         TestUtil::testFiles(QString(FILES_DATA_DIR) + "/sources", QStringList(), "_80");
     }else {