public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Dealing with XDG directories in ebuild environment
@ 2014-01-25 16:13 Mike Gilbert
  2014-01-25 21:00 ` Pacho Ramos
  2014-01-25 21:16 ` Michał Górny
  0 siblings, 2 replies; 22+ messages in thread
From: Mike Gilbert @ 2014-01-25 16:13 UTC (permalink / raw
  To: Gentoo Dev

It seems having XDG variables like XDG_CONFIG_HOME set in the
environment when calling emerge has a tendency to cause sandbox
violations. For example, see the bugs blocking bug 499202.

https://bugs.gentoo.org/show_bug.cgi?id=499202

If you grep for XDG_CONFIG_HOME in the eclass directory, you can see
that several eclasses work around this by setting
XDG_CONFIG_HOME="${T}" or "${T}/.config".

gnome2-utils.eclass takes it a step further and creates empty
directories for several other XDG variables.

Is this something we can/should consolidate into some central place?
Or should I just copy/paste something into distutils-r1.eclass?


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2014-01-29 22:56 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-25 16:13 [gentoo-dev] Dealing with XDG directories in ebuild environment Mike Gilbert
2014-01-25 21:00 ` Pacho Ramos
2014-01-25 21:16 ` Michał Górny
2014-01-26  0:10   ` Mike Gilbert
2014-01-26  0:19     ` Mike Gilbert
2014-01-26 20:43       ` Alec Warner
2014-01-26 20:49         ` Ciaran McCreesh
2014-01-26 21:21           ` Alec Warner
2014-01-26 21:35             ` Ciaran McCreesh
2014-01-26 21:59               ` Michał Górny
2014-01-26 22:03                 ` Ciaran McCreesh
2014-01-26 23:05                   ` Mike Gilbert
2014-01-27  1:10                     ` Peter Stuge
2014-01-27 23:02                       ` Gilles Dartiguelongue
2014-01-28 17:03                         ` Mike Gilbert
2014-01-29  5:44                           ` Alexandre Rostovtsev
2014-01-29  6:37                           ` Alexandre Rostovtsev
2014-01-29 16:46                             ` Mike Gilbert
2014-01-29  8:58                           ` Jan Matejka
2014-01-29 16:13                             ` Alexandre Rostovtsev
2014-01-28 13:11             ` [gentoo-dev] " Steven J. Long
2014-01-29 22:53               ` Gilles Dartiguelongue

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox