Bug 305683 - Database backends should be optional even if dependencies are found
Summary: Database backends should be optional even if dependencies are found
Status: CLOSED FIXED
Alias: None
Product: KEXI
Classification: Applications
Component: KexiDB (show other bugs)
Version: 2.5.0
Platform: unspecified All
: NOR wishlist
Target Milestone: 2.5
Assignee: Jarosław Staniek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-23 19:45 UTC by Andreas K. Huettel
Modified: 2014-02-12 10:30 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 2.5.1
Sentry Crash Report:


Attachments
patch (1.32 KB, patch)
2012-08-23 19:45 UTC, Andreas K. Huettel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas K. Huettel 2012-08-23 19:45:38 UTC
Created attachment 73422 [details]
patch

Please consider attached patch, it makes it possible to disable the building of database backends even if the library is found. Needed for Gentoo, trivial but untested sofar...
Comment 1 Jarosław Staniek 2012-08-23 21:41:40 UTC
The patch is OK, will be committed soon.
Comment 2 Jarosław Staniek 2012-08-26 22:40:24 UTC
Git commit 9e9ad0d4ab3e208b7abc034b26fbaa1d2bbc96be by Jaroslaw Staniek, on behalf of Andreas K. Huettel (dilfridge).
Committed on 23/08/2012 at 21:43.
Pushed by staniek into branch 'calligra/2.5'.

Make it possible to disable db drivers even if the libs are present and found

+ renamed drivers/mySQL to drivers/mysql to have single BUILD_mysql config flag (by jstaniek)
REVIEW:106152
FIXED-IN:2.5.1

M  +4    -4    kexi/kexidb/drivers/CMakeLists.txt
R  +0    -0    kexi/kexidb/drivers/mysql/CMakeLists.txt [from: kexi/kexidb/drivers/mySQL/CMakeLists.txt - 100% similarity]
R  +0    -0    kexi/kexidb/drivers/mysql/kexidb_mysqldriver.desktop [from: kexi/kexidb/drivers/mySQL/kexidb_mysqldriver.desktop - 100% similarity]
R  +0    -0    kexi/kexidb/drivers/mysql/mysqlconnection.cpp [from: kexi/kexidb/drivers/mySQL/mysqlconnection.cpp - 100% similarity]
R  +0    -0    kexi/kexidb/drivers/mysql/mysqlconnection.h [from: kexi/kexidb/drivers/mySQL/mysqlconnection.h - 100% similarity]
R  +0    -0    kexi/kexidb/drivers/mysql/mysqlconnection_p.cpp [from: kexi/kexidb/drivers/mySQL/mysqlconnection_p.cpp - 100% similarity]
R  +0    -0    kexi/kexidb/drivers/mysql/mysqlconnection_p.h [from: kexi/kexidb/drivers/mySQL/mysqlconnection_p.h - 100% similarity]
R  +0    -0    kexi/kexidb/drivers/mysql/mysqlcursor.cpp [from: kexi/kexidb/drivers/mySQL/mysqlcursor.cpp - 100% similarity]
R  +0    -0    kexi/kexidb/drivers/mysql/mysqlcursor.h [from: kexi/kexidb/drivers/mySQL/mysqlcursor.h - 100% similarity]
R  +0    -0    kexi/kexidb/drivers/mysql/mysqldriver.cpp [from: kexi/kexidb/drivers/mySQL/mysqldriver.cpp - 100% similarity]
R  +0    -0    kexi/kexidb/drivers/mysql/mysqldriver.h [from: kexi/kexidb/drivers/mySQL/mysqldriver.h - 100% similarity]
R  +0    -0    kexi/kexidb/drivers/mysql/mysqldriver_global.h [from: kexi/kexidb/drivers/mySQL/mysqldriver_global.h - 100% similarity]
R  +0    -0    kexi/kexidb/drivers/mysql/mysqlkeywords.cpp [from: kexi/kexidb/drivers/mySQL/mysqlkeywords.cpp - 100% similarity]
R  +0    -0    kexi/kexidb/drivers/mysql/mysqlpreparedstatement.cpp [from: kexi/kexidb/drivers/mySQL/mysqlpreparedstatement.cpp - 100% similarity]
R  +0    -0    kexi/kexidb/drivers/mysql/mysqlpreparedstatement.h [from: kexi/kexidb/drivers/mySQL/mysqlpreparedstatement.h - 100% similarity]
M  +2    -2    kexi/migration/mysql/mysqlmigrate.cpp
M  +1    -1    kexi/migration/mysql/mysqlmigrate.h
M  +1    -1    kexi/tools/sql_keywords/Makefile

