Windows Installer: Difference between revisions

command: sudo apt build-dep octave added, line with "make dist-lzip DIST_IGNORE_HG_STATE=1" modified, Stefan Pofahl
(command: sudo apt build-dep octave added, line with "make dist-lzip DIST_IGNORE_HG_STATE=1" modified, Stefan Pofahl)
Line 74: Line 74:
===Build installers for Octave development versions===
===Build installers for Octave development versions===


# Make sure that you have an enabled entry for '''"deb-src"''' in your '''"sources.list"''', it should contain something like '''"deb-src http://..."'''  (for Ubuntu Focal / 20.04 this could be: '''"deb-src http://in.archive.ubuntu.com/ubuntu focal universe"''' or a different country domain like '''"at."''' for Austria), this is a prerequisite for the next step
# Install necessary packages with the following command <code>sudo apt build-dep octave</code>
# Build the "stable" or "default" Octave development branch on Linux (in separate source and build trees) including your favorite modifications and patches.  Octave must be configured with Java support.  How to do this depends on your Linux distribution, see [[Octave for GNU/Linux]].
# Build the "stable" or "default" Octave development branch on Linux (in separate source and build trees) including your favorite modifications and patches.  Octave must be configured with Java support.  How to do this depends on your Linux distribution, see [[Octave for GNU/Linux]].
# Verify that Octave runs fine in Linux (for example using <code>make check</code> and by trying to run your build <code>./run-octave --gui</code>).
# Verify that Octave runs fine in Linux (for example using <code>make check</code> and by trying to run your build <code>./run-octave --gui</code>).
# Create a distribution archive called '''"octave-<version>.tar.lz"''' in the top build directory with <code>make dist-lzip DIST_IGNORE_HG_STATE=1</code>.
# Create a distribution archive called '''"octave-<version>.tar.lz"''' in the top build directory with <code>make dist-lzip DIST_IGNORE_HG_STATE=1</code>, if this does not work, because the necessary rule is missing you could try <code>make dist DIST_IGNORE_HG_STATE=1</code>.
# Move or copy '''"octave-<version>.tar.lz"''' to the {{Path|<mxe-octave build>/pkg}} folder (or create a symbolic link to it).
# Move or copy '''"octave-<version>.tar.lz"''' to the {{Path|<mxe-octave build>/pkg}} folder (or create a symbolic link to it).
# Follow the [[#General steps|general steps]] and ensure the configuration with either of <code>--enable-octave=stable</code> or <code>--enable-octave=default</code>.
# Follow the [[#General steps|general steps]] and ensure the configuration with either of <code>--enable-octave=stable</code> or <code>--enable-octave=default</code>.
Anonymous user