Opened 11 years ago

Closed 11 years ago

#21218 closed update (fixed)

mc: update version, homepage, master_sites, livecheck

Reported by: ryandesign (Ryan Schmidt) Owned by: waqar@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: ono@…, nerdling (Jeremy Lavergne), sierkb@…, xeenon@…
Port: mc

Description

mc is at version 4.6.1 but version 4.6.2 has been released. The homepage has changed to http://www.midnight-commander.org/ and the downloads are now hosted in Trac, which has challenging download URLs. The livecheck doesn't work.

I will work on a patch to make these changes.

Attachments (4)

mc.diff (1.2 KB) - added by ryandesign (Ryan Schmidt) 11 years ago.
mc2.diff (1.0 KB) - added by ryandesign (Ryan Schmidt) 11 years ago.
diff_4.7 (2.3 KB) - added by xeenon@… 11 years ago.
Portfile for mc-4.7
diff_4.2.7 (2.3 KB) - added by xeenon@… 11 years ago.
Portfile for mc-4.7 (working)

Download all attachments as: .zip

Change History (15)

comment:1 Changed 11 years ago by ryandesign (Ryan Schmidt)

4.6.2 does not build.

msgmerge: `az.po': No such file or directory

In the mean time, please use the attached patch to fix the homepage, master_sites, livecheck, and dependencies (to guarantee the use of MacPorts dependencies and not others the user might have installed).

Changed 11 years ago by ryandesign (Ryan Schmidt)

Attachment: mc.diff added

comment:2 Changed 11 years ago by kthenriksson@…

I just checked and Trac will accept URLs like http://www.midnight-commander.org/downloads/mc-4.6.1.tar.gz, so you can replace the download_id bit with a more conventional master_sites entry.

Changed 11 years ago by ryandesign (Ryan Schmidt)

Attachment: mc2.diff added

comment:3 Changed 11 years ago by ryandesign (Ryan Schmidt)

comment:4 Changed 11 years ago by ono@…

Cc: ono@… added

Cc Me!

comment:5 Changed 11 years ago by nerdling (Jeremy Lavergne)

I've committed patch 2 (mc2.diff) in r58602.

comment:6 Changed 11 years ago by nerdling (Jeremy Lavergne)

Cc: snc@… added
Version: 1.8.0

comment:7 Changed 11 years ago by sierkb@…

Cc: sierkb@… added

Cc Me!

comment:9 Changed 11 years ago by xeenon@…

4.7.0 released!

Changed 11 years ago by xeenon@…

Attachment: diff_4.7 added

Portfile for mc-4.7

Changed 11 years ago by xeenon@…

Attachment: diff_4.2.7 added

Portfile for mc-4.7 (working)

comment:10 Changed 11 years ago by xeenon@…

Cc: xeenon@… added

Cc Me!

comment:11 Changed 11 years ago by ryandesign (Ryan Schmidt)

Resolution: fixed
Status: newclosed

In r62161 I updated mc to 4.7.0 using some of your proposed changes and others I made on my own:

  • I did not change the livecheck as you suggested because that would prevent the livecheck from detecting versions newer than 4.7.x. The existing livecheck works fine.
  • I did not change the glib2 dependency as you suggested because this would prevent glib2-devel from being able to satisfy it.
  • I did not add the autoconf213 dependency because mc does not appear to use autoconf.
  • I did not reformat the port as you did because reformatting should be handled separately from functional changes.
  • I switched the distfile to lzma because that's even smaller than bz2.
  • I specified the license as "GPLv2" because that's what we've been doing in other ports.
  • I removed what appear to be unnecessary configure args.
  • I added a dependency on ncursesw in the ncurses variant.
  • I installed the documentation files.
Note: See TracTickets for help on using tickets.