http://commits.kde.org/calligra/9e9ad0d4ab3e208b7abc034b26fbaa1d2bbc96be
Comment 3 Jarosław Staniek 2012-08-26 23:00:56 UTC
Git commit 91f921323fd0735834756b0c67cf70999af522cc by Jaroslaw Staniek, on behalf of Andreas K. Huettel (dilfridge).
Committed on 23/08/2012 at 21:43.
Pushed by staniek into branch 'master'.

Make it possible to disable db drivers even if the libs are present and found

+ renamed drivers/mySQL to drivers/mysql to have single BUILD_mysql config flag (by jstaniek)
REVIEW:106152
FIXED-IN:2.5.1

M  +4    -4    kexi/kexidb/drivers/CMakeLists.txt
R  +0    -0    kexi/kexidb/drivers/mysql/CMakeLists.txt [from: kexi/kexidb/drivers/mySQL/CMakeLists.txt - 100% similarity]
R  +0    -0    kexi/kexidb/drivers/mysql/kexidb_mysqldriver.desktop [from: kexi/kexidb/drivers/mySQL/kexidb_mysqldriver.desktop - 100% similarity]
R  +0    -0    kexi/kexidb/drivers/mysql/mysqlconnection.cpp [from: kexi/kexidb/drivers/mySQL/mysqlconnection.cpp - 100% similarity]
R  +0    -0    kexi/kexidb/drivers/mysql/mysqlconnection.h [from: kexi/kexidb/drivers/mySQL/mysqlconnection.h - 100% similarity]
R  +0    -0    kexi/kexidb/drivers/mysql/mysqlconnection_p.cpp [from: kexi/kexidb/drivers/mySQL/mysqlconnection_p.cpp - 100% similarity]
R  +0    -0    kexi/kexidb/drivers/mysql/mysqlconnection_p.h [from: kexi/kexidb/drivers/mySQL/mysqlconnection_p.h - 100% similarity]
R  +0    -0    kexi/kexidb/drivers/mysql/mysqlcursor.cpp [from: kexi/kexidb/drivers/mySQL/mysqlcursor.cpp - 100% similarity]
R  +0    -0    kexi/kexidb/drivers/mysql/mysqlcursor.h [from: kexi/kexidb/drivers/mySQL/mysqlcursor.h - 100% similarity]
R  +0    -0    kexi/kexidb/drivers/mysql/mysqldriver.cpp [from: kexi/kexidb/drivers/mySQL/mysqldriver.cpp - 100% similarity]
R  +0    -0    kexi/kexidb/drivers/mysql/mysqldriver.h [from: kexi/kexidb/drivers/mySQL/mysqldriver.h - 100% similarity]
R  +0    -0    kexi/kexidb/drivers/mysql/mysqldriver_global.h [from: kexi/kexidb/drivers/mySQL/mysqldriver_global.h - 100% similarity]
R  +0    -0    kexi/kexidb/drivers/mysql/mysqlkeywords.cpp [from: kexi/kexidb/drivers/mySQL/mysqlkeywords.cpp - 100% similarity]
R  +0    -0    kexi/kexidb/drivers/mysql/mysqlpreparedstatement.cpp [from: kexi/kexidb/drivers/mySQL/mysqlpreparedstatement.cpp - 100% similarity]
R  +0    -0    kexi/kexidb/drivers/mysql/mysqlpreparedstatement.h [from: kexi/kexidb/drivers/mySQL/mysqlpreparedstatement.h - 100% similarity]
M  +2    -2    kexi/migration/mysql/mysqlmigrate.cpp
M  +1    -1    kexi/migration/mysql/mysqlmigrate.h
M  +1    -1    kexi/tools/sql_keywords/Makefile

