9 Commits

Author SHA1 Message Date
Peter Marko
eb61d84e3c
soci: update build options
* make it possible to configure build without boost
* build tests only when requested
* disable build of IBM proprietary DB2 which does not have recipe
  (this creates some cmake warnings if enabled without dependency)
* EXTRA_OECONF is empty with cmake build
* remove SOCI_LIBDIR which was removed in upgrade to v4.0.2
* use WITH_* instedad of SOCI_* as SOCI defines still search
  for dependencies unnecessarily and WITH define automatically
  enables SOCI define, too

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-23 15:18:30 -07:00
Peter Marko
c2a5221fa7
soci: fix buildpaths warning
WARNING: soci-4.0.3-r0 do_package_qa: QA Issue: File /usr/lib/cmake/SOCI/SOCITargets-noconfig.cmake in package soci-dev contains reference to TMPDIR [buildpaths]

This is causing build failures in components depending on soci
when building with rm_work or from sstate-cache.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-26 14:00:53 -07:00
Martin Jansa
18e44b3c6e soci: remove unused soci_libdir.patch
* it was removed from SRC_URI in:
  https://git.openembedded.org/meta-openembedded/commit/?id=01cd7fcae16edde709d24f905a222dcaea8fb0a1

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-24 07:23:55 -07:00
Khem Raj
0a84141417 soci: Fix build with clang 15
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-31 10:06:32 -07:00
Wang Mingyu
1cae7dc06e soci: upgrade 4.0.2 -> 4.0.3
0001-Fix-build-when-SIGSTKSZ-is-no-longer-a-constant.patch
removed since it's included in 4.0.3

Version 4.0.3 differs from 4.0.2 in the following ways:
========================================================
Changes affecting all or multiple backends:
 - Fix opening sessions from pool (#891).
 - Fix default backend search path (#928).
 - Fix build with latest glibc versions where SIGSTKSZ is not constant (#886).
 - Document using SOCI as a CMake subdirectory (#925).
 - Document using SOCI with Conan (#877).

Backend-specific changes:
- MySQL
 - Implement get_table_names() for MySQL (#927).
 - Fix MySQL backend build with MySQL >= 8 (#884).
 - Fix mysql_library_end() in multithreaded environment (#909).
 - Make mysql_soci_error::get_error_category() more useful (#902).
- ODBC
 - Fix several bugs in vector into code (#888, #892).
 - Fix memory leaks in case of SQLNumResultCols() failure.
 - Export odbc_session_backend::get_database_product() from DLL.
- Oracle
 - Add support for detecting Oracle 20 and 21 to CMake (#896).
- PostgreSQL
 - Fix compilation when "free" is redefined somewhere else.
- SQLite3
 - Fix bulk operations with vectors of size 1 in SQLite3 backend (#908).
- Firebird
 - Suppress FB memory leaks

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-02-24 08:35:24 -08:00
Oleksandr Kravchuk
01cd7fcae1 soci: update to 4.0.2
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-12-13 08:09:25 -08:00
Martin Jansa
c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Derek Straka
c707363209 soci: update to version 3.2.3
Add dos2unix as the source now has windows line endings

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-03-12 10:01:17 -07:00
Armin Kuster
6aa73bc881 soci: move to recipes-dbs
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-03-01 16:10:35 -08:00