[Buildroot] [PATCH 0/6] ODB: C++ Object-Relational Mapping (ORM): New packages.

Kamel Bouhara
2020-05-14T14:33:19Z

ODB is an open-source, cross-platform, and cross-database object-relational
mapping (ORM) system for C++. It allows you to persist C++ objects to a
relational database without having to deal with tables, columns, or SQL
and without manually writing any mapping code. ODB supports MySQL, SQLite,
PostgreSQL, Oracle, and Microsoft SQL Server relational databases as well
as C++98/03 and C++11 language standards.

It also comes with optional profiles for Boost and Qt which allow you
to seamlessly use value types, containers, and smart pointers from these
libraries in your persistent C++ classes.

There are three main components to use ODB (and a single dependency):

- libcutl: This library is ODB's only dependency.

- odb: This is a compiler that takes a specially crafted c++ header
file and auto-generates a schema that works with libodb and the
subsequent libodb-database library.

It would be used as such: odb -d <database> --generate-query --generate-schema file.hxx

- libodb: This package contains the common ODB runtime library. Every
application that includes code generated by the ODB compiler
will need to link to this library.

- libodb-pgsql: This package contains the PostgreSQL ODB runtime
library.

- libodb-mysql: This package contains the MySQL ODB runtime library.

- libodb-boost: This package contains the Boost ODB runtime library.

Every application that includes code generated for the PostgreSQL,
MySQL or Boost, will need to link to those libraries.

Adam Duskett (4):
package/libcutl: new package
package/odb: new package
package/libodb: new package
package/libodb-pgsql: new package

Kamel Bouhara (2):
package/libodb-mysql: new package
package/libodb-boost: new package

Config.in | 4 +
DEVELOPERS | 8 +
package/Config.in | 4 +
package/Config.in.host | 1 +
package/libcutl/libcutl.hash | 6 +
package/libcutl/libcutl.mk | 15 +
package/libodb-boost/Config.in | 15 +
package/libodb-boost/libodb.hash | 6 +
package/libodb-boost/libodb.mk | 15 +
...-syntax-issue-while-checking-ldflags.patch | 35 ++
package/libodb-mysql/Config.in | 15 +
package/libodb-mysql/libodb-mysql.hash | 4 +
package/libodb-mysql/libodb-mysql.mk | 16 +
package/libodb-pgsql/Config.in | 15 +
package/libodb-pgsql/libodb-pgsql.hash | 6 +
package/libodb-pgsql/libodb-pgsql.mk | 16 +
package/libodb/Config.in | 13 +
package/libodb/libodb.hash | 6 +
package/libodb/libodb.mk | 15 +
package/odb/Config.in.host | 11 +
.../GCC_6_input_location_translation.patch | 34 ++
package/odb/GCC_6_port_part1.patch | 312 ++++++++++++
package/odb/GCC_6_port_part2.patch | 48 ++
package/odb/GCC_8_adaptation.patch | 32 ++
package/odb/GCC_8_port.patch | 226 +++++++++
.../odb/add_initial_support_for_GCC_9.patch | 233 +++++++++
...espace_aliases_when_parsing_GCC_tree.patch | 30 ++
package/odb/no_need_of_tm.h.patch | 23 +
package/odb/odb.hash | 6 +
package/odb/odb.mk | 20 +
package/odb/remove_gratuitous_classes.patch | 444 ++++++++++++++++++
package/odb/series | 10 +
package/odb/switch_to_C++11.patch | 352 ++++++++++++++
support/dependencies/dependencies.sh | 10 +
34 files changed, 2006 insertions(+)
create mode 100644 package/libcutl/libcutl.hash
create mode 100644 package/libcutl/libcutl.mk
create mode 100644 package/libodb-boost/Config.in
create mode 100644 package/libodb-boost/libodb.hash
create mode 100644 package/libodb-boost/libodb.mk
create mode 100644 package/libodb-mysql/0001-fix-syntax-issue-while-checking-ldflags.patch
create mode 100644 package/libodb-mysql/Config.in
create mode 100644 package/libodb-mysql/libodb-mysql.hash
create mode 100644 package/libodb-mysql/libodb-mysql.mk
create mode 100644 package/libodb-pgsql/Config.in
create mode 100644 package/libodb-pgsql/libodb-pgsql.hash
create mode 100644 package/libodb-pgsql/libodb-pgsql.mk
create mode 100644 package/libodb/Config.in
create mode 100644 package/libodb/libodb.hash
create mode 100644 package/libodb/libodb.mk
create mode 100644 package/odb/Config.in.host
create mode 100644 package/odb/GCC_6_input_location_translation.patch
create mode 100644 package/odb/GCC_6_port_part1.patch
create mode 100644 package/odb/GCC_6_port_part2.patch
create mode 100644 package/odb/GCC_8_adaptation.patch
create mode 100644 package/odb/GCC_8_port.patch
create mode 100644 package/odb/add_initial_support_for_GCC_9.patch
create mode 100644 package/odb/handle_namespace_aliases_when_parsing_GCC_tree.patch
create mode 100644 package/odb/no_need_of_tm.h.patch
create mode 100644 package/odb/odb.hash
create mode 100644 package/odb/odb.mk
create mode 100644 package/odb/remove_gratuitous_classes.patch
create mode 100644 package/odb/series
create mode 100644 package/odb/switch_to_C++11.patch

--
2.25.0