annotate src/of-ocs-4-pkgadd-fixes.patch @ 5534:372ea4c0afb2

Move of-ocs PKG_XXXX to inst dir and add break patch * src/of-ocs-3-break-fixes.patch, src/of-ocs-4-pkgadd-fixes.patch: new files * dist-files.mk: add ref to files
author John Donoghue <john.donoghue@ieee.org>
date Sun, 13 Sep 2020 08:15:14 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5534
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
1 diff -urN ocs.orig/inst/PKG_ADD ocs/inst/PKG_ADD
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
2 --- ocs.orig/inst/PKG_ADD 1969-12-31 19:00:00.000000000 -0500
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
3 +++ ocs/inst/PKG_ADD 2020-09-13 08:06:36.699521609 -0400
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
4 @@ -0,0 +1,18 @@
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
5 +dirlist = {"utl", "asm", "tst", "nls", "prs", "sbn"};
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
6 +dirname = fileparts (canonicalize_file_name (mfilename ("fullpath")));
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
7 +
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
8 +if (! exist (fullfile (dirname, "inst"), "dir"))
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
9 + ## Run this if the package is installed
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
10 + for ii=1:length (dirlist)
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
11 + addpath (fullfile (dirname, dirlist{ii}), "-end")
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
12 + endfor
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
13 +else
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
14 + ## Run this if we are testing the package without installation
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
15 + for ii=1:length(dirlist)
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
16 + addpath (fullfile (dirname, "inst", dirlist{ii}))
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
17 + addpath (fullfile (dirname, "src"))
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
18 + endfor
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
19 +endif
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
20 +
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
21 +warning ("off", "Octave:fopen-file-in-path");
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
22 +clear dirlist dirname
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
23 diff -urN ocs.orig/inst/PKG_DEL ocs/inst/PKG_DEL
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
24 --- ocs.orig/inst/PKG_DEL 1969-12-31 19:00:00.000000000 -0500
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
25 +++ ocs/inst/PKG_DEL 2020-09-13 08:06:53.439465439 -0400
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
26 @@ -0,0 +1,17 @@
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
27 +dirlist = {"utl", "asm", "tst", "nls", "prs", "sbn"};
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
28 +dirname = fileparts (canonicalize_file_name (mfilename ("fullpath")));
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
29 +
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
30 +if (! exist (fullfile (dirname, "inst"), "dir"))
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
31 + ## Run this if the package is installed
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
32 + for ii=1:length (dirlist)
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
33 + rmpath (fullfile (dirname, dirlist{ii}))
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
34 + endfor
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
35 +else
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
36 + ## Run this if we are testing the package without installation
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
37 + for ii=1:length (dirlist)
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
38 + rmpath (fullfile (dirname, "inst", dirlist{ii}))
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
39 + endfor
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
40 + rmpath (fullfile (dirname, "src"))
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
41 +endif
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
42 +
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
43 +clear dirlist dirname
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
44 diff -urN ocs.orig/PKG_ADD ocs/PKG_ADD
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
45 --- ocs.orig/PKG_ADD 2020-09-13 07:58:33.528279580 -0400
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
46 +++ ocs/PKG_ADD 1969-12-31 19:00:00.000000000 -0500
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
47 @@ -1,18 +0,0 @@
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
48 -dirlist = {"utl", "asm", "tst", "nls", "prs", "sbn"};
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
49 -dirname = fileparts (canonicalize_file_name (mfilename ("fullpath")));
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
50 -
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
51 -if (! exist (fullfile (dirname, "inst"), "dir"))
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
52 - ## Run this if the package is installed
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
53 - for ii=1:length (dirlist)
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
54 - addpath (fullfile (dirname, "..", dirlist{ii}), "-end")
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
55 - endfor
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
56 -else
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
57 - ## Run this if we are testing the package without installation
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
58 - for ii=1:length(dirlist)
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
59 - addpath (fullfile (dirname, "inst", dirlist{ii}))
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
60 - addpath (fullfile (dirname, "src"))
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
61 - endfor
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
62 -endif
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
63 -
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
64 -warning ("off", "Octave:fopen-file-in-path");
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
65 -clear dirlist dirname
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
66 diff -urN ocs.orig/PKG_DEL ocs/PKG_DEL
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
67 --- ocs.orig/PKG_DEL 2020-09-13 07:58:33.528279580 -0400
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
68 +++ ocs/PKG_DEL 1969-12-31 19:00:00.000000000 -0500
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
69 @@ -1,17 +0,0 @@
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
70 -dirlist = {"utl", "asm", "tst", "nls", "prs", "sbn"};
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
71 -dirname = fileparts (canonicalize_file_name (mfilename ("fullpath")));
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
72 -
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
73 -if (! exist (fullfile (dirname, "inst"), "dir"))
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
74 - ## Run this if the package is installed
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
75 - for ii=1:length (dirlist)
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
76 - rmpath (fullfile (dirname, "..", dirlist{ii}))
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
77 - endfor
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
78 -else
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
79 - ## Run this if we are testing the package without installation
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
80 - for ii=1:length (dirlist)
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
81 - rmpath (fullfile (dirname, "inst", dirlist{ii}))
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
82 - endfor
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
83 - rmpath (fullfile (dirname, "src"))
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
84 -endif
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
85 -
372ea4c0afb2 Move of-ocs PKG_XXXX to inst dir and add break patch
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
86 -clear dirlist dirname