From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: [PATCH 2/3] profiles: Add fonts-dir-file hook. Date: Wed, 06 Jul 2016 22:41:38 +0300 Message-ID: <874m825zbh.fsf@gmail.com> References: <20160701092730.2265-1-alezost@gmail.com> <20160701092730.2265-3-alezost@gmail.com> <87fursf6rf.fsf@gnu.org> <87lh1jalvm.fsf@gmail.com> <87r3b8w40o.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48030) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKshZ-0000YE-Bc for guix-devel@gnu.org; Wed, 06 Jul 2016 15:41:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bKshV-000315-8A for guix-devel@gnu.org; Wed, 06 Jul 2016 15:41:41 -0400 In-Reply-To: <87r3b8w40o.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Tue, 05 Jul 2016 16:31:03 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org Ludovic Court=C3=A8s (2016-07-05 17:31 +0300) wrote: > Alex Kost skribis: [...] >> This hook generates "fonts.dir" only for "share/fonts/truetype" >> directory. Directories with X fonts are not touched, because all >> sub-directories of "share/fonts/X11" already contain "fonts.dir" files >> (font-adobe75dpi, font-misc-misc and other X font packages install >> "fonts.dir"). >> >> 'font-alias' package does not contain fonts.dir file because it doesn't >> make sense: this package does not provide any font. It just installs >> "fonts.alias" files inside "share/fonts/X11/{75dpi,100dpi,cyrillic,misc}" >> directories. Eric made this commit for one particular case: to make it >> possible to use font aliases in the default X server configuration >> ('xorg-configuration-file' in (gnu services xorg) module). >> >> Just to mention, I think we shouldn't modify 'font-alias' package as it >> leads to a bug , and should do some other >> workaround. I have 2 ideas (not sure if they make any sense): >> >> 1) To add a special package (font-alias-with-fonts.dir) that will be used >> in 'xorg-configuration-file'. >> >> 2) To do 'union-build' on packages with X fonts and aliases and to use it >> in the X config. With this, we can revert that Eric's commit, and >> everything should just work (I mean the X config will work and the bug >> will be fixed). > > Could you discuss it with 22100@debbugs.gnu.org and Cc: Eric? I=E2=80=99= m not > sure I=E2=80=99m competent enough to comment, so I=E2=80=99d rather let y= ou and Eric > figure out what needs to be done. :-) OK, I think I should try to make a patch at first to show what I mean. --=20 Alex