Hello community,

here is the log from the commit of package octave-forge-image for 
openSUSE:Factory checked in at 2018-11-26 10:29:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/octave-forge-image (Old)
 and      /work/SRC/openSUSE:Factory/.octave-forge-image.new.19453 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "octave-forge-image"

Mon Nov 26 10:29:04 2018 rev:6 rq:651313 version:2.8.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/octave-forge-image/octave-forge-image.changes    
2018-07-28 12:40:16.976411992 +0200
+++ 
/work/SRC/openSUSE:Factory/.octave-forge-image.new.19453/octave-forge-image.changes
 2018-11-26 10:29:18.777097879 +0100
@@ -1,0 +2,7 @@
+Wed Nov 21 10:59:46 UTC 2018 - badshah...@gmail.com
+
+- Update to version 2.8.1:
+  * Fix imcrop for non-square images, a regression introduced in
+    version 2.8.0.
+
+-------------------------------------------------------------------

Old:
----
  image-2.8.0.tar.gz

New:
----
  image-2.8.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ octave-forge-image.spec ++++++
--- /var/tmp/diff_new_pack.kaTOO8/_old  2018-11-26 10:29:19.277097292 +0100
+++ /var/tmp/diff_new_pack.kaTOO8/_new  2018-11-26 10:29:19.281097288 +0100
@@ -18,7 +18,7 @@
 
 %define octpkg  image
 Name:           octave-forge-%{octpkg}
-Version:        2.8.0
+Version:        2.8.1
 Release:        0
 Summary:        Image Processing for Octave
 License:        GPL-3.0-or-later AND BSD-2-Clause AND MIT

++++++ image-2.8.0.tar.gz -> image-2.8.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/image-2.8.0/DESCRIPTION new/image-2.8.1/DESCRIPTION
--- old/image-2.8.0/DESCRIPTION 2018-06-19 02:08:42.000000000 +0200
+++ new/image-2.8.1/DESCRIPTION 2018-10-26 17:16:12.201001000 +0200
@@ -1,6 +1,6 @@
 Name: image
-Version: 2.8.0
-Date: 2018-06-19
+Version: 2.8.1
+Date: 2018-10-26
 Author: various authors
 Maintainer: Carnë Draug <carandr...@octave.org>
 Title: Image Processing
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/image-2.8.0/NEWS new/image-2.8.1/NEWS
--- old/image-2.8.0/NEWS        2018-06-19 02:08:42.000000000 +0200
+++ new/image-2.8.1/NEWS        2018-10-26 17:16:12.209001000 +0200
@@ -1,4 +1,13 @@
- Summary of important user-visible changes for image 2.8.0 (2018/06/19):
+ Summary of important user-visible changes for image 2.8.1 (2018/10/26):
+-------------------------------------------------------------------------
+
+ ** image 2.8.1 is a patch release.
+
+ ** Fix imcrop for non-square images.  This a regression introduced in
+    version 2.8.0.
+
+
+Summary of important user-visible changes for image 2.8.0 (2018/06/19):
 -------------------------------------------------------------------------
 
  ** The following functions are new:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/image-2.8.0/inst/imcrop.m 
new/image-2.8.1/inst/imcrop.m
--- old/image-2.8.0/inst/imcrop.m       2018-06-19 02:08:42.000000000 +0200
+++ new/image-2.8.1/inst/imcrop.m       2018-10-26 17:16:12.305001000 +0200
@@ -177,7 +177,7 @@
     rect = [x(1) y(1) x(2)-x(1) y(2)-y(1)];
   endif
   i_ini = max (round ([rect(1) rect(2)]), [1 1]);
-  i_end = min (round ([rect(1)+rect(3) rect(2)+rect(4)]), size (cdata)(1:2));
+  i_end = min (round ([rect(1)+rect(3) rect(2)+rect(4)]), size (cdata)([2 1]));
   img = cdata(i_ini(2):i_end(2), i_ini(1):i_end(1),:,:); # don't forget RGB 
and ND images
 
   ## Even the API for the output is complicated
