kmail-4.4.9-nodbus.patch 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. diff -ruN kmail-4.4.9.orig/kmail/tests/CMakeLists.txt kmail-4.4.9/kmail/tests/CMakeLists.txt
  2. --- kmail-4.4.9.orig/kmail/tests/CMakeLists.txt 2010-12-22 18:52:24.000000000 +0100
  3. +++ kmail-4.4.9/kmail/tests/CMakeLists.txt 2011-01-25 23:52:38.953021223 +0100
  4. @@ -9,14 +9,14 @@
  5. add_definitions(-DKMAIL_UNITTESTS=YES)
  6. ########### htmlquotecolorertest ###############
  7. -set(htmlquotecolorertest_SRCS htmlquotecolorertest.cpp ../htmlquotecolorer.cpp)
  8. -kde4_add_unit_test(htmlquotecolorertest TESTNAME kmail-quotecolorertest ${htmlquotecolorertest_SRCS})
  9. -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}")
  10. -target_link_libraries(htmlquotecolorertest
  11. - ${QT_QTTEST_LIBRARY}
  12. - ${QT_QTCORE_LIBRARY}
  13. - ${KDE4_KHTML_LIBRARY}
  14. -)
  15. +# set(htmlquotecolorertest_SRCS htmlquotecolorertest.cpp ../htmlquotecolorer.cpp)
  16. +# kde4_add_unit_test(htmlquotecolorertest TESTNAME kmail-quotecolorertest ${htmlquotecolorertest_SRCS})
  17. +# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}")
  18. +# target_link_libraries(htmlquotecolorertest
  19. +# ${QT_QTTEST_LIBRARY}
  20. +# ${QT_QTCORE_LIBRARY}
  21. +# ${KDE4_KHTML_LIBRARY}
  22. +# )
  23. ########### utiltests ###############
  24. diff -ruN kmail-4.4.9.orig/messagecore/tests/CMakeLists.txt kmail-4.4.9/messagecore/tests/CMakeLists.txt
  25. --- kmail-4.4.9.orig/messagecore/tests/CMakeLists.txt 2010-12-22 18:52:15.000000000 +0100
  26. +++ kmail-4.4.9/messagecore/tests/CMakeLists.txt 2011-01-25 23:50:54.421021223 +0100
  27. @@ -13,6 +13,6 @@
  28. # Attachment tests.
  29. add_messagecore_test( attachmentcompressjobtest.cpp )
  30. add_messagecore_test( attachmentfrommimecontentjobtest.cpp )
  31. -add_messagecore_test( attachmentfromurljobtest.cpp )
  32. +# add_messagecore_test( attachmentfromurljobtest.cpp )
  33. add_messagecore_test( attachmentparttest.cpp )
  34. -add_messagecore_test( attachmentpropertiesdialogtest.cpp )
  35. +# add_messagecore_test( attachmentpropertiesdialogtest.cpp )
  36. diff -ruN kmail-4.4.9.orig/messageviewer/tests/CMakeLists.txt kmail-4.4.9/messageviewer/tests/CMakeLists.txt
  37. --- kmail-4.4.9.orig/messageviewer/tests/CMakeLists.txt 2010-12-22 18:52:47.000000000 +0100
  38. +++ kmail-4.4.9/messageviewer/tests/CMakeLists.txt 2011-01-25 23:51:58.374021223 +0100
  39. @@ -6,23 +6,23 @@
  40. )
  41. ########### htmlquotecolorertest ###############
  42. -set(messageviewer_htmlquotecolorertest_SRCS htmlquotecolorertest.cpp ../htmlquotecolorer.cpp)
  43. -kde4_add_unit_test(messageviewer_htmlquotecolorertest TESTNAME messageviewer-quotecolorertest ${messageviewer_htmlquotecolorertest_SRCS})
  44. -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}")
  45. -target_link_libraries(messageviewer_htmlquotecolorertest
  46. - ${QT_QTTEST_LIBRARY}
  47. - ${QT_QTCORE_LIBRARY}
  48. - ${KDE4_KHTML_LIBRARY}
  49. - messageviewer
  50. -)
  51. +# set(messageviewer_htmlquotecolorertest_SRCS htmlquotecolorertest.cpp ../htmlquotecolorer.cpp)
  52. +# kde4_add_unit_test(messageviewer_htmlquotecolorertest TESTNAME messageviewer-quotecolorertest ${messageviewer_htmlquotecolorertest_SRCS})
  53. +# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}")
  54. +# target_link_libraries(messageviewer_htmlquotecolorertest
  55. +# ${QT_QTTEST_LIBRARY}
  56. +# ${QT_QTCORE_LIBRARY}
  57. +# ${KDE4_KHTML_LIBRARY}
  58. +# messageviewer
  59. +# )
  60. ########### stringutiltest ###############
  61. -set(stringutiltest_SRCS stringutiltest.cpp)
  62. -kde4_add_unit_test(stringutiltest TESTNAME messageviewer-stringutiltest ${stringutiltest_SRCS})
  63. -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}")
  64. -target_link_libraries(stringutiltest
  65. - ${QT_QTTEST_LIBRARY}
  66. - ${QT_QTCORE_LIBRARY}
  67. - ${KDE4_KHTML_LIBRARY}
  68. - messageviewer
  69. -)
  70. +# set(stringutiltest_SRCS stringutiltest.cpp)
  71. +# kde4_add_unit_test(stringutiltest TESTNAME messageviewer-stringutiltest ${stringutiltest_SRCS})
  72. +# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}")
  73. +# target_link_libraries(stringutiltest
  74. +# ${QT_QTTEST_LIBRARY}
  75. +# ${QT_QTCORE_LIBRARY}
  76. +# ${KDE4_KHTML_LIBRARY}
  77. +# messageviewer
  78. +# )