Opened 13 years ago

Closed 12 years ago

Last modified 11 years ago

#14893 closed enhancement (fixed)

gnucash (as of version 2.2.3) now works with goffice 0.6

Reported by: mp@… Owned by: jmroot (Joshua Root)
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 (1)

patch-gnucash-Portfile.diff (562 bytes) - added by mp@… 13 years ago.

Download all attachments as: .zip

Change History (11)

comment:1 Changed 13 years ago by raimue (Rainer Müller)

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

comment:2 Changed 13 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 13 years ago by mp@…

I'm uploading a new Portfile diff which also changes the lib name.

Changed 13 years ago by mp@…

Attachment: patch-gnucash-Portfile.diff added

comment:4 Changed 13 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 13 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 12 years ago by jmroot (Joshua Root)

I resolved the conflict between goffice and goffice03 in r36469.

comment:7 Changed 12 years ago by jmroot (Joshua Root)

Milestone: Port UpdatesPort Enhancements
Type: defectenhancement

comment:8 Changed 12 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to jmr@…
Status: newassigned

Building gnucash now just to check that it works before I commit the dependency change.

comment:9 Changed 12 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: assignedclosed

Committed in r36470.

comment:10 Changed 11 years ago by (none)

Milestone: Port Enhancements

Milestone Port Enhancements deleted

Note: See TracTickets for help on using tickets.