Skip to content

Commit 03559fe

Browse files
authored
Merge pull request #370 from hpuhr/devel
Devel
2 parents 4383891 + f7141f1 commit 03559fe

File tree

1,064 files changed

+70043
-33109
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,064 files changed

+70043
-33109
lines changed

.gitignore

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,12 @@ Testing/
1414
*.backup
1515
*.toc
1616
*.pdf
17+
*.json
18+
*.sh
19+
*.txt
20+
*.cmake
21+
*.user
1722
*.AppImage
18-
ub14_build/
23+
*build/
1924

2025

CMakeLists.txt

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ set ( CMAKE_BUILD_TYPE RelWithDebInfo ) #Debug RelWithDebInfo Release
77

88
project( COMPASS )
99
SET(CPACK_PACKAGE_VERSION_MAJOR "0")
10-
SET(CPACK_PACKAGE_VERSION_MINOR "8")
10+
SET(CPACK_PACKAGE_VERSION_MINOR "9")
1111
SET(CPACK_PACKAGE_VERSION_PATCH "0")
1212

1313
message(" System: ${CMAKE_SYSTEM}")
@@ -17,10 +17,10 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
1717

1818
IF (SOURCE_BRANCH)
1919
message(" Platform: Linux (inside docker)")
20-
add_definitions ( -UNDEBUG -Wall -std=c++11 -fext-numeric-literals) # -DQT_NO_KEYWORDS
20+
add_definitions ( -UNDEBUG -Wall -std=c++14 -fext-numeric-literals) # -DQT_NO_KEYWORDS
2121
ELSE()
2222
message(" Platform: Linux (local)")
23-
add_definitions ( -UNDEBUG -Wall -std=c++14 -fext-numeric-literals) # -DQT_NO_KEYWORDS
23+
add_definitions ( -UNDEBUG -Wall -std=c++17 -fext-numeric-literals) # -DQT_NO_KEYWORDS
2424
ENDIF()
2525

2626
set(CMAKE_THREAD_PREFER_PTHREAD TRUE)
@@ -50,6 +50,8 @@ find_package ( Boost 1.73.0 REQUIRED COMPONENTS regex system program_options fil
5050
message(" Boost_INCLUDE_DIRS: ${Boost_INCLUDE_DIRS}")
5151
message(" Boost_LIBRARIES: ${Boost_LIBRARIES}")
5252

53+
add_definitions("-DBOOST_ALLOW_DEPRECATED_HEADERS -DBOOST_GEOMETRY_DISABLE_DEPRECATED_03_WARNING") # suppress internal boost deprecated warnings
54+
5355
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH};${COMPASS_PATH}/cmake_modules)
5456
message(" CMAKE_MODULE_PATH: ${CMAKE_MODULE_PATH}")
5557
set(CMAKE_PREFIX_PATH ${CMAKE_PREFIX_PATH};/usr/local/lib/cmake/;/usr/lib/x86_64-linux-gnu/)
@@ -119,6 +121,9 @@ find_package(GeographicLib REQUIRED)
119121
message(" GeographicLib_INCLUDE_DIRS: ${GeographicLib_INCLUDE_DIRS}")
120122
message(" GeographicLib_LIBRARIES: ${GeographicLib_LIBRARIES}")
121123

124+
#find_package(Arrow REQUIRED)
125+
#find_package(Parquet REQUIRED)
126+
find_package(DuckDB REQUIRED)
122127

123128
add_library(compass "")
124129

@@ -167,6 +172,9 @@ include_directories (
167172
${jASTERIX_INCLUDE_DIR}
168173
${PCAP_INCLUDE_DIR}
169174
${GeographicLib_INCLUDE_DIRS}
175+
#${Arrow_INCLUDE_DIRS}
176+
#${Parquet_INCLUDE_DIRS}
177+
${DUCKDB_INCLUDE_DIR}
170178
)
171179

172180
link_directories(
@@ -197,6 +205,9 @@ target_link_libraries ( compass
197205
${OSGQT_LIBRARIES}
198206
${OSGEARTH_LIBRARY}
199207
${GeographicLib_LIBRARIES}
208+
#Arrow::arrow_static
209+
#Parquet::parquet_static
210+
${DUCKDB_LIBRARIES}
200211
)
201212

202213
# installation stuff

appimage/appdir/ats.png

-15.8 KB
Binary file not shown.

appimage/appdir/ats.png

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
usr/share/icons/hicolor/512x512/apps/ats.png

appimage/appdir/compass.desktop

Lines changed: 0 additions & 20 deletions
This file was deleted.

appimage/appdir/compass.desktop

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
usr/share/applications/compass.desktop

appimage/compass.desktop

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Type=Application
44
Name=COMPASS
55
Comment=OpenATS Compliance Assessment
66
#TryExec=atsdb-client
7-
Exec=bin/compass_client -f
7+
Exec=compass_client -f
88
Icon=ats
99
Categories=Science;NumericalAnalysis;DataVisualization;
1010
#MimeType=image/x-foo;
@@ -18,3 +18,4 @@ Categories=Science;NumericalAnalysis;DataVisualization;
1818
#Exec=fooview --create-new
1919
#Name=Create a new Foo!
2020
#Icon=fooview-new
21+
X-AppImage-Version=5e91f777

cmake_modules/FindDuckDB.cmake

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
FIND_PATH(DUCKDB_INCLUDE_DIR duckdb.h
3+
PATHS
4+
/usr/local/include
5+
/usr/include
6+
)
7+
8+
FIND_LIBRARY(DUCKDB_LIBRARIES libduckdb.so
9+
PATHS
10+
/usr/local/lib
11+
/usr/lib
12+
)
13+
14+
SET(DUCKDB_FOUND 0)
15+
IF(DUCKDB_INCLUDE_DIR)
16+
IF(DUCKDB_LIBRARIES)
17+
SET(DUCKDB_FOUND 1)
18+
MESSAGE(STATUS "Found DuckDB")
19+
ENDIF(DUCKDB_LIBRARIES)
20+
ENDIF(DUCKDB_INCLUDE_DIR)
21+
22+
MARK_AS_ADVANCED(
23+
DUCKDB_INCLUDE_DIR
24+
DUCKDB_LIBRARIES
25+
)

conf/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version":"0.8.0",
2+
"version":"0.9.0",
33
"log_properties_file":"log4cpp.properties",
44
"log_filename":"log.txt",
55
"main_configuration_file":"client.json",

conf/default/compass.json

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
"parameters": {
33
"db_file_list": [
44
],
5-
"hide_evaluation": false,
6-
"hide_viewpoints": false,
7-
"last_db_filename": "/home/sk/data/austria/live_test/test.db"
5+
"last_db_filename": "",
6+
"min_app_height": 1080,
7+
"min_app_width": 1600
88
},
99
"sub_config_files": [
1010
{
@@ -45,11 +45,6 @@
4545
"read_chunk_size": 100000
4646
},
4747
"sub_configs": {
48-
"SQLiteConnection": {
49-
"SQLite Connection": {
50-
"parameters": null
51-
}
52-
}
5348
}
5449
}
5550
}

0 commit comments

Comments
 (0)