Summary: | dbus should check $XDG_DATA_HOME *before* $XDG_DATA_DIRS | ||
---|---|---|---|
Product: | dbus | Reporter: | Anders Kaseorg <andersk> |
Component: | core | Assignee: | Havoc Pennington <hp> |
Status: | RESOLVED FIXED | QA Contact: | John (J5) Palmieri <johnp> |
Severity: | normal | ||
Priority: | medium | CC: | danmbox |
Version: | 1.4.x | Keywords: | patch |
Hardware: | All | ||
OS: | Linux (All) | ||
URL: | http://git.collabora.co.uk/?p=user/smcv/dbus-smcv.git;a=shortlog;h=refs/heads/xdg-data-home-34496 | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Give XDG_DATA_HOME priority over XDG_DATA_DIRS for servicedirs
config-parser regression test: don't require that fd.o #34496 exists |
Description
Anders Kaseorg
2011-02-20 02:11:06 UTC
Created attachment 43568 [details] [review] Give XDG_DATA_HOME priority over XDG_DATA_DIRS for servicedirs Here’s a patch, tested on Ubuntu natty. Thanks, I committed your patch. Will be fixed in 1.4.8, 1.5.0. Unfortunately, this breaks the regression tests (which I forgot to run before pushing). Proposed patch on the way. Created attachment 43764 [details] [review] config-parser regression test: don't require that fd.o #34496 exists The directories are now obviously the way round we want them: the user's locally-installed things have precedence over the sysadmin's system-wide-installed things, which have precedence over things from the distribution. Review of attachment 43764 [details] [review]: Ship it. Thanks. FYI, when committing a patch written by someone else, you can use either ‘git am’ or ‘git commit --author=…’ to preserve the authorship information. http://live.gnome.org/Git/Developers#Applying_Patches http://live.gnome.org/Git/Developers#Committing_on_behalf_of_a_contributor (In reply to comment #6) > Thanks. FYI, when committing a patch written by someone else, you can use > either ‘git am’ or ‘git commit --author=…’ to preserve the authorship > information. Yeah, I did use `git am`, but the attribution got lost during conflict resolution and I didn't spot it until I'd already pushed. Sorry about that... *** Bug 35569 has been marked as a duplicate of this bug. *** (In reply to comment #8) > *** Bug 35569 has been marked as a duplicate of this bug. *** Thanks. Would it be possible to backport this fix to 1.4.6 (the stable branch)? Ubuntu Natty is nearing release, and I would hate to deal with buggy Ubuntus for years to come now. |
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.