Mailing list archives : pcb-rnd

ID:5978
From:rn...@igor2.repo.hu
Date:Mon, 6 Mar 2023 07:50:50 +0100 (CET)
Subject:Re: [pcb-rnd] camv-rnd: ./configure it does not take the fontdir
in-reply-to:5977 from Henner Zeller <h....@acm.org>
Hello Henner,
 
On Sun, 5 Mar 2023, Henner Zeller wrote:
 
>Hi,
>When calling configure on camv-rnd without a fontdir and it doesn't
>find one, it complains that
>Detecting system font dir...NOT FOUND!
>Please specify one with --fontdir
>
>ok, so let's give it some. To see if it ever is tested, lets' use some
>easy recongizable string
>  ./configure --fontdir=/foo/bar/baz
>(configure fails again but also does not take the path).
>
>Problem seems to be that scconfig/find_fontdir.c looks in a different
>configuration key ? This fixes it:
>Index: scconfig/find_fontdir.c
>===================================================================
>--- scconfig/find_fontdir.c     (revision 674)
>+++ scconfig/find_fontdir.c     (working copy)
>@@ -10,7 +10,7 @@
>{
>       const char **d, *ud;
>
>-       ud = get("/local/csch/fontdir");
>+       ud = get("/local/camv/fontdir");
>       if ((ud != NULL) && (*ud != '\0')) {
>               report("Accepting system font dir (user specified): '%s'\n", ud);
>               return 0;
>
 
Thanks!
 
Menawhile I figured this whole fontdir part is not really in use in 
camv-rnd. It was a mistake ot import this option from sch-rnd when I 
switched over camv-rnd to use scconfig.
 
So the fix I've commited to svn is to remove the --fontdir option from 
camv-rnd's ./configure.
 
Best regards,
 
Igor2
 
 
 

Reply subtree:
5978 Re: [pcb-rnd] camv-rnd: ./configure it does not take the fontdir from rn...@igor2.repo.hu