Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 644000 - Do not enable mysql USE flag for dev-qt/qtsql in plasma profiles
Summary: Do not enable mysql USE flag for dev-qt/qtsql in plasma profiles
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Profiles (show other bugs)
Hardware: All Linux
: Normal trivial
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-09 12:01 UTC by Andrew
Modified: 2018-01-11 00:04 UTC (History)
1 user (show)

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


Attachments
Proposed package.use patch for plasma profiles (plasma-no-mysql.diff,450 bytes, patch)
2018-01-09 12:10 UTC, Andrew
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew 2018-01-09 12:01:13 UTC
mysql USE flag for dev-qt/qtsql is set in /usr/portage/profiles/targets/desktop/plasma/package.use:

# Required by kde-apps/akonadi
dev-qt/qtsql:5 mysql

This cause virtual/mysql and dev-db/mariadb in turn to be pulled in. Those dependencies (13 packages in total) are not necessary for all the Plasma users that do not use Akamai. As I understand the idea is that a profile should have a minimal configuration useful for almost all of the users and not only for users of a specific application (and Plasma desktop functions well without having Akamai installed). Given a large size of the pulled packages it makes sense to remove the USE flag from the profile and have it set by the users who want to install Akamai.
Comment 1 Andrew 2018-01-09 12:10:16 UTC
Created attachment 513862 [details, diff]
Proposed package.use patch for plasma profiles

The change itself is trivial. A larger question is to agree it's the right thing to do.
Comment 2 Andreas Sturmlechner gentoo-dev 2018-01-09 12:17:52 UTC
-1 as it creates a default use conflict with kdepim-meta. If you want to have more minimal use flags, use the desktop profile.
Comment 3 Andrew 2018-01-09 20:11:53 UTC
I didn't know about kdepim-meta. If Akamai is considered to be an integral part of Plasma than setting the flag is fair (still having a full blow database pulled in by a desktop environment doesn't feel right but what do I know). No objection to closing the bug as not a bug or wontfix.
Comment 4 Andrew 2018-01-10 07:54:06 UTC
Obviously my comments above should say Akonadi instead of Akamai :) Sorry for the confusion.
Comment 5 Andreas Sturmlechner gentoo-dev 2018-01-11 00:04:10 UTC
So, as said, the solution here is to move to the parent desktop profile (it should work very well for Plasma-5 these days). That may cause you to set a few USE flags on your own, as opposed to disable a few that may be too many for your taste when using the plasma profile. Similarly, I choose plasma profile but disable USE=semantic-desktop.