![]() ![]() I think prebuilt packages in such installations are installed in OCTAVE_HOME anyway so prefixes would seem to be less relevant at first sight.īut to make the patch more general I think I'll make the pkg paths relative to the prefix and archprefix. This feature request is about relocating unzipped mxe-octave installations. See for example:Ī = C:\Programs\Octave\OCTAVE~1.0_2\mingw64\share\octave\packagesī = C:\Programs\Octave\OCTAVE~1.0_2\mingw64\lib\octave\packagesĪns = C:\Programs\Octave\OCTAVE~1.0_2\mingw64 The 8.3 style file names are deep in the mxe-octave installer. I'm afraid no call to canonicalize-file-name can be dropped. (Returning after a few 8.3 vs LFN path names comment #41: "pkg rebuild" to actually create the octave-packages file. "pkg global_list" to specify where the octave_packages file needs to be created (/dist/octave/mingw64/share/octave)ģ. "pkg prefix" and "pkg archprefix" pointing to the octave installation in /dist/octave/mingw64Ģ. ![]() One way would be to have a local Octave installation on the build system (Linux) and use that with a script to generate the octave_packages file, along the lines of:ġ. I think the patches here are ready to be applied.Ī related question is how to get an octave_packages file in mxe-octave. Later on I'll come up with a fix that builds on top of the ones here. I've been busy with replacing the prefix/archprefix parts as well but that is a bit more complicated. The fix here (replacing just the OCTAVE_HOME parts) will work for the vast majority of the Octave installations. \OCTAVE~1.0\mingw64\share\octave\packages\database-2.4.3Ĭommunications | 1.2.1 | \share\octave\packages\communications-1.2.1Ĭontrol *| 3.2.0 | \share\octave\packages\control-3.2.0ĭata-smoothing | 1.3.0 | \share\octave\packages\data-smoothing-1.3.0 Package Name | Version | Installation directory The other cset (bug_51632_list_global_OCTAVE_HOME.cset) is for cosmetics, it replaces the OCTAVE_HOME part of package installation files with when running "pkg list", and is independent of the first cset. This fix make Octave completely relocatable I tried on Windows, but AFAICS it should also work on Linux. when reading the octave_packages file it replaces "_OH_" with the then current OCTAVE_HOME contents. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |