# HG changeset patch # User paulb # Date 1197744743 0 # Node ID 8e64df19342bf3adfb922ddfab9ebac6bf06c52c # Parent 6afcb7cdcd860aaf18f66ab64c74d55e05d0deda [project @ 2007-12-15 18:52:22 by paulb] Updated release information. Changed installation to install a package, not a module. diff -r 6afcb7cdcd86 -r 8e64df19342b packages/ubuntu-hoary/python2.4-desktop/debian/changelog --- a/packages/ubuntu-hoary/python2.4-desktop/debian/changelog Sat Dec 15 18:52:18 2007 +0000 +++ b/packages/ubuntu-hoary/python2.4-desktop/debian/changelog Sat Dec 15 18:52:23 2007 +0000 @@ -1,3 +1,13 @@ +desktop (0.3-0ubuntu1) hoary; urgency=low + + * Made desktop a package. + * Added support for graphical dialogue boxes through + programs such as kdialog, zenity and Xdialog. + * Added support for inspecting desktop windows (currently + only for X11). + + -- Paul Boddie Sat, 15 Dec 2007 19:47:30 +0100 + desktop (0.2.4-0ubuntu1) hoary; urgency=low * Added XFCE support (with advice from Miki Tebeka). diff -r 6afcb7cdcd86 -r 8e64df19342b packages/ubuntu-hoary/python2.4-desktop/debian/control --- a/packages/ubuntu-hoary/python2.4-desktop/debian/control Sat Dec 15 18:52:18 2007 +0000 +++ b/packages/ubuntu-hoary/python2.4-desktop/debian/control Sat Dec 15 18:52:23 2007 +0000 @@ -10,8 +10,7 @@ Architecture: all Depends: python2.4 Suggests: kde, gnome, xfce4 -Description: This module provides desktop environment detection and - resource opening support for a selection of common and standardised - desktop environments. +Description: Desktop environment detection, inspection; support for opening dialogues and resources. + A selection of common and standardised desktop environments are supported. . This package is built for Python 2.4.x. diff -r 6afcb7cdcd86 -r 8e64df19342b packages/ubuntu-hoary/python2.4-desktop/debian/postinst --- a/packages/ubuntu-hoary/python2.4-desktop/debian/postinst Sat Dec 15 18:52:18 2007 +0000 +++ b/packages/ubuntu-hoary/python2.4-desktop/debian/postinst Sat Dec 15 18:52:23 2007 +0000 @@ -26,11 +26,14 @@ PACKAGE=python2.4-desktop VERSION=2.4 LIB="/usr/lib/python$VERSION" +DIRLIST="$LIB/site-packages/desktop" case "$1" in configure|abort-upgrade|abort-remove|abort-deconfigure) - /usr/bin/python$VERSION -O -c "import desktop" - /usr/bin/python$VERSION -c "import desktop" + for i in $DIRLIST ; do + /usr/bin/python$VERSION -O $LIB/compileall.py -q $i + /usr/bin/python$VERSION $LIB/compileall.py -q $i + done ;; *) diff -r 6afcb7cdcd86 -r 8e64df19342b packages/ubuntu-hoary/python2.4-desktop/debian/prerm --- a/packages/ubuntu-hoary/python2.4-desktop/debian/prerm Sat Dec 15 18:52:18 2007 +0000 +++ b/packages/ubuntu-hoary/python2.4-desktop/debian/prerm Sat Dec 15 18:52:23 2007 +0000 @@ -6,11 +6,13 @@ PACKAGE=python2.4-desktop VERSION=2.4 LIB="/usr/lib/python$VERSION" -DIR="$LIB/site-packages" +DIRLIST="$LIB/site-packages/desktop" case "$1" in remove|upgrade|failed-upgrade) - rm ${DIR}/desktop.py[co] + for i in $DIRLIST ; do + find $i -name '*.py[co]' -exec rm \{\} \; + done ;; *)