proposal for vdr-dbg

Tobias Grimm pkg-vdr-dvb-devel@lists.alioth.debian.org
Tue, 26 Oct 2004 18:41:37 +0200


Hello!

Thomas Schmidt wrote:

>Sorry that the answer took so long, i am a little bit busy these days.
>  
>
And I've been away for some days, so don't mind ;)

>are under /usr/ - wouldn't it be possible to to set the VDRDIR-Variable
>to another directory, which contains the Make.config/Make.debug, and
>symlinks to all header-files?
>  
>
Mmm... this should work, but I don't like the idea of symlinking all 
header files. Maybe I could just try something like this:

[/usr/include/vdr/Make.config]

ifdef VDRDEBUGPLUGIN
    CXXFLAGS += -O0 -g -ggdb
    CFLAGS += -O0 -g -ggdb
endif

[/usr/bin/vdrdbg-buildpackage]

#!/bin/sh
export DEB_BUILD_OPTIONS="$DEB_BUILD_OPTIONS nostrip"
export VDRDEBUGPLUGIN=yes
dpkg-buildpackage $*

I havn't tested it yet, but it should work and doesn't involve any file 
copying.

>better to wait until the release of sarge, before introducing this
>package in the official Arcive. (I think vdr 1.2.6-6 should be 
>uploaded to unstable soon, since it contains mainly bugfixes, but i
>want to test some things of it before it is uploaded.)
>  
>
Ok. I think the debug version isn't that interesting for vdr 1.2.6 at 
all, because most plugin developers
already develop for 1.3.x only. But it would be nice to have this ready 
before 1.4.0 is released. If we put
the script "newplugin" in vdr-dev too, the Debian packages would become 
more interesting for plugin developers
too.

Tobias