octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #57083] pkg list affected by mixup of 8.3 and


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #57083] pkg list affected by mixup of 8.3 and LFN path names
Date: Sat, 26 Oct 2019 14:04:14 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.4

Follow-up Comment #18, bug #57083 (project octave):

I got my idea to work beautifully now for an existing Window installation.
I just added this private function:

## <texinfo>
function pkg_list = fixup_paths (pkg_list)

  for ii=1:numel (pkg_list)
    pkg_list{ii}.dir = canonicalize_file_name (pkg_list{ii}.dir);
    pkg_list{ii}.archprefix = canonicalize_file_name
(pkg_list{ii}.archprefix);
  endfor

endfunction


and added calls to it in pkg.m (rebuild clause in switch), install.m and
uninstall.m.

Next:
- testing on linux
- testing installation of a crossbuild. That doesn't need all that build time,
I know a few tricks :-) (Besides I can run the mxe "installation" in
mxe-octave/dist/ on Linux directly from Windows.

I looked at dir_in_loadpath but that isn't going to work for installing /
uninstalling packages (the 2nd part of this extended bug report).

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57083>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]