[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Haskell and Built-Using (Was: Go (golang) packaging, part 2)



Hi,

Am Mittwoch, den 30.01.2013, 16:52 +0800 schrieb Paul Wise:
> On Tue, Jan 29, 2013 at 7:55 PM, Iustin Pop wrote:
> > I would add one thing here: Haskell/GHC also (currently) doesn't create
> > shared libraries, and instead builds the program statically, but the
> > Debian Haskell group still tries to package as best as they can the
> > development libraries, for all the reasons above (which are very good
> > reasons, IMHO).
> >
> > So, take this as an example of another language which doesn't do shared
> > linking but for which libraries are still packaged in Debian.
> 
> Do all Haskell packages add Built-Using headers?

no, not yet (it is a relatively young addition to the Debian policy). I
have filed a bug against haskell-devscripts to remember that (#699329).

Maybe dh_buildinfo can be extended to output its results as a substvar?
After all, it already collects a (safe approximation) to the data
expected in the Built-Using header:

        „This script is designed to be run at build-time, and registers
        in a file the list of packages declared as build-time
        dependencies, as well as build-essential packages, together with
        their versions, as installed in the build machine.“

So all that seems to be missing is to look up the source name and
versions of these packages.

Greetings,
Joachim
-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nomeata@joachim-breitner.de | http://people.debian.org/~nomeata

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: