Is it possible to have X11 and Quartz side-by-side?

Gustavo Seabra gustavo.seabra at gmail.com
Thu Dec 3 08:37:11 PST 2015


Just as an update… when i try to deactivate gtk2+quartz, I get:

$ sudo port deactivate gtk2 variant +quartz
--->  Deactivating gtk2 @2.24.28_1+quartz
--->  Unable to deactivate gtk2 @2.24.28_1+quartz, the following ports depend on it:
--->  	gtksourceview2 @2.10.5_9
--->  	gwenhywfar4-gtk @4.14.0_2
--->  	geoclue @0.12.99_5
--->  	webkit-gtk @2.4.9_0+video
--->  	meld @1.8.6_0
--->  	goffice08 @0.8.17_1
--->  	gnome-themes-standard @3.18.0_0+quartz
--->  	libcanberra @0.30_5+x11
--->  	libglade2 @2.6.4_8
--->  	py27-pygtk @2.24.0_3+quartz
--->  	libgnomecanvas @2.30.3_5
Error: org.macports.deactivate for port gtk2 returned: Please uninstall the ports that depend on gtk2 first.
Please see the log file for port gtk2 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_gtk2-2.24.28_1_dae8b338a01ed6bd0749958032d00407c7a0c3614a0108f8b61bff00409a358a-8713/gtk2/main.log
Warning: Failed to execute portfile from registry for gtk2 @2.24.28_1+quartz
--->  Deactivating gtk2 @2.24.28_1+quartz
--->  Unable to deactivate gtk2 @2.24.28_1+quartz, the following ports depend on it:
--->  	gtksourceview2 @2.10.5_9
--->  	gwenhywfar4-gtk @4.14.0_2
--->  	geoclue @0.12.99_5
--->  	webkit-gtk @2.4.9_0+video
--->  	meld @1.8.6_0
--->  	goffice08 @0.8.17_1
--->  	gnome-themes-standard @3.18.0_0+quartz
--->  	libcanberra @0.30_5+x11
--->  	libglade2 @2.6.4_8
--->  	py27-pygtk @2.24.0_3+quartz
--->  	libgnomecanvas @2.30.3_5
Error: port deactivate failed: Please uninstall the ports that depend on gtk2 first.

Is it the correct way to do it?
Gustavo Seabra



> Em 3 de dez de 2015, à(s) 12:21, David Strubbe <dstrubbe at macports.org> escreveu:
> 
> You don't have to uninstall; you can deactivate the gtk +quartz port instead, and switch with activate/deactivate between the two gtk variants depending on which ports you are trying to build or use. Still not very convenient, unfortunately.
> 
> David
> 
> On Thu, Dec 3, 2015 at 9:46 AM, Gustavo Seabra <gustavo.seabra at gmail.com> wrote:
> Hi all,
> 
> I have recently changed to Quartz, a process started with the command suggested here:
> http://article.gmane.org/gmane.os.apple.macports.user/39617
> 
> After some kinks, it all works fine now. However, I now want to install a port that depends on x11 (PyMol). If I try this, the install crashes with the message:
> 
> --->  Rebuilding in order
>      gtksourceview2 @2.10.5
>      py27-pygtksourceview @2.10.1
>      gwenhywfar4-gtk @4.14.0
>      webkit-gtk @2.4.9 +video
> Error: org.macports.archivefetch for port gtksourceview2 returned: gtk2 must be installed with +x11.
> 
> The version i have now is:
> 
> $ port installed gtk2
> The following ports are currently installed:
>   gtk2 @2.24.28_1+quartz (active)
> 
> If I try to install gtk2 to be compatible with both quartz and x11, I get:
> 
> $ sudo port install gtk2 +quartz +x11
> Password:
> Error: gtk2: Variant quartz conflicts with x11
> Error: Unable to open port: Error evaluating variants
> 
> So, to install PyMol, will i need to uninstall everything that now is working with quartz to reinstall it with x11? Os is there a way to have them working side-by-side?
> 
> Thanks,
> Gustavo Seabra
> 
> 
> 
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/macports-users
> 



More information about the macports-users mailing list