[MacPorts] #43959: upgrade icu and all of its dependents
#43959: upgrade icu and all of its dependents ------------------------+-------------------------------- Reporter: mcalhoun@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.0 Keywords: haspatch | Port: icu ------------------------+-------------------------------- I would like to upgrade icu (51.2 -> 53.1 ), which requires upgrading all of its dependents.[[BR]] #34457 seems to indicate that permission from maintainers is not necessary for a revision bump of all of these port, but I am not entirely sure. -- Ticket URL: <https://trac.macports.org/ticket/43959> MacPorts <http://www.macports.org/> Ports system for OS X
#43959: upgrade icu and all of its dependents -------------------------+-------------------------------- Reporter: mcalhoun@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.0 Resolution: | Keywords: haspatch Port: icu | -------------------------+-------------------------------- Comment (by mf2k@…): There is definitely precedent for doing so with the libpng (r115019) and jpeg (r102822) ports. -- Ticket URL: <https://trac.macports.org/ticket/43959#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#43959: upgrade icu and all of its dependents -------------------------+-------------------------------- Reporter: mcalhoun@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.0 Resolution: | Keywords: haspatch Port: icu | -------------------------+-------------------------------- Comment (by ryandesign@…): Assuming the library version of icu has increased, I would consider it the responsibility of the person updating icu to ensure that the dependents' revisions get increased. I would not consider permission from those port's maintainers to be necessary, but before committing such an update I would want to verify that most of the ports that depend on icu can still build using the new version. -- Ticket URL: <https://trac.macports.org/ticket/43959#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#43959: upgrade icu and all of its dependents -------------------------+-------------------------------- Reporter: mcalhoun@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.0 Resolution: | Keywords: haspatch Port: icu | -------------------------+-------------------------------- Comment (by ryandesign@…): You added a comment in your patchfile: {{{ # port echo depends:icu finds dependencies }}} Note first of all that this finds dependents of icu (i.e. those that have a dependency on icu), not dependencies of icu. Second, note that more precisely, this finds ports that have dependencies whose names contain the string "icu"; this is more than just those that depend on the port icu. For example, it would find py-pyicu and gramps (which depend on py27-pyicu, not icu) and the webkit-gtk ports (which depend on harfbuzz- icu, not icu). Finally, note that this only finds dependencies declared by default; it does not find dependencies in non-default variants or that vary by platform or other conditionals; for example, if you run the command on Mavericks or later, you'll miss sword, which depends on icu, but clears its dependencies on Mavericks and later so that it can more quickly inform the user of the fact that it is not Mavericks-compatible. I usually just grep the portfiles, which doesn't have these shortcomings. {{{ port file all | sort -u | xargs grep -E ':icu( |$)' | cut -d / -f 7 | sort -u }}} However, this produces slightly different output: where "`port echo depends:icu`" will print the names of affected subports, this `grep` pipeline will print the name of the directory the portfile is in. -- Ticket URL: <https://trac.macports.org/ticket/43959#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#43959: upgrade icu and all of its dependents -------------------------+-------------------------------- Reporter: mcalhoun@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.0 Resolution: | Keywords: haspatch Port: icu | -------------------------+-------------------------------- Comment (by devans@…): Replying to [comment:3 ryandesign@…]:
You added a comment in your patchfile:
{{{ # port echo depends:icu finds dependencies }}}
Note first of all that this finds dependents of icu (i.e. those that have a dependency on icu), not dependencies of icu. Second, note that more precisely, this finds ports that have dependencies whose names match the regular expression "icu"; this is more than just those that depend on the port icu. For example, it would find py-pyicu and gramps (which depend on py27-pyicu, not icu) and the webkit-gtk ports (which depend on harfbuzz- icu, not icu). Finally, note that this only finds dependencies declared by default; it does not find dependencies in non-default variants or that vary by platform or other conditionals; for example, if you run the command on Mavericks or later, you'll miss sword, which depends on icu, but clears its dependencies on Mavericks and later so that it can more quickly inform the user of the fact that it is not Mavericks-compatible. I usually just grep the portfiles, which doesn't have these shortcomings.
{{{ port file all | sort -u | xargs grep -E ':icu( |$)' | cut -d / -f 7 | sort -u }}}
However, this produces slightly different output: where "`port echo depends:icu`" will print the names of affected subports, this `grep` pipeline will print the name of the directory the portfile is in.
A example is gramps which has no direct dependency on icu but rather depends on py2[67]-pyicu. Gramps is pure python and does not need to be revbumped for this upgrade. -- Ticket URL: <https://trac.macports.org/ticket/43959#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#43959: upgrade icu and all of its dependents -------------------------+-------------------------------- Reporter: mcalhoun@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.0 Resolution: | Keywords: haspatch Port: icu | -------------------------+-------------------------------- Comment (by mcalhoun@…): Fixed in r120843 and r120845. -- Ticket URL: <https://trac.macports.org/ticket/43959#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#43959: upgrade icu and all of its dependents -------------------------+-------------------------------- Reporter: mcalhoun@… | Owner: macports-tickets@… Type: update | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.0 Resolution: fixed | Keywords: haspatch Port: icu | -------------------------+-------------------------------- Changes (by mcalhoun@…): * status: new => closed * resolution: => fixed -- Ticket URL: <https://trac.macports.org/ticket/43959#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts