[MacPorts] #34818: How to specify library version in depends_lib
#34818: How to specify library version in depends_lib ----------------------------------+----------------------------------------- Reporter: david@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: kdenlive ----------------------------------+----------------------------------------- Moving from kdenlive-0.8 to kdenlive-0.9 requires upgrading mlt to at least 0.7.8 so best to have this as a library dependency. Require a Portfile guru to suggest best way to do this. Following fails... depends_lib-append port:mlt-0.7.8 depends_lib-append port:mlt@0.7.8 depends_lib-append port:mlt+0.7.8 Maybe this has to be accomplished so other way. I've tried multiple greps through Portfiles looking for an example. No joy. Suggestions welcome. Thanks. -- Ticket URL: <https://trac.macports.org/ticket/34818> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34818: How to specify library version in depends_lib -----------------------------------+---------------------------------------- Reporter: david@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: invalid | Keywords: Port: kdenlive | -----------------------------------+---------------------------------------- Changes (by cal@…): * status: new => closed * resolution: => invalid Comment: MacPorts doesn't support this at the moment. -- Ticket URL: <https://trac.macports.org/ticket/34818#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34818: How to specify library version in depends_lib -----------------------------------+---------------------------------------- Reporter: david@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: | Keywords: Port: kdenlive | -----------------------------------+---------------------------------------- Changes (by david@…): * status: closed => reopened * resolution: invalid => Comment: If possible, add a note to this ticket about a good Portfile example of how to do this. Close ticket after update, whether you know of an example Portfile or not. Thanks. -- Ticket URL: <https://trac.macports.org/ticket/34818#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34818: How to specify library version in depends_lib -----------------------------------+---------------------------------------- Reporter: david@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: invalid | Keywords: Port: kdenlive | -----------------------------------+---------------------------------------- Changes (by ryandesign@…): * status: reopened => closed * resolution: => invalid Comment: MacPorts does not have a way to do this. MacPorts does however upgrade dependencies first. So, commit the update to the mlt port to update it to version 0.7.8 first, then commit the update to update the port that depends on mlt. For further questions about how to write portfiles, please write to the macports-dev mailing list. -- Ticket URL: <https://trac.macports.org/ticket/34818#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34818: How to specify library version in depends_lib -----------------------------------+---------------------------------------- Reporter: david@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: invalid | Keywords: Port: kdenlive | -----------------------------------+---------------------------------------- Comment(by ryandesign@…): The [browser:trunk/dports/x11/pango/Portfile?rev=93974#L55 pango port's pre-configure block] gives some examples of how a port could check its dependencies manually. Usually this is not necessary because MacPorts upgrades dependencies first. Pango does it because there are also development version ports (glib2-devel, cairo-devel, pango-devel) and from time to time the development versions and stable versions have not been compatible with one another. -- Ticket URL: <https://trac.macports.org/ticket/34818#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts