[Digikam-devel] [Bug 254533] make MySQL support as optional dependency [patch]
Francesco Riosa
francesco+kde at pnpitalia.it
Wed May 11 15:27:19 BST 2011
https://bugs.kde.org/show_bug.cgi?id=254533
Francesco Riosa <francesco+kde at pnpitalia.it> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
--- Comment #12 from Francesco Riosa <francesco+kde pnpitalia it> 2011-05-11 16:27:17 ---
Git commit c29278c20c9cb7fc7bc2c123fd7bfafeb2e303a2 by Francesco Riosa.
Committed on 11/05/2011 at 16:05.
Pushed by riosa into branch 'master'.
optionally depend on mysqld executable
add an option ENABLE_INTERNALMYSQL (default enabled) to bypass the
search of mysqld executable, also define an entry HAVE_INTERNALMYSQL
in config-digikam.h
initial patch provided by <marflon at gmail.com>
CCBUG: 254533
M +29 -17 CMakeLists.txt
M +3 -0 digikam/utils/config-digikam.h.cmake
http://commits.kde.org/digikam/c29278c20c9cb7fc7bc2c123fd7bfafeb2e303a2
--- Comment #13 from Francesco Riosa <francesco+kde pnpitalia it> 2011-05-11 16:27:17 ---
Git commit 8907ceb5ee89b4d822fec8d20433894439be125c by Francesco Riosa.
Committed on 11/05/2011 at 16:17.
Pushed by riosa into branch 'master'.
appliction disable "internal database"
When internal database has been disabled at compile time we don't know
how to start a server and widget should not show the option to use one.
Also for how cmake machinery work mysqldPath option is not empty but
contain "SERVERCMD_MYSQL-NOTFOUND", add a check for that.
When a digikam w/o mysqld support encounter a configuration file which
point to a "internal database" it threat the database as external and
will fail to connect to.
GUI:
BUG: 254533
M +1 -1 databaseserver/databaseserver.cpp
M +10 -1 libs/database/databaseparameters.cpp
M +9 -0 libs/widgets/common/databasewidget.cpp
http://commits.kde.org/digikam/8907ceb5ee89b4d822fec8d20433894439be125c
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Digikam-devel
mailing list