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

Reducing redundancies in debian/control



Hi,

every time I package a new package I am annoyed that I have to repeat
the description three times. Also, having the standard blurb („This
package is a library...“) in every source package is suboptimal, as it
would be very laborious to change that.

Starting with haskell-devscripts 0.8.15 (hmm, I guess this would have
warranted a 0.9... too late now) the binary package stanza is just:

        Package: libghc-gloss-dev
        Architecture: any
        Depends: ${haskell:Depends}
          , ${shlibs:Depends}
          , ${misc:Depends}
        Recommends: ${haskell:Recommends}
        Suggests: ${haskell:Suggests}
        Provides: ${haskell:Provides}
        Description: ${haskell:ShortDescription}${haskell:ShortBlurb}
         ${haskell:LongDescription}
         .
         ${haskell:Blurb}

so besides the name, there is nothing package-specific there any more.
Same for -prof and -dev. The description is provided in the source
stanza:

        [..]
        Vcs-Darcs: http://darcs.debian.org/pkg-haskell/haskell-gloss
        Vcs-Browser: http://darcs.debian.org/cgi-bin/darcsweb.cgi?r=pkg-haskell/haskell-gloss
        X-Description: Painless 2D vector graphics, animations and simulations.
         Gloss hides the pain of drawing simple vector graphics behind a nice data type
         and a few display functions. Gloss comes for with support for animations and
         simulations as well, and allows one to create simple interactive games.  Gloss
         uses OpenGL under the hood, but you won't need to worry about any of that. 


Due to http://bugs.debian.org/659814 this does not work well yet for
multi-paragraph descriptions, but this bug will be fixed with dpkg 1.17.
Otherwise you can start to change to the new scheme, at least for newly
uploaded packages.

I guess those of you who use cabal-debian should update that tool as
well.

Also, the default blurbs, now defined in
http://anonscm.debian.org/darcs/pkg-haskell/haskell-devscripts/dh_haskell_blurbs can probably be improved. Do we really need the pointer to the haskell website? Should we explain better who needs the profiling package? Improvements to the descriptions are welcome, just commit to the haskell-devscripts repo.

Greetings,
Joachim

PS: We finally have gloss in Deban! (well, in NEW...)


-- 
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: