[Pkg-fonts-devel] Fwd: RFS: fonts-johnsmith-induni

Christian PERRIER bubulle at debian.org
Sat Feb 19 11:06:31 UTC 2011


Quoting Vasudev Kamath (kamathvasudev at gmail.com):

> > - the "Suggests" line carries things I consider useless...and some are
> > outdated packages:
> > Suggests: xserver-xfree86 | xserver | xfs, x-ttcidfont-conf
> Sure I'll fix this I was taking ttf-indic-fonts from Debian-in as
> reference. I'll fix this.

I think, indeed, that there should be no Suggests...

> >
> >
> > - debian/rules could probably be a one-liner with debhelper 7
> 
> I'm not sure about this point. Sorry this is my first font package and
> again I referred ttf-indic-fonts and ttf-freefont package rules to
> create my rules file. Can you please specify how I can fix this in my
> rules file?

It's quite some time since I'm prodding the debian-in folks to move
ttf-indic-fonts under pkg-fonts....and probably align the packaging
style with what we have for other fonts....:-)


Anyway. What's needed is basically add a debian/<package>.installl
file to have dh_install automagically cope with this:

        dh_install -pfonts-johnsmith-induni ./IndUni-C/*.otf \
                                usr/share/fonts/opentype/fonts-johnsmith-induni/IndUni-C/
        dh_install -pfonts-johnsmith-induni ./IndUni-H/*.otf \
                                usr/share/fonts/opentype/fonts-johnsmith-induni/IndUni-H/
        dh_install -pfonts-johnsmith-induni ./IndUni-N/*.otf \
                                usr/share/fonts/opentype/fonts-johnsmith-induni/IndUni-N/
        dh_install -pfonts-johnsmith-induni ./IndUni-P/*.otf \
                                usr/share/fonts/opentype/fonts-johnsmith-induni/IndUni-P/
        dh_install -pfonts-johnsmith-induni ./IndUni-T/*.otf \
                                usr/share/fonts/opentype/fonts-johnsmith-induni/IndUni-T/


And then, change debian/rules to just:

#!/usr/bin/make -f
%:
        dh $@

See examples in pkg-fonts SVN...(I just validated your request to join
the team). Are you subscribed to the mailing list?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-fonts-devel/attachments/20110219/8c5d06d1/attachment.pgp>


More information about the Pkg-fonts-devel mailing list