Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 479842 - KDE-4.11: refactor semantic-desktop dependencies, so that PDEPEND on nepomuk* can be removed.
Summary: KDE-4.11: refactor semantic-desktop dependencies, so that PDEPEND on nepomuk*...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: kde-4.11.2-stable
  Show dependency tree
 
Reported: 2013-08-05 14:41 UTC by Franz Trischberger
Modified: 2013-10-28 17:47 UTC (History)
7 users (show)

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


Attachments
minimal (kde-base.tar.gz,13.56 KB, application/gzip)
2013-08-17 09:43 UTC, Dmitriy Baranov
Details
ffuck off kdepims/semantic (kde-base.tar.gz,4.92 KB, application/gzip)
2013-10-20 08:38 UTC, Dmitriy Baranov
Details
w/o kdepim (kde-base.tar.gz,4.92 KB, application/gzip)
2013-10-20 09:29 UTC, Dmitriy Baranov
Details
kde4 no-pim (kde4-nopim.patch,10.43 KB, patch)
2013-10-20 12:42 UTC, Dmitriy Baranov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Franz Trischberger 2013-08-05 14:41:12 UTC
There are kde-apps that only depend on kdelibs which are widely used outside of KDE itself like kcachegrind and k3b (even Gnomeys use kcachegrind ;)). Having kdelibs PDEPEND on nepomuk forces some additinoal packages on the user he just doesn't need.
IMHO the better way would be to make apps that claim semantic-support depend on nepomuk (should be greppable in CMakeList.txt).
Because I just don't want those packages hit my computer anymore I am using qcachegrind as replacement (Although it's marked as "example code only" I did not realize any difference until now).
Comment 1 Dmitriy Baranov 2013-08-17 09:39:28 UTC
Here are some of the KDE developers about this:
https://bugs.kde.org/show_bug.cgi?id=323555
KDE can be built without kdepimlibs, nepomukserver, as well as without the other semantic-desktop apps.
Comment 2 Dmitriy Baranov 2013-08-17 09:43:55 UTC
Created attachment 356264 [details]
minimal

My version of a minimal KDE desktop.
Comment 3 Franz Trischberger 2013-08-17 12:04:11 UTC
This is not about reintroducing a (global) semantic-desktop USE-Flag. Gentoo-KDE-Herd decided to make it non-optional starting with 4.11. I accept this and simply don't use kde anymore.

This report is about the PDEPEND of kdelibs. This is about at least making the installation of nepomuk optional for standalone-kde-apps like k3b and kcachegrind.

I don't know if enabling Soprano + SDOs-cmake-options and NOT having nepomuk installed will break anything, but IMHO it shouldn't. So removing the PDEPEND and adding proper dependencies to apps that actually make use of nepomuk is what I am asking for.


