Gentoo Archives: gentoo-dev

From: Jonathan Callen <jcallen@g.o>
To: Gilles Dartiguelongue <eva@g.o>, Gentoo Dev <gentoo-dev@l.g.o>
Cc: freedesktop-bugs@g.o
Subject: [gentoo-dev] Re: New eclass: xdg-basedir
Date: Thu, 30 Jan 2014 08:25:07
Message-Id: 52EA0C56.1070602@gentoo.org
In Reply to: [gentoo-dev] Re: New eclass: xdg-basedir by Gilles Dartiguelongue
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA512
3
4 On 01/30/2014 03:11 AM, Gilles Dartiguelongue wrote:
5 > Le mercredi 29 janvier 2014 à 22:37 -0500, Mike Gilbert a écrit :
6 >> One difference: it creates 3 of the 4 directories under ${HOME} instead of ${T}, just to
7 >> mimic the default behavior in the XDG basedir spec a bit more closely.
8 >
9 > The thing with ${HOME} is that it should not be a directory where XDG compliants tools should
10 > be able to store anything permanent while building since this would affect consecutive builds
11 > (say gobject-introspection, gstreamer registry, etc).
12 >
13 > This is why it is set to ${T} in gnome2-utils.eclass.
14 >
15
16 I don't know about other package managers, but portage at least sets $HOME to
17 ${PORTAGE_TMPDIR}/portage/${CATEGORY}/${PF}/homedir, so this is a non-issue for portage.
18 -----BEGIN PGP SIGNATURE-----
19 Version: GnuPG v2.0.22 (GNU/Linux)
20 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
21
22 iQIcBAEBCgAGBQJS6gxWAAoJELHSF2kinlg43+0QAIRQta3FrJCG0rwC8eVN0TrQ
23 heU/UG5xxBXlnYfSx1KZMH2lasGsZ6d31oycW404muSt7L7gOnpQGAa0upXGMMeq
24 aC6dKyxj5psb0WQRp4NeNkofPyGzOGlK7LYiEgGdl63yEadWkU+1cTK8HCwNpYEt
25 iOyDE5o/W05M3iPSkdjetrvADh2w3jK6paVekPWKoeawADalJQ9pjPcNUdiNZSzb
26 D2L7Td/IAiEOUYt6sQVTs4idExhDc3ndSFNcd8Z/C1/L60EZlJd+CWcP7mReOJkA
27 pToVXOAACxCRUBR4tUq23BZmBGN7d891SfybLbkAc/UjyS7f1gvCLPq4WLvmE+G/
28 wVmqbnhilRkfP/ecjaZKDg+l32sf+yNbqth+aD9CvYvIo4wvhbFqxlu3tyut37fn
29 OdlwWi6vrMIHicem5NBx/u7E7lh/mnUFKGtPBY/jSPlPCGf/D2T9ET4M7PH5UIRQ
30 fQePKx1GrNvlm5R80qENl/qL72NxX5sEd+fFZ4O6utEnceKQFcLwn6js6HsHetXM
31 DQsEsiCnex+f204MQ+fFInqNU5Sfk5u207zwLELDiinfms9jSSsa6ovemC7NtmNq
32 bJZagpdm51Y5oKjJLZhHad3gwc5u1uJnc9vZGOYeoO0tlD0ad3Zq5PRYkxouWTqQ
33 5YrXNfLdT0tQ/NXngdWe
34 =JJd7
35 -----END PGP SIGNATURE-----