http://commits.kde.org/calligra/91f921323fd0735834756b0c67cf70999af522cc
Comment 4 Jarosław Staniek 2012-08-30 23:11:09 UTC
Git commit bb2de340998b0524248c11cc3a5ecaf6ab9b2006 by Jaroslaw Staniek.
Committed on 30/08/2012 at 15:35.
Pushed by staniek into branch 'master'.

Make it possible to disable db drivers even if the libs are present and found

M  +1    -0    CMakeLists.txt
M  +4    -4    Drivers/CMakeLists.txt
A  +41   -0    cmake/modules/MacroOptionalAddSubdirectory.cmake

http://commits.kde.org/predicate/bb2de340998b0524248c11cc3a5ecaf6ab9b2006
Comment 5 Jarosław Staniek 2012-09-01 09:21:27 UTC
Git commit e4738ac78544add18f6e03210bcea01138028e59 by Jaroslaw Staniek, on behalf of Andreas K. Huettel (dilfridge).
Committed on 23/08/2012 at 21:43.
Pushed by staniek into branch 'kexi-features-staniek'.

Make it possible to disable db drivers even if the libs are present and found

+ renamed drivers/mySQL to drivers/mysql to have single BUILD_mysql config flag (by jstaniek)
REVIEW:106152
FIXED-IN:2.5.1

M  +4    -4    kexi/kexidb/drivers/CMakeLists.txt
R  +0    -0    kexi/kexidb/drivers/mysql/CMakeLists.txt [from: kexi/kexidb/drivers/mySQL/CMakeLists.txt - 100% similarity]
R  +0    -0    kexi/kexidb/drivers/mysql/kexidb_mysqldriver.desktop [from: kexi/kexidb/drivers/mySQL/kexidb_mysqldriver.desktop - 100% similarity]
R  +0    -0    kexi/kexidb/drivers/mysql/mysqlconnection.cpp [from: kexi/kexidb/drivers/mySQL/mysqlconnection.cpp - 100% similarity]
R  +0    -0    kexi/kexidb/drivers/mysql/mysqlconnection.h [from: kexi/kexidb/drivers/mySQL/mysqlconnection.h - 100% similarity]
R  +0    -0    kexi/kexidb/drivers/mysql/mysqlconnection_p.cpp [from: kexi/kexidb/drivers/mySQL/mysqlconnection_p.cpp - 100% similarity]
R  +0    -0    kexi/kexidb/drivers/mysql/mysqlconnection_p.h [from: kexi/kexidb/drivers/mySQL/mysqlconnection_p.h - 100% similarity]
R  +0    -0    kexi/kexidb/drivers/mysql/mysqlcursor.cpp [from: kexi/kexidb/drivers/mySQL/mysqlcursor.cpp - 100% similarity]
R  +0    -0    kexi/kexidb/drivers/mysql/mysqlcursor.h [from: kexi/kexidb/drivers/mySQL/mysqlcursor.h - 100% similarity]
R  +0    -0    kexi/kexidb/drivers/mysql/mysqldriver.cpp [from: kexi/kexidb/drivers/mySQL/mysqldriver.cpp - 100% similarity]
R  +0    -0    kexi/kexidb/drivers/mysql/mysqldriver.h [from: kexi/kexidb/drivers/mySQL/mysqldriver.h - 100% similarity]
R  +0    -0    kexi/kexidb/drivers/mysql/mysqldriver_global.h [from: kexi/kexidb/drivers/mySQL/mysqldriver_global.h - 100% similarity]
R  +0    -0    kexi/kexidb/drivers/mysql/mysqlkeywords.cpp [from: kexi/kexidb/drivers/mySQL/mysqlkeywords.cpp - 100% similarity]
R  +0    -0    kexi/kexidb/drivers/mysql/mysqlpreparedstatement.cpp [from: kexi/kexidb/drivers/mySQL/mysqlpreparedstatement.cpp - 100% similarity]
R  +0    -0    kexi/kexidb/drivers/mysql/mysqlpreparedstatement.h [from: kexi/kexidb/drivers/mySQL/mysqlpreparedstatement.h - 100% similarity]
M  +2    -2    kexi/migration/mysql/mysqlmigrate.cpp
M  +1    -1    kexi/migration/mysql/mysqlmigrate.h
M  +1    -1    kexi/tools/sql_keywords/Makefile

http://commits.kde.org/calligra/e4738ac78544add18f6e03210bcea01138028e59