mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 03:03:37 +00:00
7b74a76d9b
GnuCash uses Gnome's GSettings to store user preferences. This was not working before. wrapGAppsHook is introduced to solve this problem, but it must be tweaked to not wrap GnuCash's cli utilities for fetching financial quotes. Those are now deliberately wrapped with their Perl library dependencies. The existing code is refactored in an attempt to clarify which dependencies are needed and why.
44 lines
1.6 KiB
Diff
44 lines
1.6 KiB
Diff
diff --git a/libgnucash/engine/test/CMakeLists.txt b/libgnucash/engine/test/CMakeLists.txt
|
|
index 8e44172ff..c7289e4fd 100644
|
|
--- a/libgnucash/engine/test/CMakeLists.txt
|
|
+++ b/libgnucash/engine/test/CMakeLists.txt
|
|
@@ -167,22 +167,22 @@ set(test_gnc_numeric_SOURCES
|
|
gnc_add_test(test-gnc-numeric "${test_gnc_numeric_SOURCES}"
|
|
gtest_engine_INCLUDES gtest_qof_LIBS)
|
|
|
|
-set(test_gnc_timezone_SOURCES
|
|
- ${MODULEPATH}/gnc-timezone.cpp
|
|
- gtest-gnc-timezone.cpp)
|
|
-gnc_add_test(test-gnc-timezone "${test_gnc_timezone_SOURCES}"
|
|
- gtest_engine_INCLUDES gtest_old_engine_LIBS)
|
|
-
|
|
-set(test_gnc_datetime_SOURCES
|
|
- ${MODULEPATH}/gnc-datetime.cpp
|
|
- ${MODULEPATH}/gnc-timezone.cpp
|
|
- ${MODULEPATH}/gnc-date.cpp
|
|
- ${MODULEPATH}/qoflog.cpp
|
|
- ${CMAKE_SOURCE_DIR}/libgnucash/core-utils/gnc-locale-utils.cpp
|
|
- ${gtest_engine_win32_SOURCES}
|
|
- gtest-gnc-datetime.cpp)
|
|
-gnc_add_test(test-gnc-datetime "${test_gnc_datetime_SOURCES}"
|
|
- gtest_engine_INCLUDES gtest_qof_LIBS)
|
|
+#set(test_gnc_timezone_SOURCES
|
|
+# ${MODULEPATH}/gnc-timezone.cpp
|
|
+# gtest-gnc-timezone.cpp)
|
|
+#gnc_add_test(test-gnc-timezone "${test_gnc_timezone_SOURCES}"
|
|
+# gtest_engine_INCLUDES gtest_old_engine_LIBS)
|
|
+
|
|
+#set(test_gnc_datetime_SOURCES
|
|
+# ${MODULEPATH}/gnc-datetime.cpp
|
|
+# ${MODULEPATH}/gnc-timezone.cpp
|
|
+# ${MODULEPATH}/gnc-date.cpp
|
|
+# ${MODULEPATH}/qoflog.cpp
|
|
+# ${CMAKE_SOURCE_DIR}/libgnucash/core-utils/gnc-locale-utils.cpp
|
|
+# ${gtest_engine_win32_SOURCES}
|
|
+# gtest-gnc-datetime.cpp)
|
|
+#gnc_add_test(test-gnc-datetime "${test_gnc_datetime_SOURCES}"
|
|
+# gtest_engine_INCLUDES gtest_qof_LIBS)
|
|
|
|
set(test_import_map_SOURCES
|
|
gtest-import-map.cpp)
|