Changeset: ea95751ef03e for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=ea95751ef03e Branch: monetdbe-proxy Log Message:
Merge with default. diffs (truncated from 574 to 300 lines): diff --git a/MonetDB.spec b/MonetDB.spec --- a/MonetDB.spec +++ b/MonetDB.spec @@ -257,6 +257,7 @@ Summary: MonetDB - Monet Database Manage Group: Applications/Databases %if (0%{?fedora} >= 22) Recommends: %{name}-SQL-server5%{?_isa} = %{version}-%{release} +Recommends: MonetDB5-server%{?_isa} = %{version}-%{release} %endif %description client @@ -351,7 +352,7 @@ Requires: %{name}-client-odbc%{?_isa} = Recommends: perl-DBD-monetdb >= 1.0 Recommends: php-monetdb >= 1.0 %endif -Requires: %{name}-SQL-server5%{?_isa} = %{version}-%{release} +Requires: MonetDB5-server%{?_isa} = %{version}-%{release} Requires: python3-pymonetdb >= 1.0.6 %description client-tests @@ -394,7 +395,7 @@ automatic index management, extensibilit accelerators. It also has an SQL front end. This package contains the GIS (Geographic Information System) -extensions for %{name}-SQL-server5. +extensions for MonetDB5-server. %files geom-MonetDB5 %defattr(-,root,root) @@ -405,7 +406,7 @@ extensions for %{name}-SQL-server5. %package R Summary: Integration of MonetDB and R, allowing use of R from within SQL Group: Applications/Databases -Requires: MonetDB-SQL-server5%{?_isa} = %{version}-%{release} +Requires: MonetDB5-server%{?_isa} = %{version}-%{release} %description R MonetDB is a database management system that is developed from a @@ -430,7 +431,7 @@ install it. %package python3 Summary: Integration of MonetDB and Python, allowing use of Python from within SQL Group: Applications/Databases -Requires: MonetDB-SQL-server5%{?_isa} = %{version}-%{release} +Requires: MonetDB5-server%{?_isa} = %{version}-%{release} %description python3 MonetDB is a database management system that is developed from a @@ -454,7 +455,7 @@ install it. %package cfitsio Summary: MonetDB: Add on module that provides support for FITS files Group: Applications/Databases -Requires: MonetDB-SQL-server5%{?_isa} = %{version}-%{release} +Requires: MonetDB5-server%{?_isa} = %{version}-%{release} %description cfitsio MonetDB is a database management system that is developed from a @@ -496,8 +497,9 @@ automatic index management, extensibilit accelerators. It also has an SQL front end. This package contains the MonetDB server component. You need this -package if you want to use the MonetDB database system. If you want -to use the SQL front end, you also need %{name}-SQL-server5. +package if you want to use the MonetDB database system. If you want to +use the monetdb and monetdbd programs to manage your databases +(recommended), you also need %{name}-SQL-server5. %pre -n MonetDB5-server %{?sysusers_create_package:echo 'u monetdb - "MonetDB Server" /var/lib/monetdb' | systemd-sysusers --replace=%_sysusersdir/monetdb.conf -} @@ -531,6 +533,7 @@ exit 0 %{_bindir}/mserver5 %exclude %{_bindir}/stethoscope %{_libdir}/libmonetdb5.so.* +%{_libdir}/libmonetdbsql.so* %dir %{_libdir}/monetdb5 %if %{with cintegration} %{_libdir}/monetdb5/lib_capi.so @@ -584,8 +587,8 @@ main-memory perspective with use of a fu automatic index management, extensibility of data types and search accelerators. It also has an SQL front end. -This package contains the SQL front end for MonetDB. If you want to -use SQL with MonetDB, you will need to install this package. +This package contains the monetdb and monetdbd programs and the systemd +configuration. %if %{?rhel:0}%{!?rhel:1} || 0%{?rhel} >= 7 %post SQL-server5 @@ -617,7 +620,6 @@ use SQL with MonetDB, you will need to i %config(noreplace) %attr(664,monetdb,monetdb) %{_localstatedir}/monetdb5/dbfarm/.merovingian_properties %verify(not mtime) %attr(664,monetdb,monetdb) %{_localstatedir}/monetdb5/dbfarm/.merovingian_lock %config(noreplace) %attr(644,root,root) %{_sysconfdir}/logrotate.d/monetdbd -%{_libdir}/libmonetdbsql.so* %doc %{_mandir}/man1/monetdb.1.gz %doc %{_mandir}/man1/monetdbd.1.gz %dir %{_datadir}/doc/MonetDB-SQL diff --git a/NT/mksqlwxs.py b/NT/mksqlwxs.py --- a/NT/mksqlwxs.py +++ b/NT/mksqlwxs.py @@ -88,6 +88,16 @@ def main(): print(r' <FileSearch Id="CheckFile2" Name="gdk.h"/>') print(r' </DirectorySearch>') print(r' </Property>') + print(r' <Property Id="GEOMMALEXISTS">') + print(r' <DirectorySearch Id="CheckFileDir3" Path="[INSTALLDIR]\lib\monetdb5" Depth="0">') + print(r' <FileSearch Id="CheckFile3" Name="geom.mal"/>') + print(r' </DirectorySearch>') + print(r' </Property>') + print(r' <Property Id="GEOMLIBEXISTS">') + print(r' <DirectorySearch Id="CheckFileDir4" Path="[INSTALLDIR]\lib\monetdb5" Depth="0">') + print(r' <FileSearch Id="CheckFile4" Name="_geom.dll"/>') + print(r' </DirectorySearch>') + print(r' </Property>') print(r' <Property Id="PYAPI3EXISTS">') print(r' <DirectorySearch Id="CheckFileDir5" Path="[INSTALLDIR]" Depth="0">') print(r' <FileSearch Id="CheckFile5" Name="pyapi_locatepython3.bat"/>') @@ -258,7 +268,7 @@ def main(): print(r' <Feature Id="GeomModule" Level="1000" AllowAdvertise="no" Absent="allow" Title="Geom Module" Description="The GIS (Geographic Information System) extension for MonetDB/SQL.">') for f in geom: print(r' <ComponentRef Id="{}"/>'.format(f)) - print(r' <Condition Level="1">GEOMEXISTS</Condition>') + print(r' <Condition Level="1">GEOMMALEXISTS OR GEOMLIBEXISTS</Condition>') print(r' </Feature>') print(r' </Feature>') print(r' <UIRef Id="WixUI_Mondo"/>') diff --git a/clients/odbc/driver/CMakeLists.txt b/clients/odbc/driver/CMakeLists.txt --- a/clients/odbc/driver/CMakeLists.txt +++ b/clients/odbc/driver/CMakeLists.txt @@ -107,7 +107,8 @@ target_sources(MonetODBC target_include_directories(MonetODBC PRIVATE - $<$<BOOL:${ODBC_FOUND}>:${ODBC_INCLUDE_DIR}> + $<TARGET_PROPERTY:mapi,INTERFACE_INCLUDE_DIRECTORIES> + $<$<BOOL:${ODBC_FOUND}>:${ODBC_INCLUDE_DIRS}> PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}> $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/monetdb>) @@ -120,8 +121,7 @@ target_link_libraries(MonetODBC PRIVATE monetdb_config_header mutils - mapi - ODBC::ODBC) + mapi) install(TARGETS MonetODBC diff --git a/clients/odbc/samples/CMakeLists.txt b/clients/odbc/samples/CMakeLists.txt --- a/clients/odbc/samples/CMakeLists.txt +++ b/clients/odbc/samples/CMakeLists.txt @@ -6,7 +6,7 @@ # Copyright 1997 - July 2008 CWI, August 2008 - 2020 MonetDB B.V. #]] -include_directories($<$<BOOL:${ODBC_FOUND}>:${ODBC_INCLUDE_DIR}>) +include_directories($<$<BOOL:${ODBC_FOUND}>:${ODBC_INCLUDE_DIRS}>) if(TESTING) add_executable(odbcsample1 diff --git a/clients/odbc/setup/CMakeLists.txt b/clients/odbc/setup/CMakeLists.txt --- a/clients/odbc/setup/CMakeLists.txt +++ b/clients/odbc/setup/CMakeLists.txt @@ -16,7 +16,7 @@ target_sources(MonetODBCs target_include_directories(MonetODBCs PRIVATE - $<$<BOOL:${ODBC_FOUND}>:${ODBC_INCLUDE_DIR}> + $<$<BOOL:${ODBC_FOUND}>:${ODBC_INCLUDE_DIRS}> PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}> $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/monetdb>) diff --git a/cmake/monetdb-defines.cmake b/cmake/monetdb-defines.cmake --- a/cmake/monetdb-defines.cmake +++ b/cmake/monetdb-defines.cmake @@ -14,7 +14,7 @@ function(monetdb_configure_defines) check_include_file("dispatch/dispatch.h" HAVE_DISPATCH_DISPATCH_H) check_include_file("dlfcn.h" HAVE_DLFCN_H) check_include_file("fcntl.h" HAVE_FCNTL_H) -# use find_path for getop.h since we need the path on Windows +# use find_path for getopt.h since we need the path on Windows find_path(HAVE_GETOPT_H "getopt.h") check_include_file("io.h" HAVE_IO_H) check_include_file("kvm.h" HAVE_KVM_H) @@ -324,7 +324,7 @@ macro(monetdb_configure_sizes) if(ODBC_FOUND) cmake_push_check_state() - set(CMAKE_REQUIRED_INCLUDES "${CMAKE_REQUIRED_INCLUDES};${ODBC_INCLUDE_DIR}") + set(CMAKE_REQUIRED_INCLUDES "${CMAKE_REQUIRED_INCLUDES};${ODBC_INCLUDE_DIRS}") if(WIN32) set(CMAKE_EXTRA_INCLUDE_FILES "${CMAKE_EXTRA_INCLUDE_FILES};Windows.h;sqlext.h;sqltypes.h") check_include_file("afxres.h" HAVE_AFXRES_H) diff --git a/ctest/tools/monetdbe/test_helper.c b/ctest/tools/monetdbe/test_helper.c --- a/ctest/tools/monetdbe/test_helper.c +++ b/ctest/tools/monetdbe/test_helper.c @@ -44,7 +44,7 @@ #define MONETDB_COLUMN_TPE monetdbe_column_int64_t #include "test_helper_template.h" -#if HAVE_HGE +#ifdef HAVE_HGE #define TPE TEST_TPE_ID(int128_t) #define CHECK_COLUMN_FUNC check_column_int128_t #define TPE_ENUM monetdbe_int128_t diff --git a/ctest/tools/monetdbe/test_helper.h b/ctest/tools/monetdbe/test_helper.h --- a/ctest/tools/monetdbe/test_helper.h +++ b/ctest/tools/monetdbe/test_helper.h @@ -20,7 +20,7 @@ TYPE_DEFTEST_TPE(int8_t, int8_t); TYPE_DEFTEST_TPE(int16_t, int16_t); TYPE_DEFTEST_TPE(int32_t, int32_t); TYPE_DEFTEST_TPE(int64_t, int64_t); -#if HAVE_HGE +#ifdef HAVE_HGE TYPE_DEFTEST_TPE(int128_t, __int128); #endif TYPE_DEFTEST_TPE(size_t, size_t); @@ -41,7 +41,7 @@ extern bool check_column_int8_t (mone extern bool check_column_int16_t (monetdbe_result* result, size_t column_index, size_t expected_nr_column_entries, TEST_TPE_ID(int16_t)* expected_column); extern bool check_column_int32_t (monetdbe_result* result, size_t column_index, size_t expected_nr_column_entries, TEST_TPE_ID(int32_t)* expected_column); extern bool check_column_int64_t (monetdbe_result* result, size_t column_index, size_t expected_nr_column_entries, TEST_TPE_ID(int64_t)* expected_column); -#if HAVE_HGE +#ifdef HAVE_HGE extern bool check_column_int128_t (monetdbe_result* result, size_t column_index, size_t expected_nr_column_entries, TEST_TPE_ID(int128_t)* expected_column); #endif extern bool check_column_size_t (monetdbe_result* result, size_t column_index, size_t expected_nr_column_entries, TEST_TPE_ID(size_t)* expected_column); @@ -53,7 +53,7 @@ extern bool check_column_date (mone extern bool check_column_time (monetdbe_result* result, size_t column_index, size_t expected_nr_column_entries, TEST_TPE_ID(time)* expected_column); extern bool check_column_timestamp (monetdbe_result* result, size_t column_index, size_t expected_nr_column_entries, TEST_TPE_ID(timestamp)* expected_column); -#if HAVE_HGE +#ifdef HAVE_HGE #define BIGGEST_INTEGER_TPE int128_t #define check_column_BIGGEST_INTEGER_TPE check_column_int128_t #else diff --git a/debian/control b/debian/control --- a/debian/control +++ b/debian/control @@ -97,7 +97,8 @@ Description: MonetDB client/server inter Package: monetdb-client Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} -Recommends: monetdb5-sql (= ${source:Version}) +Recommends: monetdb5-sql (= ${source:Version}), + monetdb5-server (= ${source:Version}) Description: MonetDB database client MonetDB is a database management system that is developed from a main-memory perspective with use of a fully decomposed storage model, @@ -111,7 +112,7 @@ Description: MonetDB database client Package: libmonetdb-client-odbc Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends} +Depends: ${shlibs:Depends}, ${misc:Depends}, odbcinst Description: MonetDB ODBC driver MonetDB is a database management system that is developed from a main-memory perspective with use of a fully decomposed storage model, @@ -127,7 +128,7 @@ Depends: ${shlibs:Depends}, libmonetdb-c libdbd-monetdb-perl (>= 1.0), php-monetdb (>= 1.0), python3-pymonetdb (>= 1.0.6), - monetdb5-sql (= ${source:Version}) + monetdb5-server (= ${source:Version}) Description: MonetDB client testing tools MonetDB is a database management system that is developed from a main-memory perspective with use of a fully decomposed storage model, @@ -142,7 +143,7 @@ Package: libmonetdb5-server-geom Section: libs Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, - monetdb5-sql (= ${source:Version}) + monetdb5-server (= ${source:Version}) Description: MonetDB5 SQL GIS support module MonetDB is a database management system that is developed from a main-memory perspective with use of a fully decomposed storage model, @@ -150,13 +151,13 @@ Description: MonetDB5 SQL GIS support mo accelerators. It also has an SQL front end. . This package contains the GIS (Geographic Information System) - extensions for MonetDB-SQL-server5. + extensions for monetdb5-server. Package: libmonetdb5-server-cfitsio Section: libs Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, - monetdb5-sql (= ${source:Version}) + monetdb5-server (= ${source:Version}) Description: MonetDB5 SQL GIS support module MonetDB is a database management system that is developed from a main-memory perspective with use of a fully decomposed storage model, @@ -181,8 +182,9 @@ Description: MonetDB database server ver accelerators. It also has an SQL front end. . This package contains the MonetDB server component. You need this - package if you want to use the MonetDB database system. If you want - to use the SQL front end, you also need monetdb5-sql. + package if you want to use the MonetDB database system. If you want to + use the monetdb and monetdbd programs to manage your databases + (recommended), you also need monetdb5-sql. _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list