I'm not an experienced Ubuntu/Debian packager, but here is my impression comparing those two solutions:
1. My patch, using cdbs and old -dbg packages
- additional -dbg packages added to control
- debug symbols from multiple binary packages can be collected in one debug package
- easy to build on ppa and install locally using apt-get
2. Your suggested method, using pkg-create-dbgsym and new ddeb packages
- all -dbg packages removed from control
- exact 1:1 corresponcence between binary packages and debug packages
- don't know how to install those packages locally, nor how ppa deals with them
As https://wiki.ubuntu.com/AptElfDebugSymbols#apt%20changes regarding installation of debug symbols doesn't seem implemented yet, at least not on my intrepid, I'm not convinced that this approach is ready to replace the old -dbg packages yet. I still created a corresponding patch.
About lintian: I haven't understood the functioning of lintian yet, nor the reason for those overrides in the old package. My renames were simply intended to have as little impact on current behaviour as possible. I'd be happy to drop them. If we drop the -dbg packages, the corresponding lintian files have to go in any case.
It took me a while to find the relevant documentation about pkg-create-dbgsym: /launchpad. net/pkg- create- dbgsym /wiki.ubuntu. com/AptElfDebug Symbols /launchpad. net/ubuntu/ +spec/apt- get-debug- symbols
https:/
https:/
https:/
If this is really the way to go, some reference in https:/ /wiki.ubuntu. com/PackagingGu ide would be useful.
I'm not an experienced Ubuntu/Debian packager, but here is my impression comparing those two solutions:
1. My patch, using cdbs and old -dbg packages
- additional -dbg packages added to control
- debug symbols from multiple binary packages can be collected in one debug package
- easy to build on ppa and install locally using apt-get
2. Your suggested method, using pkg-create-dbgsym and new ddeb packages
- all -dbg packages removed from control
- exact 1:1 corresponcence between binary packages and debug packages
- don't know how to install those packages locally, nor how ppa deals with them
As https:/ /wiki.ubuntu. com/AptElfDebug Symbols# apt%20changes regarding installation of debug symbols doesn't seem implemented yet, at least not on my intrepid, I'm not convinced that this approach is ready to replace the old -dbg packages yet. I still created a corresponding patch.
About lintian: I haven't understood the functioning of lintian yet, nor the reason for those overrides in the old package. My renames were simply intended to have as little impact on current behaviour as possible. I'd be happy to drop them. If we drop the -dbg packages, the corresponding lintian files have to go in any case.