Web lists-archives.com

Re: OSX and XQuartz support




On 28/11/17 09:45, Andrew Wagner wrote:
> Hi Paul, 
> 
> Thanks for the clarification. Your point about using the native Quartz
> windowing system is well taken and may be implemented in the future but
> right now thats a bit of a distraction for me. The code I want to
> compile is actually sitting in the source that jhbuild pulls down,
> namely ~/gtk/source/gtk+-2.24.31/gdk/x11 and I have XQuartz installed on
> my machine so I have the necessary X11 dependencies but I’m not fluent
> enough in the gtk dependency scheme to understand how modify the
> makefiles to build gtk against x11 on a mac.  
You can build gtk2 for X11 using macports:
https://www.macports.org/ports.php?by=name&substr=gtk2

Cheers
Antoine

> 
> Cheers, 
> 
> Andrew
> 
> 
>> On Nov 27, 2017, at 5:32 PM, Paul Davis <paul@xxxxxxxxxxxxxxxxxxxxx
>> <mailto:paul@xxxxxxxxxxxxxxxxxxxxx>> wrote:
>>
>> I think you're confused :)
>>
>> Quartz is the native MacOS windowing system. X11 exists as a rootless
>> X Window environment for Quartz. There is (to my knowledge) no sign of
>> XWayland for Mac OS/Quartz.
>>
>>
>> On Mon, Nov 27, 2017 at 5:29 PM, Andrea Giammarchi
>> <andrea.giammarchi@xxxxxxxxx <mailto:andrea.giammarchi@xxxxxxxxx>> wrote:
>>
>>     just wondering: wouldn't a quartz with XWayland on it be able to
>>     support that already?
>>
>>     On Mon, Nov 27, 2017 at 7:02 PM, Andrew Wagner
>>     <apwagner@xxxxxxxxxxxxxxxxxxx
>>     <mailto:apwagner@xxxxxxxxxxxxxxxxxxx>> wrote:
>>
>>
>>
>>>         Begin forwarded message:
>>>
>>>         *From: *Andrew Wagner <apwagner@xxxxxxxxxxxxxxxxxxx
>>>         <mailto:apwagner@xxxxxxxxxxxxxxxxxxx>>
>>>         *Subject: **Re: OSX and XQuartz support*
>>>         *Date: *November 27, 2017 at 4:22:45 PM EST
>>>         *To: *Paul Davis <paul@xxxxxxxxxxxxxxxxxxxxx
>>>         <mailto:paul@xxxxxxxxxxxxxxxxxxxxx>>
>>>         *Cc: *Stephen Whiteley <stevew@xxxxxxxxx
>>>         <mailto:stevew@xxxxxxxxx>>
>>>
>>>         Hi Paul, 
>>>
>>>         The project isn’t meant to choose, just use the X11 backend.
>>>         The reason is that its written to be cross platform as much
>>>         as possible so X11 and GtK are the common framework. Its an
>>>         open source project found
>>>         here: https://github.com/wrcad/xictools
>>>         <https://github.com/wrcad/xictools> and any help you or
>>>         anyone can offer to streamline the GUI (or just the GUI
>>>         library installation) would be very welcome. 
>>>
>>>         Cheers, 
>>>
>>>         Andrew
>>>
>>>
>>>>         On Nov 27, 2017, at 4:12 PM, Paul Davis
>>>>         <paul@xxxxxxxxxxxxxxxxxxxxx
>>>>         <mailto:paul@xxxxxxxxxxxxxxxxxxxxx>> wrote:
>>>>
>>>>         Why would your project choose to use the X11 backend? How
>>>>         would it choose?
>>>>
>>>>         On Mon, Nov 27, 2017 at 2:48 PM, Andrew Wagner
>>>>         <apwagner@xxxxxxxxxxxxxxxxxxx
>>>>         <mailto:apwagner@xxxxxxxxxxxxxxxxxxx>> wrote:
>>>>
>>>>             Hi All,
>>>>
>>>>             I’m new to gtk and am installing it on my Mac since its
>>>>             a dependency for other code I’m developing. I
>>>>             successfully followed the OSX install instructions:
>>>>
>>>>             ./gtk-osx-build-setup.sh
>>>>             jhbuild bootstrap
>>>>             jhbuild build python meta-gtk-osx-bootstrap
>>>>             meta-gtk-osx-core
>>>>
>>>>             but noticed afterword that the x11 include files in the
>>>>             source directory had not been installed in the
>>>>             inst/include directory. The project I’m working on uses
>>>>             gtk via x11 rather than the native osx quartz. I was
>>>>             wondering if there was a module like meta-gtk-osx-x11 or
>>>>             meta-gtk-osx-xquartz that would install these for me (I
>>>>             have Xquartz installed)? Is there a way in the mean time
>>>>             to do this by hand? I know that macports has this sorted
>>>>             out but I like to try to get code “from the horses
>>>>             mouth” rather than the various Mac porting platforms.
>>>>             Thanks very much for your help.
>>>>
>>>>             Cheers,
>>>>
>>>>             Andrew Wagner
>>>>
>>>>
>>>>             _______________________________________________
>>>>             gtk-list mailing list
>>>>             gtk-list@xxxxxxxxx <mailto:gtk-list@xxxxxxxxx>
>>>>             https://mail.gnome.org/mailman/listinfo/gtk-list
>>>>             <https://mail.gnome.org/mailman/listinfo/gtk-list>
>>>>
>>>>
>>>
>>
>>
>>         _______________________________________________
>>         gtk-list mailing list
>>         gtk-list@xxxxxxxxx <mailto:gtk-list@xxxxxxxxx>
>>         https://mail.gnome.org/mailman/listinfo/gtk-list
>>         <https://mail.gnome.org/mailman/listinfo/gtk-list>
>>
>>
>>
>>     _______________________________________________
>>     gtk-list mailing list
>>     gtk-list@xxxxxxxxx <mailto:gtk-list@xxxxxxxxx>
>>     https://mail.gnome.org/mailman/listinfo/gtk-list
>>     <https://mail.gnome.org/mailman/listinfo/gtk-list>
>>
>>
> 
> 
> 
> _______________________________________________
> gtk-list mailing list
> gtk-list@xxxxxxxxx
> https://mail.gnome.org/mailman/listinfo/gtk-list
> 

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list