help-octave
[Top][All Lists]
Advanced

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

Re: Update to Octave 4.0 for Windows


From: Tatsuro MATSUOKA
Subject: Re: Update to Octave 4.0 for Windows
Date: Fri, 14 Aug 2015 09:51:02 +0900 (JST)

----- Original Message -----

> From: ijourneaux 
> To: help-octave
> Cc: 
> Date: 2015/8/13, Thu 21:58
> Subject: Re: Update to Octave 4.0 for Windows
> 
> I have not had a chance to try
> 
> bug #45565: Using imwrite to write an 8-bit image to BMP creates a 24-bit
> image <https://savannah.gnu.org/bugs/?func=detailitem&item_id=45565
> 
> It looks like this includes changes to both the Image package and to the
> Octave source __magick_read__.cc
> 

----- Forwarded Message -----

> From: ijourneaux 
> To: help-octave
> Cc: 
> Date: 2015/8/13, Thu 21:58
> Subject: Re: Update to Octave 4.0 for Windows
> 
> I have not had a chance to try
> 
> bug #45565: Using imwrite to write an 8-bit image to BMP creates a 24-bit
> image <https://savannah.gnu.org/bugs/?func=detailitem&item_id=45565>  
> 
> It looks like this includes changes to both the Image package and to the
> Octave source __magick_read__.cc
> --enable-octave=default)
I looked at the Carne's patch
http://hg.savannah.gnu.org/hgweb/octave/rev/5b8e4f668c53


This seems to modify only octave core but not image package.
libinterp/dldfcn/__magick_read__.cc, scripts/image/imwrite.m, 
and scripts/image/private/__imwrite__.m


(imwrite.m and __imwrite__.m scripts belong to octave-core but not the image 
package.)

The patch is only attached to the default branch (development) 
but not to stable branch.

The mxe-octave will build the stable branch source if an option is not 
specified.

If you configure the mxe-octave with "--enable-octave=default", 
the default branch source will be built and you need modify nothing for source
and built octave is development one (current 4.1.0+).

The below is under test (Now I'm trying to build mxe-octave with below change):
*********************************************
Without "--enable-octave=default", you should modify 
src/octave-1-fixes.patch in mxe-octave 
directorymxe-octave/src/octave-1-fixes.patch.

Please add
http://hg.savannah.gnu.org/hgweb/octave/raw-rev/5b8e4f668c53


( After 
diff --git a/libinterp/dldfcn/__magick_read__.cc 
b/libinterp/dldfcn/__magick_read__.cc
)
to mxe-octave/src/octave-1-fixes.patch
*********************************************


Tatsuro



reply via email to

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