Opened 16 years ago

Closed 16 years ago

#2227 closed defect (fixed)

libxfce4util breaks basedir spec

Reported by: dnicholson@… Owned by: dnicholson@…
Priority: high Milestone: 6.2.0
Component: BOOK Version: SVN
Severity: normal Keywords: xfce basedir


Currently in the book, libxfce4util is not configured with --sysconfdir=/etc. This causes a problem because if the user has set XDG_CONFIG_DIRS to anything besides /etc/xdg, XFCE will not be able to find the menu configuration there. If it's configured with --sysconfdir=/etc, it will hardcode a fallback path to /etc/xdg. As it is now, the fallback path is /usr/etc/xdg, which is empty.

A more general discussion of problems in the book with the Base Directory Spec can be found in #2172. This ticket just deals with the particular case in XFCE.

Attachments (1)

xfce-sysconfdir.diff (3.5 KB ) - added by dnicholson@… 16 years ago.
Configure libxfce4util with --sysconfdir=/etc

Download all attachments as: .zip

Change History (5)

by dnicholson@…, 16 years ago

Attachment: xfce-sysconfdir.diff added

Configure libxfce4util with --sysconfdir=/etc

comment:1 by dnicholson@…, 16 years ago

Owner: changed from blfs-book@… to dnicholson@…
Status: newassigned

Attached a patch which adds --sysconfdir=/etc to libxfce4util. To accommodate, I merged the sections of configuring commands together and add a Command Explanation noting which packages it's needed for. Did likewise with the second set of packages and --libexecdir=/usr/lib/xfce4 for consistency. OK to commit (I'm not sure about the formatting, etc.)?

comment:3 by dnicholson@…, 16 years ago

No one has commented, so I'm committing the attached diff.

comment:4 by dnicholson@…, 16 years ago

Resolution: fixed
Status: assignedclosed

Fixed in r6482.

Note: See TracTickets for help on using tickets.