|
From: <tim...@en...> - 2006-11-18 00:10:21
|
Timoth=E9e Lecomte wrote: > Ethan Merritt wrote: > =20 >> On Friday 17 November 2006 01:33 pm, Joe Koski wrote: >> =20 >> =20 >>> on 11/17/06 1:48 PM, Per Persson at per...@ma... wrote: >>> =20 >>> =20 >>>> I still maintain my opinions that=20 >>>> 1) building an X11 based wxt terminal should be straightforward >>>> 2) a "native" wxt terminal is going to take a lot of work. >>>> =20 >>>> =20 >>> I think Per's assessment is correct. The problem is not with wxt, but >>> with the necessity for "bundling" wxWidget applications for native >>> use on the Mac.=20 >>> =20 >>> =20 >> You call it a necessity, where Per implies that it is simply a >> matter of choice between X11 and "native". Which is it? >> =20 >> =20 > A native one is for sure better since X11 is not installed by default o= n=20 > MacOS. The *only* problem we seem to get is this "no-input" issue, whic= h=20 > is supposed to be related to bundling, as Joe mentioned. > =20 I went back to #wxwidgets on IRC, and got confirmed again that bundling=20 should be enough. Let's try to get it right this time. To sum up: *get 4.2rc1 from gnuplot.sf.net *apply wxmac.diff to src/wxterminal *run ./prepare, then ./configure with your favorite options, 'make',=20 'make install' You get a working gnuplot with the wxt terminal (assuming you have=20 cairo, pango and wxMac installed), but the plot windows don't get the foc= us Then the bundling stuff: *download the attached Icon.plist and wxmac.icns files *run the following commands to create the bundle tree: mkdir -p ./gnuplot.app/Contents/MacOS/ mkdir -p ./gnuplot.app/Contents/Resources/ mkdir -p ./gnuplot.app/Contents/Frameworks/ cp ../src/gnuplot ./gnuplot.app/Contents/MacOS/gnuplot echo -n 'APPL????' > ./gnuplot.app/Contents/PkgInfo * retrieve the attached Icon.plist and wxmac.icns files, put them in the=20 current directory, and put them at their respective locations in the=20 bundle with the following commands: cp ./Info.plist ./gnuplot.app/Contents/ cp ./wxmac.icns ./gnuplot.app/Contents/Resources/ Then, you're supposed to be all set. To launch gnuplot, do: open gnuplot.app or ./gnuplot.app/Contents/MacOS/gnuplot ... and it should be fine now, according to what I've been told on IRC. Joe, could you try again with these instructions ? Thank you very much. Best regards, Timoth=E9e Lecomte |