Gentoo Archives: gentoo-dev

From: Michael Weber <xmw@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] font.eclass add Xorg FontPath elements for non-standard paths
Date: Thu, 04 Jul 2013 12:25:00
Message-Id: 51D5698C.5090207@gentoo.org
In Reply to: Re: [gentoo-dev] font.eclass add Xorg FontPath elements for non-standard paths by Gilles Dartiguelongue
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA256
3
4 On 07/04/2013 12:09 PM, Michael Weber wrote:
5 > Is it possible to get xorg server attributes? xset only has
6 > setters.
7 ffr, `xset q` like query values
8
9 On 07/04/2013 02:10 PM, Gilles Dartiguelongue wrote:
10 > Imho, this should be handled in pkg_postinst generating one Xorg
11 > configuration file at the end of the install, very much like fdo
12 > .desktop or mime cache file. This solves most of the point raised
13 > since any font bump would generate the file for all fonts.
14 Yes, but could that file be config-protected to allow users to add
15 special paths of fonts installed somewhere else?
16 pkg_postinst is sandbox of and I don't want to re-implement
17 CONFIG_PROTECT.
18
19 The FontPath elements are concated inside one Section "Files", but not
20 accross multiple xorg.conf.d files.
21
22 Investigating the handling of FontPath values (and multiple config
23 files), I stumbled over a macro CONFIG_MAX_FILES set to 64 in [1].
24 Thus i consider adding/wasting one file per font package to expensive
25 and a bad design, in the face of 154 packages [2] inheriting font.eclass.
26
27 [1] xorg-server-1.14.2/hw/xfree86/parser/scan.c
28 [2] http://qa-reports.gentoo.org/output/eclass-usage/font.txt
29
30
31 - --
32 Michael Weber
33 Gentoo Developer
34 web: https://xmw.de/
35 mailto: Michael Weber <xmw@g.o>
36 -----BEGIN PGP SIGNATURE-----
37 Version: GnuPG v2.0.20 (GNU/Linux)
38 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
39
40 iF4EAREIAAYFAlHVaYwACgkQknrdDGLu8JBoVQD/QLMGHD8FtC8MdfHDyvCa2y5p
41 fV6qb5Eiyou3QpIBzLUA+wZDHnPYuSGEiR0dmTW5Ga7ME31PWJNWNM6yFFL2XXis
42 =Reia
43 -----END PGP SIGNATURE-----

Replies