#2560 closed defect (fixed)
Various typo fixes
Reported by: | Bas Couwenberg | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.0.0 |
Component: | Docs | Version: | svn-releasebranch70 |
Keywords: | patch | Cc: | sebastic@… |
CPU: | Unspecified | Platform: | All |
Description
The lintian QA tool reported various typos during the Debian package build process for 7.0.0RC1.
The attached patches fix the various issues, and are included in the Debian package being prepared by the Debian GIS team.
Attachments (10)
Change History (13)
by , 10 years ago
Attachment: | additionally-typo.patch added |
---|
by , 10 years ago
Attachment: | allows-to-typo.patch added |
---|
by , 10 years ago
Attachment: | available-typo.patch added |
---|
by , 10 years ago
Attachment: | default-typo.patch added |
---|
by , 10 years ago
Attachment: | extension-typo.patch added |
---|
by , 10 years ago
Attachment: | information-typo.patch added |
---|
by , 10 years ago
Attachment: | parameter-typo.patch added |
---|
by , 10 years ago
Attachment: | preferred-typo.patch added |
---|
by , 10 years ago
Attachment: | specifying-typo.patch added |
---|
by , 10 years ago
Attachment: | transferred-typo.patch added |
---|
comment:1 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
follow-up: 3 comment:2 by , 10 years ago
It does not seem to me that there is any way to run these checks on the source code. Is there some other easy way to run it?
comment:3 by , 10 years ago
Replying to wenzeslaus:
It does not seem to me that there is any way to run these checks on the source code. Is there some other easy way to run it?
The easier way to use lintian is to include it in the Debian package build process. To support lintian-overrides you need to add dh_lintian calls to the rules file. The following change was added to the official Debian package maintained by the Debian GIS team for example:
I suggest you include dh_lintian in the upstream GRASS packaging on Launchpad. This patch should work on the current grass70_release_debian bzr branch (revision 45):
=== modified file 'rules' --- rules 2014-08-11 09:11:22 +0000 +++ rules 2015-02-01 17:29:31 +0000 @@ -232,6 +232,7 @@ dh_installdocs -i dh_install -i dh_link -i + dh_lintian -i dh_strip -i dh_compress -i dh_fixperms -i @@ -254,6 +255,7 @@ dh_installmenu -a dh_installman -p$(PKG_NAME) debian/$(BASE_NAME).1 -a dh_link -a + dh_lintian -a dh_python2 dh_python2 /usr/lib/$(BASE_NAME)/gui/ dh_strip -a
After the package build process is completed you run lintian on the .changes file produced by the build. You can do this by default by including a pbuilder hook for lintian as documented in the Debian GIS Policy:
http://pkg-grass.alioth.debian.org/policy/packaging.html#git-pbuilder-hooks
Thanks for the patches. All applied in r64320 (trunk) and r64321 (relbranch70). Closing.