Krita: bump version

This commit is contained in:
Gerasim Troeglazov
2019-01-31 21:06:31 +10:00
parent a84995439d
commit 9c0ff98bc8
2 changed files with 20 additions and 18 deletions

View File

@@ -1,11 +1,11 @@
From 482ae00914dfedb5ba9c1a52367b6e5f8dd6b59c Mon Sep 17 00:00:00 2001
From 7bed7ddfbba7dbd500094b636d6c87a1e35bea40 Mon Sep 17 00:00:00 2001
From: Gerasim Troeglazov <3dEyes@gmail.com>
Date: Fri, 28 Sep 2018 19:44:36 +0300
Date: Thu, 31 Jan 2019 19:12:47 +1000
Subject: Fix haiku build
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 58d9014..06cf5eb 100644
index a9cf3e2..00d010d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -329,7 +329,7 @@ set_package_properties(Qt5QuickWidgets PROPERTIES
@@ -18,10 +18,10 @@ index 58d9014..06cf5eb 100644
find_package(Qt5 ${MIN_QT_VERSION} REQUIRED X11Extras)
diff --git a/krita/main.cc b/krita/main.cc
index d0e9fea..ef39058 100644
index dca2ee1..af0cd8e 100644
--- a/krita/main.cc
+++ b/krita/main.cc
@@ -205,7 +205,7 @@ extern "C" int main(int argc, char **argv)
@@ -207,7 +207,7 @@ extern "C" int main(int argc, char **argv)
}
@@ -30,7 +30,7 @@ index d0e9fea..ef39058 100644
{
QByteArray originalXdgDataDirs = qgetenv("XDG_DATA_DIRS");
if (originalXdgDataDirs.isEmpty()) {
@@ -214,6 +214,9 @@ extern "C" int main(int argc, char **argv)
@@ -216,6 +216,9 @@ extern "C" int main(int argc, char **argv)
}
qputenv("XDG_DATA_DIRS", QFile::encodeName(root + "share") + ":" + originalXdgDataDirs);
}
@@ -41,7 +41,7 @@ index d0e9fea..ef39058 100644
qputenv("XDG_DATA_DIRS", QFile::encodeName(root + "share"));
#endif
diff --git a/libs/image/kis_image_config.cpp b/libs/image/kis_image_config.cpp
index a6bc47a..300cd8e 100644
index daa5d88..88f8ea1 100644
--- a/libs/image/kis_image_config.cpp
+++ b/libs/image/kis_image_config.cpp
@@ -359,6 +359,8 @@ void KisImageConfig::setLazyFrameCreationEnabled(bool value)
@@ -68,10 +68,10 @@ index a6bc47a..300cd8e 100644
MEMORYSTATUSEX status;
status.dwLength = sizeof(status);
diff --git a/libs/ui/CMakeLists.txt b/libs/ui/CMakeLists.txt
index a231cb8..1c76898 100644
index 2909398..bee2778 100644
--- a/libs/ui/CMakeLists.txt
+++ b/libs/ui/CMakeLists.txt
@@ -435,7 +435,7 @@ if(UNIX)
@@ -432,7 +432,7 @@ if(UNIX)
input/wintab/kis_tablet_support.cpp
qtlockedfile/qtlockedfile_unix.cpp
)
@@ -80,16 +80,16 @@ index a231cb8..1c76898 100644
set(kritaui_LIB_SRCS
${kritaui_LIB_SRCS}
input/wintab/qxcbconnection_xi2.cpp
@@ -552,7 +552,7 @@ if (HAVE_KIO)
target_link_libraries(kritaui KF5::KIOCore)
endif()
@@ -543,7 +543,7 @@ if (HAVE_QT_MULTIMEDIA)
target_link_libraries(kritaui Qt5::Multimedia)
endif()
-if (NOT WIN32 AND NOT APPLE)
+if (NOT WIN32 AND NOT APPLE AND NOT HAIKU)
target_link_libraries(kritaui ${X11_X11_LIB}
${X11_Xinput_LIB}
${XCB_LIBRARIES})
@@ -563,11 +563,17 @@ if(APPLE)
@@ -554,11 +554,17 @@ if(APPLE)
target_link_libraries(kritaui ${APPKIT_LIBRARY})
endif ()
@@ -185,5 +185,5 @@ index 9429916..b090ab1 100644
endif()
add_subdirectory(overview)
--
2.19.0
2.19.1