[Pkg-kde-extras] Bug#516768: kde-guidance: generates incorrect package with python-support from experimental

Josselin Mouette joss at debian.org
Mon Feb 23 15:29:25 UTC 2009


Package: kde-guidance
Version: 0.8.0-6

Hi,

the kde-guidance packaging system completely relies on the
python-support internals. I have noticed, among other things:
      * installation of files to python-support paths instead of the
        standard paths
      * symbolic links in /usr/bin to /usr/share/python-support/$package
      * messing up with the .version files

With the upcoming version of python-support (currently in experimental),
these things will stop working, since the files are now moved to a
different directory (/usr/share/pyshared). It will probably not prevent
the package from building, but the resulting package will not work.

Furthermore, the direct use of files in /usr/share/python-support is
likely to make python generate .py files in there and prevent the
package from cleanly removing.

To simplify things as much as possible, I suggest the following course of action:
      * replace the symbolic links in /usr/bin and the wrapper scripts
        with hardcoded paths by this kind of stuff:
                #! /bin/sh
                exec python -m grubconfig
      * do the same in the init script
      * installation of files to the standard python paths (using the
        upstream installation system if possible)

Please don’t hesitate to ask if you need help in making a cleaner
package.

As a general rule, please do not rely on the internals of python-support
in the packaging; this will avoid such issues in the future (although
hopefully there won’t be a need to change the paths any further).

Thanks,
-- 
 .''`.      Debian 5.0 "Lenny" has been released!
: :' :
`. `'   Last night, Darth Vader came down from planet Vulcan and told
  `-    me that if you don't install Lenny, he'd melt your brain.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message
	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url : http://lists.alioth.debian.org/pipermail/pkg-kde-extras/attachments/20090223/deaa4248/attachment.pgp 


More information about the pkg-kde-extras mailing list