|
From: Erik L. <eri...@gm...> - 2025-01-26 04:11:09
|
Hi (I took the liberty to change the subject),
Here is an update:
1. configuration with "--with-aquaterm" completely throws off the
compilation. I found that this is caused by a specific line in the
./configure script (line 10668 in Gnuplot 6.0.2):
CFLAGS="$CFLAGS -ObjC"; LDFLAGS="$LDFLAGS -framework Foundation
-framework AquaTerm"
The LDFLAGS make the configure script subsequently fail finding various
libraries (GNU readline, etc.) and the configuration of the source code is
completely wrong (numerous error messages during compilation). The problem
occurs in 5.4.10 and 6.0.2, and both on my old Intel-based Mac running
macOS Catalina and my ARM-based Mac running macOS Sequioa. I do not
understand why this happens.
2. Despite the above, I was able to compile (by changing the configure
script) Gnuplot with AquaTerm. On the Intel machine, this was
straightforward using the precompiled AquaTerm package on sourceforge. The
compiled version of Gnuplot can also be run on an ARM Mac, via emulation.
On the other hand, attempting direct compilation of Gnuplot with aquaterm
on my ARM Mac caused a problem during linking, since the sourceforge
AquaTerm framework does not provide arm64 object code.
3. To circumvent this, I tried building AquaTerm on ARM using "xcodebuild
build"; however, this failed. I admittedly do not have the bandwidth to
sort this out; pointers would be very welcome! One problem is that "
Message/NSMailDelivery.h" is used, which has been deprecated by Apple. This
may be easy to address - I simply do not know.
4. I can confirm Jun's statement: Copy/Paste from an AquaTerm window yields
a scalable (vector) object. On the other hand, Copy/Paste from a wxt
terminal seems to be a bitmap.
So, as a brief summary:
- I can make available an x86_64 version of Gnuplot with aquaterm, which
will run on ARM machines as well (but not natively).
- I would much appreciate help in building AquaTerm (
https://sourceforge.net/projects/aquaterm/files/AquaTerm/v1.1.1/) on an
arm-based Mac.
Apologies for the long message!
Erik
On Fri, Jan 24, 2025 at 2:23 AM Jun T <tak...@kb...> wrote:
>
> > 2025/01/24 14:08、Ethan A Merritt <me...@uw...>のメール:
> >
> > The wxt and qt terminals can both dump PDF output of the plot currently
> > on the screen. Is the issue that you would like it sent to a clipboard
> rather
> > than to a file?
>
> With wxt, you can copy the plot into the clipboard by pushing
> a button in the title bar of the wxt window.
> With qt, you can select the 'copy to clipboard' from the pull-down
> menu in the title bar of the qt window.
> But in both cases the plot is copied in bitmap format, not as
> vector graphics.
>
> On macOS with aquaterm, I can use the key combination Cmd-C
> to copy the plot to the clipboard in PDF format, and paste it into
> PowerPoint etc. by hitting Cmd-V.
>
>
>
>
> _______________________________________________
> gnuplot-beta mailing list
> gnu...@li...
> Membership management via:
> https://lists.sourceforge.net/lists/listinfo/gnuplot-beta
>
|