Opened 10 years ago
Closed 10 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)
Change History (7)
Changed 10 years ago by l.digaspero@…
Attachment: | Portfile-gecode4.3.1-qt5.diff added |
---|
comment:1 Changed 10 years ago by l.digaspero@…
Cc: | l.digaspero@… added |
---|
comment:2 Changed 10 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 10 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 10 years ago by l.digaspero@…
Attachment: | Portfile-gecode4.3.1-qt4-qt5.diff added |
---|
Portfile patch that supports qt4 and qt5
comment:4 Changed 10 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.
comment:5 Changed 10 years ago by mf2k (Frank Schima)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Let's move this to #46941.
Cc Me!