File: debian.patch

package info (click to toggle)
aewm%2B%2B-goodies 1.0-10.2
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 496 kB
  • sloc: cpp: 3,366; ansic: 963; makefile: 164; sh: 13
file content (189 lines) | stat: -rw-r--r-- 4,871 bytes parent folder | download | duplicates (2)
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
--- aewm++-goodies-1.0.orig/ae_fspanel-1.0/Makefile
+++ aewm++-goodies-1.0/ae_fspanel-1.0/Makefile
@@ -2,10 +2,11 @@ CC = gcc
 prefix=/usr
 C_FLAGS = -DNOSTDLIB -DHAVE_XPM -Wall -I/usr/X11R6/include -m386 -malign-loops=2 -malign-jumps=2 -malign-functions=2
 L_FLAGS = -O1 -Xlinker -s -L/usr/X11R6/lib -lX11 -lXpm
-PROGNAME = ae_fspanel
+LDLIBS=-lX11 -lXpm
+PROGNAME = aewm++_fspanel
 
 $(PROGNAME): Makefile ae_fspanel.c ae_fspanel.h icon.xpm
-	$(CC) $(C_FLAGS) $(L_FLAGS) ae_fspanel.c -o $(PROGNAME)
+	$(CC) $(C_FLAGS) $(CFLAGS) $(L_FLAGS) $(LDFLAGS) ae_fspanel.c $(LDLIBS) -o $(PROGNAME)
 	@ls -l $(PROGNAME)
 
 clean: 
--- aewm++-goodies-1.0.orig/appbar-1.0/Makefile
+++ aewm++-goodies-1.0/appbar-1.0/Makefile
@@ -5,7 +5,7 @@ INCLUDES  = -I$(prefix)/include
 LIBS      = -lX11 -lXext -lXpm 
 LDPATH    = -L/usr/X11R6/lib
 
-PROG      = appbar
+PROG      = aewm++_appbar
 DEFINES   = #-DDEBUG
 
 OBJS      = main.o appbar.o scanner.o icon.o linkedlist.o image.o
@@ -19,12 +19,12 @@ $(OBJS): %.o: %.cc $(HEADERS)
 	$(CC) $(CFLAGS) $(DEFINES) $(INCLUDES) -c $< -o $@
 
 install: all
-	install -s $(PROG) $(DESTDIR)$(prefix)/bin
+	install $(PROG) $(DESTDIR)$(prefix)/bin
 	mkdir -p $(DESTDIR)/etc/X11/appbar
-	mkdir -p $(DESTDIR)/usr/X11/share/appbar
-	mkdir -p $(DESTDIR)/usr/X11/share/appbar/images
+	mkdir -p $(DESTDIR)/usr/share/appbar
+	mkdir -p $(DESTDIR)/usr/share/appbar/images
 	cp appbar.rc $(DESTDIR)/etc/X11/appbar
-	cp -r images/ $(DESTDIR)/usr/X11/share/appbar/
+	cp -r images/ $(DESTDIR)/usr/share/appbar/
 
 clean:
 	rm -f $(PROG) $(OBJS) core
