diff -u matchbox-window-manager-1.2/debian/changelog matchbox-window-manager-1.2/debian/changelog --- matchbox-window-manager-1.2/debian/changelog +++ matchbox-window-manager-1.2/debian/changelog @@ -1,3 +1,9 @@ +matchbox-window-manager (1.2-2ubuntu2) intrepid; urgency=low + + * Provide x-window-manager and set alternatives (LP: #145517) + + -- Emmet Hikory Tue, 16 Sep 2008 14:25:50 +0900 + matchbox-window-manager (1.2-2ubuntu1) intrepid; urgency=low * Merge from debian unstable, remaining changes: diff -u matchbox-window-manager-1.2/debian/control matchbox-window-manager-1.2/debian/control --- matchbox-window-manager-1.2/debian/control +++ matchbox-window-manager-1.2/debian/control @@ -11,6 +11,7 @@ Architecture: any Depends: ${shlibs:Depends} Replaces: matchbox (<< 1:0.8.2) +Provides: x-window-manager Description: window manager for resource-limited systems Matchbox is a base environment for the X Window System running on non-desktop embedded platforms such as handhelds, set-top boxes, kiosks and anything else only in patch2: unchanged: --- matchbox-window-manager-1.2.orig/debian/prerm +++ matchbox-window-manager-1.2/debian/prerm @@ -0,0 +1,10 @@ +set -e + +if [ "$1" != "upgrade" ] +then + update-alternatives --remove x-window-manager /usr/bin/matchbox-window-manager +fi + +#DEBHELPER# + +exit 0 only in patch2: unchanged: --- matchbox-window-manager-1.2.orig/debian/postinst +++ matchbox-window-manager-1.2/debian/postinst @@ -0,0 +1,16 @@ +#!/bin/sh + +set -e + +action="$1" + +if [ "$action" = configure ]; then + # register the alternatives of x-window-manager manually + # because dh_installwm doesn't register manpage as slave yet. + update-alternatives --install /usr/bin/x-window-manager \ + x-window-manager /usr/bin/matchbox-window-manager 50 \ + --slave /usr/share/man/man1/x-window-manager.1.gz \ + x-window-manager.1.gz /usr/share/man/man1/matchbox-window-manager.1.gz +fi + +#DEBHELPER#