From 0966b81bb56071cfcfd48637407c05d932a48e30 Mon Sep 17 00:00:00 2001 From: Max Brazhnikov Date: Sun, 17 Oct 2010 16:33:00 +0000 Subject: - Update to 0.1.11 for scilab-5.x - Mark IGNORE: touches ${LOCALBASE}/share/scilab when building under superuser --- math/scilab-toolbox-swt/files/patch-builder.sce | 17 +++++++++++++++++ math/scilab-toolbox-swt/files/patch-etc__swt.start | 18 ++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 math/scilab-toolbox-swt/files/patch-builder.sce create mode 100644 math/scilab-toolbox-swt/files/patch-etc__swt.start (limited to 'math/scilab-toolbox-swt/files') diff --git a/math/scilab-toolbox-swt/files/patch-builder.sce b/math/scilab-toolbox-swt/files/patch-builder.sce new file mode 100644 index 000000000000..3461826356e3 --- /dev/null +++ b/math/scilab-toolbox-swt/files/patch-builder.sce @@ -0,0 +1,17 @@ +--- ./builder.sce.orig 2010-06-30 18:31:36.000000000 +0400 ++++ ./builder.sce 2010-07-10 20:13:24.901709864 +0400 +@@ -33,7 +33,7 @@ + tbx_builder_macros(toolbox_dir); + //tbx_builder_src(toolbox_dir); + tbx_builder_gateway(toolbox_dir); +-tbx_builder_help(toolbox_dir); ++// tbx_builder_help(toolbox_dir); + tbx_build_loader(TOOLBOX_NAME, toolbox_dir); + tbx_build_cleaner(TOOLBOX_NAME, toolbox_dir); + +@@ -41,3 +41,5 @@ + // ============================================================================= + + clear toolbox_dir TOOLBOX_NAME TOOLBOX_TITLE; ++ ++quit diff --git a/math/scilab-toolbox-swt/files/patch-etc__swt.start b/math/scilab-toolbox-swt/files/patch-etc__swt.start new file mode 100644 index 000000000000..4b9e07f0262d --- /dev/null +++ b/math/scilab-toolbox-swt/files/patch-etc__swt.start @@ -0,0 +1,18 @@ +--- ./etc/swt.start.orig 2010-08-30 12:52:10.000000000 +0400 ++++ ./etc/swt.start 2010-10-17 16:02:57.850107854 +0400 +@@ -34,15 +34,6 @@ + + // Load and add help chapter + // ============================================================================= +-if or(getscilabmode() == ["NW";"STD"]) then +- mprintf("\tLoad help\n"); +- path_addchapter = pathconvert(root_tlbx+"/jar"); +- if ( isdir(path_addchapter) <> [] ) then +- add_help_chapter("swt", path_addchapter, %F); +- clear add_help_chapter; +- end +- clear path_addchapter; +-end + + + clear root_tlbx; -- cgit v1.2.3