]> git.pld-linux.org Git - packages/wavplay.git/blob - wavplay-make+res.patch
97e67feea8cc6057975779874ba2e6f02f4d5aa3
[packages/wavplay.git] / wavplay-make+res.patch
1 diff -Naur wavplay-1.4/Makefile wavplay-1.4-p/Makefile
2 --- wavplay-1.4/Makefile        Sat Dec  4 01:06:42 1999
3 +++ wavplay-1.4-p/Makefile      Tue May 30 23:16:01 2000
4 @@ -38,7 +38,7 @@
5  #----------------------------------------------------------------------
6  # If you are running a 386 you should comment this line out.
7  #
8 -CPU=-m486
9 +#CPU=-m486
10  
11  #----------------------------------------------------------------------
12  # If you are experiencing troubles (like core dumps!), then uncomment
13 @@ -47,7 +47,7 @@
14  # adjust the STRIP option to suit compile mode:
15  #
16  #DEBUG=-g
17 -OPT=-O2
18 +#OPT=-O2
19  
20  #----------------------------------------------------------------------
21  # When using 'DEBUG=-g' above, then comment out the 'strip' line:
22 @@ -60,6 +60,7 @@
23  # placed (wavplay, wavrec, and xltwavplay)
24  #
25  INSTDIR=/usr/local/bin
26 +XINSTDIR=/usr/X11R6/bin
27  
28  #----------------------------------------------------------------------
29  # Uncomment this line if you want to install the xltwavplay.res resource
30 @@ -67,7 +68,7 @@
31  # builtin fallback resources in the program itself. If you don't know
32  # what this is all about, then leave the next line commented out.
33  #
34 -#USERES=-DINSTALLED_RESOURCE_FILE
35 +USERES=-DINSTALLED_RESOURCE_FILE
36  
37  #----------------------------------------------------------------------
38  # If the resource file is to be installed, indicate where. If the above
39 @@ -163,7 +164,7 @@
40  # this should be unecessary if the appropriate symlinks are
41  # installed).
42  #
43 -#CUSTINCL= -I/usr/X11R6/include/X11 -I/usr/local/lesstif/include/Xm
44 +CUSTINCL= -I/usr/X11R6/include/X11
45  
46  #----------------------------------------------------------------------
47  # Normally, you shouldn't need to change anything beyond this point:
48 @@ -202,7 +203,7 @@
49  
50  wavrec:        wavplay
51         rm -f wavrec
52 -       ln wavplay wavrec
53 +       ln -s wavplay wavrec
54  
55  xltwavplay: $(CLNOBJ) xltwavplay.o
56         $(CC) $(CLNOBJ) $(XLDOPTS) $(DEBUG) -o xltwavplay
57 @@ -217,7 +218,7 @@
58         @[ ! -d "$(INSTDIR)" ] && echo "You do not have a directory $(INSTDIR); Check INSTDIR in make file." && exit 13 || :
59         $(INSTALL) -o root -g root -m 555 wavplay $(INSTDIR)
60         rm -f $(INSTDIR)/wavrec
61 -       ln $(INSTDIR)/wavplay $(INSTDIR)/wavrec
62 +       ln -s wavplay $(INSTDIR)/wavrec
63         @[ ! -z "$(SCHED_PRIORITY)" ] && echo "*** DO 'make setuid_root' IF YOU WANT REAL TIME SCHEDULING ***" || :
64         @echo
65  
66 @@ -234,11 +235,9 @@
67         @echo
68  
69  install_xltwavplay: xltwavplay
70 -       $(INSTALL) -o root -g root -m 555 xltwavplay $(INSTDIR)
71 +       $(INSTALL) xltwavplay $(XINSTDIR)
72         @[ ! -z "$(USERES)" ] \
73 -               && $(INSTALL) -o root -g root -m 555 xltwavplay.res $(RESDIR)/xltwavplay \
74 -               && ls -dlL $(RESDIR)/xltwavplay/xltwavplay.res \
75 -               || rm -f $(RESDIR)/xltwavplay
76 +               && $(INSTALL) xltwavplay.res $(RESDIR)/xltwavplay
77  
78  clean:
79         rm -f *.o a.out core t.t errs.t
80 diff -Naur wavplay-1.4/xltwavplay.res wavplay-1.4-p/xltwavplay.res
81 --- wavplay-1.4/xltwavplay.res  Sat Dec  4 01:06:42 1999
82 +++ wavplay-1.4-p/xltwavplay.res        Tue May 30 23:18:57 2000
83 @@ -31,17 +31,17 @@
84  xltwavplay*TimeLbl0.labelString: Duration:
85  xltwavplay*FileLbl1.labelString: \                                                            
86  xltwavplay*FileLbl1.foreground: black
87 -xltwavplay*TypeLbl1.labelString: 
88 +xltwavplay*TypeLbl1.labelString: \                                                            
89  xltwavplay*TypeLbl1.foreground: black
90 -xltwavplay*DateLbl1.labelString: 
91 +xltwavplay*DateLbl1.labelString: \                                                            
92  xltwavplay*DateLbl1.foreground: black
93 -xltwavplay*SizeLbl1.labelString: 
94 +xltwavplay*SizeLbl1.labelString: \                                                            
95  xltwavplay*SizeLbl1.foreground: black
96  xltwavplay*SamplingRateLbl1.labelString: 
97  xltwavplay*SamplingRateLbl1.foreground: black
98 -xltwavplay*SamplesLbl1.labelString: 
99 +xltwavplay*SamplesLbl1.labelString: \                                                            
100  xltwavplay*SamplesLbl1.foreground: black
101 -xltwavplay*TimeLbl1.labelString: 
102 +xltwavplay*TimeLbl1.labelString: \                                                            
103  xltwavplay*TimeLbl1.foreground: black
104  xltwavplay*Play.labelString: Play
105  xltwavplay*StopPlay.labelString: Stop
This page took 0.023749 seconds and 2 git commands to generate.