For menu-cache 0.5.x take NoDisplay flag into account.
[lxde/lxpanel.git] / configure.ac
CommitLineData
a52c2257 1AC_PREREQ(2.53)
3396d5cd 2AC_INIT(lxpanel, 0.6.99.0, http://lxde.org/)
797fcaca 3AM_INIT_AUTOMAKE([-Wall foreign no-dist-gzip dist-xz])
a52c2257 4AC_CONFIG_HEADER([config.h])
00118bd4 5AC_CONFIG_MACRO_DIR([m4])
a52c2257 6
8e4890cb
JL
7# Support silent build rules. Disable by either passing --disable-silent-rules
8# to configure or passing V=1 to make
9AM_SILENT_RULES([yes])
10
86db742c
JH
11# Force to dynamic
12AC_DISABLE_STATIC
13
a52c2257
HJYP
14# Checks for programs.
15AC_PROG_CC
16AC_PROG_INSTALL
17AC_PROG_LN_S
18AC_PROG_INTLTOOL(, [no-xml])
e7a42ecf 19AM_PROG_CC_C_O
00118bd4 20m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
a52c2257 21
8e4890cb
JL
22#Initialize libtool
23LT_PREREQ([2.2])
24LT_INIT
25
a52c2257 26# Checks for libraries.
bf2b2430
AF
27AC_ARG_ENABLE(gtk3,
28AC_HELP_STRING([--enable-gtk3],[enable to use gtk-3.0 instead of gtk-2.0]),
29[case "${enableval}" in
30 yes) enable_gtk3=yes ;;
31 no) enable_gtk3=no ;;
32 *) AC_MSG_ERROR([bad value "${enableval}" for --enable-gtk3, use "yes" (default) or "no".]) ;;
33esac],[])
34
35if test "x$enable_gtk3" = "xyes" ; then
36 CFLAGS="$CFLAGS -DENABLE_GTK3"
697e84f4 37 pkg_modules="$pkg_modules gtk+-3.0 libfm-gtk3 >= 1.2.0 libwnck-3.0"
bf2b2430 38else
697e84f4 39 pkg_modules="$pkg_modules gtk+-2.0 >= 2.16.0 libfm-gtk >= 1.2.0 libwnck-1.0"
bf2b2430
AF
40fi
41
42pkg_modules="$pkg_modules \
1d434622 43 gio-unix-2.0 \
c4ff9fd2 44 gthread-2.0 \
63cdb785 45 gmodule-2.0 \
2ae466ab 46 libmenu-cache"
a52c2257
HJYP
47PKG_CHECK_MODULES(PACKAGE, [$pkg_modules])
48AC_SUBST(PACKAGE_CFLAGS)
49AC_SUBST(PACKAGE_LIBS)
50
9dda8252
JL
51###########################
52# Indicator Info
53###########################
54AC_ARG_ENABLE([indicator_support],
55 AS_HELP_STRING([--enable-indicator-support],
56 [enable plugin loading (default: disable)]),
57 indicator_support=$enableval, indicator_support="no")
58AM_CONDITIONAL(ENABLE_INDICATOR_SUPPORT, test x"$indicator_support" = x"yes")
59
60if test "$indicator_support" != "no"; then
61 INDICATOR_REQUIRED_VERSION=0.3.0
62 INDICATOR_PKG_NAME=indicator-0.4
63
64 PKG_CHECK_MODULES(APPLET, $INDICATOR_PKG_NAME >= $INDICATOR_REQUIRED_VERSION)
65 AC_SUBST(APPLET_CFLAGS)
66
67 if test "x$with_localinstall" = "xyes"; then
68 INDICATORDIR="${libdir}/indicators/2/"
69 INDICATORICONSDIR="${datadir}/indicator-applet/icons/"
70 else
71 INDICATORDIR=`$PKG_CONFIG --variable=indicatordir $INDICATOR_PKG_NAME`
72 INDICATORICONSDIR=`$PKG_CONFIG --variable=iconsdir $INDICATOR_PKG_NAME`
73fi
74 AC_SUBST(INDICATORDIR)
75 AC_SUBST(INDICATORICONSDIR)
76fi
77
78
9bf13ef5
MTW
79pkg_modules="x11"
80PKG_CHECK_MODULES(X11, [$pkg_modules])
81AC_SUBST(X11_LIBS)
82
ace2a572
JH
83pkg_modules="libmenu-cache"
84PKG_CHECK_MODULES(MENU_CACHE, [$pkg_modules],
85 enable_menu_cache=yes, enable_menu_cache=no)
86if test x"$enable_menu_cache" = "xno"; then
87 AC_WARN([No libmenu-cache found. All menu related routines are not built.])
88 AC_DEFINE(DISABLE_MENU, [1], [Disable menu related routines])
89fi
90AC_SUBST(MENU_CACHE_CFLAGS)
91AC_SUBST(MENU_CACHE_LIBS)
ade9c95c 92AM_CONDITIONAL(ENABLE_MENU_CACHE, test x"$enable_menu_cache" = x"yes")
ace2a572 93
77f69cbd
JL
94AC_ARG_ENABLE(more_warnings,
95 [AC_HELP_STRING([--enable-more-warnings],
96 [Add more warnings @<:@default=no@:>@])],
97 [enable_more_warnings="${enableval}"],
98 [enable_more_warnings=no]
99)
100
101if test x"$enable_more_warnings" = x"yes"; then
102 ADDITIONAL_FLAGS="-Wall -Werror=all -Werror=format -Werror=implicit-function-declaration -Werror=implicit-int -Werror=missing-braces -Werror=parentheses -Werror=return-type -Werror=strict-aliasing -Werror=switch -Wuninitialized -Werror=unused-label -Werror=unused-value -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Werror=missing-declarations -Wredundant-decls -Wmissing-noreturn -Wpointer-arith -Wcast-align -Wwrite-strings -Werror=inline -Werror=format-nonliteral -Wformat-nonliteral -Werror=format-security -Wformat-security -Winit-self -Werror=missing-include-dirs -Werror=undef -Werror=aggregate-return -Wmissing-format-attribute -Werror=nested-externs -fno-strict-aliasing -fmessage-length=0 -Wp,-D_FORTIFY_SOURCE=2 -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_DEPRECATED -DGTK_DISABLE_SINGLE_INCLUDES"
103fi
104AC_SUBST(ADDITIONAL_FLAGS)
ade9c95c 105
77f69cbd 106PACKAGE_CFLAGS="$PACKAGE_CFLAGS $MENU_CACHE_CFLAGS $ADDITIONAL_FLAGS"
ace2a572
JH
107PACKAGE_LIBS="$PACKAGE_LIBS $MENU_CACHE_LIBS"
108
40189d64
JH
109AC_ARG_ENABLE(man,
110 [AC_HELP_STRING([--enable-man],
111 [regenerate roff man pages from Docbook @<:@default=no@:>@])],
112 [enable_man="${enableval}"],
113 [enable_man=no]
114)
115
cc0c9990
JH
116dnl linker tweaking
117# The function of the link flag --as-needed is to prevent unnecesary linking.
118# Example: A -> B -> C
20b3e401
JH
119# Normally, A would link to B and also depend on C, this is of cource
120# unnecesary. In this situation, however we do need to link to C, so this
cc0c9990
JH
121# must be done explicitly. This flag comes in handy when a library ABI
122# is changed, minimizing the amount of recompilations needed.
123AC_MSG_CHECKING([whether $LD accepts --as-needed])
124case `$LD --as-needed -v 2>&1 </dev/null` in
125*GNU* | *'with BFD'*)
20b3e401
JH
126 LDFLAGS="$LDFLAGS -Wl,--as-needed"
127 AC_MSG_RESULT([yes])
128 ;;
cc0c9990 129*)
20b3e401
JH
130 AC_MSG_RESULT([no])
131 ;;
cc0c9990
JH
132esac
133
cae18977
JH
134dnl linker optimizations
135AC_MSG_CHECKING([whether $LD accepts -O1])
136case `$LD -O1 -v 2>&1 </dev/null` in
137*GNU* | *'with BFD'*)
138 LDFLAGS="$LDFLAGS -Wl,-O1"
139 AC_MSG_RESULT([yes])
140 ;;
141*)
142 AC_MSG_RESULT([no])
143 ;;
144esac
145AC_MSG_CHECKING([whether $LD accepts -Bsymbolic-functions])
146case `$LD -Bsymbolic-functions -v 2>&1 </dev/null` in
147*GNU* | *'with BFD'*)
148 LDFLAGS="$LDFLAGS -Wl,-Bsymbolic-functions"
149 AC_MSG_RESULT([yes])
150 ;;
7e20ea34 151*)
cae18977
JH
152 AC_MSG_RESULT([no])
153 ;;
154esac
85026f6c
JH
155AC_MSG_CHECKING([whether $LD accepts --sort-common])
156case `$LD --sort-common -v 2>&1 </dev/null` in
7e20ea34 157*GNU* | *'with BFD'*)
85026f6c
JH
158 LDFLAGS="$LDFLAGS -Wl,--sort-common"
159 AC_MSG_RESULT([yes])
160 ;;
161*)
162 AC_MSG_RESULT([no])
163 ;;
164esac
cae18977 165
cc0c9990
JH
166dnl FIXME: filter for undefined symbols in plugins
167# when passing "-z defs" to linker, we would better to make sure
168# there are no undefined references. However, we intend not to
169# fix at the moment since we don't have spin-off libraray containing
170# the necessary functions.
171if test ! -z "$LDFLAGS"; then
20b3e401 172 LDFLAGS=`echo "$LDFLAGS" | sed -e 's/-Wl,-z,defs//'`
cc0c9990
JH
173fi
174
175LXPANEL_MODULE="-avoid-version \
176-rpath \$(libdir)/lxpanel/plugins \
177-no-undefined "'-export-symbols-regex "^[[^_]].*"'
178AC_SUBST(LXPANEL_MODULE)
179
c044bccf 180AC_ARG_ENABLE([alsa],
24053345
HJYP
181 AS_HELP_STRING([--disable-alsa],
182 [compile ALSA providers (default: enable)]),
183 compile_alsa=$enableval, compile_alsa="yes")
c044bccf 184if test x"$compile_alsa" = "xyes"; then
24053345
HJYP
185 AC_CHECK_HEADERS([alsa/asoundlib.h],
186 [AC_CHECK_LIB([asound],
187 [snd_seq_open],
188 compile_alsa=yes,compile_alsa=no)],
c044bccf
JH
189 compile_alsa=no)
190fi
191AM_CONDITIONAL(BUILD_ALSA_PLUGINS, test x$compile_alsa = xyes)
192dnl FIXME: check OSS existence
193AM_CONDITIONAL(BUILD_OSS_PLUGINS, test x$compile_alsa = xno)
194
2d29cc96 195AC_ARG_ENABLE([plugins-loading],
24053345
HJYP
196 AS_HELP_STRING([--disable-plugins-loading],
197 [disable plugin loading (default: enable)]),
198 plugins_loading=$enableval, plugins_loading="yes")
2d29cc96 199
31b80004
JH
200AM_CONDITIONAL(BUILD_PLUGIN_LOADER, test x$plugins_loading = xyes)
201
535ac098 202if test x"$plugins_loading" = "xno"; then
24053345 203 AC_DEFINE(DISABLE_PLUGINS_LOADING, [1], [Disable plugin loading])
2d29cc96
JH
204fi
205
199c3ea8
JH
206dnl Here are plugin listing.
207plugin_netstatus=
65efa143 208plugin_netstat=
199c3ea8 209plugin_volume=
15556f61 210plugin_volumealsa=
199c3ea8 211plugin_cpu=
ce728cd9 212plugin_deskno=
8f11d5f8 213plugin_batt=
22242ed4 214plugin_xkb=
7e20ea34 215plugin_kbled=
09f498a1 216plugin_thermal=
c03f7bd0 217plugin_cpufreq=
9770479a 218plugin_monitors=
9dda8252 219plugin_indicator=
199c3ea8
JH
220
221AC_MSG_CHECKING([which plugins should be built dynamically])
222AC_ARG_WITH(plugins,
223[ --with-plugins=<list> compile dynamic plugins in <list> ]
224[ plugins may be comma separated ]
225[ 'all' builds all plugins (default), 'none' builds none ]
3a604782 226[ plugins prefixed with '-' are not built]
199c3ea8 227[ Possible plugins are: ]
3a604782 228[ netstatus, netstat, volume, volumealsa, cpu, deskno, batt,]
6d51da94 229[ kbled, xkb, thermal, cpufreq, monitors, weather]
3a604782 230, plugins="$withval",[plugins="all"])
199c3ea8
JH
231
232if test x"$plugins" != xall -a x"$plugins" != xnone; then
24053345
HJYP
233 if test x"$plugins_loading" = xno; then
234 AC_MSG_ERROR(
235 [--disable-plugins-loading and --with-plugins conflict each other.])
236 fi
199c3ea8
JH
237fi
238
6d51da94 239ALL_PLUGINS_LIST="netstatus netstat volume volumealsa cpu deskno batt kbled xkb thermal cpufreq monitors indicator weather"
24053345
HJYP
240AC_SUBST(ALL_PLUGINS_LIST)
241
3a604782
HG
242AC_DEFUN([check_plugin_name],[
243 plugin_found=false
244 for name in $ALL_PLUGINS_LIST; do
245 if test x[$1] = x[$name]; then
246 plugin_found=true
247 fi
248 done
249 if test x[$plugin_found] = false; then
250 echo [Unknown plugin $1.]
251 exit 1
252 fi
253])
254
255if test "$plugins" != "none"; then
256 plugins=`echo $plugins | sed 's/,/ /g'`
257 for plugin in $plugins
258 do
24053345 259 case "$plugin" in
3a604782
HG
260 all)
261 for name in $ALL_PLUGINS_LIST
262 do
263 export plugin_$name="$name"
264 done
24053345 265 ;;
3a604782
HG
266 -*)
267 check_plugin_name([${plugin#-}])
268 export plugin_${plugin#-}=
9dda8252 269 ;;
24053345 270 *)
3a604782
HG
271 check_plugin_name([$plugin])
272 export plugin_$plugin=$plugin
24053345
HJYP
273 ;;
274 esac
3a604782
HG
275 done
276 AC_MSG_RESULT($plugins)
199c3ea8
JH
277fi
278
c044bccf
JH
279dnl FIXME: OSS/ALSA checking
280if test x"$compile_alsa" = "xno"; then
24053345
HJYP
281 if test ! -z $plugin_volumealsa; then
282 AC_MSG_RESULT([no ALSA headers/libraries found!])
283 plugin_volumealsa=
284 fi
c044bccf 285else
24053345
HJYP
286 dnl force OSS plugin to <null>
287 plugin_volume=
c044bccf 288fi
9dda8252
JL
289
290dnl Exclude indicator support when there is no support.
291if test x"$indicator_support" = "xno"; then
292 plugin_indicator=
293fi
294
22242ed4 295PLUGINS_LIST="\
7e20ea34 296 $plugin_netstatus \
65efa143 297 $plugin_netstat \
7e20ea34
HJYP
298 $plugin_volume \
299 $plugin_volumealsa \
300 $plugin_cpu \
301 $plugin_deskno \
302 $plugin_batt \
303 $plugin_kbled \
62550cea 304 $plugin_xkb \
c03f7bd0 305 $plugin_thermal \
9770479a 306 $plugin_cpufreq \
2ae466ab 307 $plugin_monitors \
f0a22461
PS
308 $plugin_indicator \
309 $plugin_weather"
22242ed4 310
199c3ea8
JH
311AC_SUBST(PLUGINS_LIST)
312
fcb35553
PS
313# Plugin-specific dependencies
314# nestat
315if test x"$plugin_netstat" != "x";then
316AC_CHECK_HEADER([iwlib.h],,
317 AC_MSG_ERROR([netstat plugin requires wireless-tools-devel]))
318fi
1141e22a 319
f0a22461
PS
320# weather
321if test x"$plugin_weather" != "x";then
322PKG_CHECK_MODULES([LIBXML2], [libxml-2.0])
323AC_SUBST(LIBXML2_CFLAGS)
324AC_SUBST(LIBXML2_LIBS)
325fi
326
a52c2257
HJYP
327# Checks for header files.
328AC_PATH_X
329AC_HEADER_STDC
330AC_HEADER_SYS_WAIT
331AC_CHECK_HEADERS([locale.h stdlib.h string.h sys/time.h unistd.h])
332
333# Checks for typedefs, structures, and compiler characteristics.
334AC_C_CONST
335AC_C_INLINE
336AC_STRUCT_TM
337
338# Checks for library functions.
339AC_FUNC_MALLOC
340AC_FUNC_MEMCMP
341AC_TYPE_SIGNAL
342AC_FUNC_STAT
343AC_FUNC_STRFTIME
344AC_CHECK_FUNCS([bzero memset mkdir setlocale strchr])
345
bed635b7
AG
346dnl check for menu-cache versions 0.4.x since no macro MENU_CACHE_CHECK_VERSION
347dnl is available in those versions
348LIBS_save="${LIBS}"
349LIBS="${LIBS} ${MENU_CACHE_LIBS}"
350AC_CHECK_FUNCS(menu_cache_dir_list_children)
351LIBS="${LIBS_save}"
a52c2257 352
5f9e4cb1
JL
353# Generate po/LINGUAS on the fly rather than relying on translators
354# to maintain it manually. This also overcome the problem that Transifex
355# cannot add a language to po/LINGUAS if a new po file is submitted.
356rm -f $srcdir/po/LINGUAS
357for po_file in `ls $srcdir/po/*.po | sort`;
358do
359 lang=`echo "$po_file" | sed "s|.*/po/\(.*\)\.po|\1|g"`
360 echo $lang >> $srcdir/po/LINGUAS
361done
362
a52c2257 363GETTEXT_PACKAGE=lxpanel
00118bd4 364AM_GNU_GETTEXT([external])
a52c2257
HJYP
365AM_GNU_GETTEXT_VERSION(0.14.1)
366AC_SUBST(GETTEXT_PACKAGE)
367AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Gettext package.])
368
a52c2257
HJYP
369AM_GLIB_GNU_GETTEXT
370
40189d64
JH
371if test x"$enable_man" = x"yes"; then
372 AC_PATH_PROG([XSLTPROC], [xsltproc])
373 if test -z "$XSLTPROC"; then
374 enable_man=no
375 fi
376
377 dnl check for DocBook DTD and stylesheets in the local catalog.
378 JH_CHECK_XML_CATALOG([-//OASIS//DTD DocBook XML V4.1.2//EN],
379 [DocBook XML DTD V4.1.2], [], enable_man=no)
380 JH_CHECK_XML_CATALOG([http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl],
381 [DocBook XSL Stylesheets >= 1.70.1], [], enable_man=no)
382fi
383
384AM_CONDITIONAL(ENABLE_REGENERATE_MAN, test "x$enable_man" != "xno")
385
b366baa2
AG
386AC_ARG_ENABLE(debug,
387 [AC_HELP_STRING([--enable-debug],
388 [enable debug support @<:@default=no@:>@])],
389 [enable_debug="${enableval}"],
390 [enable_debug=no]
391)
392if test "$enable_debug" = "yes"; then
393 # turn on debug and disable optimization
394 CPPFLAGS="$CPPFLAGS -DG_ENABLE_DEBUG -O0 -g"
395 case "$CC" in
396 gcc*)
397 CPPFLAGS="$CPPFLAGS -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Werror=implicit-function-declaration"
398 ;;
399 *)
400 ;;
401 esac
402 dnl Be more strict on portability
403 #CPPFLAGS="$CPPFLAGS -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=700"
404else
405 # turn off glib debug checks
406 CPPFLAGS="$CPPFLAGS -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS"
407fi
408
1f4bc3aa
AG
409dnl Fix invalid sysconfdir when --prefix=/usr
410if test `eval "echo $sysconfdir"` = /usr/etc
411then
412 sysconfdir=/etc
413fi
414
a52c2257 415AC_CONFIG_FILES([
f5c43b11 416 lxpanel.pc
24053345
HJYP
417 Makefile
418 src/Makefile
419 src/plugins/Makefile
420 src/plugins/netstatus/Makefile
65efa143 421 src/plugins/netstat/Makefile
24053345
HJYP
422 src/plugins/volume/Makefile
423 src/plugins/volumealsa/Makefile
424 src/plugins/cpu/Makefile
425 src/plugins/deskno/Makefile
426 src/plugins/batt/Makefile
7e20ea34 427 src/plugins/kbled/Makefile
22242ed4 428 src/plugins/xkb/Makefile
62550cea 429 src/plugins/thermal/Makefile
c03f7bd0 430 src/plugins/cpufreq/Makefile
9770479a 431 src/plugins/monitors/Makefile
9dda8252 432 src/plugins/indicator/Makefile
f0a22461 433 src/plugins/weather/Makefile
24053345
HJYP
434 po/Makefile.in
435 data/Makefile
cf701cb7 436 data/default/panels/panel
65efa143
JL
437 data/two_panels/panels/top
438 data/two_panels/panels/bottom
70344206 439 man/Makefile
a52c2257
HJYP
440])
441AC_OUTPUT
199c3ea8 442
24053345 443echo
ce728cd9 444echo lxpanel ......................... : Version $VERSION
199c3ea8
JH
445echo
446echo Prefix........................... : $prefix
1f4bc3aa
AG
447echo System config directory.......... : `eval "echo $sysconfdir"`
448echo
449
199c3ea8
JH
450if test x$plugins_loading = xyes; then
451echo Building dynamic plugins:
24053345
HJYP
452 if test x"$plugin_netstatus" != x; then
453 AC_MSG_RESULT([ netstatus - Monitor networking status])
454 fi
65efa143
JL
455 if test x"$plugin_netstat" != x; then
456 AC_MSG_RESULT([ netstat - Monitor networking status])
457 fi
24053345 458 if test x"$plugin_volume" != x; then
8f9e6256 459 AC_MSG_RESULT([ volume - Display and adjust volume of sound card for OSS])
24053345
HJYP
460 fi
461 if test x"$plugin_volumealsa" != x; then
462 AC_MSG_RESULT([ volumealsa - Display and adjust volume of sound card for ALSA])
463 fi
464 if test x"$plugin_cpu" != x; then
465 AC_MSG_RESULT([ cpu - Display CPU loading])
466 fi
467 if test x"$plugin_deskno" != x; then
468 AC_MSG_RESULT([ deskno - Display desktop number])
469 fi
470 if test x"$plugin_batt" != x; then
471 AC_MSG_RESULT([ batt - Monitor battery status])
472 fi
7e20ea34
HJYP
473 if test x"$plugin_kbled" != x; then
474 AC_MSG_RESULT([ kbled - Indicator for CapsLock, NumLock, and ScrLock])
475 fi
22242ed4 476 if test x"$plugin_xkb" != x; then
fc26a89e 477 AC_MSG_RESULT([ xkb - Keyboard layout handler])
22242ed4 478 fi
62550cea
FC
479 if test x"$plugin_thermal" != x; then
480 AC_MSG_RESULT([ thermal - Temperature monitor])
481 fi
c03f7bd0
DK
482 if test x"$plugin_cpufreq" != x; then
483 AC_MSG_RESULT([ cpufreq - CpuFreq frontend])
484 fi
9770479a
JL
485 if test x"$plugin_monitors" != x; then
486 AC_MSG_RESULT([ monitors - Monitors for CPU & RAM])
487 fi
9dda8252
JL
488 if test x"$plugin_indicator" != x; then
489 AC_MSG_RESULT([ indicator - Indicator support])
490 fi
f0a22461
PS
491 if test x"$plugin_weather" != x; then
492 AC_MSG_RESULT([ weather - Weather conditions and forecast])
493 fi
199c3ea8
JH
494else
495echo Dynamic loader for plugins....... : disabled.
496fi
1234b94c 497
1f4bc3aa
AG
498if test x"$sysconfdir" != x'/etc'; then
499 echo
500 echo 'Warning: sysconfdir is not /etc. It might be not what you want.'
501 echo 'Please consider passing --sysconfdir=/etc to configure.'
502fi
503
1234b94c 504echo
46cea569
HJYP
505echo 'LXPanel requires menu-cache and lxmenu-data packages since'
506echo 'version 0.4.0. Please make sure they are correctly installed.'
507echo 'Otherwise, you will not be able to use applications menu.'
508echo
1234b94c 509