[MacPorts] #57581: missing dependencies for tkx-ed and tkx-prove

MacPorts noreply at macports.org
Mon Nov 12 02:35:14 UTC 2018


#57581: missing dependencies for tkx-ed and tkx-prove
--------------------------+--------------------
 Reporter:  chrstphrchvz  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:
 Keywords:                |       Port:  p5-tkx
--------------------------+--------------------
 p5.xx-tkx currently installs two demo scripts as binaries, `tkx-ed-5.xx`
 (simple text editor) and `tkx-prove-5.xx` (GUI for running tests). However
 p5.xx-tkx does not require some dependencies used by those scripts.

 `tkx-ed` (simple text editor):
 * requires BWidget (available in MacPorts)
 * throws a warning if it can't find tclCarbonProcesses (from [https://wiki
 .tcl-lang.org/page/CarbonCritLib CarbonCritLib]; not in MacPorts, no
 longer developed/available?). This is only used to "Set the process name
 that is displayed in the Activity Monitor and the Force Quit dialog" (the
 default will be `perl5.xx`). Unless a different approach without
 tclCarbonProcess can be used, I think this can be ignored or suppressed by
 a patch.

 `tkx-prove` (GUI for running tests):
 * requires [https://metacpan.org/pod/Test::Harness::Straps
 Test::Harness::Straps], which is obsolete and not in MacPorts; probably it
 would be better if the script used a replacement module instead. Given
 that the tests it runs (`t/*.t` from distribution) aren't installed by
 MacPorts, this script can probably be removed.

 For now, I'm inclined to open a PR that removes `tkx-prove` and adds
 BWidget as a dependency so that `tkx-ed` is usable, if it would be useful
 to have as a readily available demo. Or, is some other solution more
 desirable, e.g. removing `tkx-ed` as well?

-- 
Ticket URL: <https://trac.macports.org/ticket/57581>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list