Generating lintian-overrides file?

2009-06-25 Thread Erik de Castro Lopo
Hi all, I'm packaging something with has an installable file called License.hi which is not a license file, but gets caught by the extra-license-file lintian warning. I can add a pkgname.lintian-override file, but the path in the override file has the package version number embedded in it. Is

Re: Generating lintian-overrides file?

2009-06-25 Thread Chow Loong Jin
On Thursday 25,June,2009 05:35 PM, Erik de Castro Lopo wrote: Hi all, I'm packaging something with has an installable file called License.hi which is not a license file, but gets caught by the extra-license-file lintian warning. I can add a pkgname.lintian-override file, but the path in

Re: Generating lintian-overrides file?

2009-06-25 Thread Erik de Castro Lopo
Chow Loong Jin wrote: You could, but I am not aware of any lintian tag specifying the version of the package in it. Could you post the output of lintian exactly? Sorry, I think you misunderstood. Lintian complains about the file:

Re: Generating lintian-overrides file?

2009-06-25 Thread Chow Loong Jin
On Thursday 25,June,2009 06:52 PM, Erik de Castro Lopo wrote: Chow Loong Jin wrote: You could, but I am not aware of any lintian tag specifying the version of the package in it. Could you post the output of lintian exactly? Sorry, I think you misunderstood. Lintian complains about the

Re: Generating lintian-overrides file?

2009-06-25 Thread Erik de Castro Lopo
Chow Loong Jin wrote: I see. In that case, you can generate the pkg.lintian-overrides file in any of the CDBS extension rules before dh_lintian is called. dh_lintian is called in binary-install/pkg. So just stick it into any rule before that. Thanks, I'll try that. Cheers, Erik --

Re: Generating lintian-overrides file?

2009-06-25 Thread Peter Pentchev
On Thu, Jun 25, 2009 at 08:52:30PM +1000, Erik de Castro Lopo wrote: Chow Loong Jin wrote: You could, but I am not aware of any lintian tag specifying the version of the package in it. Could you post the output of lintian exactly? Sorry, I think you misunderstood. Lintian complains about

Re: Generating lintian-overrides file?

2009-06-25 Thread Patrick Matthäi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Erik de Castro Lopo schrieb: Hi all, I'm packaging something with has an installable file called License.hi which is not a license file, but gets caught by the extra-license-file lintian warning. I can add a pkgname.lintian-override file, but

Re: Generating lintian-overrides file?

2009-06-25 Thread Erik de Castro Lopo
Peter Pentchev wrote: Thus, you could try something like: libghc6-cabal-dev binary: extra-license-file */Distribution/License.hi Wow, thats an even nicer solution. Thanks. Erik -- -- Erik de Castro Lopo

Re: Generating lintian-overrides file?

2009-06-25 Thread Russ Allbery
Patrick Matthäi pmatth...@debian.org writes: Erik de Castro Lopo schrieb: I'm packaging something with has an installable file called License.hi which is not a license file, but gets caught by the extra-license-file lintian warning. I can add a pkgname.lintian-override file, but the path in

Re: Generating lintian-overrides file?

2009-06-25 Thread Erik de Castro Lopo
Russ Allbery wrote: What *is* the content of the file? In other words, more fundamentally, why is it there and what does it do? Its a haskell interface definition file. When ghc6 compiles the Haskell source code file License.hs it generates an object file and the itnerface file License.hi. In

Re: Generating lintian-overrides file?

2009-06-25 Thread Russ Allbery
Erik de Castro Lopo mle+deb...@mega-nerd.com writes: Russ Allbery wrote: What *is* the content of the file? In other words, more fundamentally, why is it there and what does it do? Its a haskell interface definition file. When ghc6 compiles the Haskell source code file License.hs it

Re: Generating lintian-overrides file?

2009-06-25 Thread Erik de Castro Lopo
Russ Allbery wrote: Yeah, that sounds like a good Lintian exception. I see no good reason to make lintian aware of this particular exception. It might however make sense to make lintian ignore any file named license* if that file is a binary file. The Distribution/License.hi file I'm looking

Re: Generating lintian-overrides file?

2009-06-25 Thread Russ Allbery
Erik de Castro Lopo mle+deb...@mega-nerd.com writes: Russ Allbery wrote: Yeah, that sounds like a good Lintian exception. I see no good reason to make lintian aware of this particular exception. It might however make sense to make lintian ignore any file named license* if that file is a

Re: Generating lintian-overrides file?

2009-06-25 Thread Erik de Castro Lopo
Russ Allbery wrote: We have a ton of exceptions already by file extension, so it's trivial to add another one. Given your description of an *.hi file, I have a hard time imagining anything named copyright.hi or license.hi will be anything other than a false positive. Ok, License.hi is the