File: README.vxl

package info (click to toggle)
insighttoolkit 3.18.0-5
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 110,432 kB
  • ctags: 74,559
  • sloc: cpp: 412,627; ansic: 196,210; fortran: 28,000; python: 3,852; tcl: 2,005; sh: 1,186; java: 583; makefile: 458; csh: 220; perl: 193; xml: 20
file content (104 lines) | stat: -rw-r--r-- 3,928 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
The vxl subdirectory contains a portion of the vxl project from

  http://vxl.sourceforge.net

The vxl-upstream branch in the vxl subdirectory contains the latest
version of vxl that has been copied into ITK.  Sticky tags on the
branch mark versions that have been merged into the ITK trunk.

MOST RECENTLY MERGED TAG: vxl-upstream-2007-11-09

See below for instructions to upgrade the vxl version.

------------------------------------------------------------------------------
In order to upgrade the vxl version contained follow the steps below.
Make sure other developers know to not change the Utilities/vxl
directory during this process.

1.) Create a checkout of ITK and make sure there are no modified
    files.

2.) Move your checkout to the "vxl-upstream" branch:

  cd /path/to/Insight/Utilities/vxl
  cvs update -dAP -r vxl-upstream

3.) Checkout the desired vxl version in another directory.
    For this example we use 2007-11-09 because that is the date
    on which this README was written.
    Create a tarball containing the needed portion:

  cd /path/to/upstream/  # the export command below will create a "vxl" subdir
  cvs -d:ext:USERNAME@vxl.cvs.sourceforge.net:/cvsroot/vxl \
     export -kv "-D2007-11-09 11:00" \
     vxl/CMakeLists.txt vxl/v3p/CMakeLists.txt vxl/v3p/netlib vxl/vcl \
     vxl/config/cmake vxl/core/vnl vxl/core/vxl_config.h.in \
     vxl/core/vxl_copyright.h vxl/core/vxl_version.h \
     vxl/core/CMakeLists.txt vxl/core/testlib
     
    References below to /path/to/upstream/vxl refer to the vxl subdir that was
    created by the export command.

4.) Copy the exported directory into the vxl subdirectory in Insight/Utilities:

  cd /path/to/Insight/Utilities/vxl
  cp -pr /path/to/upstream/vxl .

5.) Use diff to make sure the directories are the same.  If there are
    any files reported as "Only in ./something" they should be removed
    with "rm ./something" followed by "cvs rm ./something".

  cd /path/to/Insight/Utilities/vxl
  diff -r -x CVS . /path/to/upstream/vxl

6.) Use "cvs -nq up" to identify files and directories that have
    been added.  Use "cvs add" and "cvs rm" to prepare all the
    changes for checkin.

7.) Commit the changes to the vxl-upstream branch.

  cd /path/to/Insight/Utilities/vxl
  cvs commit -m "ENH: Updating vxl-upstream branch to 2007-11-09 vxl version."

8.) Create a sticky tag on the branch to mark the vxl upstream version:

  cd /path/to/Insight/Utilities/vxl
  cvs tag vxl-upstream-2007-11-09

9.) Move your checkout back to the trunk of ITK:

  cd /path/to/Insight/Utilities/vxl
  cvs update -dAP

10.) Create a sticky tag on the trunk to mark the state before the vxl
     upgrade.  Note this tag should appear on the entire ITK tree:

  cd /path/to/Insight
  cvs tag ITK-vxl-2007-11-09-merge-pre

11.) Merge changes from the vxl-upstream branch from between the last
     merge and the new version.  In this example the previous merge
     pulled changes up through the vxl-upstream-1-2-0 tag onto the trunk.
     Our new tag is vxl-upstream-2006-07-20.  See the top of this file
     or the cvs log of Insight/Utilities/vxl/core/vxl_version.h to identify
     the most recent version that has been merged.

  cd /path/to/Insight/Utilities/vxl
  cvs update -d -j vxl-upstream-2006-07-20 -j vxl-upstream-2007-11-09

12.) Manually resolve conflicts and test building ITK.  THIS STEP CONTAINS
     THE MAJORITY OF THE WORK IN MANUALLY EDITING VXL SOURCES FOR ITK.
     Once everything builds and the tests pass it is safe to move on.

13.) Commit all changes to the entire ITK tree:

  cd /path/to/Insight
  cvs commit -m "ENH: Merging changes from vxl-upstream-2006-07-20 to vxl-upstream-2007-11-09"

14.) Create a sticky tag on the trunk to mark the state after the vxl
     upgrade.  Note this tag should appear on the entire ITK tree:

  cd /path/to/Insight
  cvs tag ITK-vxl-2007-11-09-merge-post

15.) Watch the dashboard!