Ticket #14893 (closed enhancement: fixed)
gnucash (as of version 2.2.3) now works with goffice 0.6
| Reported by: | mp@… | Owned by: | jmr@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.6.0 |
| Keywords: | gnucash goffice | Cc: | |
| Port: |
Description
As of version 2.2.3, gnucash now works with goffice 0.6
I've tried it and it compiles and works fine, so I'll attach a Portfile patch to change the dependency.
Attachments
Change History
comment:2 Changed 5 years ago by mp@…
My mistake - yes the lib name did change. Although now I think about it, why is this dependency specified as "lib:" and not as "port:"?
The portfile manpage states that "lib:" dependencies should only be used "If satisfying a dependency with a MacPorts port is not practical and it is likely that a dependency must be met by an Apple optional install".
Would it be better to change all the dependencies to "port:" as they are all currently available through Macports?
comment:3 Changed 5 years ago by mp@…
I'm uploading a new Portfile diff which also changes the lib name.
comment:4 Changed 5 years ago by mp@…
One more thought: It may be necessary to warn users to deactivate goffice03 before upgrading, as I don't know if goffice03 and goffice will clash at all. Users may then safely uninstall goffice03 as gnucash is the only port that depends on it.
comment:5 Changed 5 years ago by mp@…
I just checked: goffice03 and goffice cannot be active at the same time because they both install files into '/opt/local/share/gtk-doc/html/goffice/'.
Because goffice03 is not used by any other port, would it be acceptable to check for and deactivate goffice03 within the gnucash portfile?
The downside is that I don't think I have the Tcl chops to be able to do this, but if someone can prod me in the right direction then I'm ready and willing to give it a go.
comment:6 Changed 5 years ago by jmr@…
I resolved the conflict between goffice and goffice03 in r36469.
comment:7 Changed 5 years ago by jmr@…
- Type changed from defect to enhancement
- Milestone changed from Port Updates to Port Enhancements
comment:8 Changed 5 years ago by jmr@…
- Status changed from new to assigned
- Owner changed from macports-tickets@… to jmr@…
Building gnucash now just to check that it works before I commit the dependency change.
comment:9 Changed 5 years ago by jmr@…
- Status changed from assigned to closed
- Resolution set to fixed
Committed in r36470.
comment:10 Changed 4 years ago by anonymous
- Milestone Port Enhancements deleted
Milestone Port Enhancements deleted


Didn't the lib name change, too? You only updated the portname.