Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#39738 closed update (fixed)

Update gnumeric @0.10.17 to 0.12.4

Reported by: c.herbig@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc: neverpanic (Clemens Lang), dbevans (David B. Evans)
Port: gnumeric

Description

Needs the new goffice @0.10.4 port first #39717

Attachments (8)

Portfile-gnumeric.diff (3.1 KB) - added by c.herbig@… 11 years ago.
Portfile-gnumeric.2.diff (2.4 KB) - added by c.herbig@… 11 years ago.
changes whitespace
Portfile-gnumeric.3.diff (3.5 KB) - added by c.herbig@… 11 years ago.
updates to 1.12.4 (some metadata changes too)
Portfile-gnumeric.4.diff (2.6 KB) - added by c.herbig@… 11 years ago.
whitespace changes
Portfile-gnumeric.5.diff (2.4 KB) - added by c.herbig@… 11 years ago.
version, deps update
Portfile-gnumeric.6.diff (4.9 KB) - added by c.herbig@… 11 years ago.
updated Python deps. Marked 25 as obsolete, added 33 as experimental
Portfile-gnumeric.7.diff (5.3 KB) - added by c.herbig@… 11 years ago.
Portfile-gnumeric.8.diff (4.5 KB) - added by c.herbig@… 11 years ago.
Tidy based on last official gnumeric portfile revisions

Download all attachments as: .zip

Change History (33)

Changed 11 years ago by c.herbig@…

Attachment: Portfile-gnumeric.diff added

comment:1 Changed 11 years ago by c.herbig@…

Wow, I should stop doing this at 2 in the morning. It should have been gnumeric @1.10.17 to 1.12.4 However, it already needs to be revised to comply with the + depends_run port:yelp that devans added to the gnome apps. Also, perhaps I should have filed separate tickets for the whitespace changes and then for the updates?

comment:2 Changed 11 years ago by c.herbig@…

So, to do one thing clearly at a time, here is a portfile that tidies up the whitespace for the existing gnumeric port file.

Changed 11 years ago by c.herbig@…

Attachment: Portfile-gnumeric.2.diff added

changes whitespace

comment:3 Changed 11 years ago by c.herbig@…

Can somebody add haspatch to this please?

comment:4 Changed 11 years ago by neverpanic (Clemens Lang)

Cc: cal@… added

It already has the haspatch keyword?

comment:5 in reply to:  4 Changed 11 years ago by c.herbig@…

Replying to cal@…:

It already has the haspatch keyword?

Um, of course, I knew that! I was just testing you...

Yeah, ok, I've gotta just eat this one, I have no idea why I thought this one didn't have haspatch, and thus felt compelled to correct it.

From now on, I promise I will stop attending to these matters in the wee hours of the morning.

Last edited 11 years ago by c.herbig@… (previous) (diff)

comment:6 Changed 11 years ago by c.herbig@…

Perhaps devans should be cc'd on this one since they are doing the gnome stuff.

comment:7 Changed 11 years ago by larryv (Lawrence Velázquez)

Cc: devans@… added

comment:8 Changed 11 years ago by c.herbig@…

If you're not interested in the trivial whitespace changes, I could just submit the changes that do the actual version updates...

comment:9 Changed 11 years ago by c.herbig@…

Well, here is a diff based on my portfile for gnumeric 1.12.4

Notable changes to gnumeric: Gtk3 based, uses gsettings, no more gconf, and various improvements to Excel file and function compatibility.

Changed 11 years ago by c.herbig@…

Attachment: Portfile-gnumeric.3.diff added

updates to 1.12.4 (some metadata changes too)

comment:10 Changed 11 years ago by neverpanic (Clemens Lang)

There's nothing wrong with your patches, but apparently nobody has had any time to review and apply them yet. Please provide whitespace changes as separate diffs (but not necessarily separate tickets).

I currently have no time to take care of this one, but if nobody takes this ticket, consider dropping a mail to the macports-dev list.

comment:11 in reply to:  10 ; Changed 11 years ago by c.herbig@…

Replying to cal@…:

There's nothing wrong with your patches, but apparently nobody has had any time to review and apply them yet. Please provide whitespace changes as separate diffs (but not necessarily separate tickets).

I currently have no time to take care of this one, but if nobody takes this ticket, consider dropping a mail to the macports-dev list.

Would it help at all if I offered to take maintainership (along with open maintainer)? I'm not really a programmer, but I am interested in keeping this and goffice up to date with the latest point releases, especially when updates deal with file compatibility.

comment:12 in reply to:  11 Changed 11 years ago by neverpanic (Clemens Lang)

Replying to c.herbig@…:

Would it help at all if I offered to take maintainership (along with open maintainer)? I'm not really a programmer, but I am interested in keeping this and goffice up to date with the latest point releases, especially when updates deal with file compatibility.

While it wouldn't immediately help with this ticket, it would certainly help to speed up future updates. If nobody has taken care of this by Thursday, I'll find some free time to do it.

comment:13 Changed 11 years ago by c.herbig@…

Meanwhile, I am making new .diff files from the latest portfile from MacPorts, since the version in my local repository is already out of sync for how this should all be.

Changed 11 years ago by c.herbig@…

Attachment: Portfile-gnumeric.4.diff added

