updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / tpad / tpad-1.3.patch
blob9a295f23ba4d58df0441f40b046bd41311c93f9e
1 diff -Nru tpad.orig/bin/tpad tpad/bin/tpad
2 --- tpad.orig/bin/tpad 2008-11-19 14:43:56.000000000 +0100
3 +++ tpad/bin/tpad 2008-11-19 14:45:59.000000000 +0100
4 @@ -2,7 +2,7 @@
5 # restart using wish
6 # please alter the name and/or path of
7 # the wish shell below, if it doesn't work \
8 -exec wish8.4 "$0" "$@"
9 +exec wish "$0" "$@"
11 package require -exact tpad 1.3
12 namespace import ::tpad::*
13 diff -Nru tpad.orig/etc/tpad.conf tpad/etc/tpad.conf
14 --- tpad.orig/etc/tpad.conf 2004-08-31 18:18:26.000000000 +0200
15 +++ tpad/etc/tpad.conf 2005-12-21 16:58:33.000000000 +0100
16 @@ -74,10 +74,10 @@
17 variable maxundo 1 ;# maximum number of compound undo actions
19 # command to run an external browser to read the HTML help
20 -variable browsercmd mozilla
21 +variable browsercmd firefox
23 # path to where the HTML documentation lives
24 -variable helpath {/usr/local/share/doc/tpad}
25 +variable helpath {http://tclpad.sourceforge.net/docs}
27 # initial placing of non-modal dialogs ({},pointer,widget,none)
28 variable placing widget
29 @@ -88,10 +88,11 @@
30 # file where the "open recent" list is saved ({} for non-permanent list)
31 variable openrecfile {~/.tpad_history}
33 -variable fmtkind BSD ;# kind of fmt(1) (GNU, BSD, none)
34 +variable fmtkind GNU ;# kind of fmt(1) (GNU, BSD, none)
35 variable fmt {fmt} ;# fmt(1) path (ignored if fmtkind is none)
37 -variable xmlwf {xmlwf} ;# xmlwf(1) path (empty if you don't have it)
38 +# please install lib/expat before enabling the xmlwf plugin
39 +variable xmlwf {} ;# xmlwf(1) path (empty if you don't have it)
41 # note that you will also need to install Tcllib for this plugin to work
42 variable tidy {} ;# tidy(1) path (empty if you don't have it)
43 @@ -101,12 +102,13 @@
44 variable fortune {fortune}
46 # display fortune tip at startup (no, yes); ignored if fortune is empty
47 -variable tip yes
48 +# please install extra/games/fortune-mod before enabling tips
49 +variable tip no
51 # you will need to change this only if you move or rename the fortune
52 # database file and its index (which has the added extension .dat)
53 # ignored if fortune is empty
54 -variable fortunefile {/usr/local/share/tpad/tpad-tips}
55 +variable fortunefile {/usr/share/tpad/tpad-tips}
57 set tk_strictMotif 0 ;# strict Motif compliance (0, 1)
58 ## end of static vars or constants initialization
59 diff -Nru tpad.orig/lib/tpad1.3/tpad.tcl tpad/lib/tpad1.3/tpad.tcl
60 --- tpad.orig/lib/tpad1.3/tpad.tcl 2004-08-31 18:18:26.000000000 +0200
61 +++ tpad/lib/tpad1.3/tpad.tcl 2005-12-21 16:58:47.000000000 +0100
62 @@ -50,7 +50,7 @@
64 ## private commands
65 proc ::tpad::LoadConf {} {
66 - set global /usr/local/etc/tpad.conf
67 + set global /etc/tpad.conf
69 set peruser ~/.tpadrc
71 diff -Nru tpad.orig/man/man1/tpad.1 tpad/man/man1/tpad.1
72 --- tpad.orig/man/man1/tpad.1 2004-08-31 18:18:26.000000000 +0200
73 +++ tpad/man/man1/tpad.1 2005-12-21 16:59:41.000000000 +0100
74 @@ -26,10 +26,10 @@
75 to get the default host and display number.
76 .SH FILES
77 .TP
78 -.B /usr/local/bin/tpad
79 +.B /usr/bin/tpad
80 The executable, a wish(1) shell script.
81 .TP
82 -.B /usr/local/etc/tpad.conf
83 +.B /etc/tpad.conf
84 Default global configuration file.
85 .TP
86 .B ~/.tpadrc
87 @@ -40,7 +40,7 @@
88 .SH SEE ALSO
89 wish(1), text(n), vi(1),
90 .br
91 -Detailed HTML documentation \fB/usr/local/share/doc/tpad/index.html\fR,
92 +Detailed HTML documentation <\fIhttp://tclpad.sourceforge.net/docs\fR>,
93 .br
94 tpad web site <\fIhttp://monitor.deis.unical.it/ant/tpad\fR>
95 .SH AUTHOR