Re: [gentoo-dev] Dealing with XDG directories in ebuild environment

2014-01-29 Thread Jan Matejka
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 What's the point of having nonempty XDG_ variables in ebuilds? Use of these variables is scoped to user applications that use these in runtime, therefore I see no business for them in package (de)installation and it should be ok for portage to

Re: [gentoo-dev] Dealing with XDG directories in ebuild environment

2014-01-29 Thread Alexandre Rostovtsev
On Wed, 2014-01-29 at 09:58 +0100, Jan Matejka wrote: What's the point of having nonempty XDG_ variables in ebuilds? One big reason is FEATURES=test. Test suites for freedesktop-compliant programs that actually run the program are likely to fail if XDG_* directories are resolved as something

Re: [gentoo-dev] Dealing with XDG directories in ebuild environment

2014-01-29 Thread Mike Gilbert
On Wed, Jan 29, 2014 at 1:37 AM, Alexandre Rostovtsev tetrom...@gentoo.org wrote: [Replying again since my mailer messed up my original message.] On Tue, 2014-01-28 at 12:03 -0500, Mike Gilbert wrote: Option 3: Unset the variables This should cause applications to default to locations under

[gentoo-dev] [gentoo-project] New developer: Alexander Berntsen (bernalex)

2014-01-29 Thread justin
Hello everyone, please join me in giving Alexander (bernalex) a very warm welcome. When asking for his reason to be become a member of the dev team, he said among other things I would be proud to be a Gentoo dev. I like it very much, that one can still be proud to be part of this team and

Re: [gentoo-dev] Re: Dealing with XDG directories in ebuild environment

2014-01-29 Thread Gilles Dartiguelongue
Le mardi 28 janvier 2014 à 13:11 +, Steven J. Long a écrit : Alec Warner wrote: Sorry, I work on Portage. What I'm saying is that We are free to change the behavior of *portage* now; rather than waiting for a new EAPI. If an ebuild needs to define EAPI=eapi-next to 'correctly' use

[gentoo-dev] Catalyst news item

2014-01-29 Thread Jorge Manuel B. S. Vicetto
Hi. I would like to commit the following news item in the next few days. diff --git a/2014/2014-01-31-catalyst-head-changes/2014-01-31-catalyst-head-changes.en.txt b/2014/2014-01-31-catalyst-head-changes/2014-01-31-catalyst-head-changes.en.txt new file mode 100644 index 000..7c5736e ---

Re: [gentoo-dev] Catalyst news item

2014-01-29 Thread W. Trevor King
On Thu, Jan 30, 2014 at 02:14:53AM -0100, Jorge Manuel B. S. Vicetto wrote: +After many years of stalled development, the catalyst repository is +going to have major changes introduced to master in the next few days. “the next few days” sounds a little optimistic to me ;). “next few months”,

Re: [gentoo-dev] Catalyst news item

2014-01-29 Thread Jorge Manuel B. S. Vicetto
On Wed, 29 Jan 2014, W. Trevor King wrote: On Thu, Jan 30, 2014 at 02:14:53AM -0100, Jorge Manuel B. S. Vicetto wrote: +After many years of stalled development, the catalyst repository is +going to have major changes introduced to master in the next few days. ?the next few days? sounds a

Re: [gentoo-dev] Catalyst news item

2014-01-29 Thread Matt Turner
On Wed, Jan 29, 2014 at 7:14 PM, Jorge Manuel B. S. Vicetto jmbsvice...@gentoo.org wrote: +Display-If-Installed: dev-util/catalyst Display-If-Installed: =dev-util/catalyst-

Re: [gentoo-dev] Catalyst news item

2014-01-29 Thread Jorge Manuel B. S. Vicetto
On Wed, 29 Jan 2014, Matt Turner wrote: On Wed, Jan 29, 2014 at 7:14 PM, Jorge Manuel B. S. Vicetto jmbsvice...@gentoo.org wrote: +Display-If-Installed: dev-util/catalyst Display-If-Installed: =dev-util/catalyst- Matt, my plan was to show this to anyone using catalyst. I believe this

[gentoo-dev] New eclass: xdg-basedir

2014-01-29 Thread Mike Gilbert
Here's a simple eclass that pretty much just extracts the XDG stuff from the gnome2_environment_reset function. One difference: it creates 3 of the 4 directories under ${HOME} instead of ${T}, just to mimic the default behavior in the XDG basedir spec a bit more closely. Please give a look. #

Re: [gentoo-dev] Catalyst news item

