[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] new automake system
From: |
Ralph Corderoy |
Subject: |
Re: [Groff] new automake system |
Date: |
Thu, 25 Sep 2014 12:10:35 +0100 |
Hi Werner,
> Contrary to many other packages, a `/usr/local/X11' hierarchy normally
> doesn't exist, and only the `/usr/X11' tree gets checked for
> configuration files. Maybe this has changed recently, but I doubt it.
Ah, I've seen them under /usr/local in the past. There's various
environment variables that can be set up to say where to look, e.g.
$ XFILESEARCHPATH=/foo/%N:/bar/%N strace appres Werner 2>&1 | grep Werner
execve("/usr/bin/appres", ["appres", "Werner"], [/* 60 vars */]) = 0
access("/home/ralph/en_GB.utf8/Werner", R_OK) = -1 ENOENT (No such file or
directory)
access("/home/ralph/en/Werner", R_OK) = -1 ENOENT (No such file or
directory)
access("/home/ralph/Werner", R_OK) = -1 ENOENT (No such file or
directory)
access("/home/ralph/en_GB.utf8/Werner", R_OK) = -1 ENOENT (No such file or
directory)
access("/home/ralph/en/Werner", R_OK) = -1 ENOENT (No such file or
directory)
access("/home/ralph/Werner", R_OK) = -1 ENOENT (No such file or
directory)
access("/foo/Werner", R_OK) = -1 ENOENT (No such file or
directory)
access("/bar/Werner", R_OK) = -1 ENOENT (No such file or
directory)
$
http://www.faqs.org/faqs/x-faq/part2/section-22.html covers it as does
http://www.x.org/archive/X11R6.8.0/doc/X.7.html where it says
application-specific files
Directories named by the environment variable XUSERFILESEARCHPATH or
the environment variable XAPPLRESDIR (which names a single directory
and should end with a '/' on POSIX systems), plus directories in a
standard place (usually under /tmp/Xorg-KEM/lib/X11/, but this can
be overridden with the XFILESEARCHPATH environment variable) are
searched for for application-specific resources. For example,
application default resources are usually kept in
/tmp/Xorg-KEM/lib/X11/app-defaults/. See the X Toolkit Intrinsics -
C Language Interface manual for details.
So if it's reasonable to assume a user knows what they're doing in
putting executables outside of /usr/bin, e.g. PATH is set up to cope,
then perhaps the same goes for Xt application resources.
Cheers, Ralph.
- Re: [Groff] new automake system, (continued)
- Message not available
- Re: [Groff] new automake system, Bernd Warken, 2014/09/21
- Re: [Groff] new automake system, Bertrand Garrigues, 2014/09/22
- Re: [Groff] new automake system, Bernd Warken, 2014/09/22
- Re: [Groff] new automake system, Bertrand Garrigues, 2014/09/22
- Re: [Groff] new automake system, Bernd Warken, 2014/09/23
- Re: [Groff] new automake system, Bertrand Garrigues, 2014/09/23
- Re: [Groff] new automake system, Ralph Corderoy, 2014/09/24
- Re: [Groff] new automake system, Bertrand Garrigues, 2014/09/24
- Re: [Groff] new automake system, Ralph Corderoy, 2014/09/25
- Re: [Groff] new automake system, Werner LEMBERG, 2014/09/25
- Re: [Groff] new automake system,
Ralph Corderoy <=
- Re: [Groff] new automake system, Werner LEMBERG, 2014/09/25
- Re: [Groff] new automake system, Bertrand Garrigues, 2014/09/27
- Re: [Groff] new automake system, Ralph Corderoy, 2014/09/28
- Re: [Groff] new automake system, Bertrand Garrigues, 2014/09/28
- Re: [Groff] new automake system, Werner LEMBERG, 2014/09/29
- Re: [Groff] new automake system, Bertrand Garrigues, 2014/09/29
- Re: [Groff] new automake system, Werner LEMBERG, 2014/09/30
- Re: [Groff] new automake system, Ingo Schwarze, 2014/09/22
- Re: [Groff] new automake system, Werner LEMBERG, 2014/09/22
- Re: [Groff] new automake system, Bertrand Garrigues, 2014/09/22