New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #20622 (closed enhancement: fixed)

Opened 5 years ago

Last modified 5 years ago

plplot 5.9.4 - aquaterm support request

Reported by: glen.henshaw@… Owned by: takeshi@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: aquaterm Cc: mcalhoun@…
Port: plplot

Description

Can we please get the AquaTerm driver put back into plplot?

Attachments

plplot.diff (817 bytes) - added by takeshi@… 5 years ago.

Change History

comment:1 Changed 5 years ago by macsforever2000@…

  • Keywords aquaterm added; aquaterm, plplot removed
  • Owner changed from macports-tickets@… to takeshi@…

comment:2 Changed 5 years ago by takeshi@…

  • Cc mcalhoun@… added

I don't have particular needs for aquaterm myself but I would be please to support it.

I tried so by passing -DPLD_aqt=ON at configure and by patching

reinplace "s|-framework AquaTerm|-F${prefix}/Library/Frameworks -framework AquaTerm|" ${worksrcpath}/cmake/modules/aqt.cmake

But AquaTerm is not found

/usr/bin/cc   -O2 -I/opt/local/include -bundle -headerpad_max_install_names -undefined dynamic_lookup -o aqt.so CMakeFiles/aqt.dir/aqt.c.o ../src/libplplotd.9.6.2.dylib /usr/lib/libm.dylib -F/opt/local/Library/Frameworks -framework AquaTerm -framework Foundation /opt/local/lib/libltdl.dylib /usr/lib/libdl.dylib ../lib/csa/libcsirocsa.0.0.1.dylib ../lib/nn/libcsironn.0.0.1.dylib /opt/local/lib/libqhull.dylib ../lib/qsastime/libqsastime.0.0.1.dylib /usr/lib/libm.dylib /opt/local/lib/libfreetype.dylib 
ld: framework not found AquaTerm
collect2: ld returned 1 exit status
make[2]: *** [drivers/aqt.so] Error 1
make[1]: *** [drivers/CMakeFiles/aqt.dir/all] Error 2
make: *** [all] Error 2

Changed 5 years ago by takeshi@…

comment:3 Changed 5 years ago by glen.henshaw@…

I can make it build successfully by passing -DPLD_aqt=ON at configure, and then manually modifying cmake/modules/aqt.cmake to pass "-F/opt/local/Library/Frameworks" to the linker. But I don't know how to write portfiles well enough make it automatic. Presumably you would also have to make AquaTerm a dependency, but I already have it installed.

AquaTerm output is much prettier than X :)

comment:4 Changed 5 years ago by takeshi@…

  • Status changed from new to closed
  • Resolution set to fixed

I did not get errors when I reinstalled aquaterm. r55497

Note: See TracTickets for help on using tickets.