[ubuntu-mythtv] Several patches to fix mythtv lintian issues

Andres Mejia mcitadel at gmail.com
Sat Mar 20 06:13:19 GMT 2010


Hello all,

Here are a number of patches that would improve the packaging of mythtv. These
are all generated using git-format-patch from the git repo I use to work on the
mythtv packaging at http://git.debian.org/?p=collab-maint/mythtv.git. These
patches are changes I made to the latest package in Ubuntu to fix several issues
that were found with the packaging via lintian.

Patch 0004* and 0009* is used to get rid of the use of Pre-Depends. Actually,
this wasn't found by lintian, though Pre-Depends should generally be avoided.
Note that I didn't see a need for a Pre-Depends on mysql-server, only pwgen. I
moved the code snippet that uses pwgen from the config script for mythtv-common
to the postinst script, thus removing the need for a Pre-Depends.

Patch 0010* is to prevent the maintainer scripts from failing in case any
questions can't be displayed.

Patch 0012* would run debconf-updatepo when running debian/rules clean. You
don't have to worry about having the *.po files updated all the time as
debconf-updatepo updates the *.po files when only when the templates files have
been updated.

Patch 0013* simply gets rid of some lintian error about the email address in
one of the changelog entries being bad. It could've just been overridden, but I
simply choose to append ".org" at the end.

Patch 0014* updates the copyright file to reflect that mythtv is GPL-2 only.

Patch 0015* includes a proper copyright statement in the copyright file.

Patch 0016* sets the debug package to Priority extra.

Patch 0017* changes the section of the Perl modules to "perl".

Patch 0018* adds ${shlibs:Depends} for mythtv-common Depends field
(very important).

Patches 0019*, 0029*, and 0031* fix issues with the prompts in the templates
files.

Patches 0020* and 0030* ensure license files are not included in the binary
packages, except for debian/copyright of course.

Patch 0021* fixes the permissions of certain files in the packaging.

Patch 0022* simply adds a config script that includes the debconf library.
Forgot exactly what the error description in lintian was.

Patch 0023* updates the menu file application section from "Apps/Graphics" to
"Applications/Graphics". It also fixes another issue with a prompt in the
templates file for mythtv-database, though I forgot to log it when I committed
this change.

Patch 0025* is a spelling error fix.

Patch 0026* fixes the long descript for one of the packages, ensuring the
description doesn't exceed 80 characters.

Patch 0027* ensures the debconf libraries are loaded for mythtv-backend's
postinst script. It was essentially to fix another lintian error, though I
forgot the exact description of the error.

Patch 0028* removes the unecessary override of the binNMU warnings. Though
Ubuntu doesn't do binNMUs, they should still be supported in the case downstream
distros or users want to support binNMUs.

