Hi,

Am Freitag, den 04.07.2008, 16:14 -0300 schrieb Marco Túlio Gontijo e
Silva:
> The files are here:
> http://marcotmarcot.googlepages.com/gtk2hs_0.9.13.orig.tar.gz
> http://marcotmarcot.googlepages.com/gtk2hs_0.9.13-1.diff.gz
> http://marcotmarcot.googlepages.com/gtk2hs_0.9.13-1.dsc

I’m not yet satisfied (Although I have not checked whether the previous
package was better ;-)):

You build-depend on the current version of libghc6-mtl-dev, which is
correct. But only the libghc6-cairo-dev package has a binary dependency,
although I find

$ grep mtl */*.package.conf.in
cairo/cairo.package.conf.in:depends: base [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ 
@CAIRO_SPLITBASE_DEPENDS@
gnomevfs/gnomevfs.package.conf.in:depends: [EMAIL PROTECTED]@ mtl 
@GNOMEVFS_SPLITBASE_DEPENDS@
gstreamer/gstreamer.package.conf.in:depends: [EMAIL PROTECTED]@ [EMAIL 
PROTECTED]@ @GSTREAMER_SPLITBASE_DEPENDS@
gtk/gtk.package.conf.in:depends: base [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ 
@GTK_CAIRO_DEPEND@ @GTK_SPLITBASE_DEPENDS@
soegtk/soegtk.package.conf.in:depends: base [EMAIL PROTECTED]@ [EMAIL 
PROTECTED]@ @GTK_CAIRO_DEPEND@ @SOEGTK_SPLITBASE_DEPENDS@
svgcairo/svgcairo.package.conf.in:depends: base [EMAIL PROTECTED]@ [EMAIL 
PROTECTED]@ [EMAIL PROTECTED]@

which means that some packages lack the dependency, most do not depend
on libghc6-cairo-dev. This is particularly bad as the postinst/prerm
scripts of gtk2hs (and most haskell-utils based packages) handle wrong
dependencies on the ghc-pkg level very badly.

There is the debhelper dh_haskell_depends which automates the generation
of binary dependencies by parsing the installed package.conf file. Maybe
you can try that – jgoerzen might be of help here. I think this would be
better solution than manual debian/control editing, at least for the
binary Dependencies, as then the haskell packaging becomes more
homogeneous. The other dh_haskell scripts seem also be useful for
gtk2hs.

(hmm, looking more at dh_haskell makes me thing of trying it for xmonad
– at least in the next upload.)

Greetings,
Joachim


-- 
Joachim "nomeata" Breitner
Debian Developer
  [EMAIL PROTECTED] | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: [EMAIL PROTECTED] | http://people.debian.org/~nomeata

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

_______________________________________________
debian-haskell mailing list
[email protected]
http://urchin.earth.li/mailman/listinfo/debian-haskell

Reply via email to