Re: Fwd: Bug#764549: ITP: siril -- Astronomical image processing tool
Vincent Hourdin <email@example.com> writes:
> we are finalizing the beta version of Siril upstream, the debian package
> is just waiting for that release.
Oh, I already uploaded. We will make an update onde the beta is ready.
> In the meantime, I have two questions:
> - we had a special rule in autoconf to remove -g from the default '-g
> -O2' CFLAGS. It doesn't make sense to us to have both by default,
> since optimizing makes debugging not working properly. Now, debuild
> passes its own CFLAGS that contains '-g -O2' and many others. Our
> mechanism is not able to filter out the -g in that case. May I ask if
> this is normal to have these in debian built packages? Are all debian
> packages built with -g? That sounds like a lot of wasted space to me.
> I have seen there are some options like DEB_CFLAGS_MAINT_SET, but I
> guess that's not recommended. What is the recommended way of setting
> CFLAGS with debian packages, or of removing the -g at least?
I would keep the Debian CFLAGS as they are, unless you have a (package)
specific reason not to do so. I think the -g flag is mainly to build
Space is not wasted since dh_strip removes the debugging symbols from
> - once we have the debian unstable package created, is there an easy way
> to port it or to include it in other distributions, like Ubuntu, Mint
> and other debian derivatives?
Ubuntu automatically imports them from Debian, and Mint (as far as I
know) from Ubuntu. So, you don't need to do anything here.