updated on Mon Jan 16 04:00:32 UTC 2012
[aur-mirror.git] / tmview / 100_use_kpathsea.diff
blob3ea89cc75d89d3250581f5c0533a53c3890c5e8f
1 --- tmview-01.03.orig/MakeLX
2 +++ tmview-01.03/MakeLX
3 @@ -7,9 +7,9 @@
4 OBJ=./src/lX.
6 #1. when kpathsea is to be used
7 -#LIBS= -L /usr/X11R6/lib -L /usr/X11/lib -lkpathsea -lX11 -lm
8 +LIBS= -L /usr/X11R6/lib -L /usr/X11/lib -lkpathsea -lX11 -lm
9 #2. when kpathsea is not used
10 -LIBS= -L /usr/X11R6/lib -L /usr/X11/lib -lX11 -lm
11 +#LIBS= -L /usr/X11R6/lib -L /usr/X11/lib -lX11 -lm
13 LL=gcc
14 CC=gcc -c -O2 -g -Wall -I$(SRC) -I$(SSRC)
15 --- tmview-01.03.orig/svga/defssvga.h
16 +++ tmview-01.03/svga/defssvga.h
17 @@ -116,10 +117,11 @@
18 /* Thus, running once in a while "./missfont.log" manualy seems more */
19 /* "comfortable" to me. For svgalib>=1.3.0 and kernel=>2.0 there */
20 /* might be a solution on this topic. See below LETSTRYBG. */
21 -/* #define KPATHSEA */
22 +#define KPATHSEA
23 #ifdef KPATHSEA
24 #define KPATHMODE NULL /* put f.e. "cx" here, to consist on cx fonts */
25 -#define KPATHMAKE 0 /* put 1 here, to make kpathsea run MakeTeXPK,*/
26 +/* haha, the Debian maintainer ain't afraid of running kpathsea! */
27 +#define KPATHMAKE 1 /* put 1 here, to make kpathsea run MakeTeXPK,*/
28 #define KPATHDEFF "cmr10" /* fallback font */
29 #define KPATHSEANEWSTYLE /* new=fine for teTeX from debian(see above)*/
30 /*#define KPATHSEAOLDSTYLE*//* old=fine for NTeX from Slakware */
31 --- tmview-01.03.orig/MakeSVGA
32 +++ tmview-01.03/MakeSVGA
33 @@ -8,8 +8,8 @@
34 OBJ=./src/svga.
37 -LIBS= -lvgagl -lvga -lm
38 -#LIBS= -lkpathsea -lvgagl -lvga -lm # when kpathsea is to be used
39 +#LIBS= -lvgagl -lvga -lm
40 +LIBS= -lkpathsea -lvgagl -lvga -lm # when kpathsea is to be used
43 LL=gcc -L /usr/lib
44 --- tmview-01.03.orig/MakeFb
45 +++ tmview-01.03/MakeFb
46 @@ -5,8 +5,8 @@
47 SSRC=./fb/
48 OBJ=./src/fb.
50 -LIBS= -lm
51 -#LIBS= -lkpathsea -lm # when kpathsea is to be used
52 +#LIBS= -lm
53 +LIBS= -lkpathsea -lm # when kpathsea is to be used
55 LL=gcc -L /usr/lib
56 CC=gcc -c -O2 -g -Wall -I$(SRC) -I$(SSRC)
57 --- tmview-01.03.orig/fb/defsfb.h
58 +++ tmview-01.03/fb/defsfb.h
59 @@ -80,7 +83,7 @@
60 /* its KPATHSEANEWSTYLE. */
61 /* */
62 /* Running MakeTeXPK by kpathsea within dvifb may be disabled below. */
63 -/* #define KPATHSEA */
64 +#define KPATHSEA
65 #ifdef KPATHSEA
66 #define KPATHMODE NULL /* put f.e. "cx" here, to consist on cx fonts */
67 #define KPATHMAKE 1 /* put 0 here, to disable MakeTeXPK */
68 --- tmview-01.03.orig/lX/defslx.h
69 +++ tmview-01.03/lX/defslx.h
70 @@ -82,7 +83,7 @@
71 /* However, if kpse_init_prog is defined to have 4 arguments ("P4H"),*/
72 /* its KPATHSEANEWSTYLE. */
73 /* */
74 -/* #define KPATHSEA */
75 +#define KPATHSEA
76 #ifdef KPATHSEA
77 #define KPATHMODE NULL /* put f.e. "cx" here, to consist on cx fonts */
78 #define KPATHMAKE 1 /* put 0 here, to disable running MakeTeXPK */