2020-09-12 15:12:01 +02:00
|
|
|
Index: libdbusmenu-qt-0.9.3-16.04.20160218-0ubuntu1/CMakeLists.txt
|
|
|
|
===================================================================
|
|
|
|
--- libdbusmenu-qt-0.9.3-16.04.20160218-0ubuntu1.orig/CMakeLists.txt
|
|
|
|
+++ libdbusmenu-qt-0.9.3-16.04.20160218-0ubuntu1/CMakeLists.txt
|
|
|
|
@@ -107,7 +107,7 @@ install(FILES ${CMAKE_BINARY_DIR}/dbusme
|
|
|
|
)
|
2013-11-25 21:47:49 +01:00
|
|
|
|
|
|
|
add_subdirectory(src)
|
|
|
|
-add_subdirectory(tests)
|
|
|
|
+#add_subdirectory(tests)
|
|
|
|
add_subdirectory(tools)
|
|
|
|
|
2020-09-12 15:12:01 +02:00
|
|
|
if(WITH_DOC)
|
|
|
|
Index: libdbusmenu-qt-0.9.3-16.04.20160218-0ubuntu1/src/debug_p.h
|
|
|
|
===================================================================
|
|
|
|
--- libdbusmenu-qt-0.9.3-16.04.20160218-0ubuntu1.orig/src/debug_p.h
|
|
|
|
+++ libdbusmenu-qt-0.9.3-16.04.20160218-0ubuntu1/src/debug_p.h
|
|
|
|
@@ -26,7 +26,11 @@
|
|
|
|
#define _DMBLUE "\033[34m"
|
|
|
|
#define _DMRED "\033[31m"
|
|
|
|
#define _DMRESET "\033[0m"
|
2013-11-25 21:47:49 +01:00
|
|
|
+#ifndef QT_NO_DEBUG
|
2020-09-12 15:12:01 +02:00
|
|
|
#define _DMTRACE(level, color) (level().nospace() << color << __PRETTY_FUNCTION__ << _DMRESET ":").space()
|
|
|
|
+#else
|
|
|
|
+#define _DMTRACE(level, color) QT_NO_QDEBUG_MACRO()
|
2013-11-25 21:47:49 +01:00
|
|
|
+#endif
|
|
|
|
|
2020-09-12 15:12:01 +02:00
|
|
|
// Simple macros to get KDebug like support
|
|
|
|
#define DMDEBUG _DMTRACE(qDebug, _DMBLUE)
|