Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 172725 - gnustep-base/gnustep-back-art-0.11.0 - patch to use dejavu fons
Summary: gnustep-base/gnustep-back-art-0.11.0 - patch to use dejavu fons
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Gentoo Gnustep project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-30 00:48 UTC by Hypnos
Modified: 2007-06-10 01:19 UTC (History)
1 user (show)

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


Attachments
gnustep-back-art-0.11.0.ebuild_dejavu.patch (gnustep-back-art-0.11.0.ebuild_dejavu.patch,1.35 KB, patch)
2007-03-30 00:49 UTC, Hypnos
Details | Diff
config-gnustep-back-art.sh_dejavu.patch (config-gnustep-back-art.sh_dejavu.patch,631 bytes, patch)
2007-03-30 00:51 UTC, Hypnos
Details | Diff
gnustep-back-art-0.11.0.ebuild_dejavu.patch (gnustep-back-art-0.11.0.ebuild_dejavu.patch,1.72 KB, patch)
2007-03-31 19:41 UTC, Hypnos
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hypnos 2007-03-30 00:48:15 UTC
Currently, gnustep-back-art ships with Helvetica fonts.  The included GNUstep source script sets the font to BitstreamVera, but the ebuild requires DejaVu.  Consequently, any GNUstep app reverts to Helvetica when launched, and GNUstep complains that BitstreamVera fonts are not found.

I include two patches below to correct this situation.
Comment 1 Hypnos 2007-03-30 00:49:53 UTC
Created attachment 114895 [details, diff]
gnustep-back-art-0.11.0.ebuild_dejavu.patch

Patch to ebuild to incorporate DejaVu fonts into the GNUstep fonts database.
Comment 2 Hypnos 2007-03-30 00:51:14 UTC
Created attachment 114897 [details, diff]
config-gnustep-back-art.sh_dejavu.patch

Patch to GNUstep sh script in files dir, to actually use DejaVu instead of Bitstream when user sources it.
Comment 3 Hypnos 2007-03-31 19:41:37 UTC
Created attachment 115079 [details, diff]
gnustep-back-art-0.11.0.ebuild_dejavu.patch

A more intelligent patch to ebuild:

* Instead of copying over font files, just read directly from installed location, and tell GNUstep to look there

(N.B.:  reading the font files directly trips an 'ACCESS DENIED:  rename' warning in Paludis, but doesn't actually appear to cause any error -- the ebuild merges fine.)

* Remove whitespaces from directory names
Comment 4 Bernard Cafarelli gentoo-dev 2007-06-09 15:49:59 UTC
An alternate approch is now available in the gnustep overlay: nfonts generation for all installed fonts when installing gnustep-back-art (the only package needing these). And the config script is now updated to use Dejavu fonts by default
Comment 5 Hypnos 2007-06-10 01:19:34 UTC
The ebuild in the overlay works well.  I am marking this as fixed.