GNU bug report logs -
#27467
Xfce broken, because it propagates two different versions of gtk+
Previous Next
Reported by: Mark H Weaver <mhw <at> netris.org>
Date: Fri, 23 Jun 2017 23:48:01 UTC
Severity: normal
Done: Ricardo Wurmus <rekado <at> elephly.net>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 27467 in the body.
You can then email your comments to 27467 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#27467
; Package
guix
.
(Fri, 23 Jun 2017 23:48:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Mark H Weaver <mhw <at> netris.org>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Fri, 23 Jun 2017 23:48:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
I just tried to update my GuixSD system to commit
c57b56722f6c167c5a285f47802047de85a356ae on master. "guix system build"
failed with the following error:
guix system: error: profile contains conflicting entries for gtk+:out
guix system: error: first entry: gtk+@2.24.31:out /gnu/store/901ify6fr2zlr2y2acpvlqr8lygmwj98-gtk+-2.24.31
guix system: error: ... propagated from exo <at> 0.10.3
guix system: error: ... propagated from xfce <at> 4.12.0
guix system: error: second entry: gtk+@3.22.15:out /gnu/store/fhqaljm8cf78irhqjbrm8n0ri1k2cznm-gtk+-3.22.15
guix system: error: ... propagated from libxfce4ui <at> 4.12.0
guix system: error: ... propagated from garcon <at> 0.4.0
guix system: error: ... propagated from xfce <at> 4.12.0
Mark
Information forwarded
to
bug-guix <at> gnu.org
:
bug#27467
; Package
guix
.
(Sat, 24 Jun 2017 09:42:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 27467 <at> debbugs.gnu.org (full text, mbox):
Mark H Weaver transcribed 0.7K bytes:
> I just tried to update my GuixSD system to commit
> c57b56722f6c167c5a285f47802047de85a356ae on master. "guix system build"
> failed with the following error:
>
> guix system: error: profile contains conflicting entries for gtk+:out
> guix system: error: first entry: gtk+@2.24.31:out /gnu/store/901ify6fr2zlr2y2acpvlqr8lygmwj98-gtk+-2.24.31
> guix system: error: ... propagated from exo <at> 0.10.3
> guix system: error: ... propagated from xfce <at> 4.12.0
> guix system: error: second entry: gtk+@3.22.15:out /gnu/store/fhqaljm8cf78irhqjbrm8n0ri1k2cznm-gtk+-3.22.15
> guix system: error: ... propagated from libxfce4ui <at> 4.12.0
> guix system: error: ... propagated from garcon <at> 0.4.0
> guix system: error: ... propagated from xfce <at> 4.12.0
>
> Mark
>
>
>
>
I ran into this aswell.
And I think this (two different gtk+ versions) is the explanation for the
problems I get when trying to update the version of some of the packages.
More applications of XFCE4 have been ported to gtk+-3, but not everything.
--
ng0
OpenPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
infotropique OS: https://www.infotropique.org
personal: https://ng-0.github.io https://krosos.org/~/ng0/
Information forwarded
to
bug-guix <at> gnu.org
:
bug#27467
; Package
guix
.
(Sat, 24 Jun 2017 21:55:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 27467 <at> debbugs.gnu.org (full text, mbox):
Mark H Weaver <mhw <at> netris.org> skribis:
> I just tried to update my GuixSD system to commit
> c57b56722f6c167c5a285f47802047de85a356ae on master. "guix system build"
> failed with the following error:
>
> guix system: error: profile contains conflicting entries for gtk+:out
> guix system: error: first entry: gtk+@2.24.31:out /gnu/store/901ify6fr2zlr2y2acpvlqr8lygmwj98-gtk+-2.24.31
> guix system: error: ... propagated from exo <at> 0.10.3
> guix system: error: ... propagated from xfce <at> 4.12.0
> guix system: error: second entry: gtk+@3.22.15:out /gnu/store/fhqaljm8cf78irhqjbrm8n0ri1k2cznm-gtk+-3.22.15
> guix system: error: ... propagated from libxfce4ui <at> 4.12.0
> guix system: error: ... propagated from garcon <at> 0.4.0
> guix system: error: ... propagated from xfce <at> 4.12.0
I just tried and Exo builds fine with GTK+3, so I would think this
reference to GTK+2 was a mistake. Can you check if it works fine for
you with this change?
Thanks,
Ludo’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#27467
; Package
guix
.
(Sun, 25 Jun 2017 09:18:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 27467 <at> debbugs.gnu.org (full text, mbox):
ludo <at> gnu.org (Ludovic Courtès) writes:
> Mark H Weaver <mhw <at> netris.org> skribis:
>
>> I just tried to update my GuixSD system to commit
>> c57b56722f6c167c5a285f47802047de85a356ae on master. "guix system build"
>> failed with the following error:
>>
>> guix system: error: profile contains conflicting entries for gtk+:out
>> guix system: error: first entry: gtk+@2.24.31:out /gnu/store/901ify6fr2zlr2y2acpvlqr8lygmwj98-gtk+-2.24.31
>> guix system: error: ... propagated from exo <at> 0.10.3
>> guix system: error: ... propagated from xfce <at> 4.12.0
>> guix system: error: second entry: gtk+@3.22.15:out /gnu/store/fhqaljm8cf78irhqjbrm8n0ri1k2cznm-gtk+-3.22.15
>> guix system: error: ... propagated from libxfce4ui <at> 4.12.0
>> guix system: error: ... propagated from garcon <at> 0.4.0
>> guix system: error: ... propagated from xfce <at> 4.12.0
>
> I just tried and Exo builds fine with GTK+3, so I would think this
> reference to GTK+2 was a mistake. Can you check if it works fine for
> you with this change?
After changing Exo to use Gtk+3, I get this:
guix system: error: profile contains conflicting entries for gtk+:out
guix system: error: first entry: gtk+@2.24.31:out /gnu/store/0m9hpckvamd048zgsrhx1dx2s5hrg1qk-gtk+-2.24.31
guix system: error: ... propagated from libxfce4ui <at> 4.12.0
guix system: error: ... propagated from garcon <at> 0.4.0
guix system: error: ... propagated from xfce <at> 4.12.0
guix system: error: second entry: gtk+@3.22.15:out /gnu/store/hc090rjjka3r9spvzl7yn5hcc2xgrgdh-gtk+-3.22.15
guix system: error: ... propagated from libxfce4ui <at> 4.12.0
guix system: error: ... propagated from garcon <at> 0.4.0
guix system: error: ... propagated from xfce <at> 4.12.0
Thanks,
Mark
Information forwarded
to
bug-guix <at> gnu.org
:
bug#27467
; Package
guix
.
(Mon, 26 Jun 2017 11:16:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 27467 <at> debbugs.gnu.org (full text, mbox):
Mark H Weaver <mhw <at> netris.org> writes:
> ludo <at> gnu.org (Ludovic Courtès) writes:
>
>> Mark H Weaver <mhw <at> netris.org> skribis:
>>
>>> I just tried to update my GuixSD system to commit
>>> c57b56722f6c167c5a285f47802047de85a356ae on master. "guix system build"
>>> failed with the following error:
>>>
>>> guix system: error: profile contains conflicting entries for gtk+:out
>>> guix system: error: first entry: gtk+@2.24.31:out /gnu/store/901ify6fr2zlr2y2acpvlqr8lygmwj98-gtk+-2.24.31
>>> guix system: error: ... propagated from exo <at> 0.10.3
>>> guix system: error: ... propagated from xfce <at> 4.12.0
>>> guix system: error: second entry: gtk+@3.22.15:out /gnu/store/fhqaljm8cf78irhqjbrm8n0ri1k2cznm-gtk+-3.22.15
>>> guix system: error: ... propagated from libxfce4ui <at> 4.12.0
>>> guix system: error: ... propagated from garcon <at> 0.4.0
>>> guix system: error: ... propagated from xfce <at> 4.12.0
>>
>> I just tried and Exo builds fine with GTK+3, so I would think this
>> reference to GTK+2 was a mistake. Can you check if it works fine for
>> you with this change?
>
> After changing Exo to use Gtk+3, I get this:
>
> guix system: error: profile contains conflicting entries for gtk+:out
> guix system: error: first entry: gtk+@2.24.31:out /gnu/store/0m9hpckvamd048zgsrhx1dx2s5hrg1qk-gtk+-2.24.31
> guix system: error: ... propagated from libxfce4ui <at> 4.12.0
> guix system: error: ... propagated from garcon <at> 0.4.0
> guix system: error: ... propagated from xfce <at> 4.12.0
> guix system: error: second entry: gtk+@3.22.15:out /gnu/store/hc090rjjka3r9spvzl7yn5hcc2xgrgdh-gtk+-3.22.15
> guix system: error: ... propagated from libxfce4ui <at> 4.12.0
> guix system: error: ... propagated from garcon <at> 0.4.0
> guix system: error: ... propagated from xfce <at> 4.12.0
libxfce4ui propagates both gtk+@3 and gtk+@2. There is no conflict
between these two versions of gtk, because they are installed into
separate sub-directories under $prefix/lib.
How should we handle exceptions like this? Should packages get a new
property that would allow them to specify that they do not conflict with
a certain variant?
--
Ricardo
GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC
https://elephly.net
Information forwarded
to
bug-guix <at> gnu.org
:
bug#27467
; Package
guix
.
(Mon, 26 Jun 2017 16:15:01 GMT)
Full text and
rfc822 format available.
Message #20 received at 27467 <at> debbugs.gnu.org (full text, mbox):
Ricardo Wurmus <rekado <at> elephly.net> skribis:
> Mark H Weaver <mhw <at> netris.org> writes:
>
>> ludo <at> gnu.org (Ludovic Courtès) writes:
>>
>>> Mark H Weaver <mhw <at> netris.org> skribis:
>>>
>>>> I just tried to update my GuixSD system to commit
>>>> c57b56722f6c167c5a285f47802047de85a356ae on master. "guix system build"
>>>> failed with the following error:
>>>>
>>>> guix system: error: profile contains conflicting entries for gtk+:out
>>>> guix system: error: first entry: gtk+@2.24.31:out /gnu/store/901ify6fr2zlr2y2acpvlqr8lygmwj98-gtk+-2.24.31
>>>> guix system: error: ... propagated from exo <at> 0.10.3
>>>> guix system: error: ... propagated from xfce <at> 4.12.0
>>>> guix system: error: second entry: gtk+@3.22.15:out /gnu/store/fhqaljm8cf78irhqjbrm8n0ri1k2cznm-gtk+-3.22.15
>>>> guix system: error: ... propagated from libxfce4ui <at> 4.12.0
>>>> guix system: error: ... propagated from garcon <at> 0.4.0
>>>> guix system: error: ... propagated from xfce <at> 4.12.0
>>>
>>> I just tried and Exo builds fine with GTK+3, so I would think this
>>> reference to GTK+2 was a mistake. Can you check if it works fine for
>>> you with this change?
>>
>> After changing Exo to use Gtk+3, I get this:
>>
>> guix system: error: profile contains conflicting entries for gtk+:out
>> guix system: error: first entry: gtk+@2.24.31:out /gnu/store/0m9hpckvamd048zgsrhx1dx2s5hrg1qk-gtk+-2.24.31
>> guix system: error: ... propagated from libxfce4ui <at> 4.12.0
>> guix system: error: ... propagated from garcon <at> 0.4.0
>> guix system: error: ... propagated from xfce <at> 4.12.0
>> guix system: error: second entry: gtk+@3.22.15:out /gnu/store/hc090rjjka3r9spvzl7yn5hcc2xgrgdh-gtk+-3.22.15
>> guix system: error: ... propagated from libxfce4ui <at> 4.12.0
>> guix system: error: ... propagated from garcon <at> 0.4.0
>> guix system: error: ... propagated from xfce <at> 4.12.0
>
> libxfce4ui propagates both gtk+@3 and gtk+@2. There is no conflict
> between these two versions of gtk, because they are installed into
> separate sub-directories under $prefix/lib.
So this is on purpose, right? Sounds weird no?
> How should we handle exceptions like this? Should packages get a new
> property that would allow them to specify that they do not conflict with
> a certain variant?
Good question, we could add a property I suppose.
At any rate, we need a quick fix for Xfce. What’s the best approach?
Ludo’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#27467
; Package
guix
.
(Mon, 26 Jun 2017 17:04:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 27467 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Ludovic Courtès transcribed 2.4K bytes:
> Ricardo Wurmus <rekado <at> elephly.net> skribis:
>
> > Mark H Weaver <mhw <at> netris.org> writes:
> >
> >> ludo <at> gnu.org (Ludovic Courtès) writes:
> >>
> >>> Mark H Weaver <mhw <at> netris.org> skribis:
> >>>
> >>>> I just tried to update my GuixSD system to commit
> >>>> c57b56722f6c167c5a285f47802047de85a356ae on master. "guix system build"
> >>>> failed with the following error:
> >>>>
> >>>> guix system: error: profile contains conflicting entries for gtk+:out
> >>>> guix system: error: first entry: gtk+@2.24.31:out /gnu/store/901ify6fr2zlr2y2acpvlqr8lygmwj98-gtk+-2.24.31
> >>>> guix system: error: ... propagated from exo <at> 0.10.3
> >>>> guix system: error: ... propagated from xfce <at> 4.12.0
> >>>> guix system: error: second entry: gtk+@3.22.15:out /gnu/store/fhqaljm8cf78irhqjbrm8n0ri1k2cznm-gtk+-3.22.15
> >>>> guix system: error: ... propagated from libxfce4ui <at> 4.12.0
> >>>> guix system: error: ... propagated from garcon <at> 0.4.0
> >>>> guix system: error: ... propagated from xfce <at> 4.12.0
> >>>
> >>> I just tried and Exo builds fine with GTK+3, so I would think this
> >>> reference to GTK+2 was a mistake. Can you check if it works fine for
> >>> you with this change?
> >>
> >> After changing Exo to use Gtk+3, I get this:
> >>
> >> guix system: error: profile contains conflicting entries for gtk+:out
> >> guix system: error: first entry: gtk+@2.24.31:out /gnu/store/0m9hpckvamd048zgsrhx1dx2s5hrg1qk-gtk+-2.24.31
> >> guix system: error: ... propagated from libxfce4ui <at> 4.12.0
> >> guix system: error: ... propagated from garcon <at> 0.4.0
> >> guix system: error: ... propagated from xfce <at> 4.12.0
> >> guix system: error: second entry: gtk+@3.22.15:out /gnu/store/hc090rjjka3r9spvzl7yn5hcc2xgrgdh-gtk+-3.22.15
> >> guix system: error: ... propagated from libxfce4ui <at> 4.12.0
> >> guix system: error: ... propagated from garcon <at> 0.4.0
> >> guix system: error: ... propagated from xfce <at> 4.12.0
> >
> > libxfce4ui propagates both gtk+@3 and gtk+@2. There is no conflict
> > between these two versions of gtk, because they are installed into
> > separate sub-directories under $prefix/lib.
>
> So this is on purpose, right? Sounds weird no?
>
> > How should we handle exceptions like this? Should packages get a new
> > property that would allow them to specify that they do not conflict with
> > a certain variant?
>
> Good question, we could add a property I suppose.
>
> At any rate, we need a quick fix for Xfce. What’s the best approach?
>
> Ludo’.
I guess this is on purpose as xfce4 is in the process of moving everything
from gtk+-2 to gtk+-3.
I have a branch which updates some of the packages but fails for gtk related
reasons as well.
It seems somewhat related, maybe it can help to analyze the/both problem(s),
should I post it separately?
--
ng0
OpenPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
infotropique: https://www.infotropique.org
personal: https://ng-0.github.io https://krosos.org/
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#27467
; Package
guix
.
(Tue, 27 Jun 2017 05:26:01 GMT)
Full text and
rfc822 format available.
Message #26 received at 27467 <at> debbugs.gnu.org (full text, mbox):
Ludovic Courtès <ludo <at> gnu.org> writes:
> Ricardo Wurmus <rekado <at> elephly.net> skribis:
>
>> Mark H Weaver <mhw <at> netris.org> writes:
>>
>>> ludo <at> gnu.org (Ludovic Courtès) writes:
>>>
>>>> Mark H Weaver <mhw <at> netris.org> skribis:
>>>>
>>>>> I just tried to update my GuixSD system to commit
>>>>> c57b56722f6c167c5a285f47802047de85a356ae on master. "guix system build"
>>>>> failed with the following error:
>>>>>
>>>>> guix system: error: profile contains conflicting entries for gtk+:out
>>>>> guix system: error: first entry: gtk+@2.24.31:out /gnu/store/901ify6fr2zlr2y2acpvlqr8lygmwj98-gtk+-2.24.31
>>>>> guix system: error: ... propagated from exo <at> 0.10.3
>>>>> guix system: error: ... propagated from xfce <at> 4.12.0
>>>>> guix system: error: second entry: gtk+@3.22.15:out /gnu/store/fhqaljm8cf78irhqjbrm8n0ri1k2cznm-gtk+-3.22.15
>>>>> guix system: error: ... propagated from libxfce4ui <at> 4.12.0
>>>>> guix system: error: ... propagated from garcon <at> 0.4.0
>>>>> guix system: error: ... propagated from xfce <at> 4.12.0
>>>>
>>>> I just tried and Exo builds fine with GTK+3, so I would think this
>>>> reference to GTK+2 was a mistake. Can you check if it works fine for
>>>> you with this change?
>>>
>>> After changing Exo to use Gtk+3, I get this:
>>>
>>> guix system: error: profile contains conflicting entries for gtk+:out
>>> guix system: error: first entry: gtk+@2.24.31:out /gnu/store/0m9hpckvamd048zgsrhx1dx2s5hrg1qk-gtk+-2.24.31
>>> guix system: error: ... propagated from libxfce4ui <at> 4.12.0
>>> guix system: error: ... propagated from garcon <at> 0.4.0
>>> guix system: error: ... propagated from xfce <at> 4.12.0
>>> guix system: error: second entry: gtk+@3.22.15:out /gnu/store/hc090rjjka3r9spvzl7yn5hcc2xgrgdh-gtk+-3.22.15
>>> guix system: error: ... propagated from libxfce4ui <at> 4.12.0
>>> guix system: error: ... propagated from garcon <at> 0.4.0
>>> guix system: error: ... propagated from xfce <at> 4.12.0
>>
>> libxfce4ui propagates both gtk+@3 and gtk+@2. There is no conflict
>> between these two versions of gtk, because they are installed into
>> separate sub-directories under $prefix/lib.
>
> So this is on purpose, right? Sounds weird no?
It’s not unusual for some GUI libraries to support multiple backends.
It’s a bit weird that this requires propagation, but according to the
comment that’s because of the pkg-config files.
libxfce4ui-1.pc needs propagation of gtk+@2, libxfce4ui-2.pc needs
propagation of gtk+@3. Maybe we could split that package up, so that
the different variants are provided by separate variants. Or we could
simply not propagate gtk+@2 and only add it to packages that actually
use gtk+@2.
I’m giving this a try right now.
--
Ricardo
GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC
https://elephly.net
Information forwarded
to
bug-guix <at> gnu.org
:
bug#27467
; Package
guix
.
(Tue, 27 Jun 2017 07:57:01 GMT)
Full text and
rfc822 format available.
Message #29 received at 27467 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Ricardo Wurmus <rekado <at> elephly.net> writes:
> Ludovic Courtès <ludo <at> gnu.org> writes:
>
>> Ricardo Wurmus <rekado <at> elephly.net> skribis:
>>
>>> Mark H Weaver <mhw <at> netris.org> writes:
>>>
>>>> ludo <at> gnu.org (Ludovic Courtès) writes:
>>>>
>>>>> Mark H Weaver <mhw <at> netris.org> skribis:
>>>>>
>>>>>> I just tried to update my GuixSD system to commit
>>>>>> c57b56722f6c167c5a285f47802047de85a356ae on master. "guix system build"
>>>>>> failed with the following error:
>>>>>>
>>>>>> guix system: error: profile contains conflicting entries for gtk+:out
>>>>>> guix system: error: first entry: gtk+@2.24.31:out /gnu/store/901ify6fr2zlr2y2acpvlqr8lygmwj98-gtk+-2.24.31
>>>>>> guix system: error: ... propagated from exo <at> 0.10.3
>>>>>> guix system: error: ... propagated from xfce <at> 4.12.0
>>>>>> guix system: error: second entry: gtk+@3.22.15:out /gnu/store/fhqaljm8cf78irhqjbrm8n0ri1k2cznm-gtk+-3.22.15
>>>>>> guix system: error: ... propagated from libxfce4ui <at> 4.12.0
>>>>>> guix system: error: ... propagated from garcon <at> 0.4.0
>>>>>> guix system: error: ... propagated from xfce <at> 4.12.0
>>>>>
>>>>> I just tried and Exo builds fine with GTK+3, so I would think this
>>>>> reference to GTK+2 was a mistake. Can you check if it works fine for
>>>>> you with this change?
>>>>
>>>> After changing Exo to use Gtk+3, I get this:
>>>>
>>>> guix system: error: profile contains conflicting entries for gtk+:out
>>>> guix system: error: first entry: gtk+@2.24.31:out /gnu/store/0m9hpckvamd048zgsrhx1dx2s5hrg1qk-gtk+-2.24.31
>>>> guix system: error: ... propagated from libxfce4ui <at> 4.12.0
>>>> guix system: error: ... propagated from garcon <at> 0.4.0
>>>> guix system: error: ... propagated from xfce <at> 4.12.0
>>>> guix system: error: second entry: gtk+@3.22.15:out /gnu/store/hc090rjjka3r9spvzl7yn5hcc2xgrgdh-gtk+-3.22.15
>>>> guix system: error: ... propagated from libxfce4ui <at> 4.12.0
>>>> guix system: error: ... propagated from garcon <at> 0.4.0
>>>> guix system: error: ... propagated from xfce <at> 4.12.0
>>>
>>> libxfce4ui propagates both gtk+@3 and gtk+@2. There is no conflict
>>> between these two versions of gtk, because they are installed into
>>> separate sub-directories under $prefix/lib.
>>
>> So this is on purpose, right? Sounds weird no?
>
> It’s not unusual for some GUI libraries to support multiple backends.
> It’s a bit weird that this requires propagation, but according to the
> comment that’s because of the pkg-config files.
>
> libxfce4ui-1.pc needs propagation of gtk+@2, libxfce4ui-2.pc needs
> propagation of gtk+@3. Maybe we could split that package up, so that
> the different variants are provided by separate variants. Or we could
> simply not propagate gtk+@2 and only add it to packages that actually
> use gtk+@2.
>
> I’m giving this a try right now.
What do you think of the attached patches? The first makes libxfce4ui
only propagate the latest gtk+, so I added gtk+-2 where needed. The
second removes “exo” from the “xfce” meta-package, because it doesn’t
seem needed. “exo” propagates “gtk+-2”, so it would be hard to prevent
the conflict otherwise.
These patches are only a temporary fix until we can find a way to mark
certain conflicts as unproblematic.
[0001-gnu-libxfce4ui-Do-not-propagate-gtk-2.patch (text/x-patch, inline)]
From 9cbb90bfaeae0aa8fbdcfa0aa212dc1b3acac359 Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <rekado <at> elephly.net>
Date: Tue, 27 Jun 2017 09:31:50 +0200
Subject: [PATCH 1/2] gnu: libxfce4ui: Do not propagate gtk+-2.
Propagation of both gtk+ and gtk+-2 causes a conflict to be detected,
preventing the installation of xfce.
* gnu/packages/xfce.scm (libxfce4ui)[propagated-inputs]: Move "gtk+-2"...
[inputs]: ...to here.
(garcon)[inputs]: Add "gtk+-2".
(xfce4-appfinder)[inputs]: Add "gtk+-2".
(xfce4-power-manager)[inputs]: Add "gtk+-2".
(ristretto)[inputs]: Add "gtk+-2".
---
gnu/packages/xfce.scm | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index d7d1372dd..c9d519122 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -159,13 +159,15 @@ storage system.")
`(("pkg-config" ,pkg-config)
("intltool" ,intltool)))
(propagated-inputs
- `(("gtk+-2" ,gtk+-2) ; required by libxfce4ui-1.pc
- ("gtk+-3" ,gtk+) ; required by libxfce4ui-2.pc
+ `(("gtk+-3" ,gtk+) ; required by libxfce4ui-2.pc
;; libxfce4kbd-private-2.pc refers to all these.
("libxfce4util" ,libxfce4util)
("xfconf" ,xfconf)))
(inputs `(("libsm" ,libsm)
("libice" ,libice)
+ ;; FIXME: required by libxfce4ui-1.pc, so should be propagated,
+ ;; but will lead to a conflict with gtk+.
+ ("gtk+-2" ,gtk+-2)
("startup-notification" ,startup-notification)))
(home-page "http://www.xfce.org/")
(synopsis "Widgets library for Xfce")
@@ -221,6 +223,8 @@ development.")
`(("pkg-config" ,pkg-config)
("intltool" ,intltool)
("glib:bin" ,glib "bin")))
+ (inputs
+ `(("gtk+" ,gtk+-2)))
(propagated-inputs
`(("libxfce4ui" ,libxfce4ui))) ; required by garcon-gtk2-1.pc
(home-page "http://www.xfce.org/")
@@ -452,6 +456,7 @@ per window.")
("intltool" ,intltool)))
(inputs
`(("garcon" ,garcon)
+ ("gtk+" ,gtk+-2)
("libxfce4ui" ,libxfce4ui)))
(home-page "http://www.xfce.org/")
(synopsis "Xfce application finder")
@@ -750,6 +755,7 @@ system resources, while still being visually appealing and user friendly.")
("intltool" ,intltool)))
(inputs
`(("lbxrandr" ,libxrandr)
+ ("gtk+" ,gtk+-2)
("upower" ,upower)
("libnotify" ,libnotify)
("libxfce4ui" ,libxfce4ui)))
@@ -783,6 +789,7 @@ inhibit interface which allows applications to prevent automatic sleep.")
("pkg-config" ,pkg-config)))
(inputs
`(("desktop-file-utils" ,desktop-file-utils)
+ ("gtk+" ,gtk+-2)
("libexif" ,libexif)
("libxfce4ui" ,libxfce4ui)
("librsvg" ,librsvg)
--
2.12.2
[0002-gnu-xfce-Do-not-propagate-exo.patch (text/x-patch, inline)]
From a9037e23c3ccf656e5c2d53c22ff4b22c9db84e6 Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <rekado <at> elephly.net>
Date: Tue, 27 Jun 2017 09:51:33 +0200
Subject: [PATCH 2/2] gnu: xfce: Do not propagate exo.
* gnu/packages/xfce.scm (xfce)[propagated-inputs]: Remove exo.
---
gnu/packages/xfce.scm | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index c9d519122..2965b4340 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -705,8 +705,7 @@ on your desktop.")
(build-system trivial-build-system)
(arguments '(#:builder (mkdir %output)))
(propagated-inputs
- `(("exo" ,exo)
- ("garcon" ,garcon)
+ `(("garcon" ,garcon)
("gnome-icon-theme" ,gnome-icon-theme)
("gtk-xfce-engine" ,gtk-xfce-engine)
("hicolor-icon-theme" ,hicolor-icon-theme)
--
2.12.2
[Message part 4 (text/plain, inline)]
--
Ricardo
GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC
https://elephly.net
Information forwarded
to
bug-guix <at> gnu.org
:
bug#27467
; Package
guix
.
(Tue, 27 Jun 2017 13:47:01 GMT)
Full text and
rfc822 format available.
Message #32 received at 27467 <at> debbugs.gnu.org (full text, mbox):
Hi!
Ricardo Wurmus <rekado <at> elephly.net> skribis:
> What do you think of the attached patches? The first makes libxfce4ui
> only propagate the latest gtk+, so I added gtk+-2 where needed. The
> second removes “exo” from the “xfce” meta-package, because it doesn’t
> seem needed. “exo” propagates “gtk+-2”, so it would be hard to prevent
> the conflict otherwise.
>
> These patches are only a temporary fix until we can find a way to mark
> certain conflicts as unproblematic.
These patches seem reasonable to me.
Another option (perhaps slightly less intrusive) would be to implement
the ‘xfce’ meta-package using ‘union-build’ instead of
‘propagated-inputs’.
Thanks,
Ludo’.
Reply sent
to
Ricardo Wurmus <rekado <at> elephly.net>
:
You have taken responsibility.
(Thu, 29 Jun 2017 14:13:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Mark H Weaver <mhw <at> netris.org>
:
bug acknowledged by developer.
(Thu, 29 Jun 2017 14:13:01 GMT)
Full text and
rfc822 format available.
Message #37 received at 27467-done <at> debbugs.gnu.org (full text, mbox):
Hi,
Ludovic Courtès <ludo <at> gnu.org> writes:
> Ricardo Wurmus <rekado <at> elephly.net> skribis:
>
>> What do you think of the attached patches? The first makes libxfce4ui
>> only propagate the latest gtk+, so I added gtk+-2 where needed. The
>> second removes “exo” from the “xfce” meta-package, because it doesn’t
>> seem needed. “exo” propagates “gtk+-2”, so it would be hard to prevent
>> the conflict otherwise.
>>
>> These patches are only a temporary fix until we can find a way to mark
>> certain conflicts as unproblematic.
>
> These patches seem reasonable to me.
>
> Another option (perhaps slightly less intrusive) would be to implement
> the ‘xfce’ meta-package using ‘union-build’ instead of
> ‘propagated-inputs’.
Yes, that’s better. I pushed two commits:
gnu: libxfce4ui: Do not propagate gtk+-2.
(b8d3a000efca885180277358caa3c4fe604168a5)
gnu: xfce: Build union instead of propagating inputs.
(c860d6ef235b47ec8181fbf390e0b42fbc95dcfe)
With these two commits I can install xfce without problems.
--
Ricardo
GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC
https://elephly.net
Information forwarded
to
bug-guix <at> gnu.org
:
bug#27467
; Package
guix
.
(Thu, 29 Jun 2017 16:03:02 GMT)
Full text and
rfc822 format available.
Message #40 received at 27467-done <at> debbugs.gnu.org (full text, mbox):
Ricardo Wurmus <rekado <at> elephly.net> writes:
> Ludovic Courtès <ludo <at> gnu.org> writes:
>
>> Another option (perhaps slightly less intrusive) would be to implement
>> the ‘xfce’ meta-package using ‘union-build’ instead of
>> ‘propagated-inputs’.
>
> Yes, that’s better. I pushed two commits:
>
> gnu: libxfce4ui: Do not propagate gtk+-2.
> (b8d3a000efca885180277358caa3c4fe604168a5)
>
> gnu: xfce: Build union instead of propagating inputs.
> (c860d6ef235b47ec8181fbf390e0b42fbc95dcfe)
>
> With these two commits I can install xfce without problems.
Thank you! :)
Mark
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 28 Jul 2017 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 8 years and 20 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.