Opened 14 years ago

Closed 13 years ago

#28028 closed update (fixed)

unison 2.40.61 upgrade proposal

Reported by: someuser12 Owned by: l2g@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc: nick@…, ryandesign (Ryan Carsten Schmidt)
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 (3)

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

Download all attachments as: .zip

Change History (9)

comment:1 Changed 14 years ago by l2g@…

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

comment:2 Changed 14 years ago by someuser12

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 14 years ago by someuser12

Attachment: Portfile added

proposed Portfile

Changed 14 years ago by someuser12

Attachment: patch-Makefile added

proposed patch to the Makefile

Changed 14 years ago by someuser12

Attachment: patch-to-the-Portfile added

patch to upgrade the Portfile of unison from 2.32.52 to 2.40.63

comment:3 Changed 13 years ago by nick@…

Cc: nick@… added

Cc Me!

comment:4 Changed 13 years 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 13 years ago by jmroot (Joshua Root)

Keywords: haspatch added
Version: 1.9.2

comment:6 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.