Bug 11568

Summary: [PATCHES xfs] s|libdir/X11|configdir|, add catalogue:<dir> to config
Product: xorg Reporter: Ademar Reis <ademar>
Component: App/xfsAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium Keywords: patch
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
use sysconfdir, not libdir for config file
none
include fontpath.d in default catalogues list none

Description Ademar Reis 2007-07-12 10:21:22 UTC
Two trivial patches already sent to xorg ml some weeks ago:

* 0001-put-config-file-under-sysconfdir-not-libdir.patch
Put config file under sysconfdir, not libdir

* 0002-Add-catalogue-dir-to-default-configuration.patch
Add catalogue:<dir> to default configuration, using a non xfs
dependent location so that it can be used by xserver and others
as well.
Comment 1 Ademar Reis 2007-07-12 10:22:01 UTC
Created attachment 10693 [details] [review]
use sysconfdir, not libdir for config file
Comment 2 Ademar Reis 2007-07-12 10:22:56 UTC
Created attachment 10694 [details] [review]
include fontpath.d in default catalogues list
Comment 3 Julien Cristau 2008-02-05 13:10:36 UTC
(In reply to comment #1)
> Created an attachment (id=10693) [details]
> use sysconfdir, not libdir for config file
> 
I just changed this (and adjusted the default path in configure.ac) in f253f56e9ff33e7424317be7fa54a60eec4053a8.
Comment 4 Alan Coopersmith 2009-03-16 19:18:02 UTC
The changes suggested in these patches seem to have been taken care of 
by independent commits from other developers already:

commit f253f56e9ff33e7424317be7fa54a60eec4053a8
Author: Julien Cristau <jcristau@debian.org>
Date:   Tue Feb 5 21:57:21 2008 +0100

    Install config file in $(sysconfdir) by default instead of $(libdir)

http://cgit.freedesktop.org/xorg/app/xfs/commit/?id=f253f56e9ff33e7424317be7fa54a60eec4053a8

----

commit c66a46e35ae40a23ad9acee838ab42300eddbd67
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Mon Oct 6 21:19:27 2008 -0700

    Use configure to determine font path to put into xfs config file
    
    Uses --default-font-path if specified, otherwise checks for
    /etc/X11/fontpath.d, otherwise uses default path copied
    from xserver configure.ac

http://cgit.freedesktop.org/xorg/app/xfs/commit/?id=c66a46e35ae40a23ad9acee838ab42300eddbd67

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.