aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorunknown <unknown>2002-01-11 11:59:54 (GMT)
committerunknown <unknown>2002-01-11 11:59:54 (GMT)
commit61661d638e34b3ce6c986d5a53b8c08c1051d422 (patch)
treef0b87676e95070afee163f76902efd0c4d5b5fe6 /data
parentf98c3c9045397bd9497621deb55b310366f8a5de (diff)
parenta3d2a1cf0a5ab724e19a91915fe97842f52260d5 (diff)
downloadfluxbox-Release-0_1_6.zip
fluxbox-Release-0_1_6.tar.bz2
This commit was manufactured by cvs2svn to create tagRelease-0_1_6
'Release-0_1_6'.
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am2
-rw-r--r--data/Makefile.in11
-rwxr-xr-xdata/generate_menu314
-rw-r--r--data/styles/Makefile.in9
4 files changed, 134 insertions, 202 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index c586c77..209b64b 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -11,6 +11,6 @@ distclean-local:
11init: init.in 11init: init.in
12 @regex_cmd@ -e "s,@pkgdatadir@,$(pkgdatadir)," init.in > init 12 @regex_cmd@ -e "s,@pkgdatadir@,$(pkgdatadir)," init.in > init
13menu: generate_menu 13menu: generate_menu
14 ./generate_menu 14 sh ./generate_menu
15 @regex_cmd@ -e "s,\@VERSION\@,$(VERSION)," menu.in > menu.pre 15 @regex_cmd@ -e "s,\@VERSION\@,$(VERSION)," menu.in > menu.pre
16 @regex_cmd@ -e "s,@pkgdatadir@,$(pkgdatadir)," menu.pre > menu 16 @regex_cmd@ -e "s,@pkgdatadir@,$(pkgdatadir)," menu.pre > menu
diff --git a/data/Makefile.in b/data/Makefile.in
index c1c7725..1c871b0 100644
--- a/data/Makefile.in
+++ b/data/Makefile.in
@@ -106,9 +106,9 @@ GZIP_ENV = --best
106all: all-redirect 106all: all-redirect
107.SUFFIXES: 107.SUFFIXES:
108$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 108$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
109 cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps data/Makefile 109 cd $(top_srcdir) && $(AUTOMAKE) --gnu data/Makefile
110 110
111Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 111Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
112 cd $(top_builddir) \ 112 cd $(top_builddir) \
113 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status 113 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
114 114
@@ -226,6 +226,11 @@ distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
226subdir = data 226subdir = data
227 227
228distdir: $(DISTFILES) 228distdir: $(DISTFILES)
229 here=`cd $(top_builddir) && pwd`; \
230 top_distdir=`cd $(top_distdir) && pwd`; \
231 distdir=`cd $(distdir) && pwd`; \
232 cd $(top_srcdir) \
233 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu data/Makefile
229 @for file in $(DISTFILES); do \ 234 @for file in $(DISTFILES); do \
230 d=$(srcdir); \ 235 d=$(srcdir); \
231 if test -d $$d/$$file; then \ 236 if test -d $$d/$$file; then \
@@ -324,7 +329,7 @@ distclean-local:
324init: init.in 329init: init.in
325 @regex_cmd@ -e "s,@pkgdatadir@,$(pkgdatadir)," init.in > init 330 @regex_cmd@ -e "s,@pkgdatadir@,$(pkgdatadir)," init.in > init
326menu: generate_menu 331menu: generate_menu
327 ./generate_menu 332 sh ./generate_menu
328 @regex_cmd@ -e "s,\@VERSION\@,$(VERSION)," menu.in > menu.pre 333 @regex_cmd@ -e "s,\@VERSION\@,$(VERSION)," menu.in > menu.pre
329 @regex_cmd@ -e "s,@pkgdatadir@,$(pkgdatadir)," menu.pre > menu 334 @regex_cmd@ -e "s,@pkgdatadir@,$(pkgdatadir)," menu.pre > menu
330 335
diff --git a/data/generate_menu b/data/generate_menu
index 49b5adc..f88a517 100755
--- a/data/generate_menu
+++ b/data/generate_menu
@@ -1,4 +1,4 @@
1# generate_menu for Fluxbox 1# generate_menu for Fluxbox
2# Copyright (c) 2001 Henrik Kinnunen (fluxgen@linuxmail.org) 2# Copyright (c) 2001 Henrik Kinnunen (fluxgen@linuxmail.org)
3# 3#
4# Permission is hereby granted, free of charge, to any person obtaining a 4# Permission is hereby granted, free of charge, to any person obtaining a
@@ -23,210 +23,132 @@
23 23
24FILENAME=menu.in 24FILENAME=menu.in
25 25
26 26find_it() {
27# Start of menu 27 if [ ! -z "$(which $1 2>/dev/null | grep "^/.*$1")" ]; then
28 28 if [ -x "$(which $1)" ]; then
29echo "[begin] (Fluxbox @VERSION@)" > $FILENAME 29 shift
30 30 $*
31if [ -x `which xterm` ]; then 31 else
32 echo " [exec] (xterm) {xterm -fg white -bg black}" >> $FILENAME 32 echo "$1 exists but it is not executable! Check permissions."
33fi 33 fi
34
35if [ -x `which nedit` ]; then
36 echo " [exec] (nedit) {nedit}" >> $FILENAME
37fi
38
39echo "[submenu] (Browsers)" >> $FILENAME
40 if [ -x `which netscape` ]; then
41 echo " [exec] (netscape) {netscape}" >> $FILENAME
42 fi
43 if [ -x `which opera` ]; then
44 echo " [exec] (opera) {opera}" >> $FILENAME
45 fi
46 if [ -x `which galeon` ]; then
47 echo " [exec] (galeon) {galeon}" >> $FILENAME
48 fi
49 if [ -x `which mozilla` ]; then
50 echo " [exec] (mozilla) {mozilla}" >> $FILENAME
51 fi
52 if [ -x `which konqueror` ]; then
53 echo " [exec] (konqueror) {konqueror}" >> $FILENAME
54 fi
55echo "[end]" >> $FILENAME
56
57
58echo "[submenu] (Editors)" >> $FILENAME
59 if [ -x `which nedit` ]; then
60 echo " [exec] (nedit) {nedit}" >> $FILENAME
61 fi
62 if [ -x `which vim` ]; then
63 echo " [exec] (vim) {vim -g}" >> $FILENAME
64 fi
65 if [ -x `which xemacs` ]; then
66 echo " [exec] (xemacs) {xemacs}" >> $FILENAME
67 fi
68 if [ -x `which gedit` ]; then
69 echo " [exec] (gedit) {gedit}" >> $FILENAME
70 fi
71 if [ -x `which xedit` ]; then
72 echo " [exec] (xedit) {xedit}" >> $FILENAME
73 fi
74 if [ -x `which kword` ]; then
75 echo " [exec] (kword) {kword}" >> $FILENAME
76 fi 34 fi
35}
77 36
78echo "[end]" >> $FILENAME 37append() {
38 echo " $*" >> $FILENAME
39}
79 40
80echo "[submenu] (Net)" >> $FILENAME 41append_menu() {
81 if [ -x `which realplay` ]; then 42 echo "$*" >> $FILENAME
82 echo " [exec] (realplay) {realplay}" >> $FILENAME 43}
83 fi
84
85 if [ -x `which licq` ]; then
86 echo " [exec] (licq) {licq}" >> $FILENAME
87 fi
88 if [ -x `which xchat` ]; then
89 echo " [exec] (xchat) {xchat}" >> $FILENAME
90 fi
91 if [ -x `which sylpheed` ]; then
92 echo " [exec] (sylpheed) {sylpheed}" >> $FILENAME
93 fi
94 if [ -x `which gftp` ]; then
95 echo " [exec] (gftp) {gftp}" >> $FILENAME
96 fi
97 if [ -x `which BitchX` ]; then
98 echo " [exec] (BitchX) {xterm -title BitchX -fg white -bg black -e BitchX -N}" >> $FILENAME
99 else
100 if [ -x `which bitchx` ]; then
101 echo " [exec] (BitchX) {xterm -title BitchX -fg white -bg black -e bitchx -N}" >> $FILENAME
102 fi
103 fi
104 if [ -x `which ircii` ]; then
105 echo " [exec] (ircii) {xterm -title ircii -fg white -bg black -e ircii -s}" >> $FILENAME
106 fi
107echo "[end]" >> $FILENAME
108 44
45# Start of menu
109 46
110echo "[submenu] (Graphics)" >> $FILENAME 47echo "[begin] (Fluxbox @VERSION@)" > $FILENAME
111 if [ -x `which gimp` ]; then
112 echo " [exec] (gimp) {gimp}" >> $FILENAME
113 fi
114 if [ -x `which xv` ]; then
115 echo " [exec] (xv) {xv}" >> $FILENAME
116 fi
117 if [ -x `which gqview` ]; then
118 echo " [exec] (gqview) {gqview}" >> $FILENAME
119 fi
120 if [ -x `which xpaint` ]; then
121 echo " [exec] (xpaint) {xpaint}" >> $FILENAME
122 fi
123echo "[end]" >> $FILENAME
124 48
125echo "[submenu] (Music)" >> $FILENAME 49find_it xterm append "[exec] (xterm) {xterm -fg white -bg black
126 if [ -x `which xmms` ]; then 50}"
127 echo " [exec] (xmms) {xmms}" >> $FILENAME 51find_it nedit append "[exec] (nedit) {nedit}"
128 fi
129 if [ -x `which gqmpeg` ]; then
130 echo " [exec] (gqmpeg) {gqmpeg}" >> $FILENAME
131 fi
132 if [ -x `which xmixer` ]; then
133 echo " [exec] (xmixer) {xmixer}" >> $FILENAME
134 fi
135 if [ -x `which gmix` ]; then
136 echo " [exec] (gmix) {gmix}" >> $FILENAME
137 fi
138 if [ -x `which xplaycd` ]; then
139 echo " [exec] (xplaycd) {xplaycd}" >> $FILENAME
140 fi
141 if [ -x `which soundtracker` ]; then
142 echo " [exec] (soundtracker) {soundtracker}" >> $FILENAME
143 fi
144echo "[end]" >> $FILENAME
145 52
146echo "[submenu] (Terminals)" >> $FILENAME
147 if [ -x `which xterm` ]; then
148 echo " [exec] (xterm) {xterm -fg white -bg black}" >> $FILENAME
149 fi
150 if [ -x `which gnome-terminal` ]; then
151 echo " [exec] (gnome-terminal) {gnome-terminal}" >> $FILENAME
152 fi
153 if [ -x `which Eterm` ]; then
154 echo " [exec] (Eterm) {Eterm}" >> $FILENAME
155 fi
156 if [ -x `which konsole` ]; then
157 echo " [exec] (konsole) {konsole}" >> $FILENAME
158 fi
159 if [ -x `which aterm` ]; then
160 echo " [exec] (aterm) {aterm}" >> $FILENAME
161 fi
162 if [ -x `which rxvt` ]; then
163 echo " [exec] (rxvt) {rxvt}" >> $FILENAME
164 fi
165echo "[end]" >> $FILENAME
166 53
54append_menu "[submenu] (Browsers)"
55 find_it netscape append "[exec] (netscape) {netscape}"
56 find_it opera append "[exec] (opera) {opera}"
57 find_it galeon append "[exec] (galeon) {galeon}"
58 find_it mozilla append "[exec] (mozilla) {mozilla}"
59 find_it konqueror append "[exec] (konqueror) {konqueror}"
60append_menu "[end]"
167 61
168echo "[submenu] (Misc)" >> $FILENAME
169 if [ -x `which acroread` ]; then
170 echo " [exec] (acroread) {acroread}" >> $FILENAME
171 fi
172 if [ -x `which gcalc` ]; then
173 echo " [exec] (gcalc) {gcalc}" >> $FILENAME
174 fi
175 if [ -x `which xgdb` ]; then
176 echo " [exec] (xgdb) {xgdb}" >> $FILENAME
177 fi
178 if [ -x `which ddd` ]; then
179 echo " [exec] (ddd) {ddd}" >> $FILENAME
180 fi
181 if [ -x `which xterm` ]; then
182 echo " [exec] (tail access_log) {xterm -fg white -bg black -title access_log -e tail -f /var/log/access_log}" >> $FILENAME
183 fi
184echo "[end]" >> $FILENAME
185
186echo "[submenu] (X utils)" >> $FILENAME
187 if [ -x `which xpenguins` ]; then
188 echo " [exec] (xpenguins) {xpenguins}" >> $FILENAME
189 fi
190 if [ -x `which xcalc` ]; then
191 echo " [exec] (xcalc) {xcalc}" >> $FILENAME
192 fi
193 if [ -x `which xfontsel` ]; then
194 echo " [exec] (xfontsel) {xfontsel}" >> $FILENAME
195 fi
196 if [ -x `which xman` ]; then
197 echo " [exec] (xman) {xman}" >> $FILENAME
198 fi
199 if [ -x `which xload` ]; then
200 echo " [exec] (xload) {xload}" >> $FILENAME
201 fi
202 if [ -x `which xfig` ]; then
203 echo " [exec] (xfig) {xfig}" >> $FILENAME
204 fi
205 if [ -x `which xbiff` ]; then
206 echo " [exec] (xbiff) {xbiff}" >> $FILENAME
207 fi
208 if [ -x `which editres` ]; then
209 echo " [exec] (editres) {editres}" >> $FILENAME
210 fi
211 if [ -x `which viewres` ]; then
212 echo " [exec] (viewres) {viewres}" >> $FILENAME
213 fi
214 if [ -x `which xsnow` ]; then
215 echo " [exec] (xsnow) {xsnow}" >> $FILENAME
216 fi
217 if [ -x `which xclock` ]; then
218 echo " [exec] (xclock) {xclock}" >> $FILENAME
219 fi
220echo "[end]" >> $FILENAME
221 62
63append_menu "[submenu] (Editors)"
64 find_it nedit append "[exec] (nedit) {nedit}"
65 find_it vim append "[exec] (vim) {vim -g}"
66 find_it xemacs append "[exec] (xemacs) {xemacs}"
67 find_it gedit append "[exec] (gedit) {gedit}"
68 find_it xedit append "[exec] (xedit) {xedit}"
69 find_it kword append "[exec] (kword) {kword}"
70 find_it kwrite append "[exec] (kword) {kwrite}"
71append_menu "[end]"
222 72
223echo "[workspaces] (Workspace List)" >> $FILENAME
224echo "[submenu] (Styles) {Choose a style...}" >> $FILENAME
225echo "[stylesdir] (@pkgdatadir@/styles)" >> $FILENAME
226echo "[end]" >> $FILENAME
227echo "[config] (Configuration)" >> $FILENAME
228echo "[reconfig] (Reconfigure)" >> $FILENAME
229echo "[restart] (Restart)" >> $FILENAME
230echo "[exit] (Exit)" >> $FILENAME
231 73
232echo "[end]" >> $FILENAME 74append_menu "[submenu] (Net)"
75 find_it realplay append "[exec] (realplay) {realplay}"
76 find_it licq append "[exec] (licq) {licq}"
77 find_it sylpheed append "[exec] (sylpheed) {sylpheed}"
78
79 find_it gftp append "[exec] (gftp) {gftp}"
80 find_it xchat append "[exec] (xchat) {xchat}"
81 find_it irssi append "[exec] (irssi) {xterm -title irssi -e irssi}"
82 find_it BitchX append "[exec] (BitchX) {xterm -title BitchX -fg white -bg black -e BitchX -N}"
83 find_it bitchx append "[exec] (BitchX) {xterm -title BitchX -fg white -bg black -e bitchx -N}"
84 find_it ircii append "[exec] (ircii) {xterm -title ircii -fg white -bg black -e ircii -s}"
85append_menu "[end]"
86
87
88append_menu "[submenu] (Graphics)"
89 find_it gimp append "[exec] (gimp) {gimp}"
90 find_it xv append "[exec] (xv) {xv}"
91 find_it gqview append "[exec] (gqview) {gqview}"
92 find_it xpaint append "[exec] (xpaint) {xpaint}"
93 find_it kpaint append "[exec] (kpaint) {kpaint}"
94 find_it kiconedit append "[exec] (kiconedit) {kiconedit}"
95append_menu "[end]"
96
97
98append_menu "[submenu] (Music)"
99 find_it xmms append "[exec] (xmms) {xmms}"
100 find_it gqmpeg append "[exec] (gqmpeg) {gqmpeg}"
101 find_it xmixer append "[exec] (xmixer) {xmixer}"
102 find_it gmix append "[exec] (gmix) {gmix}"
103 find_it kmix append "[exec] (kmix) {kmix}"
104 find_it grecord append "[exec] (grecord) {grecord}"
105 find_it kmidi append "[exec] (kmidi) {kmidi}"
106 find_it xplaycd append "[exec] (xplaycd) {xplaycd}"
107 find_it soundtracker append "[exec] (soundtracker) {soundtracker}"
108append_menu "[end]"
109
110
111append_menu "[submenu] (Terminals)"
112 append "[exec] (xterm) {xterm -fg white -bg black}"
113 find_it gnome-terminal append "[exec] (gnome-terminal) {gnome-terminal}"
114 find_it Eterm append "[exec] (Eterm) {Eterm}"
115 find_it konsole append "[exec] (konsole) {konsole}"
116 find_it aterm append "[exec] (aterm) {aterm}"
117 find_it rxvt append "[exec] (rxvt) {rxvt}"
118append_menu "[end]"
119
120
121append_menu "[submenu] (Misc)"
122 find_it acroread append "[exec] (acroread) {acroread}"
123 find_it gcalc append "[exec] (gcalc) {gcalc}"
124 find_it kcalc append "[exec] (kcalc) {kcalc}"
125 find_it kpackage append "[exec] (kpackage) {kpackage}"
126 find_it xgdb append "[exec] (xgdb) {xgdb}"
127 find_it ddd append "[exec] (ddd) {ddd}"
128 find_it xterm append "[exec] (tail access_log) {xterm -fg white -bg black -title access_log -e tail -f /var/log/access_log}"
129append_menu "[end]"
130
131append_menu "[submenu] (X utils)"
132 find_it xpenguins append "[exec] (xpenguins) {xpenguins}"
133 find_it xcalc append "[exec] (xcalc) {xcalc}"
134 find_it xfontsel append "[exec] (xfontsel) {xfontsel}"
135 find_it xman append "[exec] (xman) {xman}"
136 find_it xload append "[exec] (xload) {xload}"
137 find_it xfig append "[exec] (xfig) {xfig}"
138 find_it xbiff append "[exec] (xbiff) {xbiff}"
139 find_it editres append "[exec] (editres) {editres}"
140 find_it viewres append "[exec] (viewres) {viewres}"
141 find_it xsnow append "[exec] (xsnow) {xsnow}"
142 find_it xclock append "[exec] (xclock) {xclock}"
143append_menu "[end]"
144
145append_menu "[workspaces] (Workspace List)"
146append_menu "[submenu] (Styles) {Choose a style...}"
147append_menu "[stylesdir] (@pkgdatadir@/styles)"
148append_menu "[end]"
149append_menu "[config] (Configuration)"
150append_menu "[reconfig] (Reconfigure)"
151append_menu "[restart] (Restart)"
152append_menu "[exit] (Exit)"
153
154append_menu "[end]"
diff --git a/data/styles/Makefile.in b/data/styles/Makefile.in
index 8e3e3f4..54318df 100644
--- a/data/styles/Makefile.in
+++ b/data/styles/Makefile.in
@@ -106,9 +106,9 @@ GZIP_ENV = --best
106all: all-redirect 106all: all-redirect
107.SUFFIXES: 107.SUFFIXES:
108$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 108$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
109 cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps data/styles/Makefile 109 cd $(top_srcdir) && $(AUTOMAKE) --gnu data/styles/Makefile
110 110
111Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 111Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
112 cd $(top_builddir) \ 112 cd $(top_builddir) \
113 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status 113 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
114 114
@@ -140,6 +140,11 @@ distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
140subdir = data/styles 140subdir = data/styles
141 141
142distdir: $(DISTFILES) 142distdir: $(DISTFILES)
143 here=`cd $(top_builddir) && pwd`; \
144 top_distdir=`cd $(top_distdir) && pwd`; \
145 distdir=`cd $(distdir) && pwd`; \
146 cd $(top_srcdir) \
147 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu data/styles/Makefile
143 @for file in $(DISTFILES); do \ 148 @for file in $(DISTFILES); do \
144 d=$(srcdir); \ 149 d=$(srcdir); \
145 if test -d $$d/$$file; then \ 150 if test -d $$d/$$file; then \