[MacPorts] #28663: Autotrace looks for pstoedit-config instead of using pkg-config
#28663: Autotrace looks for pstoedit-config instead of using pkg-config --------------------------------------+------------------------------------- Reporter: Peter_Dyballa@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: autotrace @0.31.1_2, pstoedit @3.50_0 --------------------------------------+------------------------------------- Configuring autotrace I get, although pstoedit 3.50 is installed: {{{ configure:9246: checking for pstoedit-config configure:9277: result: no configure:9285: checking for PSTOEDIT - version >= 3.32.1 configure:9397: result: no configure:9518: checking for pstoedit-config configure:9549: result: no configure:9557: checking for PSTOEDIT - version >= 3.32.0 configure:9669: result: no configure:9855: WARNING: *** Cannot find libpstoedit. *** *** Output functions using libpstoedit are disabled *** }}} The reason for this failure is that autotrace is not developed actively since almost ten years (release date of version 0.31.1). In the meantime, 2006 or 2008, pstoedit developed a PC file for pkg-config and the old pstoedit-config utility is not distributed any more. So a wrapper under this name is needed to translated into pkg-config. I am using this script: {{{ #!/bin/sh # until [ $# = 0 ]; do case $1 in --version) args="$args --modversion" ;; *) args="$args $1" esac shift done pkg-config $args pstoedit }}} which I got from somewhere (I don't see my "handwriting" in it, so it has to come from the internet). The pstoedit site offers a slightly different bash script for download (http://sourceforge.net/tracker/index.php?func=detail&aid=2940115&group_id=11...): {{{ #!/bin/bash case "$1" in --version) /usr/bin/pkg-config --modversion pstoedit ;; *) /usr/bin/pkg-config $@ pstoedit ;; esac #EOF }}} I think one such version of pstoedit-config needs to be added to autotrace – presumingly it's the only package that still uses pstoedit-config. -- Ticket URL: <https://trac.macports.org/ticket/28663> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28663: Autotrace @0.31.1_2 looks for pstoedit-config instead of using pkg-config --------------------------------------+------------------------------------- Reporter: Peter_Dyballa@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: autotrace pstoedit --------------------------------------+------------------------------------- Changes (by jmr@…): * port: autotrace @0.31.1_2, pstoedit @3.50_0 => autotrace pstoedit -- Ticket URL: <https://trac.macports.org/ticket/28663#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28663: Autotrace @0.31.1_2 looks for pstoedit-config instead of using pkg-config --------------------------------------+------------------------------------- Reporter: Peter_Dyballa@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: autotrace --------------------------------------+------------------------------------- Changes (by ryandesign@…): * status: new => assigned * owner: macports-tickets@… => ryandesign@… * port: autotrace pstoedit => autotrace Comment: Let's also not forget that autotrace does not currently declare a dependency on pstoedit. -- Ticket URL: <https://trac.macports.org/ticket/28663#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28663: Autotrace @0.31.1_2 looks for pstoedit-config instead of using pkg-config ---------------------------------------+------------------------------------ Reporter: Peter_Dyballa@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: Port: autotrace | ---------------------------------------+------------------------------------ Changes (by ryandesign@…): * status: assigned => closed * resolution: => fixed Comment: Added pstoedit support to autotrace port in r76730. Also deleted the magick variant and now link unconditionally with ImageMagick, because pstoedit already does. -- Ticket URL: <https://trac.macports.org/ticket/28663#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts