New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #21218 (closed update: fixed)

Opened 4 years ago

Last modified 3 years ago

mc: update version, homepage, master_sites, livecheck

Reported by: ryandesign@… Owned by: waqar@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: ono@…, snc@…, 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

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

Change History

comment:1 Changed 4 years ago by ryandesign@…

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 4 years ago by ryandesign@…

comment:2 Changed 4 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 4 years ago by ryandesign@…

comment:3 Changed 4 years ago by ryandesign@…

comment:4 Changed 4 years ago by ono@…

  • Cc ono@… added

Cc Me!

comment:5 Changed 4 years ago by snc@…

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

comment:6 Changed 4 years ago by snc@…

  • Cc snc@… added
  • Version 1.8.0 deleted

comment:7 Changed 3 years ago by sierkb@…

  • Cc sierkb@… added

Cc Me!

comment:9 Changed 3 years ago by xeenon@…

4.7.0 released!

Changed 3 years ago by xeenon@…

Portfile for mc-4.7

Changed 3 years ago by xeenon@…

Portfile for mc-4.7 (working)

comment:10 Changed 3 years ago by xeenon@…

  • Cc xeenon@… added

Cc Me!

comment:11 Changed 3 years ago by ryandesign@…

  • Status changed from new to closed
  • Resolution set to fixed

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.