my upstream's package contains a font.

October 27th, 2011 - 05:00 am ET by Paul Elliott | Report spam
Help, my upstream package contains a font.

/usr/share/fonts/truetype/maitreya/MaitreyaSymbols6.ttf

this font is highly specialized and unlikely to be used by any other package.

lintian says I must split off a font package.


I: maitreya: font-in-non-font-package
usr/share/fonts/truetype/maitreya/MaitreyaSymbols6.ttf N:
N: This package contains a *.ttf, *.otf, or *.pfb file, file extensions
N: used by TrueType, OpenType, or Type 1 fonts, but the package does not
N: appear to be a dedicated font package. Dedicated font package names
N: should begin with ttf-, otf-, or t1-, depending on the types of fonts
N: included. (Type 1 fonts are also allowed in packages starting with
N: xfonts-.) If the font is already packaged, you should depend on that
N: package instead. Otherwise, normally the font should be packaged
N: separately, since fonts are usually useful outside of the package
that N: embeds them.
N:
N: Severity: wishlist, Certainty: possible
N:



debian policy 11.8.5 seems to say the same thing. But I does not say anything
about what the font package must be named. Where is that comming from?

In any case, if I must split out a font package, how do I do it? Are there any
examples out there?

Thank You

Paul Elliott 1(512)837-1096
pelliott@BlackPatchPanel.com PMB 181, 11900 Metric Blvd Suite J
http://www.free.blackpatchpanel.com/pme/ Austin TX 78758-3117


To UNSUBSCRIBE, email to debian-mentors-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/20111027035...0.pelliott@blackpatchpanel.com
email Follow the discussionReplies 1 replyReplies Make a reply

Similar topics

Replies

#1 Andrew Starr-Bochicchio
October 27th, 2011 - 01:50 pm ET | Report spam
On Thu, Oct 27, 2011 at 4:57 AM, Paul Elliott
wrote:

Help, my upstream package contains a font.

/usr/share/fonts/truetype/maitreya/MaitreyaSymbols6.ttf

this font is highly specialized and unlikely to be used by any other package.

lintian says I must split off a font package.

I: maitreya: font-in-non-font-package
usr/share/fonts/truetype/maitreya/MaitreyaSymbols6.ttf N:
N:    This package contains a *.ttf, *.otf, or *.pfb file, file extensions
N:    used by TrueType, OpenType, or Type 1 fonts, but the package does not
N:    appear to be a dedicated font package. Dedicated font package names
N:    should begin with ttf-, otf-, or t1-, depending on the types of fonts
N:    included. (Type 1 fonts are also allowed in packages starting with
N:    xfonts-.) If the font is already packaged, you should depend on that
N:    package instead. Otherwise, normally the font should be packaged
N:    separately, since fonts are usually useful outside of the package
that N:    embeds them.
N:
N:    Severity: wishlist, Certainty: possible
N:





This tag actually needs to be updated. Font packages are now supposed
to begin with fonts- I just sent a patch to the Lintian maintainers.
See: http://wiki.debian.org/Fonts/PackagingPolicy

In any case, if I must split out a font package, how do I do it? Are there any
examples out there?



Without looking at your package I can only give you a general idea.
Most likely it is as simple as:

Create a new binary stanza in debian/control for fonts-maitreya. This
stanza should contain "Section: fonts" along with the normal fields.

Create a debain/fonts-maitreya.install file with the contents:

usr/share/fonts/truetype/maitreya/MaitreyaSymbols6.ttf


Ubuntu Developer <https://launchpad.net/~andrewsomething>
Debian Maintainer
<http://qa.debian.org/developer.php?...il.com>
PGP/GPG Key ID: D53FDCB1


To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Archive: http://lists.debian.org/CAL6k_AzNnK0fAQV9riFk-C+
email Follow the discussion Replies Reply to this message
Help Create a new topicReplies Make a reply
Search Make your own search