unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 27467@debbugs.gnu.org
Subject: bug#27467: Xfce broken, because it propagates two different versions of gtk+
Date: Tue, 27 Jun 2017 07:25:15 +0200	[thread overview]
Message-ID: <87shimdmtg.fsf@elephly.net> (raw)
In-Reply-To: <878tke681f.fsf@gnu.org>


Ludovic Courtès <ludo@gnu.org> writes:

> Ricardo Wurmus <rekado@elephly.net> skribis:
>
>> Mark H Weaver <mhw@netris.org> writes:
>>
>>> ludo@gnu.org (Ludovic Courtès) writes:
>>>
>>>> Mark H Weaver <mhw@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@0.10.3
>>>>> guix system: error:    ... propagated from xfce@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@4.12.0
>>>>> guix system: error:    ... propagated from garcon@0.4.0
>>>>> guix system: error:    ... propagated from xfce@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@4.12.0
>>> guix system: error:    ... propagated from garcon@0.4.0
>>> guix system: error:    ... propagated from xfce@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@4.12.0
>>> guix system: error:    ... propagated from garcon@0.4.0
>>> guix system: error:    ... propagated from xfce@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

  parent reply	other threads:[~2017-06-27  5:26 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-23 23:47 bug#27467: Xfce broken, because it propagates two different versions of gtk+ Mark H Weaver
2017-06-24  9:41 ` ng0
2017-06-24 21:53 ` Ludovic Courtès
2017-06-25  9:16   ` Mark H Weaver
2017-06-26 11:14     ` Ricardo Wurmus
2017-06-26 16:14       ` Ludovic Courtès
2017-06-26 17:03         ` ng0
2017-06-27  5:25         ` Ricardo Wurmus [this message]
2017-06-27  7:56           ` Ricardo Wurmus
2017-06-27 13:45             ` Ludovic Courtès
2017-06-29 14:12               ` Ricardo Wurmus
2017-06-29 16:01                 ` Mark H Weaver

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87shimdmtg.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=27467@debbugs.gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).