[MacPorts] #24796: yorick-z: zlib, jpeg and png support for the Yorick language
#24796: yorick-z: zlib, jpeg and png support for the Yorick language --------------------------------------+------------------------------------- Reporter: thibaut.paumard@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: yorick-z --------------------------------------+------------------------------------- Hi, again a Yorick plug-in (zlib, png and jpeg compression). Depends on [https://trac.macports.org/ticket/24768 submitted] yorick port. T. -- Ticket URL: <http://trac.macports.org/ticket/24796> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24796: yorick-z: zlib, jpeg and png support for the Yorick language --------------------------------------+------------------------------------- Reporter: thibaut.paumard@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: yorick-z --------------------------------------+------------------------------------- Description changed by macsforever2000@…: Old description:
Hi,
again a Yorick plug-in (zlib, png and jpeg compression).
Depends on [https://trac.macports.org/ticket/24768 submitted] yorick port.
T.
New description: Hi, again a Yorick plug-in (zlib, png and jpeg compression). Depends on [ticket:24768 submitted] yorick port. T. -- -- Ticket URL: <http://trac.macports.org/ticket/24796#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24796: yorick-z: zlib, jpeg and png support for the Yorick language --------------------------------------+------------------------------------- Reporter: thibaut.paumard@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: yorick-z --------------------------------------+------------------------------------- Comment(by thibaut.paumard@…): Removed "revision" and took care of building with the right instance of yorick. -- Ticket URL: <http://trac.macports.org/ticket/24796#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24796: yorick-z: zlib, jpeg and png support for the Yorick language --------------------------------------+------------------------------------- Reporter: thibaut.paumard@… | Owner: ryandesign@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: yorick-z --------------------------------------+------------------------------------- Changes (by ryandesign@…): * status: new => assigned * owner: macports-tickets@… => ryandesign@… Comment: On my Mac (with Snow Leopard) the configure script finds zlib but not png or jpeg: {{{ ================ begin yorick-z configuration ==================== updated ./Makefile Using /opt/local/lib/yorick/Make.cfg CC=/usr/bin/gcc-4.2 CFLAGS=-arch x86_64 LDFLAGS=-L/opt/local/lib -arch x86_64 zlib: found ZLIB_INC=-I/opt/local/lib ZLIB_LIB=-L/opt/local/lib -lz WARNING: --png=/opt/local/lib DID NOT WORK, IS IT BUILT? png: not found WARNING: --jpeg=/opt/local/lib DID NOT WORK, IS IT BUILT? jpeg: not found ================ yorick-z configuration completed ================ }}} These yorick configuration scripts are really peculiar. They want us to point these arguments at a "directory containing png.h and libpng.a (uninstalled)". We don't have such a directory. We have installed directories, where png.h is in ${prefix}/include and libpng.a is in ${prefix}/lib. These configure scripts may need some surgery before they'll function sensibly. -- Ticket URL: <http://trac.macports.org/ticket/24796#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24796: yorick-z: zlib, jpeg and png 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-z | ---------------------------------------+------------------------------------ Changes (by ryandesign@…): * status: assigned => closed * resolution: => fixed Comment: The README claims we can set environment variables like ZLIB_INC and ZLIB_LIB instead of passing configure arguments like --zlib=, but this appears to be a lie (does not work). The easiest fix I found was to replace the hardcoded list of paths in the configure script (/sw and /usr/local) with the MacPorts prefix. Committed the port in r67911 with these changes: * fixed detection of libpng and libjpeg * disabled universal variant * some whitespace and formatting changes I trust there was a good reason why we are building from CVS instead of the latest stable version of this software? -- Ticket URL: <http://trac.macports.org/ticket/24796#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts