Gentoo Archives: gentoo-dev

From: Ulrich Mueller <ulm@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 08:29:51
Message-Id: 21226.3444.956884.122969@a1i15.kph.uni-mainz.de
In Reply to: [gentoo-dev] Re: New eclass: xdg-basedir by Gilles Dartiguelongue
1 >>>>> On Thu, 30 Jan 2014, Gilles Dartiguelongue wrote:
2
3 > The thing with ${HOME} is that it should not be a directory where
4 > XDG compliants tools should be able to store anything permanent
5 > while building since this would affect consecutive builds (say
6 > gobject-introspection, gstreamer registry, etc).
7
8 > This is why it is set to ${T} in gnome2-utils.eclass.
9
10 HOME is as temporary as T during build time. PMS says: "The full path
11 to an appropriate temporary directory for use by any programs invoked
12 by the ebuild that may read or modify the home directory."
13
14 With Portage, HOME will point to:
15 ${PORTAGE_TMPDIR}/${CATEGORY}/${PF}/homedir/
16
17 Ulrich

Replies

Subject Author
Re: [gentoo-dev] Re: New eclass: xdg-basedir Gilles Dartiguelongue <eva@g.o>