Finally, patch 0032* and 0034* are the Perl bindings installation fixes that
were also submitted upstream. Including these patches are very important.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Remove-unnecessary-and-potentially-problematic-use-o.patch
Type: text/x-patch
Size: 2433 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/ubuntu-mythtv/attachments/20100320/520d6b02/attachment-0024.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0009-Move-use-of-pwgen-to-generate-password-to-postinst-o.patch
Type: text/x-patch
Size: 1705 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/ubuntu-mythtv/attachments/20100320/520d6b02/attachment-0025.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0010-Ensure-the-scripts-don-t-die-in-case-any-questions-c.patch
Type: text/x-patch
Size: 2725 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/ubuntu-mythtv/attachments/20100320/520d6b02/attachment-0026.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0012-Run-debconf-updatepo-in-debian-rules-clean.patch
Type: text/x-patch
Size: 528 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/ubuntu-mythtv/attachments/20100320/520d6b02/attachment-0027.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0013-Get-rid-of-debian-changelog-file-contains-invalid-em.patch
Type: text/x-patch
Size: 838 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/ubuntu-mythtv/attachments/20100320/520d6b02/attachment-0028.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0014-Update-copyright-file-to-point-to-correct-license.patch
Type: text/x-patch
Size: 819 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/ubuntu-mythtv/attachments/20100320/520d6b02/attachment-0029.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0015-Include-proper-copyright-statement-in-debian-copyrig.patch
Type: text/x-patch
Size: 1422 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/ubuntu-mythtv/attachments/20100320/520d6b02/attachment-0030.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0016-Set-mythtv-dbg-to-Priority-extra.patch
Type: text/x-patch
Size: 763 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/ubuntu-mythtv/attachments/20100320/520d6b02/attachment-0031.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0017-Change-perl-modules-packages-section-to-perl.patch
Type: text/x-patch
Size: 1143 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/ubuntu-mythtv/attachments/20100320/520d6b02/attachment-0032.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0018-Place-shlibs-Depends-for-Depends-field-in-mythtv-com.patch
Type: text/x-patch
Size: 1383 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/ubuntu-mythtv/attachments/20100320/520d6b02/attachment-0033.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0019-Fix-malformed-prompts-and-titles-in-template-files.patch
Type: text/x-patch
Size: 5115 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/ubuntu-mythtv/attachments/20100320/520d6b02/attachment-0034.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0020-Remove-extra-license-files-from-binary-packages.patch
Type: text/x-patch
Size: 794 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/ubuntu-mythtv/attachments/20100320/520d6b02/attachment-0035.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0021-Set-correct-permissions-for-png-and-html-files.patch
Type: text/x-patch
Size: 810 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/ubuntu-mythtv/attachments/20100320/520d6b02/attachment-0036.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0022-Add-config-script-for-mythtv-frontend-even-though-te.patch
Type: text/x-patch
Size: 776 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/ubuntu-mythtv/attachments/20100320/520d6b02/attachment-0037.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0023-Change-Apps-to-Applications-in-mythtv-frontend-menu-.patch
Type: text/x-patch
Size: 1414 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/ubuntu-mythtv/attachments/20100320/520d6b02/attachment-0038.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0025-Fix-spelling-error-in-debian-control.patch
Type: text/x-patch
Size: 895 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/ubuntu-mythtv/attachments/20100320/520d6b02/attachment-0039.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0026-Fix-long-description-for-mythtv-backend-master.patch
Type: text/x-patch
Size: 1499 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/ubuntu-mythtv/attachments/20100320/520d6b02/attachment-0040.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0027-Ensure-debconf-libraries-is-loaded-for-mythtv-backen.patch
Type: text/x-patch
Size: 662 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/ubuntu-mythtv/attachments/20100320/520d6b02/attachment-0041.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0028-Remove-overrides-for-binNMU-issues.patch
Type: text/x-patch
Size: 1343 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/ubuntu-mythtv/attachments/20100320/520d6b02/attachment-0042.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0029-Fix-up-mythtv-database-public_bind-question.patch
Type: text/x-patch
Size: 1301 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/ubuntu-mythtv/attachments/20100320/520d6b02/attachment-0043.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0030-Remove-license-files-from-contrib-documentation-in-m.patch
Type: text/x-patch
Size: 732 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/ubuntu-mythtv/attachments/20100320/520d6b02/attachment-0044.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0031-Make-mythtv-public_bind-template-short-description-a.patch
Type: text/x-patch
Size: 953 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/ubuntu-mythtv/attachments/20100320/520d6b02/attachment-0045.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0032-Install-MythTV-Perl-modules-under-the-vendor-directo.patch
Type: text/x-patch
Size: 1925 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/ubuntu-mythtv/attachments/20100320/520d6b02/attachment-0046.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0034-Set-INSTALLDIRS-via-a-configure-option-for-Perl-bind.patch
Type: text/x-patch
Size: 3768 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/ubuntu-mythtv/attachments/20100320/520d6b02/attachment-0047.bin 


More information about the Ubuntu-mythtv mailing list