After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 644187 - "Build" system defaults to unsuitable directories
"Build" system defaults to unsuitable directories
Status: RESOLVED FIXED
Product: cantarell-fonts
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Cantarell fonts maintainer(s)
Cantarell fonts maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2011-03-08 10:53 UTC by Fabian Greffrath
Modified: 2012-09-14 10:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Make directories for fonts and fontconfig files configurable. (1.99 KB, patch)
2012-09-14 07:39 UTC, Fabian Greffrath
none Details | Review

Description Fabian Greffrath 2011-03-08 10:53:15 UTC
Hi,

in Debian, we install fontconfig config files into '/etc/fonts/conf.avail' with a symlink pointing there (if appropriate) from '/etc/fonts/conf.d' (which is the directory actually read by fontconfig). Fonts are installed into '/usr/share/fonts/<type>/<package>', i.e. '/usr/share/fonts/opentype/fonts-gnome-cantarell' in the case ofthe  cantarell-fonts.

Well, the cantarell-fonts "build" system wants to install the fonts into '$(datadir)/fonts/cantarell' (see 'otf/Makefile.am') and the fontconfig config files into '$(datadir)/fontconfig/conf.avail/' (see 'fontconfig/Makefile.am'), so whatever I chose as a '$(datadir)' variable in the './configure' call will never match my requirements to reasonably package these fonts for Debian. (That is, I currently install these three files manually, but this bug report is a matter of principle. ;) )

Cheers,
Fabian
Comment 1 Fabian Greffrath 2012-09-14 07:39:43 UTC
Created attachment 224303 [details] [review]
Make directories for fonts and fontconfig files configurable.
Comment 2 Jakub Steiner 2012-09-14 10:20:36 UTC
in git master now, thank you.