New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #28028 (closed update: fixed)

Opened 2 years ago

Last modified 18 months ago

unison 2.40.61 upgrade proposal

Reported by: macosx12345@… Owned by: l2g@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc: nick@…, ryandesign@…
Port: unison

Description

This an update proposal to the latest stable version of unison. This version is needed for use under Mac OS X 64 bits.

Unfortunately, there is a bug in the Makefile of unison 2.40.61 (which was not present in e.g. unison 2.32 or 2.40.16), but since version 2.40.61 has been made stable, it seems that this bug should not be corrected by the authors anytime soon. It has been discussed on the unison-users mailing list since at least October 2010. The provided patch corrects this bug (in addition to adapting the Makefile to MacPorts' file hierarchy).

As for any minor version change, this version will break compatibility with the unison archive files produced by the previous version (see discussion in #14172 and Unison's manual, http://www.cis.upenn.edu/~bcpierce/unison/download/releases/stable/unison-manual.html#upgrading).

Finally, notice that, after upgrading the libpng port to version 1.4.5, which triggers an update of the gtk2 port if port -u upgrade libpng was used, it may be necessary to discard and rebuild lablgtk2 (otherwise, the build of unison will still try to link against libpng12 which no longer exists).

Attachments

Portfile (1.9 KB) - added by macosx12345@… 2 years ago.
proposed Portfile
patch-Makefile (783 bytes) - added by macosx12345@… 2 years ago.
proposed patch to the Makefile
patch-to-the-Portfile (1.4 KB) - added by macosx12345@… 2 years ago.
patch to upgrade the Portfile of unison from 2.32.52 to 2.40.63

Change History

comment:1 Changed 2 years ago by l2g@…

  • Owner changed from macports-tickets@… to l2g@…

comment:2 Changed 2 years ago by macosx12345@…

Unison was updated by the author to version 2.40.63 around April, 16th 2011. This corrects the bug in the Makefile mentioned below. This version was beta and is now stable; all previous versions have been removed. I attach a Portfile proposal to unison 2.40.63, with the according patch to the Makefile, and a unified diff of the new Portfile to the Portfile of MacPorts' current unison (2.32.52).

Changed 2 years ago by macosx12345@…

proposed Portfile

Changed 2 years ago by macosx12345@…

proposed patch to the Makefile

Changed 2 years ago by macosx12345@…

patch to upgrade the Portfile of unison from 2.32.52 to 2.40.63

comment:3 Changed 21 months ago by nick@…

  • Cc nick@… added

Cc Me!

comment:4 Changed 19 months ago by dp+macports@…

What has to happen for this to update the port? (I may be volunteering.)

The updated Portfile and patch works for me.

comment:5 Changed 19 months ago by jmr@…

  • Keywords haspatch added
  • Version 1.9.2 deleted

comment:6 Changed 18 months ago by ryandesign@…

  • Cc ryandesign@… added
  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.