On Wed, Nov 21, 2012 at 05:00:08PM +0000, Wookey wrote: > +++ Colin Watson [2012-11-21 12:57 +0000]: > > On Sun, Nov 18, 2012 at 03:08:35AM +0000, Wookey wrote: > > > +Package: libgettextpo-dev > > > +Section: libdevel > > > +Architecture: any > > > +Multi-Arch: same > > > +Depends: libgettextpo0 (= ${binary:Version}) > > > +Suggests: gettext-doc > > > +Description: GNU Internationalization library development files > > > + This package contains development files for the libgettextpo library. > > > > This needs "Replaces: gettext (<< 0.18.1.1-10)", as it includes files > > previously in gettext. > > good point.
It occurred to me that policy says you want a corresponding Breaks as well. Sorry for not mentioning that before. > > Also, the file lists of libgettextpo-dev and libasprintf-dev both look > > rather wrong. Both of them contain both /usr/include/gettext-po.h and > > /usr/include/autosprintf.h, but they ought to have one of those each. > > libgettextpo-dev contains lots of stuff in /usr/share/gettext/, while > > libasprintf-dev contains lots of stuff in /usr/share/aclocal/, and > > neither looks right - surely these directories still belong in the > > gettext package? > > This patch was 90% guesswork as I don't know what _any_ of the > files/binaries in gettext actually do which greatly limited how much > expertise I could apply to the problem. > > All that seems reasonable to me, but then almost anything would. Which > package should /usr/share/gettext/intl live in? They looked like > headers so I put them in the -dev package. But there is .c in there > too. OK some reading online says that these are stuff done by > gettextize and do not seem arch-dependent so should indeed be in > gettext main package. Right. > Like I say, having no idea how this package > works, or what the parts do, limits my ability to make intelligent > choices. I would say that only things tightly associated with libasprintf and libgettextpo - so autosprintf.h / gettext-po.h respectively plus the corresponding .a/.so - should go in the -dev package. Everything else (and in particular everything under /usr/share/aclocal/ and /usr/share/gettext/) should stay exactly where it is, in the main gettext package; it's generally only intended for being copied into people's source packages by various tools. > Cheers for checking my shoddy work - I was hoping that sending in a > patch would prompt someone to comment on how broken it was :-) Traditional Internet approach :-) -- Colin Watson [cjwat...@ubuntu.com] -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org