Gentoo Archives: gentoo-dev

From: Michael Palimaka <kensington@g.o>
To: gentoo-dev@l.g.o
Cc: freedesktop-bugs@g.o
Subject: [gentoo-dev] Re: New eclass: xdg-basedir
Date: Thu, 30 Jan 2014 11:49:18
Message-Id: 52EA3C20.6090302@gentoo.org
In Reply to: [gentoo-dev] New eclass: xdg-basedir by Mike Gilbert
1 On 01/30/2014 02:37 PM, Mike Gilbert wrote:
2 > Here's a simple eclass that pretty much just extracts the XDG stuff from
3 > the gnome2_environment_reset function.
4 >
5 > One difference: it creates 3 of the 4 directories under ${HOME} instead
6 > of ${T}, just to mimic the default behavior in the XDG basedir spec a
7 > bit more closely.
8 >
9 > Please give a look.
10 >
11
12 Hi,
13
14 Thanks for working on this.
15
16 Two thoughts:
17
18 1. Would it be worth consolidating this, fdo-mime.eclass, and some other
19 gnome2-utils stuff (eg. gnome2_icon_cache_update) into a larger
20 freedesktop eclass?
21
22 2. xdg-basedir-setup -> xdg-basedir_setup is more consistent with other
23 modern eclasses, especially if there are additional functions in the future.
24
25 Best regards,
26 Michael

Replies

Subject Author
[gentoo-dev] Re: New eclass: xdg-basedir Ulrich Mueller <ulm@g.o>
Re: [gentoo-dev] Re: New eclass: xdg-basedir Mike Gilbert <floppym@g.o>