Gentoo Archives: gentoo-dev

From: Gilles Dartiguelongue <eva@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Dealing with XDG directories in ebuild environment
Date: Mon, 27 Jan 2014 23:02:35
Message-Id: 1390863743.4662.7.camel@kanae
In Reply to: Re: [gentoo-dev] Dealing with XDG directories in ebuild environment by Peter Stuge
1 Le lundi 27 janvier 2014 à 02:10 +0100, Peter Stuge a écrit :
2 > here any other solution for users than fixing the ebuilds and/or
3 > eclass(es)?
4
5 Any dev is supposed to know if his/her package complies to XDG
6 specifications, easy enough to figure out in most cases.
7
8 Like other packages affected by environment variables they use
9 (gstreamer, glib, etc), we just need a sane place to properly reset/set
10 those to ensure repeatability of builds.
11
12 Given current PM behavior, it is not possible to change what is exported
13 to build environment without an EAPI bump because the potential for
14 breakage is huge and you do not want to spend your next month building
15 the tree to build a whitelist of environment variables, right ? Imho,
16 the best course of action is to move that to an eclass for now.
17
18 People are encouraged to provide a prototype implementation of such
19 eclass in the previously mentioned bug report.
20
21 --
22 Gilles Dartiguelongue <eva@g.o>
23 Gentoo

Replies