-
Notifications
You must be signed in to change notification settings - Fork 17
/
tki.patch
executable file
·110 lines (91 loc) · 1.97 KB
/
tki.patch
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
105
106
107
108
109
#!/bin/sh
if [ ".$1" = "." ]
then
echo "Usage $0 TKI_VERSION"
exit 1
fi
TKI_VERSION="$1"
TKI_DLL_VERSION="`echo $TKI_VERSION | sed 's/\.//g'`"
set -x
ed -s ./tkined/unix/configure.in << !
/TKI_VERSION=1.6.0/s/=.*/=$TKI_VERSION/
w
q
!
ed -s ./tkined/configure.ac << !
/AC_INIT(\[Tkined],/s/ \[[0-9.+]/ [$TKI_VERSION]/
/TKI_VERSION=1.6.0/s/=.*/=$TKI_VERSION/
w
q
!
ed -s ./tkined/library/Objects.tcl << !
/package provide TkinedObjects/s/.*/package provide TkinedObjects $TKI_VERSION/
w
q
!
ed -s ./tkined/library/Editor.tcl << !
/package provide TkinedEditor /s/.*/package provide TkinedEditor $TKI_VERSION/
w
q
!
ed -s ./tkined/library/Command.tcl << !
/package provide TkinedCommand /s/.*/package provide TkinedCommand $TKI_VERSION/
w
q
!
ed -s ./tkined/library/Help.tcl << !
/package provide TkinedHelp /s/.*/package provide TkinedHelp $TKI_VERSION/
w
q
!
ed -s ./tkined/library/Misc.tcl << !
/package provide TkinedMisc /s/.*/package provide TkinedMisc $TKI_VERSION/
w
q
!
ed -s ./tkined/library/Tool.tcl << !
/package provide TkinedTool /s/.*/package provide TkinedTool $TKI_VERSION/
w
q
!
ed -s ./tkined/library/Dialog.tcl << !
/package provide TkinedDialog /s/.*/package provide TkinedDialog $TKI_VERSION/
w
q
!
ed -s ./tkined/library/Diagram.tcl << !
/package provide TkinedDiagram /s/.*/package provide TkinedDiagram $TKI_VERSION/
w
q
!
ed -s ./tkined/library/Event.tcl << !
/package provide TkinedEvent /s/.*/package provide TkinedEvent $TKI_VERSION/
w
q
!
ed -s ./tkined/win/makefile << !
/TKI_VERSION =/s/.*/TKI_VERSION = $TKI_VERSION/
w
q
!
ed -s ./tnm/configure.ac << !
/TKI_VERSION=/s/.*/TKI_VERSION=$TKI_VERSION/
w
q
!
ed -s ./tnm/generic/tnm.h << !
/#define TKI_VERSION/s/.*/#define TKI_VERSION "$TKI_VERSION"/
w
q
!
ed -s ./tnm/win/makefile << !
/TKI_VERSION =/s/.*/TKI_VERSION = $TKI_VERSION/
/TKI_DLL_VERSION =/s/.*/TKI_DLL_VERSION = $TKI_DLL_VERSION/
w
q
!
ed -s ./tnm/win/tnmWinPort.h << !
/#define TKINEDLIB /s/.*/#define TKINEDLIB "c:/tcl/lib/tkined$TKI_VERSION"
w
q
!