whitespace changes

Changed 11 years ago by c.herbig@…

Attachment: Portfile-gnumeric.5.diff added

version, deps update

comment:14 Changed 11 years ago by c.herbig@…

Here are the latest .diffs that I made. Hopefully no more patch errors or $ ID$ line changes from my copy being out of sync with the MacPorts one. Basically, the whitespace changes justify everything to 5 tabs so that it doesn't get bunched up into the long_description. I regrouped some of the metadata in a way that seems more logical to myself.

The gconf lines have been removed since gnumeric does not use gconf at all anymore. I played with the std=gnu89, and for me at least, the config phase was smart enough to deal with that on its own. All of the other dependencies seem to be taken care of by gtk3/goffice.

comment:15 Changed 11 years ago by su-v

AFAIU the dependency on py*-gobject needs to be changed to py*-gobject3 for Python support in GTK3-based Gnumeric.

comment:16 in reply to:  15 ; Changed 11 years ago by c.herbig@…

Replying to suv-sf@…:

AFAIU the dependency on py*-gobject needs to be changed to py*-gobject3 for Python support in GTK3-based Gnumeric.

Can you provide a reference, or other port file examples?

I have experimented with py33-gobject3, and it seemed to compile, but I was not aware of any other changes.

comment:17 in reply to:  16 ; Changed 11 years ago by su-v

Replying to c.herbig@…:

Replying to suv-sf@…:

AFAIU the dependency on py*-gobject needs to be changed to py*-gobject3 for Python support in GTK3-based Gnumeric.

Can you provide a reference, or other port file examples?

No reference - this was simply based on monitoring the output of the configure phase for a local "devel" port of Gnumeric 1.12.4:

With py27-gobject already installed, but not py27-gobject3, Gnumeric 1.12.4 is configured without Python support:

	Perl Support:		yes (using perl)
	Python Support:		Missing pygobject

After activating py27-gobject3 (installed independently), Gnumeric 1.12.4 is configured with Python support:

	Perl Support:		yes (using perl)
	Python Support:		yes (using /opt/local/bin/python2.7)

comment:18 in reply to:  17 Changed 11 years ago by c.herbig@…

Replying to suv-sf@…:

Replying to c.herbig@…:

Replying to suv-sf@…:

AFAIU the dependency on py*-gobject needs to be changed to py*-gobject3 for Python support in GTK3-based Gnumeric.

Can you provide a reference, or other port file examples?

No reference - this was simply based on monitoring the output of the configure phase for a local "devel" port of Gnumeric 1.12.4:

With py27-gobject already installed, but not py27-gobject3, Gnumeric 1.12.4 is configured without Python support:

	Perl Support:		yes (using perl)
	Python Support:		Missing pygobject

After activating py27-gobject3 (installed independently), Gnumeric 1.12.4 is configured with Python support:

	Perl Support:		yes (using perl)
	Python Support:		yes (using /opt/local/bin/python2.7)

Good enough for me. I'll change that.

comment:19 in reply to:  15 Changed 11 years ago by c.herbig@…

Replying to suv-sf@…:

AFAIU the dependency on py*-gobject needs to be changed to py*-gobject3 for Python support in GTK3-based Gnumeric.

Changing the pyX-gobject to pyX-gobject3 will kill the python25 variant, there seems to be no py25-gobject3. I personally am OK with this since python 2.5 is obsolete, but I just wanted to mention this in case anybody else is depending on it.

Changed 11 years ago by c.herbig@…

Attachment: Portfile-gnumeric.6.diff added

updated Python deps. Marked 25 as obsolete, added 33 as experimental

comment:20 Changed 11 years ago by c.herbig@…

I haven't removed it from the portfile yet, but the following config argument is now no longer recognized: --disable-schema-install

comment:21 Changed 11 years ago by c.herbig@…

Removed --disable-schema-install from configure options. Also wrapped the post-activate calls inside catch. It quelled an error that started appearing for update-desktop-database, even though it didn't actually seem to break the port.

Changed 11 years ago by c.herbig@…

Attachment: Portfile-gnumeric.7.diff added

comment:22 Changed 11 years ago by c.herbig@…

After repeatedly trying, then talking to the gnumeric devs, I removed the experimental python33 variant.

Changed 11 years ago by c.herbig@…

Attachment: Portfile-gnumeric.8.diff added

Tidy based on last official gnumeric portfile revisions

comment:23 Changed 11 years ago by neverpanic (Clemens Lang)

Resolution: fixed
Status: newclosed

Enabled introspection and committed in r109236.

comment:24 in reply to:  23 Changed 11 years ago by c.herbig@…

Replying to cal@…:

Enabled introspection and committed in r109236.

Thank you. Not to beat a dead horse, but what is introspection and/or why are we wanting it in everything/should I be trying to enable it in other ports I play with?

comment:25 Changed 11 years ago by neverpanic (Clemens Lang)

gobject-introspection is a tool used in GNOME to generate a description of the C APIs available in a software. This description (stored in .typelib and .gir files) is the official method to access these APIs in a number of languages such as Python, Vala and JavaScript. Since those languages are getting more common in GNOME software these days, we are trying to build every GNOME package with introspection enabled.

Note: See TracTickets for help on using tickets.