@@ -252,6 +252,15 @@
 %! assert (imcrop (im, [1 -3 2 5]), im(1:2,1:3))
 %! assert (imcrop (im, [5 -3 2 5]), im(1:2,5))
 
+## out of bounds ROIs with non-square images (bug #54370)
+%!test
+%! im = [1:7] .* [1; 2; 3; 4; 5];
+%! assert (imcrop (im, [1 1 5 5]), im(:,1:6))
+%! assert (imcrop (im, [0 0 5 5]), im(:,1:5))
+%! assert (imcrop (im, [1 1 2 5]), im(:,1:3))
+%! assert (imcrop (im, [1 -3 2 7]), im(1:4,1:3))
+%! assert (imcrop (im, [7 -3 2 7]), im(1:4,7))
+
 %!test
 %! ## Matlab returns [] (size 0x0) for this cases, while we return
 %! ## [] (size 2x0).  We are not compatible by design.  If it ever
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/image-2.8.0/src/aclocal.m4 
new/image-2.8.1/src/aclocal.m4
--- old/image-2.8.0/src/aclocal.m4      2018-06-19 02:09:41.928105108 +0200
+++ new/image-2.8.1/src/aclocal.m4      2018-10-26 17:16:13.145001000 +0200
@@ -1,6 +1,6 @@
-# generated automatically by aclocal 1.15.1 -*- Autoconf -*-
+# generated automatically by aclocal 1.15 -*- Autoconf -*-
 
-# Copyright (C) 1996-2017 Free Software Foundation, Inc.
+# Copyright (C) 1996-2014 Free Software Foundation, Inc.
 
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/image-2.8.0/src/configure 
new/image-2.8.1/src/configure
--- old/image-2.8.0/src/configure       2018-06-19 02:09:42.072098215 +0200
+++ new/image-2.8.1/src/configure       2018-10-26 17:16:13.509001000 +0200
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for Octave-Forge image package 2.8.0.
+# Generated by GNU Autoconf 2.69 for Octave-Forge image package 2.8.1.
 #
 #
 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
@@ -577,8 +577,8 @@
 # Identity of this package.
 PACKAGE_NAME='Octave-Forge image package'
 PACKAGE_TARNAME='octave-forge-image-package'
-PACKAGE_VERSION='2.8.0'
-PACKAGE_STRING='Octave-Forge image package 2.8.0'
+PACKAGE_VERSION='2.8.1'
+PACKAGE_STRING='Octave-Forge image package 2.8.1'
 PACKAGE_BUGREPORT=''
 PACKAGE_URL=''
 
@@ -1198,7 +1198,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures Octave-Forge image package 2.8.0 to adapt to many 
kinds of systems.
+\`configure' configures Octave-Forge image package 2.8.1 to adapt to many 
kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1261,7 +1261,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of Octave-Forge image package 
2.8.0:";;
+     short | recursive ) echo "Configuration of Octave-Forge image package 
2.8.1:";;
    esac
   cat <<\_ACEOF
 
@@ -1340,7 +1340,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-Octave-Forge image package configure 2.8.0
+Octave-Forge image package configure 2.8.1
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1395,7 +1395,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by Octave-Forge image package $as_me 2.8.0, which was
+It was created by Octave-Forge image package $as_me 2.8.1, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -3570,7 +3570,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by Octave-Forge image package $as_me 2.8.0, which was
+This file was extended by Octave-Forge image package $as_me 2.8.1, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -3632,7 +3632,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-Octave-Forge image package config.status 2.8.0
+Octave-Forge image package config.status 2.8.1
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/image-2.8.0/src/configure.ac 
new/image-2.8.1/src/configure.ac
--- old/image-2.8.0/src/configure.ac    2018-06-19 02:08:42.000000000 +0200
+++ new/image-2.8.1/src/configure.ac    2018-10-26 17:16:12.497001000 +0200
@@ -1,5 +1,5 @@
 AC_PREREQ([2.67])
-AC_INIT([Octave-Forge image package], [2.8.0])
+AC_INIT([Octave-Forge image package], [2.8.1])
 
 AC_CONFIG_HEADERS([config.h])
 


Reply via email to