|
From: Joe K. <jko...@co...> - 2006-10-24 22:25:07
|
on 10/23/06 2:23 PM, Timoth=E9e Lecomte at tim...@en... wrote: > Joe Koski a =E9crit : >> on 10/20/06 3:53 PM, Timoth=E9e Lecomte at tim...@en... wrote: >>=20 >> =20 >>>> First, from a Mac user's perspective, wxt uses an entire boat load of >>>> dependencies that are not normally seen on the Mac. To build wxt, I ha= d to >>>> install (and sometimes in a specific order) wxMac, atk, pkg-config, gl= ib, >>>> gettext, freetype, fontconfig, pango, cairo, and gtk+. >>>> =20 >>> gtk+ is absolutely not necessary when you use wxMac (it is if you use >>> wxGTK, though gnuplot does not absolutely depend on it - only for soem >>> tweaks). atk is a gtk+ dependency, so it's not needed either. freetype >>> isn't supposed to be needed, since cairo is capable of using native Mac >>> fonts system (so-called "atsui" system). Fontconfig is only necessary >>> for the cairo freetype backend, so you don't need it either. >>> =20 >>=20 >> Timoth=E9e, >>=20 >> I went back and removed fontconfig, freetype, pango, and atk. I got >> cairo-1.2.4 to build and install successfully with >>=20 >> ./configure --enable-atsui --enable-quartz --enable-freetype=3Dno >> --enable-xlib=3Dno >>=20 >> Question: Do I need xlib for wxt on a Mac? >> =20 > No, you don't. >=20 >> I then went back and rebuilt and reinstalled wxMac-2.6.3 in case it was >> dependent on cairo for headers, libraries, etc. >>=20 >> Then I attempted a rebuild of gnuplot-4.2.rc1. The ./configure is still >> looking for pango: >> <snip> >>=20 >> As a result, no wxt terminal was built. Is there a way to not use pango = and >> still build a wxt terminal? >> =20 > No, there isn't. Pango is needed, it's a direct dependency for the wxt > terminal. However you can build it without freetype and without fontconfi= g. >=20 > Thanks again for your efforts. >=20 > Best regards, >=20 > Timoth=E9e Timoth=E9e, Per, We're now back to the focus issue in with the wxt terminal, but more on tha= t later. To summarize my progress so far: I now have installed on my Mac: cairo, pango, gettext, wxMac, and pkg-confi= g above and beyond the usual Xcode-2.4 tools. Are any of these unnecessary fo= r building wxt on the Mac? To build cairo, I did ./configure --enable-atsui --enable-quartz --enable-freetype=3Dno --enable-xlib=3Dno After two minor corrections to the pango build (thanks to Behdad on the gtk-i18n Mail List), I built pango with ./configure --with-x=3Dno Then I went back and rebuilt gnuplot-4.2.rc1, including wxt, with the new pango and cairo. The wxt plot window again appears with gnuplot, but I stil= l can't get focus inside the plot window. I do see Mac fonts, however. The cursor behavior has changed. When the plot appears, my arrow cursor changes to crosshairs similar to X11, which is a step forward. When I place the crosshairs over the plot window, the cursor changes to a spinning color pinwheel. If I click back to the finder, I get my arrow cursor back. I'm with Per. I'm surprised that the wxWidget folks don't have a way of getting focus without bundling. Should I post the question there? All suggestions are welcome. Joe =20 |