[Pkg-virtualbox-devel] Improving lsb-compatibility of virtualbox-ose

Frank Mehnert frank at innotek.de
Mon Oct 22 06:53:45 UTC 2007


Hi Debian-VirtualBox team,

please have a look at our official debian/ subdirectory of the
virtualbox-ose tarball. I suggest to adopt two features of our
scripts:

1. Use /usr/lib/virtualbox for architecture-dependent files,
   /usr/share/virtualbox for architecture-independent files,
   /usr/lib for shared libraries. This can be achieved by
   using a custom LocalConfig.kmk. There you have to define
   RTPATH_APP_DOCS, RTPATH_APP_PRIVATE_ARCH, RTPATCH_APP_PRIVATE,
   and RTPATH_SHARED_LIBS, see our distributed file. This
   ensures that the files are located at the right places.
   The debian/rules file then needs rules to move the binaries
   from the opt/ directory to the appropriate places.

2. Provide a debug package containing debug symbols. This is
   very helpful for tracking down bugs as it installs debug
   information which can be used by gdb to create detailed
   backtraces.
   See our debian/rules script of the _SVN version_ for details.
   Unfortunately, the OSE version of 1.5.2 still does not contain
   these rules. It is mainly 'dh_script --keep-debug' (you can
   ignore the R0/GC modules) and the additional package entry in
   the debian/control file.

Kind regards,

Frank
-- 
Dr.-Ing. Frank Mehnert    innotek GmbH, http://www.innotek.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.alioth.debian.org/pipermail/pkg-virtualbox-devel/attachments/20071022/063861a7/attachment.pgp 


More information about the Pkg-virtualbox-devel mailing list