Unclutter the dependencies of development packages

Armin Berres trigger+debian at space-based.de
Wed Feb 6 22:48:39 UTC 2008


Hey people!

As you possibly know, our -dev packages pull in a lot of unneeded stuff
e.g. kdebase-runtime (which contains the oxygen icons!).
The idea to improve the situation: Remove every dependency on
non-library packages from the development packages. When this is done we
can remove the forced dependency on kdebase-runtime from the library
packages and we are done.

Let's start with kdebase-workspace-dev for the moment:
kdebase-workspace-dev depends on the following non-binary packages:
kdebase-workspace-bin, kdm, ksysguard and kwin. All this packages are
broken in some way, because they contain shared libraries, but have no
so-name. The question is know: What do we do with this packages? 

1) kdebase-workspace-bin contains the following public libraries:
usr/lib/libkfontinst.so.4
usr/lib/libkfontinstui.so.4
usr/lib/libkscreensaver.so.5
usr/lib/libkworkspace.so.4
usr/lib/libsolidcontrolifaces.so.4
usr/lib/libsolidcontrol.so.4
usr/lib/libtaskmanager.so.4
usr/lib/libweather_ion.so.4
What do we do with them? 
- Put them in a seperate library package?
- Checkout which libraries are used by other applications/libraries and
put them in a package on their own. Libraries not used are left
untouched, but we remove the .so file and public headers (if existing)?

2) kdm contains the following public libraries:
Uh, none :) Dependency can be safely removed.

3) ksysguard contains the following public libraries:
usr/lib/libksgrd.so.4
usr/lib/libprocesscore.so.4
usr/lib/libprocessui.so.4
Ksysguard seems to have no real reverse dependencies (someone else
should verify this!). My idea: Remove the .so files and the five public
headers. If someone complains they should be shipped in a library
package.

4) kwin contains the following public headers:
usr/lib/libkdecorations.so.4
usr/lib/libkwineffects.so.1
usr/lib/libkwinnvidiahack.so.4
libkdecorations needs to go into a seperate package in any case. See
#463924. This needs to be done for KDE 3 as well.
Don't know about the other libraries. libkwineffects also sounds like a
posible candidate for a library package, don't know about
libkwinnvidiahack.

Now share your ideas with me :)

Greetings,
Armin



More information about the pkg-kde-talk mailing list