• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

autotests/H03-May-2022-5,4873,810

cmake/modules/H26-Mar-2019-3,1872,924

docs/H03-May-2022-

po/H26-Mar-2019-41,90435,087

src/H03-May-2022-71,61048,930

tests/features/H03-May-2022-1,301869

tools/H03-May-2022-1,4151,079

.arcconfigH A D26-Mar-201987 54

.gitignoreH A D26-Mar-2019196 1817

AUTHORSH A D26-Mar-2019589 1412

COPYING-CMAKE-SCRIPTSH A D26-Mar-20191.5 KiB2724

COPYING.DOCH A D26-Mar-201919.9 KiB398328

KDb.pc.cmakeH A D26-Mar-2019387 1311

README-PACKAGERS.mdH A D26-Mar-20192.6 KiB8048

README.mdH A D26-Mar-2019542 1810

TODOH A D26-Mar-201913.9 KiB328307

README-PACKAGERS.md

1# Packaging Information for KDb
2
3We recommend building several binary packages out of the KDb source code.
4
5Splitting KDb into packages:
6 * gives users a better choice of which components they have installed;
7 * allows users to avoid installing unnecessary dependencies;
8 * helps to reduce packaging conflicts for users with non-standard
9   package selections.
10
11In this document {MAJOR_VERSION} is 3 for KDb 3.x.y, and so on.
12
13
14## KDb libraries
15
16The base KDb package offers the following libraries:
17 * KDb{MAJOR_VERSION}
18
19
20## Database and migration drivers
21
22KDb provides database drivers in a form of plugins for a number
23of database types or data sources.
24
25* SQLite
26  * kdb_sqlitedriver.so - the database driver with the following dependencies:
27    * kdb_sqlite_icu.so - SQLite's plugin for unicode support
28    * kdb{MAJOR_VERSION}_sqlite3_dump - A minimal command line tool for compacting files
29
30* MySQL
31  * kdb_mysqldriver.so - the database driver
32
33* PostgreSQL
34  * kdb_postgresqldriver.so - the database driver
35
36
37Other drivers are work in progress and are not currently distributed.
38
39Plugin `kdb_*driver.so` files typically go to $LIBDIR/plugins/kdb{MAJOR_VERSION}/ directory.
40Location of these files means that multiple KDb packages with different MAJOR_VERSIONs
41are co-installable. Also header and cmake files are cleanly separated by installing
42to subdirectories called KDb{MAJOR_VERSION}.
43
44Please note a special case: KDb 3.0 is binary and source incompatible with KDb >= 3.1.
45All other versions are compatible within given MAJOR_VERSION.
46
47We suggest putting each driver in a separate package, and that installation of
48these packages be optional. Each driver's package may then depend on the
49corresponding lower-level, native client libraries for performing connectivity.
50For example, it's libmysqlclient for the MySQL driver and libpq for PostgreSQL driver.
51
52
53## Versions of client libraries
54
55### For SQLite
56
57KDb's SQLite driver uses the sqlite3 library. Exact minimal version of the
58sqlite3 package is defined in the source code and can be found in the
59following line of the kdb/src/drivers/CMakeLists.txt file:
60
61set(SQLITE_MIN_VERSION x.y.z)
62
63The recommended version of SQLite package is defined in the source code and can
64be found in the following line of the kdb/src/drivers/CMakeLists.txt file:
65
66set(SQLITE_RECOMMENDED_VERSION x.y.z)
67
68### For MySQL
69
70KDb's MySQL driver uses MySQL client library version 5.x.
71
72### For PostgreSQL
73
74KDb's PostgreSQL driver uses pq client library version 9.x.
75
76
77## More information
78
79KDb wiki page provides useful and most up-to-date information: http://community.kde.org/KDb/Build.
80

README.md

1# KDb
2
3KDb is a database connectivity and creation framework, consisted of a general-purpose
4C++ Qt library and set of plugins delivering support for various database vendors.
5
6It is a part of the [Kexi project](http://www.calligra.org/kexi) and the general
7[Calligra Suite](http://www.calligra.org).
8
9Project's home page: http://community.kde.org/KDb
10
11Project maintainer: Jarosław Staniek <staniek@kde.org>
12
13
14# Building KDb
15
16KDb uses the CMake build system. Up-to-date information is available
17[online](http://community.kde.org/KDb/Build).
18