Re: debdelta, Re: proposed release goal: DEBIAN/md5sums for all packages
On Die, 04 Sep 2007, Florent Rougon wrote:
> > Sorry, I can't remember the name of the package.
>
> That must be cm-super.
Yup, cm-super does this trick. I once wanted to undo this and ship the
font files directly, but got quite a lot of requests why the packages
has gotten soo big.
>From the rules file (with some additional comments):
# create md5sums for all but the type1 and the "container file"
# from which the fonts are created
dh_md5sums -p cm-super -X usr/share/texmf/fonts/type1/public/cm-super -X usr/share/cm-super
# create the correct md5sums for the files generated on postinst
(cd pfb ; for pfb in *.pfb ; do \
bn=`basename $$pfb .pfb` ; \
if ! grep -q "^$$bn$$" ../debian/fonts.cm-super-minimal
; then \
cat $$pfb | md5sum - | sed -e
"s|-|usr/share/texmf/fonts/type1/public/cm-super/$$pfb|" ; \
fi ; \
done) >> debian/cm-super/DEBIAN/md5sums
# add the md5sum of the empty file (t1c will be emptied on
# postinst)
echo "d41d8cd98f00b204e9800998ecf8427e usr/share/cm-super/cm-super.t1c" >> debian/$(package)/DEBIAN/md5sums
Best wishes
Norbert
-------------------------------------------------------------------------------
Dr. Norbert Preining <preining@logic.at> Vienna University of Technology
Debian Developer <preining@debian.org> Debian TeX Group
gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
The Web site you seek
Cannot be located, but
Countless more exist.
--- Windows Error Haiku
Reply to: