help-gv
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[help-gv] Locations of application default files


From: Orion Poplawski
Subject: [help-gv] Locations of application default files
Date: Thu, 27 Oct 2005 11:46:59 -0600
User-agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929)

I'm packaging gv for Fedora Extras and am trying to understand where the
application default files and some other data files should go.
Following a typical Fedora install, I have the following files in
/usr/share/gv:

-rw-r--r--  1 root root  3658 Oct 27 09:45 GV
-rw-r--r--  1 root root 39476 Oct 27 09:45 gv_class.ad
-rw-r--r--  1 root root   913 Oct 27 09:45 gv_copyright.dat
-rw-r--r--  1 root root  1635 Oct 27 09:45 gv_spartan.dat
-rw-r--r--  1 root root  3658 Oct 27 09:45 gv_system.ad
-rw-r--r--  1 root root  3658 Oct 27 09:45 gv_user.ad
-rw-r--r--  1 root root  2649 Oct 27 09:45 gv_user_res.dat

My configure is:

./configure --build=i686-redhat-linux-gnu --host=i686-redhat-linux-gnu
--target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
--sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include
--libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var
--sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info

And I end up with a GV_LIBDIR of /usr/share/gv.

At startup it appears to look for GV in:

access("/usr/X11R6/lib/X11/en_US/app-defaults/GV", R_OK) = -1 ENOENT (No
such file or directory)
access("/usr/X11R6/lib/X11/en/app-defaults/GV", R_OK) = -1 ENOENT (No
such file or directory)
access("/usr/X11R6/lib/X11/app-defaults/GV", R_OK) = -1 ENOENT (No such
file or directory)
access("/usr/X11R6/lib/X11/en_US/app-defaults/GV", R_OK) = -1 ENOENT (No
such file or directory)
access("/usr/X11R6/lib/X11/en/app-defaults/GV", R_OK) = -1 ENOENT (No
such file or directory)
access("/usr/X11R6/lib/X11/app-defaults/GV", R_OK) = -1 ENOENT (No such
file or directory)

Also, it appears to try to access /usr/share/gv as a file, not a
directory immediately after this:

open("/usr/share/gv", O_RDONLY)         = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
read(4, 0x997b488, 4096)                = -1 EISDIR (Is a directory)
close(4)                                = 0

Suggestions?

Thanks,

 Orion

-- 
Orion Poplawski
System Administrator                   303-415-9701 x222
Colorado Research Associates/NWRA      FAX: 303-415-9702
3380 Mitchell Lane, Boulder CO 80301   http://www.co-ra.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]