On Wed, Feb 01, 2012 at 05:53:33AM -0200, Rogério Brito wrote:
> Package: clementine
> Version: 1.0.1+dfsg-1
> Severity: minor
> 
> Hi, Thomas.
> 
> First of all, thank you very much for packaging clementine. It is very much
> appreciated.
> 
> I just noticed that the new version of clementine generates a lot debug
> information on the output, which, for users that just click on the icon in a
> desktop enviroment, will get in .xsession-errors.
> 
> For those people that use their home directories centralized on an NFS
> server, this can be quite a problem, as writing such unnecessary data
> creates a lot of network traffic.
> 
> I see that clementine's cmakefiles list has some sort of detection to see if
> the build is a "release" one and, if it is, it doesn't define some
> preprocessor directives.
> 
> It would be nice if this could be passed to cmake during the
> configuration/compilation step of debian/rules. As a bonus, it is possible
> that the download size (and final package) can be slightly reduced (but
> that's not the primary intention).

Well, clementine's packaging uses dh, which in turns calls dh_strip. This
program is responsible for stripping executables it's debugging symbols. It is
also responsible for creating -dbg packages if the maintainer specifies it.

This means that clementine's binary should not be "big" due to this symbols.
Indeed, it's final size should be the more or less than the one compiled with
the "release" option.

While we are currently not providing debugging symbols, some day (maybe we
should be starting soon) it may be necessary to do so, for example, to 
catch the cause of a nasty bug. In doing this, we need to specify a 
debug compilation. So avoiding debugging symbols (which is also what that
release variable does) seems not to be the way to go.

Now I do understand the problem you have in your hands. Many KDE applications
have a very similar behaviour. Let me suggest you some approaches, which I do
understand are far from perfect, but they are what I can come out of my head:

- Create a $LANG script which calls clementine with something like:

  clementine.orig &> /dev/null

Then, use a diversion (to avoid removing this script during a package upgrade)
from clementine to clementine.orig (maybe it should be called something
different, I don't remember diversion's details).

- Redirect ~/.xsession-errors to /dev/null. Yes, this may be too much :-/

Personally, I would tag this bug as wontfix.

Kinds regards, Lisandro.

Attachment: signature.asc
Description: Digital signature

Reply via email to