Skip to content

Commit

Permalink
refactor[deb]: Use Automatic Debug Packages
Browse files Browse the repository at this point in the history
Since Debian8 Jessie debug packages are automatically build:
<https://wiki.debian.org/AutomaticDebugPackages>

Also remove Recommendation to install the debug package by default: Only
developers will ever have need for that, not users. This saves 170 MB
on a default installation.
  • Loading branch information
Philipp Matthias Hahn authored and superm1 committed Apr 25, 2022
1 parent 10ff119 commit eb5cdaa
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
13 changes: 0 additions & 13 deletions deb/debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ Depends: adduser,
${perl:Depends},
${misc:Depends}
Suggests: mythtv-doc
Recommends: mythtv-dbg
Conflicts: mythtv (<< 0.8-1),
mythmusic (<< 0.20.99+trunk14393),
mythweather (<< 0.20.99+trunk14393),
Expand Down Expand Up @@ -391,18 +390,6 @@ Description: Metapackage to setup and configure a "Master Backend" profile of My
installed on a server rather then a desktop. It makes no sense to install it
on anything but the first backend machine on the network.

Package: mythtv-dbg
Architecture: amd64 arm64
Section: debug
Priority: extra
Recommends: libc6-dbg
Conflicts: mythplugins-dbg
Replaces: mythplugins-dbg
Depends: ${misc:Depends}, mythtv-backend (=${binary:Version}) | mythtv-frontend (=${binary:Version})
Description: Debug symbols for mythtv packages
This package provides all debug symbols for mythtv packages since ddebs
don't appear to always do the right thing.

Package: mythplugins
Architecture: all
Section: metapackages
Expand Down
3 changes: 0 additions & 3 deletions deb/debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,6 @@ override_dh_install:
#(MythTV) Remove license files
find debian/tmp \( -name "COPYING" -o -name "README.license" \) -delete

override_dh_strip:
dh_strip --dbg-package=mythtv-dbg

override_dh_compress:
dh_compress -X.pl -X.py

Expand Down

0 comments on commit eb5cdaa

Please sign in to comment.