Quartz vs x11: Inaccessible package meld
ryandesign at macports.org
Tue May 24 08:12:49 PDT 2016
> On May 23, 2016, at 10:15 AM, Peter Brommer <p.brommer at warwick.ac.uk> wrote:
> somehow the quartz vs x11 has flared up on the list again, and I now have my own problem to add. I’m running mostly quartz packages (mainly inkscape, gimp…). This means I have gtk2 +quartz as the active installation:
> $ port installed gtk2
> The following ports are currently installed:
> gtk2 @2.24.30_0+quartz (active)
> gtk2 @2.24.30_0+x11
> Activating the +x11 variant causes a LOT of broken dependencies, that cannot be resolved automatically, as e.g. gtk-osx-application-gtk2 depends on gtk2 +quartz:
> ---> Configuring gtk-osx-application-gtk2
> gtk-osx-application-gtk2 is meant to be used only in a GTK quartz
> development environment but your version of GTK does not
> support quartz. Please make sure that port gtk2 and all its
> dependencies are built with variants +quartz and try again.
> Error: org.macports.configure for port gtk-osx-application-gtk2 returned: gtk2 +quartz not installed.
From the description of the gtk-osx-application-gtk2 port, its whole purpose is to allow GTK Quartz programs to use the Mac menubar. This wouldn't be possible with GTK built only for X11, so this restriction makes sense.
> However, I’ve recently found that I now cannot install meld, as meld somehow depends on gtksourceview for which gtk2 needs to be installed in the +quartz variant:
> $ sudo port install meld
> ---> Computing dependencies for meld
> ---> Dependencies to be installed: py27-pygtksourceview gtksourceview2 yelp gnome-getting-started-docs gnome-user-docs webkit2-gtk geoclue2 json-glib libsoup glib-networking gsettings-desktop-schemas libproxy gstreamer1 gstreamer1-gst-plugins-bad chromaprint fluidsynth jack db60 libsamplerate portaudio gstreamer1-gst-plugins-base libdca libdvdnav libdvdread libdvdcss libmms libmpcdec mpg123 neon openal-soft pulseaudio json-c rtmpdump soundtouch spandsp-devel x265 gstreamer1-gst-plugins-good libdv libshout2 taglib hyphen libnotify libsecret libgcrypt libgpg-error yelp-xsl
> ---> Fetching archive for gtksourceview2
> Error: org.macports.archivefetch for port gtksourceview2 returned: gtk2 must be installed with +x11.
> Error: Failed to install gtksourceview2
> Now: is there a workaround for this? Can I get meld installed somehow? Or do I have to resign to the fact that unless I move everything back to x11, I won’t be able to install meld?
gtksourceview2 has a quartz variant. If you have gtk2 installed with the quartz variant, you must install gtksourceview2 with the quartz variant.
If you want to use quartz variants, you should add "+quartz" to your variants.conf file so that it gets automatically selected for all ports that have them.
More information about the macports-users