Opened 9 years ago

Closed 9 years ago

#45736 closed update (duplicate)

Gecode port update to gecode 4.3.1 and qt5-mac dependency

Reported by: l.digaspero@… Owned by: brandon@…
Priority: Normal Milestone:
Component: ports Version: 2.3.2
Keywords: haspatch Cc:
Port: gecode

Description

This is the patch for updating gecode to 4.3.1 version (October 22, 2014) and to qt5-mac dependency (instead of the old qt4, which is currently superseded).

It has been tested and it works out of the box.

Attachments (2)

Portfile-gecode4.3.1-qt5.diff (1.4 KB) - added by l.digaspero@… 9 years ago.
Portfile-gecode4.3.1-qt4-qt5.diff (1.9 KB) - added by l.digaspero@… 9 years ago.
Portfile patch that supports qt4 and qt5

Download all attachments as: .zip

Change History (7)

Changed 9 years ago by l.digaspero@…

comment:1 Changed 9 years ago by l.digaspero@…

Cc: l.digaspero@… added

Cc Me!

comment:2 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: brandon@… l.digaspero@… removed
Keywords: haspatch added
Owner: changed from macports-tickets@… to brandon@…

When you say qt4 "is currently superseded", do you mean that gecode 4.3.1 requires qt5 and will no longer work with qt4, or do you just mean that qt5 is available? The problem is that qt4-mac and qt5-mac in MacPorts currently cannot be installed and active at the same time (#44193), so if a user installs a port that requires qt5-mac, they cannot also use other ports that require qt4-mac, which is at this point most of the ports that have qt support. This would make me hesitate to make any port dependent on qt5, although it's not so bad for gecode since qt support is in a non-default variant.

comment:3 Changed 9 years ago by l.digaspero@…

Actually Gecode works also with the qt4 version, however, similarly to your point, it prevents to install qt5. Perhaps a compromise would be to let the user decide which qt version to be used, i.e., provide a qt4 and qt5 variant of the gecode installation.

Changed 9 years ago by l.digaspero@…

Portfile patch that supports qt4 and qt5

comment:4 Changed 9 years ago by l.digaspero@…

I added the Portfile diff that supports both qt4 and qt5 (obviously in conflict) and also the qt variant (defaulting to qt4-mac dependence) for retro-compatibility.

Last edited 9 years ago by l.digaspero@… (previous) (diff)

comment:5 Changed 9 years ago by mf2k (Frank Schima)

Resolution: duplicate
Status: newclosed

Let's move this to #46941.

Note: See TracTickets for help on using tickets.