Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 440980 - media-fonts/freefont-ttf - add support for OTF
Summary: media-fonts/freefont-ttf - add support for OTF
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Gentoo Fonts Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-02 16:40 UTC by ac.serbanescu
Modified: 2013-01-30 14:14 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
This one requires enabling at least one useflag. (gnu-freefont-20120503.ebuild,549 bytes, text/plain)
2012-11-02 16:40 UTC, ac.serbanescu
Details
This one defaults to installing the otf fonts. (gnu-freefont-20120503.ebuild,622 bytes, text/plain)
2012-11-02 16:41 UTC, ac.serbanescu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ac.serbanescu 2012-11-02 16:40:49 UTC
Created attachment 328106 [details]
This one requires enabling at least one useflag.

New ebuilds for the latest version of GNU Freefont.

They provide OpenType and TrueType versions of the font by means of the useflags otf and ttf.

The first ebuild requires at least one useflag being set, while the second defaults to installing only the OpenType fonts in case no useflag is set.

For this reason (and because naming it freefont would make it look too similar to the unrelated package freefonts), the package name has been changed to gnu-freefont.

I've tested it and it works just fine for me. Please adapt/correct them for other architectures or in case any error should appear.
Comment 1 ac.serbanescu 2012-11-02 16:41:38 UTC
Created attachment 328108 [details]
This one defaults to installing the otf fonts.
Comment 2 Nirbheek Chauhan (RETIRED) gentoo-dev 2013-01-26 16:10:12 UTC
(In reply to comment #1)
> Created attachment 328108 [details]
> This one defaults to installing the otf fonts.

A few comments from looking at this at a glance: 

1. `use` can't be used in global scope
2. COPYING should not be in DOCS

In any case, it's not easy to have a use-flag for installing OTF fonts, and I didn't see why that should be done at all. I committed a new ebuild for 20120503 which just installs both ttf and otf unconditionally.
Comment 3 Ben de Groot (RETIRED) gentoo-dev 2013-01-26 16:18:46 UTC
(In reply to comment #2)
> In any case, it's not easy to have a use-flag for installing OTF fonts, and
> I didn't see why that should be done at all. I committed a new ebuild for
> 20120503 which just installs both ttf and otf unconditionally.

In that case it's not really freefont-ttf anymore, so I would suggest renaming the package or splitting it.
Comment 4 Nirbheek Chauhan (RETIRED) gentoo-dev 2013-01-29 20:59:50 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > In any case, it's not easy to have a use-flag for installing OTF fonts, and
> > I didn't see why that should be done at all. I committed a new ebuild for
> > 20120503 which just installs both ttf and otf unconditionally.
> 
> In that case it's not really freefont-ttf anymore, so I would suggest
> renaming the package or splitting it.

Agreed. Pkgmove done.
Comment 5 CBke -Left- bye 2013-01-29 23:03:33 UTC
please change dependencies accordingly.

dev-util/gource-0.38 (media-fonts/freefont-ttf)
virtual/ttf-fonts-1 (media-fonts/freefont-ttf)