(Being verbose to prevent that this bug will be closed as WONTFIX)
Comment 4 Chris Reffett (RETIRED) gentoo-dev Security 2013-08-19 12:58:06 UTC
For the first point: agreed, we need to refactor the dependencies. I am also considering re-adding semantic-desktop in a more limited way (such as no longer patching kdepim to support optional semantic-desktop), so give us a little time to figure out the plan. Either way, we'll fix the PDEPEND.
Comment 5 Chris Reffett (RETIRED) gentoo-dev Security 2013-10-16 19:57:03 UTC
4.11.2 has the dependencies refactored. KDEPIM hard depends on semantic-desktop, so most users of the full DE will still have nepomuk, but someone pulling in kdelibs as a dep should not have it. Other packages will be refactored once 4.11.2 goes stable.
Comment 6 Dmitriy Baranov 2013-10-20 08:36:36 UTC
(In reply to Chris Reffett from comment #5)
> 4.11.2 has the dependencies refactored. KDEPIM hard depends on
> semantic-desktop, so most users of the full DE will still have nepomuk, but
> someone pulling in kdelibs as a dep should not have it. Other packages will
> be refactored once 4.11.2 goes stable.

To remove from system kdepim* had to edit for themselves several packages:
kdebase-meta
kdebase-runtime-meta
kdegraphics-meta
kde-meta
kdemultimedia-meta
kdeplasma-addons
kdeutils-meta
plasma-workspace
sistemsettings

Now in my system you will not find anything from symantic-desktop and kdepim* ...
:/
Comment 7 Dmitriy Baranov 2013-10-20 08:38:24 UTC
Created attachment 361412 [details]
ffuck off kdepims/semantic
Comment 8 Johannes Huber (RETIRED) gentoo-dev 2013-10-20 09:25:12 UTC
Comment on attachment 361412 [details]
ffuck off kdepims/semantic

Verbal abuse
Comment 9 Dmitriy Baranov 2013-10-20 09:29:29 UTC
Created attachment 361414 [details]
w/o kdepim
Comment 10 eroen 2013-10-20 11:13:32 UTC
It's not easy to tell what you mean with this. It might be a good idea to attach a unified diff rather than a tarball to show what you have changed. A short text about whether this breaks anything, either functionality of the modified packages or their reverse dependencies would probably increase the chance of your modifications making it to the tree.
Comment 11 Dmitriy Baranov 2013-10-20 12:42:18 UTC
Created attachment 361430 [details, diff]
kde4 no-pim

Patch includes no-pim changes, and some other apps, which I do not use.
Comment 12 Johannes Huber (RETIRED) gentoo-dev 2013-10-20 12:44:57 UTC
(In reply to reagentoo from comment #11)
> Created attachment 361430 [details, diff] [details, diff]
> kde4 no-pim
> 
> Patch includes no-pim changes, and some other apps, which I do not use.

I dont understand why you attach your personal ebuild forking to this bug?!
Comment 13 Dmitriy Baranov 2013-10-20 12:55:16 UTC
(In reply to Johannes Huber from comment #12)
> (In reply to reagentoo from comment #11)
> > Created attachment 361430 [details, diff] [details, diff] [details, diff]
> > kde4 no-pim
> > 
> > Patch includes no-pim changes, and some other apps, which I do not use.
> 
> I dont understand why you attach your personal ebuild forking to this bug?!

This is answer to previous post. And maybe someone will be useful to purge the system of kdepim.
Comment 14 Johannes Huber (RETIRED) gentoo-dev 2013-10-20 12:56:21 UTC
(In reply to reagentoo from comment #13)
> (In reply to Johannes Huber from comment #12)
> > (In reply to reagentoo from comment #11)
> > > Created attachment 361430 [details, diff] [details, diff] [details, diff] [details, diff]
> > > kde4 no-pim
> > > 
> > > Patch includes no-pim changes, and some other apps, which I do not use.
> > 
> > I dont understand why you attach your personal ebuild forking to this bug?!
> 
> This is answer to previous post. And maybe someone will be useful to purge
> the system of kdepim.

You dont need to hack ebuilds, just dont install full kde...
Comment 15 Dmitriy Baranov 2013-10-20 13:10:59 UTC
Johannes Huber, can you detail? How can I install not "full kde" and without kdepims/nepomuk? (if there are obstructive depends)
Comment 16 Johannes Huber (RETIRED) gentoo-dev 2013-10-20 13:12:13 UTC
(In reply to reagentoo from comment #15)
> Johannes Huber, can you detail? How can I install not "full kde" and without
> kdepims/nepomuk? (if there are obstructive depends)

https://wiki.gentoo.org/wiki/KDE
Comment 17 Dmitriy Baranov 2013-10-20 13:15:45 UTC
(In reply to Johannes Huber from comment #16)
> (In reply to reagentoo from comment #15)
> > Johannes Huber, can you detail? How can I install not "full kde" and without
> > kdepims/nepomuk? (if there are obstructive depends)
> 
> https://wiki.gentoo.org/wiki/KDE

Thanks, but kde-overlay with its set is not useful for this purpose.
Comment 18 Johannes Huber (RETIRED) gentoo-dev 2013-10-20 13:18:48 UTC
> Thanks, but kde-overlay with its set is not useful for this purpose.

Please read section about packages https://wiki.gentoo.org/wiki/KDE#Packages. Its not about kde overlay.
Comment 19 Dmitriy Baranov 2013-10-20 13:29:35 UTC
(In reply to Johannes Huber from comment #18)
> > Thanks, but kde-overlay with its set is not useful for this purpose.
> 
> Please read section about packages
> https://wiki.gentoo.org/wiki/KDE#Packages. Its not about kde overlay.

Nice, nice. But tear off some ebuilds from unnecessary dependencies that still does not help.
Comment 20 Johannes Huber (RETIRED) gentoo-dev 2013-10-20 13:36:42 UTC
(In reply to reagentoo from comment #19)
> (In reply to Johannes Huber from comment #18)
> > > Thanks, but kde-overlay with its set is not useful for this purpose.
> > 
> > Please read section about packages
> > https://wiki.gentoo.org/wiki/KDE#Packages. Its not about kde overlay.
> 
> Nice, nice. But tear off some ebuilds from unnecessary dependencies that
> still does not help.

1. disable semantic-desktop globally in your make.conf 
2. Install kdebase-meta
3. Install whatever you need
Comment 21 Dmitriy Baranov 2013-10-20 13:44:35 UTC
(In reply to Johannes Huber from comment #20)
> (In reply to reagentoo from comment #19)
> > (In reply to Johannes Huber from comment #18)
> > > > Thanks, but kde-overlay with its set is not useful for this purpose.
> > > 
> > > Please read section about packages
> > > https://wiki.gentoo.org/wiki/KDE#Packages. Its not about kde overlay.
> > 
> > Nice, nice. But tear off some ebuilds from unnecessary dependencies that
> > still does not help.
> 
> 1. disable semantic-desktop globally in your make.conf 
> 2. Install kdebase-meta
> 3. Install whatever you need

I need systemsettings, for example. If I uses native systemsettings-4.11.2.ebuild, then look at this (nepomuk hard dependency):

#emerge -DuNqpv world
[ebuild  N    ] app-crypt/mhash-0.9.9.9-r1  USE="-static-libs" 
[ebuild  N    ] dev-db/libiodbc-3.52.8-r1  USE="-gtk" 
[ebuild  N    ] dev-db/virtuoso-odbc-6.1.6 
[ebuild  N    ] dev-db/virtuoso-server-6.1.6  USE="readline -kerberos -ldap" 
[ebuild  N    ] media-libs/raptor-2.0.9  USE="curl unicode -debug -json -static-libs" 
[ebuild  N    ] dev-libs/rasqal-0.9.30  USE="crypt gmp mhash pcre xml -doc -static-libs {-test}" 
[ebuild  N    ] dev-libs/redland-1.0.16  USE="berkdb postgres sqlite ssl xml -iodbc -mysql -odbc -static-libs" 
[ebuild  N    ] dev-libs/soprano-2.9.4  USE="dbus raptor redland virtuoso -debug -doc {-test}" 
[ebuild  N    ] dev-libs/shared-desktop-ontologies-0.11.0 
[ebuild   R   ] kde-base/kdelibs-4.11.2-r1  USE="acl alsa bzip2 jpeg2k lzma mmx nls openexr opengl policykit semantic-desktop* spell sse sse2 ssl udev udisks upower -3dnow (-altivec) (-aqua) -debug -doc -fam -handbook -kerberos {-test} -zeroconf" 
[ebuild  N    ] kde-base/nepomuk-core-4.11.2  USE="exif ffmpeg pdf taglib (-aqua) -debug -epub" 
[ebuild  N    ] kde-base/nepomuk-widgets-4.11.2  USE="(-aqua) -debug" 
[ebuild  N    ] kde-base/nepomuk-4.11.2-r1  USE="(-aqua) -debug -handbook" 
[ebuild     UD] kde-base/systemsettings-4.11.2 [4.11.2] USE="opengl usb (-aqua) -debug -gtk -handbook {-test}" 
...
>=kde-base/kdelibs-4.11.2-r1 semantic-desktop
Comment 22 Johannes Huber (RETIRED) gentoo-dev 2013-10-20 13:56:49 UTC
(In reply to reagentoo from comment #21)

> I need systemsettings, for example. If I uses native
> systemsettings-4.11.2.ebuild, then look at this (nepomuk hard dependency):

Thats indeed a mistake, i will fix it.
Comment 23 Johannes Huber (RETIRED) gentoo-dev 2013-10-20 14:08:30 UTC
Thanks for notice this issue. This is fixed in cvs. Please sync in some hours to get the changes. If you spot more issues with missing  semantic-desktop use flags please open a new bug per package, except where we cant disable it (kdepim).

+
+  20 Oct 2013; Johannes Huber <johu@gentoo.org> systemsettings-4.11.2.ebuild:
+  Re-introduce semantic-desktop by reagentoo <reagentoo@gmail.com>, bug #479842.
+
Comment 24 Dmitriy Baranov 2013-10-20 14:15:23 UTC
(In reply to Johannes Huber from comment #22)
> (In reply to reagentoo from comment #21)
> 
> > I need systemsettings, for example. If I uses native
> > systemsettings-4.11.2.ebuild, then look at this (nepomuk hard dependency):
> 
> Thats indeed a mistake, i will fix it.

Thank you! I would like to see "kdepims" (or smth) USE flag together with semantic-desktop in the future. By the way, I know some people who changed the KDE-meta's for their own purposes, so it's normal. ;)
Comment 25 Mike Limansky 2013-10-28 17:47:00 UTC
Is that ok, what kopete still depends on kdepimlibs and, as result, on kdelibs[semantic-desktop] ?