2014-01-29 Thread Matt Turner
On Wed, Jan 29, 2014 at 7:36 PM, Jorge Manuel B. S. Vicetto jmbsvice...@gentoo.org wrote: my plan was to show this to anyone using catalyst. I believe this news item is relevant and interesting for anyone using catalyst, but if others disagree, I can restrict it to only those using

[gentoo-dev] January 2014 QA Policy Updates

2014-01-29 Thread Chris Reffett
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello all, The new QA team has completed its first meeting, and so I would like to announce policy changes agreed upon during the meeting which are relevant to the developer community. In the future, when a meeting results in changed or amended

[gentoo-portage-dev] [PATCH 00/10] First steps to get rid of backtracking

2014-01-29 Thread Sebastian Luther
Hi all, as you may have noticed, emerge can in some cases take ages ( 5-10 minutes) to resolve dependencies these days. This happens when lots of backtracking is required to solve slot conflicts and/or to schedule slot operator rebuilds. The problem is that the current backtracking implementation

[gentoo-portage-dev] [PATCH 03/10] Replace mydbapi with _package_tracker

2014-01-29 Thread Sebastian Luther
--- pym/_emerge/depgraph.py | 211 +++- 1 file changed, 101 insertions(+), 110 deletions(-) diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index fd59dda..9d234c2 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@

[gentoo-portage-dev] [PATCH 10/10] Solve some slot conflicts without backtracking

2014-01-29 Thread Sebastian Luther
--- pym/_emerge/depgraph.py| 345 - pym/portage/tests/resolver/test_backtracking.py| 13 +- pym/portage/tests/resolver/test_blocker.py | 48 +++ pym/portage/tests/resolver/test_slot_collisions.py | 75 - 4 files changed, 457

[gentoo-portage-dev] [PATCH 04/10] Replace _slot_collision_info with _package_tracker

2014-01-29 Thread Sebastian Luther
--- pym/_emerge/depgraph.py| 59 -- pym/_emerge/resolver/slot_collision.py | 22 ++--- 2 files changed, 31 insertions(+), 50 deletions(-) diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index 9d234c2..484ac14 100644 ---

[gentoo-portage-dev] [PATCH 08/10] Some small output fixes for the slot conflict handler

2014-01-29 Thread Sebastian Luther
* unmatched atom printing now uses ^^ markers * unmatched atom printing properly supports sub-slots * Fix spurious no parents message caused by AtomArg parents --- pym/_emerge/resolver/slot_collision.py | 119 ++--- 1 file changed, 96 insertions(+), 23 deletions(-)

[gentoo-portage-dev] [PATCH 09/10] Add digraph.discard

2014-01-29 Thread Sebastian Luther
--- pym/portage/util/digraph.py | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/pym/portage/util/digraph.py b/pym/portage/util/digraph.py index fc1fb86..4a9cb43 100644 --- a/pym/portage/util/digraph.py +++ b/pym/portage/util/digraph.py @@ -1,4 +1,4 @@ -# Copyright

[gentoo-portage-dev] [PATCH 07/10] format_unmatched_atom: Pretty printing for unmatched atoms

2014-01-29 Thread Sebastian Luther
This is a split out from the slot conflict handler to be used in other places. --- pym/_emerge/resolver/output.py | 109 +++-- 1 file changed, 106 insertions(+), 3 deletions(-) diff --git a/pym/_emerge/resolver/output.py b/pym/_emerge/resolver/output.py index

[gentoo-portage-dev] [PATCH 05/10] Replace _slot_collision_nodes with _package_tracker

2014-01-29 Thread Sebastian Luther
--- pym/_emerge/depgraph.py | 16 +++- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index 484ac14..1bb086b 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -378,9 +378,6 @@ class

[gentoo-portage-dev] [PATCH 01/10] Add resolver/package_tracker

2014-01-29 Thread Sebastian Luther
--- pym/_emerge/resolver/package_tracker.py | 310 1 file changed, 310 insertions(+) create mode 100644 pym/_emerge/resolver/package_tracker.py diff --git a/pym/_emerge/resolver/package_tracker.py b/pym/_emerge/resolver/package_tracker.py new file mode 100644

Re: [gentoo-portage-dev] xattr wrapper for install, bug #465000

2014-01-29 Thread Francesco R.
Il 29/01/2014 17:33, Anthony G. Basile ha scritto: On 01/27/2014 09:02 AM, viv...@gmail.com wrote: On 01/26/14 23:53, Anthony G. Basile wrote: Hi everyone, A while back, I wrote a python wrapper for install to preserve xattrs. Its installed in LIBDIR/portage/bin/install.py. It is