reverted: --- openmotif-2.3.3/debian/motif-clients.postrm.off +++ openmotif-2.3.3.orig/debian/motif-clients.postrm.off @@ -1,3 +0,0 @@ -#!/bin/sh -test -x /usr/bin/update-menus && /usr/bin/update-menus -#DEBHELPER# diff -u openmotif-2.3.3/debian/control openmotif-2.3.3/debian/control --- openmotif-2.3.3/debian/control +++ openmotif-2.3.3/debian/control @@ -15,9 +15,8 @@ Multi-Arch: same Depends: ${shlibs:Depends}, ${misc:Depends} Pre-Depends: multiarch-support, x11-common (>= 1:7.0.0) -Conflicts: libmotif3 -Replaces: libmotif3 -Provides: libmotif3 +Breaks: libmotif3 (<< 2.3.3-2) +Replaces: libmotif3 (<< 2.3.3-2) Description: Open Motif - shared libraries This package includes all files you need to run Motif applications which are linked against Open Motif, which @@ -58,0 +58,9 @@ +Package: libmotif3 +Architecture: any +Section: non-free/oldlibs +Priority: extra +Multi-Arch: same +Depends: libmotif4 (>= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} +Description: Open Motif - shared libraries (transitional package) + This is a transitional package as the new package libmotif4 is + binary compatible with libmotif3. It can safely be removed. diff -u openmotif-2.3.3/debian/changelog openmotif-2.3.3/debian/changelog --- openmotif-2.3.3/debian/changelog +++ openmotif-2.3.3/debian/changelog @@ -1,3 +1,10 @@ +openmotif (2.3.3-5ubuntu1.12.04.2) precise-proposed; urgency=low + + * Provide a libmotif3 transitional package (LP: #1187507) + * Remove update-menu created configuration files on purge (LP: #1187534) + + -- Graham Inggs Sat, 08 Jun 2013 18:43:44 +0200 + openmotif (2.3.3-5ubuntu1.12.04.1) precise-proposed; urgency=low * Convert to multiarch (LP: #1026640). Thanks Sergio Gelato. only in patch2: unchanged: --- openmotif-2.3.3.orig/debian/motif-clients.postrm +++ openmotif-2.3.3/debian/motif-clients.postrm @@ -0,0 +1,8 @@ +#!/bin/sh +set -e + +# Remove configuration files created by update-menus +if [ "$1" = "purge" ] ; then + rm -rf /etc/X11/mwm +fi +#DEBHELPER#