[MacPorts] #13469: Add mysql5-devel variant to php5
#13469: Add mysql5-devel variant to php5 -------------------------------+-------------------------------------------- Reporter: ebgssth@gmail.com | Owner: macports-dev@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.5.2 Keywords: php mysql | -------------------------------+-------------------------------------------- Please add mysql5-devel support to PHP5 -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13469> MacPorts </projects/macports> Ports system for Mac OS
#13469: php5: Add mysql5-devel variant --------------------------------+------------------------------------------- Reporter: ebgssth@gmail.com | Owner: ryandesign@macports.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.5.2 Resolution: | Keywords: php mysql --------------------------------+------------------------------------------- Changes (by ryandesign@macports.org): * owner: macports-dev@lists.macosforge.org => ryandesign@macports.org * summary: Add mysql5-devel variant to php5 => php5: Add mysql5-devel variant Comment: No, I would rather make it so that the existing `+mysql5` variant can use either the mysql5 port or the mysql5-devel port, if it is already installed. I assume we can do this by changing the `port:mysql5` dependency to a `path:${prefix}/bin/mysql_config5:mysql5` dependency. If anyone wants to test that, that'd be great. I'll try to test it soon. -- Ticket URL: <https://trac.macosforge.org/projects/macports/ticket/13469#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#13469: php5: Add mysql5-devel variant --------------------------------+------------------------------------------- Reporter: ebgssth@gmail.com | Owner: ryandesign@macports.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.5.2 Resolution: | Keywords: php mysql --------------------------------+------------------------------------------- Comment (by jwa@macports.org): Ryan, I think it's ok for you to do the modifications you think are necessary. The whitespace differences must come from my using emacs and its tcl mode, that I'm very fond of. You could put yourself as a maintainer there also! I don't think it would be a good idea to make any port depend on any -devel port. In this case, MySQL is approaching a 5.1 release proper, but there may be some changes still. I expect 5.0 and 5.1 releases to be binary compatible, which is why I think 5.0.* ports won't be maintained after 5.1 release. This is not the case with PostgreSQL the incompatibility being the reason for ports 8.0, 8.1, &c. BTW, Linux -devel packages are for entirely different purpose, they are meant to include files for development with the packages, e.g. header files. -- Ticket URL: <https://svn.macosforge.org/projects/macports/ticket/13469#comment:6> MacPorts </projects/macports> Ports system for Mac OS
#13469: php5: Add mysql5-devel variant --------------------------------+------------------------------------------- Reporter: ebgssth@gmail.com | Owner: ryandesign@macports.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.5.2 Resolution: | Keywords: php mysql --------------------------------+------------------------------------------- Comment (by ebgssth@gmail.com): Replying to [comment:5 ryandesign@macports.org]:
We currently use the "-devel" suffix on ports if a pre-release version is needed. When that pre-release series becomes final, the changes get merged into the normal port again. If you would like that policy to change (for example, using "mysql51" in this case instead of "mysql5-devel") please take it up on the macports-dev mailing list so that any changes can be debated, agreed upon and properly documented.
Good explanation! Thank you. Could you please add this info to MacPorts Guide? I think not all MacPorts developers keep this rule. There're lots of pre-releasee ports without -devel suffix. Inconsistency is a one problem that I often see in MacPorts system.
Having mysql5 install MySQL 5.1 in the future would not be so odd. We already have php5 installing PHP 5.2.5 for example. There was simply no reason to maintain ports for PHP 5.0.x and 5.1.x because PHP 5.2.x supersedes them. If there is a good reason to keep both MySQL 5.0.x and MySQL 5.1.x ports at the same time, a mysql51 port can certainly be created. If you feel there's a good reason for keeping 5.0.x around after 5.1.x is released, you can start a discussion on macports-dev or file a new ticket.
Another consistency... As I just pointed out, there're many python ports, python2[1-5] and python3k, which is still in alpha stage, doesn't have "-devel" suffix. Anyway, you convinced me :) I started to think having mysql51 is not so good idea. Only one case that keeping 5.0.x after 5.1 released is that help users set up their environment that they are using for their job. Still using mysql 4.0 on production server is not so rare case... -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13469#comment:7> MacPorts </projects/macports> Ports system for Mac OS
#13469: php5: Add mysql5-devel variant --------------------------------+------------------------------------------- Reporter: ebgssth@gmail.com | Owner: ryandesign@macports.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.5.2 Resolution: | Keywords: php mysql --------------------------------+------------------------------------------- Comment (by ebgssth@gmail.com): Any update on this? -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13469#comment:8> MacPorts </projects/macports> Ports system for Mac OS
#13469: php5: Add mysql5-devel variant --------------------------------+------------------------------------------- Reporter: ebgssth@gmail.com | Owner: ryandesign@macports.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.5.2 Resolution: | Keywords: php mysql --------------------------------+------------------------------------------- Comment (by ebgssth@gmail.com): Forgot to mention that I already asked py25-mysql maintainer to add mysql5-devel variant in #13410. The change is already commited in. {{{ $ port variants py25-mysql py25-mysql has the variants: universal mysql3 mysql4 mysql5-devel }}} Ryan, could it be possible to share the same portfile policy saying how to handle devel port dependency? -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13469#comment:9> MacPorts </projects/macports> Ports system for Mac OS
#13469: php5: Add mysql5-devel variant --------------------------------+------------------------------------------- Reporter: ebgssth@gmail.com | Owner: ryandesign@macports.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.5.2 Resolution: | Keywords: php mysql --------------------------------+------------------------------------------- Comment (by ebgssth@gmail.com): Ryan, How's this cominig? -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13469#comment:10> MacPorts </projects/macports> Ports system for Mac OS
#13469: php5: Add mysql5-devel variant --------------------------------+------------------------------------------- Reporter: ebgssth@gmail.com | Owner: ryandesign@macports.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.5.2 Resolution: | Keywords: php mysql --------------------------------+------------------------------------------- Comment (by ryandesign@macports.org): Replying to [comment:6 jwa@macports.org]:
I think it's ok for you to do the modifications you think are necessary. The whitespace differences must come from my using emacs and its tcl mode, that I'm very fond of. You could put yourself as a maintainer there also!
I added myself as co-maintainer of mysql5-devel in r33652. I filed #14142 to handle fixing the inadvertent differences between mysql5 and mysql5-devel. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13469#comment:11> MacPorts </projects/macports> Ports system for Mac OS
#13469: php5: Add mysql5-devel variant --------------------------------+------------------------------------------- Reporter: ebgssth@gmail.com | Owner: ryandesign@macports.org Type: enhancement | Status: closed Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.5.2 Resolution: fixed | Keywords: php mysql --------------------------------+------------------------------------------- Changes (by ryandesign@macports.org): * status: new => closed * resolution: => fixed Comment: In r33897 I changed the +mysql5 variant of the php4, php5 and php5-devel ports so that it will work with the mysql5-devel port if it's already installed, otherwise it'll install the mysql5 port. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13469#comment:12> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts