Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#17962 - [kdebase-workspace] should be splitted

Attached to Project: Arch Linux
Opened by kujub (kujub) - Friday, 22 January 2010, 13:02 GMT
Last edited by Ronald van Haren (pressh) - Monday, 16 August 2010, 19:56 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Pierre Schmitz (Pierre)
Andrea Scarpino (BaSh)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:

When installing qtcurve-kde4 the whole kdebase-workspace and dependencies are pulled in:

Targets (15): boost-1.41.0-2 mysql-5.1.42-1 akonadi-1.2.1-3 libical-0.44-1
pth-2.0.7-2 gnupg-1.4.10-2 libksba-1.0.3-1 libassuan-1.0.5-1
pinentry-0.7.6-1 dirmngr-1.0.2-2 gnupg2-2.0.14-1
gpgme-1.2.0-1 kdepimlibs-4.3.4-1 qimageblitz-0.0.5-1
kdebase-workspace-4.3.4-1

Total Installed Size: 301,66 MB
(kdebase-runtime was already installed)

When just using single KDE apps like k3b together with qtcurve under say Xfce only systemsettings is needed. (The Ubuntu 4.3.2 package takes 1,14 MB.)
To verify this I installed kdebase-workspace with pacman -Sd and removed the unnecessary files keeping only those listed in
http://packages.ubuntu.com/karmic/i386/systemsettings/filelist with that commands:
for f in $( pacman -Qql kdebase-workspace | grep -Ev \
'settings|/services/(colors|fonts|style)\.desktop|/lib/kde4(classic_mode|icon_mode|kcm_colors|kcm_fonts|kcm_style)\.so'
); do [ -d $f ] || rm $f; done

Additional info:
* package version(s)
kdebase-workspace-4.3.4-1
* config and/or log files etc.

Steps to reproduce:
pacman -S kdebase-runtime # the minimal KDE stuff
pacman -S qtcurve-kde4
This task depends upon

Closed by  Ronald van Haren (pressh)
Monday, 16 August 2010, 19:56 GMT
Reason for closing:  Won't implement
Comment by Pierre Schmitz (Pierre) - Friday, 22 January 2010, 13:31 GMT
Well, it would be possible to split kdebase-workspace but you would not see less dependencies. Atm there are:

depends=('polkit-kde' 'kdepimlibs' 'kdepim-runtime' 'kdebase-runtime' 'qimageblitz'
'libxxf86misc' 'libxcomposite' 'libxss' 'lm_sensors' 'libxklavier' 'libxft'
'libxdamage' 'xorg-utils' 'libxrandr')

In your case you might not need kdepimlibs which pulls in akonadi, mysql etc.. It's a rare case but we might think about it. The problem is if we do this there wont be a smooth update path.
Comment by kujub (kujub) - Friday, 22 January 2010, 14:20 GMT
Using your depends array:
pacman -Qi "${depends[@]}"|grep Size
error: package "polkit-kde" not found
error: package "kdepimlibs" not found
error: package "kdepim-runtime" not found
error: package "qimageblitz" not found
Installed Size : 22612,00 K
Installed Size : 56,00 K
Installed Size : 72,00 K
Installed Size : 136,00 K
Installed Size : 500,00 K
Installed Size : 444,00 K
Installed Size : 140,00 K
Installed Size : 20,00 K
Installed Size : 312,00 K
Installed Size : 200,00 K
Maybe you meant polkit-qt:
pacman -Qi polkit-qt|grep Size
Installed Size : 244,00 K

So all dependencies needed make some 25 MB. Adding just systemsettings instead of the whole kdebase-workspace and all the dependencies not installed here would still save 300 MB (and quite much upgrade time/traffic).

The problem is:
There is *no* GTK config tool for qtcurve. Forcing *all* non-KDE qtcurve users to install and upgrade 300 MB of stuff not needed looks like much unnecessary pain to me, now that we can split packages. :)

Comment by Pierre Schmitz (Pierre) - Friday, 22 January 2010, 14:34 GMT
Yes, I got this. But it's quite some work to do this. We would also have a look at everything the depends on kdebase-workspace and see on which part exactly they depend. So I cannot promise anything here (patches are welcome)
Comment by kujub (kujub) - Friday, 22 January 2010, 14:52 GMT
Maybe we could just move out the systemsettings part into separate package and let kdebase-workspace depend on it for now ?
Comment by kujub (kujub) - Friday, 22 January 2010, 21:03 GMT
Proposed patch - works good here :)
Comment by Thomas Dziedzic (tomd123) - Saturday, 23 January 2010, 06:00 GMT
the patch might work ok, but you still need to take into account all the other packages which depend on kdebase-workspace
Comment by kujub (kujub) - Saturday, 23 January 2010, 10:01 GMT
kdebase-workspace depends on kdebase-workspace-systemsettings now and together they provide exactly the same content as before. Though we *could* split into more packages to let more packages depend on them. We could even have an empty kdebase-workspace package depending on all parts until all packages are changed.
Comment by Pierre Schmitz (Pierre) - Saturday, 23 January 2010, 16:55 GMT
Your patch is way to hacky. We usually use the upstream makefiles for this. See other KDE pacakges how this is done.

I had a closer look at this and it is not straight-forward to split kdebase-workspace. It is not easy to tell which part is needed by other apps etc.. I don't see any reason to split out just systemsettings. You wont win anything by this; qtcurve will still depend on kwin etc..

If this is all about configuring qtcurve I would say let's forget about this. It's really not worth the effort.
Comment by kujub (kujub) - Sunday, 24 January 2010, 00:28 GMT
I tried to make a cleaner PKGBUILD meanwhile splitting kwin and kdm too, but that seems not as simple as expected. Seems I will have to live with pacman -Sd kdebase-workspace or drop qtcurve. <rantmode> Then there is only k3b left to kick out and I finally got rid of all the KDE crap. </rantmode> SCNR :D
Comment by kujub (kujub) - Monday, 25 January 2010, 13:56 GMT
Here is a new patch. With this one even kdm, kwin, plasma, klipper and ksysguard are able to work standalone or under Xfce4 here.
I verified the split packages against kdebase-workspace and together they contain the same files as before and there are no additional namcap errors.
qtcurve-kde4 should depend on kdebase-workspace-systemsettings *and* kdebase-workspace-kcontrol now and does not need kwin IMHO since it just provides an additional style for it.

edit: the first one should be ignored (contains an invalid _gen_pkgfunctions function)
Comment by Thomas Dziedzic (tomd123) - Friday, 18 June 2010, 14:06 GMT
status?
Comment by Pierre Schmitz (Pierre) - Friday, 18 June 2010, 14:11 GMT
See comments above. Most likely "won't implement". At leat not the way it was wished here and not for that mentioned motivation. Maybe one could share backround iamges etc. among arches when makepkg and devtools support this. But for now the anser is "no".
Comment by Andrea Scarpino (BaSh) - Friday, 18 June 2010, 14:12 GMT
I won't implement this. Ronald? Pierre?
Comment by Ronald van Haren (pressh) - Monday, 16 August 2010, 19:56 GMT
nope, I'm closing this.

Loading...