Opened 10 years ago
Last modified 8 years ago
#47290 new defect
digikam: Add variant for external mysql database; rename variant for internal mysql database; update mysql dependency — at Version 2
Reported by: | sk-public@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | haspatch | Cc: | jan@…, caulier.gilles@… |
Port: | digikam |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
Support for external mysql databases has been disabled by default since digikam 4.4 (or thereabouts). This patch to the 4.8.0 portfile:
- Adds a variant, mysql_external to enable support for external mysql databases.
- Renames the current mysql_check variant to mysql_internal, to reflect what that option actually does -- enable the internal mysql database.
- Updates the mysql dependency for the internal mysql database to version 5.6.
Change History (3)
Changed 10 years ago by sk-public@…
Attachment: | digikam-mysql.diff added |
---|
comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
What does it mean, "internal" and "external" MySQL databases?
Changing the dependency to "path:bin/mysql_config:mysql56
" is not correct because the mysql56 port does not provide the file /opt/local/bin/mysql_config. Instead, you would just write "port:mysql56
". But typically there should be variants allowing the user to choose which MySQL implementation they want: mysql55, mysql56, mariadb, mariadb-10.0, mariadb-10.1 or percona. The naming of these variants, especially the mariadb ones, has not yet been standardized. In each variant you will need to inform the configuration system somehow where that MySQL is located.
comment:2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Keywords: | haspatch added |
Patch to digikam 4.8.0 for external mysql variant, rename current mysql_check