--- Begin Message ---
Package: kdebase
Severity: wishlist
Tags: patch
Compiz needs the kwin headers to build its KDE-specific window decorator.
Unfortunately these
are contained in the kdebase-dev package, which is very large and has a big
list of
dependencies. (Among others, konqueror and some media libraries.) This
complicates the buid
process of Compiz unnecessarily, especially for developers who don't use
KDE. (The same
is probably true for other packages.)
To fix this it is enough to create a separate kwin-dev package with the
relevant headers, and
make kde-base depend on it. This way Compiz can more than half its
dependencies.
The included debdiff should implement the suggested fix. Please review it
carefully, I'm not very
familiar with KDE. In particular, there's some Ubuntu versioning in there
that I don't know how
to get rid of.
-- System Information:
Debian Release: lenny/sid
APT prefers hardy-updates
APT policy: (500, 'hardy-updates'), (500, 'hardy-security'), (500,
'hardy-proposed'), (500, 'hardy-backports'), (500, 'hardy')
Architecture: i386 (i686)
Kernel: Linux 2.6.24-8-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
*** /home/bogdanb/code/kdebase-dev-debian/kdebase_3.5.8.dfsg.1-
7ubuntu1.debdiff
diff -u kdebase-3.5.8.dfsg.1/debian/control kdebase-3.5.8.dfsg.1
/debian/control
--- kdebase-3.5.8.dfsg.1/debian/control
+++ kdebase-3.5.8.dfsg.1/debian/control
@@ -133,7 +133,7 @@
Package: kdebase-dev
Section: devel
Architecture: any
-Depends: kate (= ${binary:Version}), kcontrol (= ${binary:Version}),
kdebase-bin (= ${binary:Version}), kicker (= ${binary:Version}), konqueror
(= ${binary:Version}), ksplash (= ${binary:Version}), ksysguard (=
${binary:Version}), kwin (= ${binary:Version}), kdelibs4-dev (>= 4:3.5.8-5)
+Depends: kate (= ${Source-Version}), kcontrol (= ${Source-Version}),
kdebase-bin (= ${Source-Version}), kdeprint (= ${Source-Version}), kdesktop
(= ${Source-Version}), khelpcenter (= ${Source-Version}), kicker (=
${Source-Version}), klipper (= ${Source-Version}), kmenuedit (=
${Source-Version}), konqueror-nsplugins (= ${Source-Version}), konqueror (=
${Source-Version}), konsole (= ${Source-Version}), ksmserver (=
${Source-Version}), ksplash (= ${Source-Version}), ksysguard (=
${Source-Version}), kwin (= ${Source-Version}), kdelibs4-dev (>= 4:3.5.8),
kwin-dev (= ${Source-Version})
Replaces: kate (<< 4:3.0.0), kdebase (<< 4:3.0.0), konqueror (<< 4:3.0.0)
Description: development files for the KDE base module
This package contains headers and other development files needed to
@@ -142,6 +142,17 @@
This package is part of KDE, and a component of the KDE base module.
See the 'kde' and 'kdebase' packages for more information.
+Package: kwin-dev
+Section: devel
+Architecture: any
+Conflicts: kdebase-dev (< ${Source-Version})
+Description: development files for the KDE window manager
+ This package contains headers and other development files needed to
+ compile software based on the default X window manager for KDE.
+ .
+ This package is part of KDE, and a component of the KDE base module.
+ See the 'kde', 'kdebase' and 'kwin' packages for more information.
+
Package: kdebase-doc
Section: doc
Architecture: all
@@ -279,7 +290,7 @@
Suggests: khelpcenter
Conflicts: kdebase-libs (<< 4:3.0.0)
Replaces: kdebase (<< 4:3.0.0), kdebase-libs (<< 4:3.0.0)
-Description: file-find utility for KDE
+Description: file-find utility for KDE
kfind can be used to find files and directories on your
workstations.
.
@@ -323,8 +334,8 @@
Replaces: kdebase (<< 4:3.0.0), kdebase-doc (<< 4:3.0.0)
Description: clipboard utility for KDE
klipper provides standard clipboard functions (cut and paste, history
- saving) plus additional features, like the ability to offer actions to
- take dependent on the clipboard contents. For example, it can launch a
+ saving) plus additional features, like the ability to offer actions to
+ take dependent on the clipboard contents. For example, it can launch a
web browser if the clipboard contains a URL.
.
This package is part of KDE, and a component of the KDE base module.
diff -u kdebase-3.5.8.dfsg.1/debian/changelog kdebase-3.5.8.dfsg.1
/debian/changelog
--- kdebase-3.5.8.dfsg.1/debian/changelog
+++ kdebase-3.5.8.dfsg.1/debian/changelog
@@ -1,3 +1,11 @@
+kdebase (4:3.5.8.dfsg.1-7ubuntu1) hardy; urgency=low
+
+ * Separated kwin headers into new package kwin-dev. Useful for
+ Compiz (at least) to avoid depending on the entire kdebase-dev
+ package when building the window-decorator.
+
+ -- Bogdan Butnaru <bogd...@gmail.com> Tue, 26 Feb 2008 14:26:34 +0100
+
kdebase (4:3.5.8.dfsg.1-7) unstable; urgency=low
* The "we fucked up but try to recover gracefully"-release.
diff -u kdebase-3.5.8.dfsg.1/debian/kdebase-dev.install kdebase-3.5.8.dfsg.1
/debian/kdebase-dev.install
--- kdebase-3.5.8.dfsg.1/debian/kdebase-dev.install
+++ kdebase-3.5.8.dfsg.1/debian/kdebase-dev.install
@@ -32,11 +32,6 @@
debian/tmp/usr/include/kde/ksgrd/TimerSettings.h
debian/tmp/usr/include/kde/ksplash/objkstheme.h
debian/tmp/usr/include/kde/ksplash/themeengine.h
-debian/tmp/usr/include/kde/kwin/client.h
-debian/tmp/usr/include/kde/KWinInterface.h
-debian/tmp/usr/include/kde/kwin/kwinbutton.h
-debian/tmp/usr/include/kde/kwin/options.h
-debian/tmp/usr/include/kde/kwin/workspace.h
debian/tmp/usr/lib/libkasbar.la
debian/tmp/usr/lib/libkasbar.so
debian/tmp/usr/lib/libkateinterfaces.la
diff -u kdebase-3.5.8.dfsg.1/debian/control.in kdebase-3.5.8.dfsg.1
/debian/control.in
--- kdebase-3.5.8.dfsg.1/debian/control.in
+++ kdebase-3.5.8.dfsg.1/debian/control.in
@@ -133,7 +133,7 @@
Package: kdebase-dev
Section: devel
Architecture: any
-Depends: kate (= ${binary:Version}), kcontrol (= ${binary:Version}),
kdebase-bin (= ${binary:Version}), kicker (= ${binary:Version}), konqueror
(= ${binary:Version}), ksplash (= ${binary:Version}), ksysguard (=
${binary:Version}), kwin (= ${binary:Version}), kdelibs4-dev (>= 4:3.5.8-5)
+Depends: kate (= ${Source-Version}), kcontrol (= ${Source-Version}),
kdebase-bin (= ${Source-Version}), kdeprint (= ${Source-Version}), kdesktop
(= ${Source-Version}), khelpcenter (= ${Source-Version}), kicker (=
${Source-Version}), klipper (= ${Source-Version}), kmenuedit (=
${Source-Version}), konqueror-nsplugins (= ${Source-Version}), konqueror (=
${Source-Version}), konsole (= ${Source-Version}), ksmserver (=
${Source-Version}), ksplash (= ${Source-Version}), ksysguard (=
${Source-Version}), kwin (= ${Source-Version}), kdelibs4-dev (>= 4:3.5.8),
kwin-dev (= ${Source-Version})
Replaces: kate (<< 4:3.0.0), kdebase (<< 4:3.0.0), konqueror (<< 4:3.0.0)
Description: development files for the KDE base module
This package contains headers and other development files needed to
@@ -142,6 +142,17 @@
This package is part of KDE, and a component of the KDE base module.
See the 'kde' and 'kdebase' packages for more information.
+Package: kwin-dev
+Section: devel
+Architecture: any
+Conflicts: kdebase-dev (< ${Source-Version})
+Description: development files for the KDE window manager
+ This package contains headers and other development files needed to
+ compile software based on the default X window manager for KDE.
+ .
+ This package is part of KDE, and a component of the KDE base module.
+ See the 'kde', 'kdebase' and 'kwin' packages for more information.
+
Package: kdebase-doc
Section: doc
Architecture: all
@@ -279,7 +290,7 @@
Suggests: khelpcenter
Conflicts: kdebase-libs (<< 4:3.0.0)
Replaces: kdebase (<< 4:3.0.0), kdebase-libs (<< 4:3.0.0)
-Description: file-find utility for KDE
+Description: file-find utility for KDE
kfind can be used to find files and directories on your
workstations.
.
@@ -323,8 +334,8 @@
Replaces: kdebase (<< 4:3.0.0), kdebase-doc (<< 4:3.0.0)
Description: clipboard utility for KDE
klipper provides standard clipboard functions (cut and paste, history
- saving) plus additional features, like the ability to offer actions to
- take dependent on the clipboard contents. For example, it can launch a
+ saving) plus additional features, like the ability to offer actions to
+ take dependent on the clipboard contents. For example, it can launch a
web browser if the clipboard contains a URL.
.
This package is part of KDE, and a component of the KDE base module.
only in patch2:
unchanged:
--- kdebase-3.5.8.dfsg.1.orig/debian/kwin-dev.install
+++ kdebase-3.5.8.dfsg.1/debian/kwin-dev.install
@@ -0,0 +1,5 @@
+debian/tmp/usr/include/kde/kwin/client.h
+debian/tmp/usr/include/kde/KWinInterface.h
+debian/tmp/usr/include/kde/kwin/kwinbutton.h
+debian/tmp/usr/include/kde/kwin/options.h
+debian/tmp/usr/include/kde/kwin/workspace.h
--- End Message ---