[MacPorts] #18899: py25-cairo-1.8.2 installs pkg-config file in wrong location
#18899: py25-cairo-1.8.2 installs pkg-config file in wrong location ------------------------------+--------------------------------------------- Reporter: blb@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.8.0 Keywords: pkg-config | Port: py25-cairo ------------------------------+--------------------------------------------- python/py25-cairo on my system installs its pkg-config file within the python25 framework location: {{{ ${prefix}/Library/Frameworks/Python.framework/Versions/2.5/lib/pkgconfig/pycairo.pc }}} I haven't had a chance to find out why as yet, but that should be {{{${prefix}/lib/pkgconfig/pycairo.pc}}}. -- Ticket URL: <http://trac.macports.org/ticket/18899> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18899: py25-cairo-1.8.2 installs pkg-config file in wrong location ------------------------------+--------------------------------------------- Reporter: blb@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.8.0 Keywords: pkg-config | Port: py25-cairo ------------------------------+--------------------------------------------- Comment(by mcalhoun@…): The reason was was to avoid conflict with py-cairo, py26-cairo, and (probably eventually) py30-cairo.[[BR]] For Portfiles, the idea was to set configure.pkg_config_path to ${frameworks_dir}/Python.framework/Versions/${py_version}/lib/pkgconfig[[BR]] for whichever py_version you wanted. It is not ideal, but is was the best I could come up with at the time. -- Ticket URL: <http://trac.macports.org/ticket/18899#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18899: py25-cairo-1.8.2 installs pkg-config file in wrong location ------------------------------+--------------------------------------------- Reporter: blb@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.8.0 Keywords: pkg-config | Port: py25-cairo ------------------------------+--------------------------------------------- Comment(by blb@…): Ah, yeah, that makes sense since it is an unversioned file...I just happened to notice it since my tab-completion stalled on that directory which I expected to only have python25 in it... Anyway, I guess adding to pkg_config_path does make sense; should we document that someplace? -- Ticket URL: <http://trac.macports.org/ticket/18899#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18899: py25-cairo-1.8.2 installs pkg-config file in wrong location ------------------------------+--------------------------------------------- Reporter: blb@… | Owner: mcalhoun@… Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.8.0 Keywords: pkg-config | Port: py25-cairo ------------------------------+--------------------------------------------- Changes (by mcalhoun@…): * status: new => assigned Comment: Replying to [comment:2 blb@…]:
Anyway, I guess adding to pkg_config_path does make sense; should we document that someplace? There are short comments in py-cairo and py25-cairo (but not py26-cairo), but I suppose a ui_msg in all of them might be in order.
-- Ticket URL: <http://trac.macports.org/ticket/18899#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18899: py25-cairo-1.8.2 installs pkg-config file in wrong location ------------------------------+--------------------------------------------- Reporter: blb@… | Owner: mcalhoun@… Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.8.0 Keywords: pkg-config | Port: py25-cairo ------------------------------+--------------------------------------------- Comment(by blb@…): Actually I was thinking more generally, as we'll probably find other modules which need the same change to where the .pc file goes. Though i'm unsure if it really fits into the port group docs or someplace else... -- Ticket URL: <http://trac.macports.org/ticket/18899#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18899: py25-cairo-1.8.2 installs pkg-config file in wrong location ------------------------------+--------------------------------------------- Reporter: blb@… | Owner: mcalhoun@… Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.8.0 Keywords: pkg-config | Port: py25-cairo ------------------------------+--------------------------------------------- Comment(by mcalhoun@…): Replying to [comment:4 blb@…]:
Actually I was thinking more generally, as we'll probably find other modules which need the same change to where the .pc file goes. Though i'm unsure if it really fits into the port group docs or someplace else... Since python has its own category directory for all the pyXX- packages, then it does not unreasonable for it to have its own Wiki page.[[BR]] I created a bare outline to be put up at http://trac.macports.org/wiki/Python. [[BR]] Is it bad form to simply put up a new Wiki page without discussing it on the mailing list first?
-- Ticket URL: <http://trac.macports.org/ticket/18899#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18899: py25-cairo-1.8.2 installs pkg-config file in wrong location ------------------------------+--------------------------------------------- Reporter: blb@… | Owner: mcalhoun@… Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.8.0 Keywords: pkg-config | Port: py25-cairo ------------------------------+--------------------------------------------- Comment(by blb@…): Wiki page makes sense for now since I'm not sure quite where it would go in the guide as yet, and since the wiki is the preferred location for new stuff like that until integrated into the guide/man pages. -- Ticket URL: <http://trac.macports.org/ticket/18899#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18899: py25-cairo-1.8.2 installs pkg-config file in wrong location -------------------------------+-------------------------------------------- Reporter: blb@… | Owner: mcalhoun@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.8.0 Resolution: invalid | Keywords: pkg-config Port: py25-cairo | -------------------------------+-------------------------------------------- Changes (by mcalhoun@…): * status: assigned => closed * resolution: => invalid Comment: http://trac.macports.org/wiki/Python has been created.[[BR]] It is quite sparse at the moment, but I will try to improve it as time goes on. -- Ticket URL: <http://trac.macports.org/ticket/18899#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts