# HG changeset patch # User John Donoghue # Date 1428921623 14400 # Node ID 1778bfc775d29d471b152b35409a74e9247f3277 # Parent abf9c5216a21d6187138c6f917a614d1798c847a Add nurbs package * src/of-nurbs.mk: new file * src/of-nurbs-1-fixes.patch: new file * Makefile.in: add nurbs * index.html: add nurbs package * dist-files.mk: add of-nurbs.mk, of-nurbs-1-fixes.patch diff -r abf9c5216a21 -r 1778bfc775d2 Makefile.in --- a/Makefile.in Sun Apr 12 19:02:40 2015 -0400 +++ b/Makefile.in Mon Apr 13 06:40:23 2015 -0400 @@ -419,7 +419,7 @@ endif OCTAVE_FORGE_BASE_URL := 'http://sourceforge.net/projects/octave/files/Octave Forge Packages/Individual Package Releases' -OCTAVE_FORGE_PACKAGES := $(addprefix of-,miscellaneous struct optim specfun general signal communications image io statistics control geometry windows odepkg linear-algebra sockets zenity actuarial data-smoothing fuzzy-logic-toolkit quaternion fits fl-core tsa dicom netcdf ltfat database instrument-control generate_html) +OCTAVE_FORGE_PACKAGES := $(addprefix of-,miscellaneous struct optim specfun general signal communications image io statistics control geometry windows odepkg linear-algebra sockets zenity actuarial data-smoothing fuzzy-logic-toolkit quaternion fits fl-core tsa dicom netcdf ltfat database instrument-control generate_html nurbs) # get ALL deps for all of- packages, regardless of whethe building the actual forge package in the installer OCTAVE_FORGE_DEPS:= $(sort $(foreach p,$(wildcard $(TOP_DIR)/src/of-*.mk),$(shell $(SED) -n 's/.*_DEPS.*:=\(.*\)/\1/p' $p))) diff -r abf9c5216a21 -r 1778bfc775d2 dist-files.mk --- a/dist-files.mk Sun Apr 12 19:02:40 2015 -0400 +++ b/dist-files.mk Mon Apr 13 06:40:23 2015 -0400 @@ -469,6 +469,8 @@ of-miscellaneous.mk \ of-netcdf-1-cross-fixes.patch \ of-netcdf.mk \ + of-nurbs-1-fixes.patch \ + of-nurbs.mk \ of-odepkg.mk \ of-optim.mk \ of-quaternion.mk \ diff -r abf9c5216a21 -r 1778bfc775d2 index.html --- a/index.html Sun Apr 12 19:02:40 2015 -0400 +++ b/index.html Mon Apr 13 06:40:23 2015 -0400 @@ -1906,6 +1906,10 @@ Octave Forge netcdf package + of-nurbs + Octave Forge nurbs package + + of-odepkg Octave Forge odepkg package diff -r abf9c5216a21 -r 1778bfc775d2 src/of-nurbs-1-fixes.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/of-nurbs-1-fixes.patch Mon Apr 13 06:40:23 2015 -0400 @@ -0,0 +1,21 @@ +diff -ur nurbs.orig/src/nrbsurfderiveval.cc nurbs/src/nrbsurfderiveval.cc +--- nurbs.orig/src/nrbsurfderiveval.cc 2015-04-13 06:35:14.000000000 -0400 ++++ nurbs/src/nrbsurfderiveval.cc 2015-04-13 06:36:26.000000000 -0400 +@@ -120,7 +120,7 @@ + + Array idx(dim_vector (3, 1), idx_vector(':')); + idx (0) = idx_vector (3); +- Matrix weights (NDArray (coefs.index (idx).squeeze ()).matrix_value ()); ++ Matrix weights (NDArray (coefs.index (idx).squeeze ())); + + for (octave_idx_type iu(0); iu