Opened 12 years ago

Closed 12 years ago

#36885 closed update (fixed)

subsurface: update to 3.0.2

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc: macports@…
Port: subsurface

Description

$ port livecheck subsurface
subsurface seems to have been updated (port version: 1.2, new version: 2.1)

As the comment in the subsurface port says, perhaps the libdivecomputer port needs to be updated at the same time.

Attachments (2)

subsurface.patch (6.8 KB) - added by macports@… 12 years ago.
Updated subsurface patch, sans hardcoded /opt/local
libdivecomputer.patch (1.2 KB) - added by macports@… 12 years ago.
Updated libdivecomputer patch, with http source instead of git

Download all attachments as: .zip

Change History (10)

comment:1 Changed 12 years ago by neverpanic (Clemens Lang)

Owner: changed from cal@… to macports-tickets@…

I no longer maintain subsurface.

comment:2 Changed 12 years ago by macports@…

Cc: macports@… added

Cc Me!

comment:3 Changed 12 years ago by macports@…

3.0 is soon out. I'll provide a patch as soon as it's released.

comment:4 Changed 12 years ago by macports@…

Here's an update for Subsurface to v3.0.2. Libdivecomputer needs to be updated as well.

To apply:

cd /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel
patch -p0 < libdivecomputer.patch
cd ../x11
patch -p0 < subsurface.patch

comment:5 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: haspatch added

Thanks.

For libdivecomputer:

  • Since the version field has decreased from 2012011900 to 0.3.0, the epoch needs to increase (e.g. from the implied 0 to an explicit 1).
  • Since 0.3.0 is a released version, can we fetch from a tarball instead of from git? That would be greatly preferred.

For subsurface:

  • You've hardcoded /opt/local into the patchfile. MacPorts might be installed into a different prefix, so you need to arrange (possibly via reinplace) to use the ${prefix} variable.

Changed 12 years ago by macports@…

Attachment: subsurface.patch added

Updated subsurface patch, sans hardcoded /opt/local

Changed 12 years ago by macports@…

Attachment: libdivecomputer.patch added

Updated libdivecomputer patch, with http source instead of git

comment:6 Changed 12 years ago by macports@…

Thanks for the help and feedback, Ryan. I've added new patches.

comment:7 Changed 12 years ago by macports@…

Hi, is there any ETA on these patches? Is there anything else I should do to get them pushed?

comment:8 Changed 12 years ago by neverpanic (Clemens Lang)

Resolution: fixed
Status: newclosed
Summary: subsurface: update to 2.1subsurface: update to 3.0.2

Thanks for reminding me. If nobody answers, drop a mail to the macports-dev list next time.

Commited in r104735, thanks for taking care of the update.

Note: See TracTickets for help on using tickets.