Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #14893 (closed enhancement: fixed)

Opened 8 months ago

Last modified 7 months ago

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

Reported by: mp@… Owned by: jmr@…
Priority: Normal Milestone: Port Enhancements
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

patch-gnucash-Portfile.diff (0.5 KB) - added by mp@… 7 months ago.

Change History

Changed 8 months ago by raimue@…

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

Changed 8 months 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?

Changed 7 months ago by mp@…

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

Changed 7 months ago by mp@…

Changed 7 months 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.

Changed 7 months 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.

Changed 7 months ago by jmr@…

I resolved the conflict between goffice and goffice03 in r36469.

Changed 7 months ago by jmr@…

  • type changed from defect to enhancement
  • milestone changed from Port Updates to Port Enhancements

Changed 7 months ago by jmr@…

  • owner changed from macports-tickets@… to jmr@…
  • status changed from new to assigned

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

Changed 7 months ago by jmr@…

  • status changed from assigned to closed
  • resolution set to fixed

Committed in r36470.

Note: See TracTickets for help on using tickets.