Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 366615 - media-gfx/digikam: unnecessary dependency on mysql
Summary: media-gfx/digikam: unnecessary dependency on mysql
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-09 16:33 UTC by provod
Modified: 2011-05-10 21:00 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Proposed patch for CMakeLists.txt (digikam-1.9.0-mysql.patch,3.31 KB, patch)
2011-05-09 16:36 UTC, provod
Details | Diff
ebuild with optional mysql use flag (digikam-1.9.0-r1.ebuild,3.26 KB, text/plain)
2011-05-09 16:38 UTC, provod
Details

Note You need to log in before you can comment on or make changes to this bug.
Description provod 2011-05-09 16:33:21 UTC
Latest versions of digikam depend on mysql server, as "fixed" in http://bugs.gentoo.org/show_bug.cgi?id=337932. But this feature should really be optional.
Also, see upstream bug https://bugs.kde.org/show_bug.cgi?id=254533

Reproducible: Always

Steps to Reproduce:
1. emerge digikam

Actual Results:  
virtual/mysql gets into dependency tree, therefore dev-db/mysql gets built

Expected Results:  
mysql should get built only when mysql use flag is set
Comment 1 provod 2011-05-09 16:36:37 UTC
Created attachment 272635 [details, diff]
Proposed patch for CMakeLists.txt

The problem lies in digiKam build system, this patch makes mysql optional for digiKam itself.
Comment 2 provod 2011-05-09 16:38:50 UTC
Created attachment 272637 [details]
ebuild with optional mysql use flag

This ebuild makes advantage of digikam-1.9.0-mysql.patch and provides optional mysql use flag.
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2011-05-10 21:00:37 UTC
Patch added in ~arch 1.9.0-r1.