[MacPorts] #24818: yorick-gl: OpenGL 3D graphics support for the Yorick language
#24818: yorick-gl: OpenGL 3D graphics support for the Yorick language --------------------------------------+------------------------------------- Reporter: thibaut.paumard@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: yorick-gl --------------------------------------+------------------------------------- Hi, This is the OpenGL wrapper for Yorick. Yorick is submitted: [ticket:24768]. To test this port, install it, launch yorick (preferentially with "rlwrap yorick"), and at the yorick prompt type: {{{ #include "testgl.i" testall3d, 32 quit }}} Regards, Thibaut. PS: I have noticed a strange behavior: {{{ port install yorick-gl port uninstall yorick-gl port install yorick-gl }}} fails with: {{{ Error: Target org.macports.activate returned: Image error: /opt/local/lib/yorick/i/contour.i already exists and does not belong to a registered port. Unable to activate port yorick-gl. Error: Status 1 encountered during processing. Before reporting a bug, first run the command again with the -d flag to get complete output. }}} I really don't understand why since "port -d uninstall yorick-gl" does: {{{ [...] DEBUG: deactivating file: /opt/local/lib/yorick/i/contour.i [...] DEBUG: Removing entry from file_map: /opt/local/lib/yorick/i/contour.i [...] DEBUG: uninstalling file: /opt/local/var/macports/software/yorick- gl/1.1.0.cvs20100504_0/opt/local/lib/yorick/i/contour.i [...] }}} and after that: {{{ ls: /opt/local/lib/yorick/i/contour.i: No such file or directory }}} -- Ticket URL: <http://trac.macports.org/ticket/24818> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24818: yorick-gl: OpenGL 3D graphics support for the Yorick language --------------------------------------+------------------------------------- Reporter: thibaut.paumard@… | Owner: ryandesign@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: yorick-gl --------------------------------------+------------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => ryandesign@… * status: new => assigned Comment: Replying to [ticket:24818 thibaut.paumard@…]:
Error: Target org.macports.activate returned: Image error: /opt/local/lib/yorick/i/contour.i already exists and does not belong to a registered port. Unable to activate port yorick-gl.
Agreed, looks like yorick-gl is not DESTDIR-aware. I'll patch its Makefile using the method used by another of the yorick ports that are DESTDIR- aware. -- Ticket URL: <http://trac.macports.org/ticket/24818#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24818: yorick-gl: OpenGL 3D graphics support for the Yorick language ---------------------------------------+------------------------------------ Reporter: thibaut.paumard@… | Owner: ryandesign@… Type: submission | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: yorick-gl | ---------------------------------------+------------------------------------ Changes (by ryandesign@…): * status: assigned => closed * resolution: => fixed Comment: Committed the port in r67913 with these changes: * changed mesa dependency from lib:-style to port:-style (we always want to use libGL from MacPorts mesa; we never want to use another libGL the user might have coincidentally installed somewhere) * removed xorg-libXext dependency (xorg-libXext is already in mesa's dependency chain) * patched configure script to only look for GL files in ${prefix}; even without this patch yorgl.so ended up linked with ${prefix}/lib/libGL.1.dylib like it's supposed to, but the output of the configure phase said it had found something in /usr/X11R6 and I wasn't comfortable with that * patched Makefile to be DESTDIR-aware using technique adapted from yorick-yutils * disabled universal variant * whitespace and formatting changes -- Ticket URL: <http://trac.macports.org/ticket/24818#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts