Opened 15 years ago

Closed 15 years ago

#20622 closed enhancement (fixed)

plplot 5.9.4 - aquaterm support request

Reported by: glen.henshaw@… Owned by: tenomoto (Takeshi Enomoto)
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: aquaterm Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: plplot

Description

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

Attachments (1)

plplot.diff (817 bytes) - added by tenomoto (Takeshi Enomoto) 15 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Keywords: plplot removed
Owner: changed from macports-tickets@… to takeshi@…

comment:2 Changed 15 years ago by tenomoto (Takeshi Enomoto)

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 15 years ago by tenomoto (Takeshi Enomoto)

Attachment: plplot.diff added

comment:3 Changed 15 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 15 years ago by tenomoto (Takeshi Enomoto)

Resolution: fixed
Status: newclosed

I did not get errors when I reinstalled aquaterm. r55497

Note: See TracTickets for help on using tickets.