1 |
radhermit 11/02/01 11:11:36 |
2 |
|
3 |
Added: vittk-1.1.1-makefile.patch |
4 |
vittk-1.1.1-configure.patch vittk-1.1.1-dirs.patch |
5 |
Log: |
6 |
Initial import. |
7 |
|
8 |
(Portage version: 2.2.0_alpha19/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.1 app-misc/vittk/files/vittk-1.1.1-makefile.patch |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/vittk/files/vittk-1.1.1-makefile.patch?rev=1.1&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/vittk/files/vittk-1.1.1-makefile.patch?rev=1.1&content-type=text/plain |
15 |
|
16 |
Index: vittk-1.1.1-makefile.patch |
17 |
=================================================================== |
18 |
--- vittk-1.1.1/Makefile.in.orig |
19 |
+++ vittk-1.1.1/Makefile.in |
20 |
@@ -4,44 +4,44 @@ |
21 |
|
22 |
INSTALL = ./install-sh |
23 |
|
24 |
-.PHONY: usage insall autoconf release push dogfood |
25 |
+.PHONY: usage install autoconf release push dogfood |
26 |
|
27 |
usage: |
28 |
@echo "usage: make install" |
29 |
|
30 |
install: |
31 |
- @if [ ! -d @prefix@/bin ]; then \ |
32 |
- echo mkdir -p @prefix@/bin ; \ |
33 |
- mkdir -p @prefix@/bin ; \ |
34 |
+ @if [ ! -d $(DESTDIR)@prefix@/bin ]; then \ |
35 |
+ echo mkdir -p $(DESTDIR)@prefix@/bin ; \ |
36 |
+ mkdir -p $(DESTDIR)@prefix@/bin ; \ |
37 |
fi |
38 |
- @if [ ! -d @prefix@/share/doc/vittk ]; then \ |
39 |
- echo mkdir -p @prefix@/share/doc/vittk ; \ |
40 |
- mkdir -p @prefix@/share/doc/vittk ; \ |
41 |
+ @if [ ! -d $(DESTDIR)@docdir@ ]; then \ |
42 |
+ echo mkdir -p $(DESTDIR)@docdir@ ; \ |
43 |
+ mkdir -p $(DESTDIR)@docdir@ ; \ |
44 |
fi |
45 |
- @echo installing documentation in @prefix@/share/doc/vittk |
46 |
- @$(INSTALL) -c -m 644 Caveats @prefix@/share/doc/vittk/Caveats |
47 |
- @$(INSTALL) -c -m 644 Fonts @prefix@/share/doc/vittk/Fonts |
48 |
- @$(INSTALL) -c -m 644 README @prefix@/share/doc/vittk/README |
49 |
- @$(INSTALL) -c -m 644 Tutorial @prefix@/share/doc/vittk/Tutorial |
50 |
- @$(INSTALL) -c -m 644 WhatsNew @prefix@/share/doc/vittk/WhatsNew |
51 |
- @echo installing man page in @prefix@/man/man1 |
52 |
- @if [ ! -d @prefix@/man/man1 ]; then \ |
53 |
- echo mkdir -p @prefix@/man/man1 ; \ |
54 |
- mkdir -p @prefix@/man/man1 ; \ |
55 |
+ @echo installing documentation in $(DESTDIR)@docdir@ |
56 |
+ @$(INSTALL) -c -m 644 Caveats $(DESTDIR)@docdir@/Caveats |
57 |
+ @$(INSTALL) -c -m 644 Fonts $(DESTDIR)@docdir@/Fonts |
58 |
+ @$(INSTALL) -c -m 644 README $(DESTDIR)@docdir@/README |
59 |
+ @$(INSTALL) -c -m 644 Tutorial $(DESTDIR)@docdir@/Tutorial |
60 |
+ @$(INSTALL) -c -m 644 WhatsNew $(DESTDIR)@docdir@/WhatsNew |
61 |
+ @echo installing man page in $(DESTDIR)@mandir@/man1 |
62 |
+ @if [ ! -d $(DESTDIR)@mandir@/man1 ]; then \ |
63 |
+ echo mkdir -p $(DESTDIR)@mandir@/man1 ; \ |
64 |
+ mkdir -p $(DESTDIR)@mandir@/man1 ; \ |
65 |
fi |
66 |
- @$(INSTALL) -c -m 644 vittk.man @prefix@/man/man1/vittk.1 |
67 |
- @echo installing vittkrc in @prefix@/etc |
68 |
- @$(INSTALL) -c -m 644 vittkrc @prefix@/etc/vittkrc |
69 |
- @if [ ! -d @prefix@/lib/vittk ]; then \ |
70 |
- echo mkdir -p @prefix@/lib/vittk ; \ |
71 |
- mkdir -p @prefix@/lib/vittk ; \ |
72 |
+ @$(INSTALL) -c -m 644 vittk.man $(DESTDIR)@mandir@/man1/vittk.1 |
73 |
+ @echo installing vittkrc in $(DESTDIR)@sysconfdir@ |
74 |
+ @$(INSTALL) -c -m 644 vittkrc $(DESTDIR)@sysconfdir@/vittkrc |
75 |
+ @if [ ! -d $(DESTDIR)@libdir@/vittk ]; then \ |
76 |
+ echo mkdir -p $(DESTDIR)@libdir@/vittk ; \ |
77 |
+ mkdir -p $(DESTDIR)@libdir@/vittk ; \ |
78 |
fi |
79 |
- @echo installing .tcl files in @prefix@/lib/vittk |
80 |
- @cp *.tcl @prefix@/lib/vittk |
81 |
- @echo creating @prefix@/lib/vittk/tclIndex |
82 |
- @(cd @prefix@/lib/vittk; echo "auto_mkindex `pwd`; exit" | @WISH@) |
83 |
- @echo installing vittk in @prefix@/bin |
84 |
- @$(INSTALL) -c -m 755 vittk @prefix@/bin/vittk |
85 |
+ @echo installing .tcl files in $(DESTDIR)@libdir@/vittk |
86 |
+ @cp *.tcl $(DESTDIR)@libdir@/vittk |
87 |
+ @echo creating $(DESTDIR)@libdir@/vittk/tclIndex |
88 |
+ @(cd $(DESTDIR)@libdir@/vittk; echo "auto_mkindex `pwd`; exit" | @TCLSH@) |
89 |
+ @echo installing vittk in $(DESTDIR)@prefix@/bin |
90 |
+ @$(INSTALL) -c -m 755 vittk $(DESTDIR)@prefix@/bin/vittk |
91 |
|
92 |
autoconf: |
93 |
@make -f .makefile autoconf |
94 |
@@ -54,3 +54,4 @@ |
95 |
dogfood: |
96 |
@make -f .makefile dogfood |
97 |
|
98 |
+check: |
99 |
|
100 |
|
101 |
|
102 |
1.1 app-misc/vittk/files/vittk-1.1.1-configure.patch |
103 |
|
104 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/vittk/files/vittk-1.1.1-configure.patch?rev=1.1&view=markup |
105 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/vittk/files/vittk-1.1.1-configure.patch?rev=1.1&content-type=text/plain |
106 |
|
107 |
Index: vittk-1.1.1-configure.patch |
108 |
=================================================================== |
109 |
--- vittk-1.1.1/configure.in.orig |
110 |
+++ vittk-1.1.1/configure.in |
111 |
@@ -14,11 +14,11 @@ |
112 |
fi |
113 |
AC_SUBST(BASH) |
114 |
|
115 |
-AC_PATH_PROG(WISH, wish, NOT_FOUND) |
116 |
-if test "$WISH" = "NOT_FOUND"; then |
117 |
+AC_PATH_PROG(TCLSH, tclsh, NOT_FOUND) |
118 |
+if test "$TCLSH" = "NOT_FOUND"; then |
119 |
AC_MSG_ERROR([can not continue: wish not found]) |
120 |
fi |
121 |
-AC_SUBST(WISH) |
122 |
+AC_SUBST(TCLSH) |
123 |
|
124 |
AC_PATH_PROG(TASK, task, NOT_FOUND) |
125 |
if test "$TASK" = "NOT_FOUND"; then |
126 |
@@ -30,11 +30,3 @@ |
127 |
AC_SUBST(FONT) |
128 |
|
129 |
AC_OUTPUT(vittk vittk.man Makefile) |
130 |
-chmod 755 vittk |
131 |
- |
132 |
-echo creating ./tclIndex |
133 |
-echo "auto_mkindex `pwd`; exit" | $WISH |
134 |
- |
135 |
-echo "./configure is done" |
136 |
-echo "now do \"sudo make install\" or \"make install\"" |
137 |
- |
138 |
|
139 |
|
140 |
|
141 |
1.1 app-misc/vittk/files/vittk-1.1.1-dirs.patch |
142 |
|
143 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/vittk/files/vittk-1.1.1-dirs.patch?rev=1.1&view=markup |
144 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/vittk/files/vittk-1.1.1-dirs.patch?rev=1.1&content-type=text/plain |
145 |
|
146 |
Index: vittk-1.1.1-dirs.patch |
147 |
=================================================================== |
148 |
--- vittk-1.1.1.orig/vittk.in |
149 |
+++ vittk-1.1.1/vittk.in |
150 |
@@ -17,7 +17,7 @@ |
151 |
|
152 |
set font "@FONT@" |
153 |
set system_task_cmd "ls" |
154 |
-set system_vittkrc "@prefix@/etc/vittkrc" |
155 |
+set system_vittkrc "@sysconfdir@/vittkrc" |
156 |
set task "@TASK@" |
157 |
set ver "@VER@" |
158 |
|
159 |
@@ -28,8 +28,8 @@ |
160 |
source ./vars.tcl |
161 |
set auto_path ". $auto_path" |
162 |
} else { |
163 |
- source @prefix@/lib/vittk/vars.tcl |
164 |
- set auto_path "@prefix@/lib/vittk $auto_path" |
165 |
+ source @libdir@/vittk/vars.tcl |
166 |
+ set auto_path "@libdir@/vittk $auto_path" |
167 |
} |
168 |
|
169 |
ReadRcs |
170 |
--- vittk-1.1.1.orig/vittk.man.in |
171 |
+++ vittk-1.1.1/vittk.man.in |
172 |
@@ -89,13 +89,13 @@ |
173 |
in Taskwarrior. At this time, various other parts of the VITtk color |
174 |
scheme can only be changed system-wide by altering the variables in |
175 |
.br |
176 |
-@prefix@/lib/vars.tcl. |
177 |
+@libdir@/vars.tcl. |
178 |
.SH FONTS |
179 |
VITtk requires a fixed-width font for it's columns to align correctly. |
180 |
The default font "TkFixedFont" has been set to ensure this happens. You can |
181 |
use other Xwindows fonts by using the -fn option or your ~/.vittkrc file. |
182 |
Instructions for browsing fixed-width fonts can be found in the |
183 |
-/usr/local/share/doc/vittk/Fonts file. If you specify a proportional font |
184 |
+@docdir@/Fonts file. If you specify a proportional font |
185 |
(you will get a warning message and) the VITtk display will probably look very |
186 |
bad, and if you use the -fn option with the name of a non-existent font then |
187 |
VITtk will default the default tcl/tkfont (e.g. "fixed") without warning. |
188 |
@@ -103,20 +103,20 @@ |
189 |
fixed-width, so care should be taken to specify an existing font. |
190 |
.SH SETTINGS |
191 |
There are a number of settings which allow you to "remotely control" |
192 |
-many aspects of VITtk. Refer to the @prefix@/etc/vittkrc file for more |
193 |
+many aspects of VITtk. Refer to the @sysconfdir@/vittkrc file for more |
194 |
information. There are also some settings which are hard-coded |
195 |
(e.g. how long feedback messages are displayed.) These could be |
196 |
-changed sytem-wide by editing @prefix@/lib/vars.tcl. |
197 |
+changed sytem-wide by editing @libdir@/vars.tcl. |
198 |
.SH FILES |
199 |
-@prefix@/etc/vittkrc - the system-wide VITtk configuration file |
200 |
+@sysconfdir@/vittkrc - the system-wide VITtk configuration file |
201 |
.br |
202 |
~/.vittkrc - user VITtk configuration file |
203 |
.br |
204 |
/tmp/vittk-$USER.log - VITtk actions log |
205 |
.br |
206 |
-@prefix@/share/doc/vittk/README - quick start and more information |
207 |
+@docdir@/README - quick start and more information |
208 |
.br |
209 |
-@prefix@/share/doc/vittk/Tutorial - a brief VITtk tutoral |
210 |
+@docdir@/Tutorial - a brief VITtk tutoral |
211 |
.SH CREDITS & COPYRIGHT |
212 |
VITtk was written by Steve Rader (C) 2011. |