New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #22581 (closed update: fixed)

Opened 2 years ago

Last modified 18 months ago

update goffice to 0.8

Reported by: jcupitt@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: ryandesign@…, mike@…, snc@…
Port: goffice

Description

goffice is a library for (among other things) displaying charts in gtk applications. See:

 http://freshmeat.net/projects/goffice

Macports currently has two ports for goffice: goffice and goffice03. The first one is for goffice0.6 (the current stable version), and goffice03 is for an older version.

goffice 0.8 has been in development for a good while and is already being used by a number of projects as it fixes quite a few serious shortcomings with the current stable version. However is is still not finished and stable.

I propose making a port called "goffice08" which packages the current development version (0.7.15) as goffice-0.8. This will let us write Portfiles for a number of programs, such as nip2 7.20.

Ubuntu Karmic Koalla package goffice 0.7.8 as goffice0.8, for reference, so this is not totally crazy.

I've written a Portfile which seems to work for me.

Attachments

Portfile Download (1.5 KB) - added by jcupitt@… 2 years ago.
Portfile for goffice 0.7.15, named as goffice08
Portfile.2 Download (1.6 KB) - added by mike@… 2 years ago.
Portfile that builds goffice-0.8.0

Change History

Changed 2 years ago by jcupitt@…

Portfile for goffice 0.7.15, named as goffice08

follow-up: ↓ 2   Changed 2 years ago by jmr@…

  • keywords goffice removed
  • version 1.8.1 deleted
  • type changed from enhancement to submission

Normally a development version would be called goffice-devel. It doesn't make much sense to call it 08 when it is in fact 07.

in reply to: ↑ 1   Changed 2 years ago by jcupitt@…

Replying to jmr@…:

It doesn't make much sense to call it 08 when it is in fact 07.

It installs a package named goffice-0.8 and other packages refer to it as that. It's just that it's not the final, stable version of 0.8.

  Changed 2 years ago by ryandesign@…

  • cc ryandesign@… added

Is there any reason why the goffice port that's currently at 0.6 wouldn't be updated to 0.8 once that's final? If not, then we should follow the usual MacPorts convention, and have goffice be the latest stable version and goffice-devel be the latest development version, as Joshua said.

  Changed 2 years ago by jcupitt@…

The advantage would be that when goffice-0.7.x finally becomes the new stable 0.8.x, the nip2 portfile won't need updating.

I noticed a port called goffice03 which is I guess for packages that haven't been updated to goffice06, so I thought by extension that goffice08 might be a good name. Debian and friends do it rather like this.

Of course if Macports has an established -devel convention than that would be the better thing to do I guess, though it does mean that the nip2 Portfile is likely to break when 0.8 goes stable.

  Changed 2 years ago by mike@…

I'd like to see a goffice08-type port. Applications such as gnumeric have moved to the new goffice API. A goffice08 port would allow us to more easily build development application trees, resulting in a quicker transition when a new stable version is released. Also, this would allow MacPorts users to be more closely involved in the upstream development process because we could report bugs earlier in the development cycle.

follow-up: ↓ 7   Changed 2 years ago by mike@…

Goffice 0.8.0 was released on February 13th. The request for goffice08 is now somewhat irrelevant, assuming we package goffice 0.8.0 and gnumeric 1.10.0.

Changed 2 years ago by mike@…

Portfile that builds goffice-0.8.0

in reply to: ↑ 6   Changed 22 months ago by ryandesign@…

Replying to mike@…:

assuming we package [...] gnumeric 1.10.0.

I filed this request in #24475.

  Changed 21 months ago by jmr@…

  • type changed from submission to update
  • port changed from goffice08 to goffice
  • summary changed from new Portfile: goffice08 to update goffice to 0.8

Please use a unified diff in future when submitting an update to an existing file. Will gnumeric and gnucash need to be updated to newer versions at the same time as goffice, or will the current versions be OK with just a rev bump?

  Changed 21 months ago by jmr@…

  • cc mike@… added

  Changed 18 months ago by snc@…

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

Updated goffice in r70894. Added missing dependencies.

  Changed 18 months ago by bzbarsky@…

This change made it impossible to install gnumeric via macports, since gnumeric 1.8.4 (which is what macports currently includes) depends on goffice 0.6. I guess this is #24475? It's sort of odd that this was done without updating gnumeric at the same time...

  Changed 18 months ago by devans@…

goffice updated to version 0.8.9 in r70944
gnumeric updated to version 1.10.9 in r70946

  Changed 18 months ago by jmr@…

  • cc snc@… added

@snc: I asked in comment:8 about the issue that bzbarsky just brought up. Please test before you commit next time.

follow-up: ↓ 15   Changed 18 months ago by bzbarsky@…

And yes, gnucash is now broken too. The exact error they list on  http://wiki.gnucash.org/wiki/Building in the "Ubuntu 9.10" section (building gnucash 2.2.9 against goffice 0.8 fails).

in reply to: ↑ 14   Changed 18 months ago by bzbarsky@…

comment:14 was with goffice-0.8.0. Still waiting on the gnumeric build (thanks for fixing that!) before I can try gnucash against 0.8.9.

  Changed 18 months ago by bzbarsky@…

Yeah, still fails to build gnucash, From the log:

:info:build gnc-html-graph-gog.c:49:37: error: goffice/graph/gog-style.h: No such file or directory

followed by various ensuing failures with stuff being undeclared, incomplete types, etc.

  Changed 18 months ago by bzbarsky@…

OK, looks like gnucash got fixed in #26256.

Note: See TracTickets for help on using tickets.