--- aewm++-goodies-1.0.orig/appbar-1.0/appbar.rc
+++ aewm++-goodies-1.0/appbar-1.0/appbar.rc
@@ -14,51 +14,51 @@ appbar_color_to {
 }
 
 icon { 
-	image = /usr/X11/share/appbar/images/terminal.xpm; 
+	image = /usr/share/appbar/images/terminal.xpm; 
 	execute = xterm -bg black -fg white -ls -sb;
 }
 
 icon { 
-	image = /usr/X11/share/appbar/images/galeon.xpm; 
+	image = /usr/share/appbar/images/galeon.xpm; 
 	execute = galeon;
 }
 
 icon { 
-	image = /usr/X11/share/appbar/images/netscape.xpm; 
+	image = /usr/share/appbar/images/netscape.xpm; 
 	execute = mozilla;
 }
 
 icon { 
-	image = /usr/X11/share/appbar/images/gimp.xpm;
+	image = /usr/share/appbar/images/gimp.xpm;
 	execute = gimp;
 }
 
 icon { 
-	image = /usr/X11/share/appbar/images/editor.xpm; 
+	image = /usr/share/appbar/images/editor.xpm; 
 	execute = nedit;
 }
 
 icon { 
-	image = /usr/X11/share/appbar/images/calculator.xpm; 
+	image = /usr/share/appbar/images/calculator.xpm; 
 	execute = xcalc;
 }
 
 icon { 
-	image = /usr/X11/share/appbar/images/chat.xpm; 
+	image = /usr/share/appbar/images/chat.xpm; 
 	execute = xchat;
 }
 
 icon { 
-	image = /usr/X11/share/appbar/images/clock.xpm; 
+	image = /usr/share/appbar/images/clock.xpm; 
 	execute = xclock;
 }
 
 icon { 
-	image = /usr/X11/share/appbar/images/music.xpm; 
+	image = /usr/share/appbar/images/music.xpm; 
 	execute = xmms;
 }
 
 icon { 
-	image = /usr/X11/share/appbar/images/icq.xpm; 
+	image = /usr/share/appbar/images/icq.xpm; 
 	execute = licq;
 }
--- aewm++-goodies-1.0.orig/appbar-1.0/icon.cc
+++ aewm++-goodies-1.0/appbar-1.0/icon.cc
@@ -35,6 +35,8 @@
 
 #include "icon.hh"
 
+using namespace std;
+
 char * default_icon_xpm[] = {
 "16 16 16 1",
 " 	c None",
--- aewm++-goodies-1.0.orig/appbar-1.0/scanner.hh
+++ aewm++-goodies-1.0/appbar-1.0/scanner.hh
@@ -25,11 +25,13 @@
 #ifndef _SCANNER_HH_
 #define _SCANNER_HH_
 
-#include <iostream.h>
-#include <fstream.h>
+#include <iostream>
+#include <fstream>
 #include <cstdlib>
 #include <string>
 
+using namespace std;
+
 #define MAX_TOKEN_BUFFER 256
 
 class Scanner {
--- aewm++-goodies-1.0.orig/setrootimage-1.0/Makefile
+++ aewm++-goodies-1.0/setrootimage-1.0/Makefile
@@ -5,7 +5,7 @@ INCLUDES  = -I$(prefix)/include
 LIBS      = -lX11 -lXext
 LDPATH    = -L/usr/X11R6/lib
 
-PROG      = setrootimage
+PROG      = aewm++_setrootimage
 #DEFINES   = -DDEBUG
 
 OBJS      = setrootimage.o linkedlist.o image.o
@@ -19,7 +19,7 @@ $(OBJS): %.o: %.cc $(HEADERS)
 	$(CC) $(CFLAGS) $(DEFINES) $(INCLUDES) -c $< -o $@
 
 install: all
-	install -s $(PROG) $(DESTDIR)$(prefix)/bin
+	install $(PROG) $(DESTDIR)$(prefix)/bin
 
 clean:
 	rm -f $(PROG) $(OBJS) core
--- aewm++-goodies-1.0.orig/setrootimage-1.0/setrootimage.cc
+++ aewm++-goodies-1.0/setrootimage-1.0/setrootimage.cc
@@ -38,6 +38,8 @@
 #include <iostream>
 #include "image.hh"
 
+using namespace std;
+
 BColor parseCommandlineColor(char* the_color)
 {
 	BColor color;
--- /dev/null
+++ aewm++-goodies-1.0/xsession/Makefile
@@ -0,0 +1,18 @@
+CC        = gcc
+CFLAGS    = -g -O2 -Wall
+IFLAGS    = 
+
+PROG      = aewm++_xsession
+PREFIX    = /usr
+
+$(PROG): xsession.c
+	$(CC) xsession.c -o $@
+
+install: $(PROG)
+	install -D $(IFLAGS) $(PROG) $(DESTDIR)$(PREFIX)/bin/$(PROG)
+	
+uninstall:
+	rm -f $(DESTDIR)$(PREFIX)/bin/$(PROG)
+
+clean:
+	rm -f $(PROG) core