From 84be692f9051fff47db5654a2b81d86930e842d6 Mon Sep 17 00:00:00 2001 From: cube Date: Sat, 11 Feb 2006 10:03:48 +0000 Subject: Update to 20060107. Patch from Joerg Sonnenberger and minor fixes. Most noticeable changes (there's more than one year worth of them, anyway): * Potentially blocking status meters are now in a separate ion-statusd program. Please write your additional status meters that do not monitor the state of Ion itself for ion-statusd (and contribute them in the Ion3 scripts repository at http://iki.fi/tuomov/repos/ion-scripts-3/). For help on writing such status meters, see e.g. source for statusd_load in ext_statusbar/ion-statusd. * Line editor now supports history search; Control+Up/Down only scrolls through history entries with matching initial part. * Arbitrary winprop matching criteria is supported. Lua scripts have access to X properties. * So-called "placeholders". With the help of these the positions of full-screen windows are remembered in their original frames, and don't just get inserted after currently active window when returning from full-screen mode. Under a session manager placeholders are also used to remember the original order of windows. * Experimental auto-show-completions support, which is also on by default now. In this mode the Tab key can be used to cycle forward through the completions, and Shift+Tab backwards. Modify the settings seen in the new mod_query.lua to get normal Tab-completion, or change the completion delay. --- wm/ion3-devel/Makefile | 15 +- wm/ion3-devel/PLIST | 42 +- wm/ion3-devel/distinfo | 21 +- wm/ion3-devel/patches/patch-aa | 48 --- wm/ion3-devel/patches/patch-ab | 931 ----------------------------------------- wm/ion3-devel/patches/patch-ad | 12 +- wm/ion3-devel/patches/patch-ae | 14 +- wm/ion3-devel/patches/patch-af | 16 - wm/ion3-devel/patches/patch-ag | 16 +- wm/ion3-devel/patches/patch-aj | 12 + wm/ion3-devel/patches/patch-ak | 13 + wm/ion3-devel/patches/patch-al | 61 +++ wm/ion3-devel/patches/patch-am | 13 + 13 files changed, 161 insertions(+), 1053 deletions(-) delete mode 100644 wm/ion3-devel/patches/patch-aa delete mode 100644 wm/ion3-devel/patches/patch-ab delete mode 100644 wm/ion3-devel/patches/patch-af create mode 100644 wm/ion3-devel/patches/patch-aj create mode 100644 wm/ion3-devel/patches/patch-ak create mode 100644 wm/ion3-devel/patches/patch-al create mode 100644 wm/ion3-devel/patches/patch-am (limited to 'wm') diff --git a/wm/ion3-devel/Makefile b/wm/ion3-devel/Makefile index be6a2dd2a9e..17c8827d192 100644 --- a/wm/ion3-devel/Makefile +++ b/wm/ion3-devel/Makefile @@ -1,9 +1,8 @@ -# $NetBSD: Makefile,v 1.10 2006/02/05 23:11:13 joerg Exp $ +# $NetBSD: Makefile,v 1.11 2006/02/11 10:03:48 cube Exp $ # -DISTNAME= ion-3ds-20040906 +DISTNAME= ion-3ds-20060107 PKGNAME= ${DISTNAME:S/-3ds-/3-/} -PKGREVISION= 2 CATEGORIES= wm x11 MASTER_SITES= http://modeemi.cs.tut.fi/~tuomov/ion/dl/ @@ -14,7 +13,6 @@ COMMENT= Keyboard friendly tiling window manager PKG_INSTALLATION_TYPES= overwrite pkgviews USE_TOOLS+= gmake -GNU_CONFIGURE= YES USE_PKGLOCALEDIR= YES BUILD_USES_MSGFMT= YES @@ -33,7 +31,8 @@ EGFILES= cfg_bindings.lua cfg_dock.lua cfg_floatws.lua \ look_clean.lua look_cleanios.lua \ look_cleanviolet.lua look_dusky.lua \ look_greyviolet.lua look_ios.lua \ - look_simpleblue.lua look_wheat2.lua + look_simpleblue.lua look_wheat2.lua \ + lookcommon_clean.lua lookcommon_emboss.lua .for f in ${EGFILES} CONF_FILES+= ${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f} .endfor @@ -42,9 +41,3 @@ CONF_FILES+= ${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f} .include "../../lang/lua/buildlink3.mk" .include "../../mk/x11.buildlink3.mk" .include "../../mk/bsd.pkg.mk" - -# This is necessary because gettext's builtin.mk add stuff there, -# and ion3's autoconf is rather broken in the way it auto-configures -# itself for gettext. Eventually ion3 should be fixed, but right now -# it is not really possible. -LIBS= # none diff --git a/wm/ion3-devel/PLIST b/wm/ion3-devel/PLIST index 0323fd1a4ec..52736f21542 100644 --- a/wm/ion3-devel/PLIST +++ b/wm/ion3-devel/PLIST @@ -1,34 +1,47 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2004/10/04 20:50:57 cube Exp $ +@comment $NetBSD: PLIST,v 1.2 2006/02/11 10:03:48 cube Exp $ bin/ion3 bin/pwm3 +lib/ion3/bin/ion-completefile +lib/ion3/bin/ion-statusd lib/ion3/lc/de.lc lib/ion3/lc/ext_statusbar.lc -lib/ion3/lc/ioncore-bindings.lc -lib/ion3/lc/ioncore-efbb.lc -lib/ion3/lc/ioncore-ext.lc -lib/ion3/lc/ioncore-luaext.lc -lib/ion3/lc/ioncore-misc.lc -lib/ion3/lc/ioncore-winprops.lc +lib/ion3/lc/ioncore_bindings.lc +lib/ion3/lc/ioncore_efbb.lc +lib/ion3/lc/ioncore_ext.lc +lib/ion3/lc/ioncore_luaext.lc +lib/ion3/lc/ioncore_menudb.lc +lib/ion3/lc/ioncore_misc.lc +lib/ion3/lc/ioncore_wd.lc +lib/ion3/lc/ioncore_winprops.lc lib/ion3/lc/mod_dock.lc lib/ion3/lc/mod_floatws.lc lib/ion3/lc/mod_ionws.lc lib/ion3/lc/mod_menu.lc +lib/ion3/lc/mod_mgmtmode.lc lib/ion3/lc/mod_panews.lc lib/ion3/lc/mod_query.lc +lib/ion3/lc/mod_query_chdir.lc lib/ion3/lc/mod_sm.lc lib/ion3/lc/mod_sp.lc +lib/ion3/lc/mod_statusbar.lc +lib/ion3/lc/statusd_date.lc +lib/ion3/lc/statusd_load.lc +lib/ion3/lc/statusd_mail.lc lib/ion3/mod/de.so lib/ion3/mod/mod_dock.so lib/ion3/mod/mod_floatws.so lib/ion3/mod/mod_ionws.so lib/ion3/mod/mod_menu.so +lib/ion3/mod/mod_mgmtmode.so lib/ion3/mod/mod_panews.so lib/ion3/mod/mod_query.so lib/ion3/mod/mod_sm.so lib/ion3/mod/mod_sp.so -libexec/ion3/bin/ion-completefile +lib/ion3/mod/mod_statusbar.so man/cs/man1/ion3.1 man/cs/man1/pwm3.1 +man/de/man1/ion3.1 +man/de/man1/pwm3.1 man/fi/man1/ion3.1 man/fi/man1/pwm3.1 man/man1/ion3.1 @@ -52,7 +65,6 @@ share/examples/ion3/cfg_pwm_menus.lua share/examples/ion3/cfg_query.lua share/examples/ion3/cfg_sp.lua share/examples/ion3/cfg_statusbar.lua -share/examples/ion3/dock-draw.lua share/examples/ion3/look.lua share/examples/ion3/look_brownsteel.lua share/examples/ion3/look_clean.lua @@ -62,23 +74,21 @@ share/examples/ion3/look_dusky.lua share/examples/ion3/look_greyviolet.lua share/examples/ion3/look_ios.lua share/examples/ion3/look_simpleblue.lua -share/examples/ion3/look_wheat2.lua +share/examples/ion3/lookcommon_clean.lua +share/examples/ion3/lookcommon_emboss.lua share/ion3/ion-completeman -share/ion3/ion-edit -share/ion3/ion-man share/ion3/ion-runinxterm -share/ion3/ion-ssh -share/ion3/ion-view share/ion3/welcome.cs.txt +share/ion3/welcome.de.txt share/ion3/welcome.fi.txt share/ion3/welcome.txt ${PKGLOCALEDIR}/locale/cs/LC_MESSAGES/ion3.mo +${PKGLOCALEDIR}/locale/de/LC_MESSAGES/ion3.mo ${PKGLOCALEDIR}/locale/fi/LC_MESSAGES/ion3.mo @dirrm share/ion3 @dirrm share/examples/ion3 @dirrm share/doc/ion3 -@dirrm libexec/ion3/bin -@dirrm libexec/ion3 +@dirrm lib/ion3/bin @dirrm lib/ion3/mod @dirrm lib/ion3/lc @dirrm lib/ion3 diff --git a/wm/ion3-devel/distinfo b/wm/ion3-devel/distinfo index f3a29c971cc..828e16c37e1 100644 --- a/wm/ion3-devel/distinfo +++ b/wm/ion3-devel/distinfo @@ -1,14 +1,15 @@ -$NetBSD: distinfo,v 1.2 2005/02/23 18:43:54 wiz Exp $ +$NetBSD: distinfo,v 1.3 2006/02/11 10:03:48 cube Exp $ -SHA1 (ion-3ds-20040906.tar.gz) = 56f74e8bec7861488b3339183cf20f9bb15e5691 -RMD160 (ion-3ds-20040906.tar.gz) = 506dbb47e6a4abd8f5abcd0b4bc6af4098a97e83 -Size (ion-3ds-20040906.tar.gz) = 515278 bytes -SHA1 (patch-aa) = ad7d6038f48953d1bc1243a056e60aae37943233 -SHA1 (patch-ab) = ecd1804c8fb4c1b7591b004e941e36c94777852f +SHA1 (ion-3ds-20060107.tar.gz) = 9ad795bbcd29281a62f932a30292182bc8506e54 +RMD160 (ion-3ds-20060107.tar.gz) = a486e3065951349c971368f8e8abc847aa23a746 +Size (ion-3ds-20060107.tar.gz) = 597794 bytes SHA1 (patch-ac) = db04fbd865a61104ebb6f023424f22ecbc763ae3 -SHA1 (patch-ad) = 059a97ed0fedc47a58a3998a358f8fe117cd8255 -SHA1 (patch-ae) = f31da4c0c6e15ea32e2c70a0f9293ec25bd521b0 -SHA1 (patch-af) = 0189a36cb5baa3c5c6468103c80df25cd7936903 -SHA1 (patch-ag) = 6ee3eba8031e7b3ee674b52a171feeb595fad04d +SHA1 (patch-ad) = 2cb205aa3836605f22f5672f5eb5484150e4a558 +SHA1 (patch-ae) = 8ca9322451de10b3f5810c3656ac7494eb763dd4 +SHA1 (patch-ag) = 8157ab643fa1d0902757e99833b22e916b6f8de6 SHA1 (patch-ah) = 15efb122f2a54919d0dc4db3d95c4f89c02db361 SHA1 (patch-ai) = 0d2e440163caceb8e5dd7a88548569083cd16653 +SHA1 (patch-aj) = d9a2f02f7b560bd950290758a980d72780fdfca0 +SHA1 (patch-ak) = 4f7a8dffb06aa03aaebcf645b22b93ef4e0fe2bc +SHA1 (patch-al) = 20dc2631feb7b3efa1a19bf706ce5702967fab92 +SHA1 (patch-am) = 0ff629d6b9f60760e10fa30c23ccbe24dac284b1 diff --git a/wm/ion3-devel/patches/patch-aa b/wm/ion3-devel/patches/patch-aa deleted file mode 100644 index fceb3b6fb3c..00000000000 --- a/wm/ion3-devel/patches/patch-aa +++ /dev/null @@ -1,48 +0,0 @@ -$NetBSD: patch-aa,v 1.1.1.1 2004/10/04 20:50:57 cube Exp $ - ---- configure.ac.orig 2004-09-06 20:28:34.000000000 +0200 -+++ configure.ac -@@ -106,7 +106,7 @@ AC_ARG_ENABLE([sun-f1x-remap], - [AS_HELP_STRING([--enable-sun-f1x-remap], - [Remap F11 key to SunF36 and F12 to SunF37])]) - --if test "x$enable_sun_f1x_remap" == xyes; then -+if test "x$enable_sun_f1x_remap" = xyes; then - _DCF_SUN_F1X_REMAP="1" - fi - -@@ -117,7 +117,18 @@ dnl DL_LIBS {{{ - AC_SUBST([DL_LIBS]) - - AC_CHECK_HEADER([dlfcn.h], [], [exit 1]) --AC_CHECK_LIB([dl], [dlopen], [DL_LIBS="-ldl"], [exit 1]) -+AC_CHECK_FUNCS([dlopen], [], [ -+ AC_CHECK_LIB([dl], [dlopen], [DL_LIBS="-ldl"], [exit 1])]) -+ -+dnl }}} -+ -+dnl INTL_LIBS {{{ -+ -+AC_SUBST([INTL_LIBS]) -+ -+AC_CHECK_HEADER([libintl.h], [], [exit 1]) -+AC_CHECK_FUNCS([gettext], [], [ -+ AC_CHECK_LIB([intl], [gettext], [INTL_LIBS="-lintl"], [exit 1])]) - - dnl }}} - -@@ -406,12 +417,13 @@ AC_ARG_ENABLE([locale], - [AS_HELP_STRING([--disable-locale], - [Disable locale support])]) - --if test "x$enable_locale" == xno; then -+if test "x$enable_locale" = xno; then - _DCF_NO_LOCALE="-DCF_NO_LOCALE" - fi - - dnl }}} - -+AC_SUBST(PKGLOCALEDIR) - - AC_OUTPUT([system-ac.mk]) - diff --git a/wm/ion3-devel/patches/patch-ab b/wm/ion3-devel/patches/patch-ab deleted file mode 100644 index 84f3563f580..00000000000 --- a/wm/ion3-devel/patches/patch-ab +++ /dev/null @@ -1,931 +0,0 @@ -$NetBSD: patch-ab,v 1.1.1.1 2004/10/04 20:50:58 cube Exp $ - ---- configure.orig 2004-09-06 20:28:37.000000000 +0200 -+++ configure -@@ -311,7 +311,7 @@ ac_includes_default="\ - # include - #endif" - --ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT EGREP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP AR ac_ct_AR CPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XINERAMA_LIBS _DCF_NO_XINERAMA _DCF_XFREE86_TEXTPROP_BUG_WORKAROUND _DCF_DE_USE_XUTF8 _DCF_SUN_F1X_REMAP DL_LIBS PRELOAD_MODULES LUA LUAC LUA_INCLUDES LUA_LIBS HAS_SYSTEM_ASPRINTF XOPEN_SOURCE C99_SOURCE _DCF_HAS_VA_COPY _DCF_NO_LOCALE LIBOBJS LTLIBOBJS' -+ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT EGREP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP AR ac_ct_AR CPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XINERAMA_LIBS _DCF_NO_XINERAMA _DCF_XFREE86_TEXTPROP_BUG_WORKAROUND _DCF_DE_USE_XUTF8 _DCF_SUN_F1X_REMAP DL_LIBS INTL_LIBS PRELOAD_MODULES LUA LUAC LUA_INCLUDES LUA_LIBS HAS_SYSTEM_ASPRINTF XOPEN_SOURCE C99_SOURCE _DCF_HAS_VA_COPY _DCF_NO_LOCALE PKGLOCALEDIR LIBOBJS LTLIBOBJS' - ac_subst_files='' - - # Initialize some variables set by options. -@@ -972,7 +972,7 @@ esac - else - echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 - fi -- cd "$ac_popdir" -+ cd $ac_popdir - done - fi - -@@ -1900,7 +1900,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && -- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' -+ { ac_try='test -z "$ac_c_werror_flag" -+ || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? -@@ -1958,7 +1959,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && -- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' -+ { ac_try='test -z "$ac_c_werror_flag" -+ || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? -@@ -2074,7 +2076,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && -- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' -+ { ac_try='test -z "$ac_c_werror_flag" -+ || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? -@@ -2128,7 +2131,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && -- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' -+ { ac_try='test -z "$ac_c_werror_flag" -+ || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? -@@ -2173,7 +2177,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && -- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' -+ { ac_try='test -z "$ac_c_werror_flag" -+ || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? -@@ -2217,7 +2222,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && -- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' -+ { ac_try='test -z "$ac_c_werror_flag" -+ || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? -@@ -2851,12 +2857,9 @@ ac_link='$CC -o conftest$ac_exeext $CFLA - ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -- --if test "x$ac_path_x_has_been_run" != xyes; then -- echo "$as_me:$LINENO: checking for X" >&5 -+echo "$as_me:$LINENO: checking for X" >&5 - echo $ECHO_N "checking for X... $ECHO_C" >&6 - --ac_path_x_has_been_run=yes - - # Check whether --with-x or --without-x was given. - if test "${with_x+set}" = set; then -@@ -2949,7 +2952,7 @@ ac_x_header_dirs=' - /usr/openwin/share/include' - - if test "$ac_x_includes" = no; then -- # Guess where to find include files, by looking for a specified header file. -+ # Guess where to find include files, by looking for Intrinsic.h. - # First, try using that file with no special directory specified. - cat >conftest.$ac_ext <<_ACEOF - /* confdefs.h. */ -@@ -3023,7 +3026,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && -- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' -+ { ac_try='test -z "$ac_c_werror_flag" -+ || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? -@@ -3083,15 +3087,10 @@ else - # Update the cache value to reflect the command line values. - ac_cv_have_x="have_x=yes \ - ac_x_includes=$x_includes ac_x_libraries=$x_libraries" -- # It might be that x_includes is empty (headers are found in the -- # standard search path. Then output the corresponding message -- ac_out_x_includes=$x_includes -- test "x$x_includes" = x && ac_out_x_includes="in standard search path" -- echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5 --echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6 -+ echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 -+echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 - fi - --fi - if test "$no_x" = yes; then - # Not all programs may use this symbol, but it does not hurt to define it. - -@@ -3139,7 +3138,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && -- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' -+ { ac_try='test -z "$ac_c_werror_flag" -+ || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? -@@ -3190,7 +3190,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && -- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' -+ { ac_try='test -z "$ac_c_werror_flag" -+ || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? -@@ -3266,7 +3267,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && -- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' -+ { ac_try='test -z "$ac_c_werror_flag" -+ || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? -@@ -3321,7 +3323,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && -- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' -+ { ac_try='test -z "$ac_c_werror_flag" -+ || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? -@@ -3389,7 +3392,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && -- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' -+ { ac_try='test -z "$ac_c_werror_flag" -+ || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? -@@ -3497,7 +3501,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && -- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' -+ { ac_try='test -z "$ac_c_werror_flag" -+ || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? -@@ -3561,7 +3566,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && -- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' -+ { ac_try='test -z "$ac_c_werror_flag" -+ || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? -@@ -3629,7 +3635,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && -- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' -+ { ac_try='test -z "$ac_c_werror_flag" -+ || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? -@@ -3733,7 +3740,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && -- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' -+ { ac_try='test -z "$ac_c_werror_flag" -+ || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? -@@ -3797,7 +3805,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && -- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' -+ { ac_try='test -z "$ac_c_werror_flag" -+ || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? -@@ -3894,7 +3903,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && -- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' -+ { ac_try='test -z "$ac_c_werror_flag" -+ || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? -@@ -3958,7 +3968,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && -- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' -+ { ac_try='test -z "$ac_c_werror_flag" -+ || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? -@@ -4055,7 +4066,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && -- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' -+ { ac_try='test -z "$ac_c_werror_flag" -+ || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? -@@ -4119,7 +4131,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && -- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' -+ { ac_try='test -z "$ac_c_werror_flag" -+ || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? -@@ -4198,7 +4211,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && -- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' -+ { ac_try='test -z "$ac_c_werror_flag" -+ || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? -@@ -4270,7 +4284,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && -- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' -+ { ac_try='test -z "$ac_c_werror_flag" -+ || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? -@@ -4351,7 +4366,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && -- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' -+ { ac_try='test -z "$ac_c_werror_flag" -+ || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? -@@ -4480,7 +4496,7 @@ if test "${enable_sun_f1x_remap+set}" = - - fi; - --if test "x$enable_sun_f1x_remap" == xyes; then -+if test "x$enable_sun_f1x_remap" = xyes; then - _DCF_SUN_F1X_REMAP="1" - fi - -@@ -4521,7 +4537,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && -- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' -+ { ac_try='test -z "$ac_c_werror_flag" -+ || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? -@@ -4691,7 +4708,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && -- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' -+ { ac_try='test -z "$ac_c_werror_flag" -+ || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? -@@ -4754,7 +4772,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && -- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' -+ { ac_try='test -z "$ac_c_werror_flag" -+ || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? -@@ -4867,7 +4886,108 @@ else - fi - - --echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 -+ -+for ac_func in dlopen -+do -+as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -+echo "$as_me:$LINENO: checking for $ac_func" >&5 -+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -+if eval "test \"\${$as_ac_var+set}\" = set"; then -+ echo $ECHO_N "(cached) $ECHO_C" >&6 -+else -+ cat >conftest.$ac_ext <<_ACEOF -+/* confdefs.h. */ -+_ACEOF -+cat confdefs.h >>conftest.$ac_ext -+cat >>conftest.$ac_ext <<_ACEOF -+/* end confdefs.h. */ -+/* Define $ac_func to an innocuous variant, in case declares $ac_func. -+ For example, HP-UX 11i declares gettimeofday. */ -+#define $ac_func innocuous_$ac_func -+ -+/* System header to define __stub macros and hopefully few prototypes, -+ which can conflict with char $ac_func (); below. -+ Prefer to if __STDC__ is defined, since -+ exists even on freestanding compilers. */ -+ -+#ifdef __STDC__ -+# include -+#else -+# include -+#endif -+ -+#undef $ac_func -+ -+/* Override any gcc2 internal prototype to avoid an error. */ -+#ifdef __cplusplus -+extern "C" -+{ -+#endif -+/* We use char because int might match the return type of a gcc2 -+ builtin and then its argument prototype would still apply. */ -+char $ac_func (); -+/* The GNU C library defines this for functions which it implements -+ to always fail with ENOSYS. Some functions are actually named -+ something starting with __ and the normal name is an alias. */ -+#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -+choke me -+#else -+char (*f) () = $ac_func; -+#endif -+#ifdef __cplusplus -+} -+#endif -+ -+int -+main () -+{ -+return f != $ac_func; -+ ; -+ return 0; -+} -+_ACEOF -+rm -f conftest.$ac_objext conftest$ac_exeext -+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 -+ (eval $ac_link) 2>conftest.er1 -+ ac_status=$? -+ grep -v '^ *+' conftest.er1 >conftest.err -+ rm -f conftest.er1 -+ cat conftest.err >&5 -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); } && -+ { ac_try='test -z "$ac_c_werror_flag" -+ || test ! -s conftest.err' -+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -+ (eval $ac_try) 2>&5 -+ ac_status=$? -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); }; } && -+ { ac_try='test -s conftest$ac_exeext' -+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -+ (eval $ac_try) 2>&5 -+ ac_status=$? -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); }; }; then -+ eval "$as_ac_var=yes" -+else -+ echo "$as_me: failed program was:" >&5 -+sed 's/^/| /' conftest.$ac_ext >&5 -+ -+eval "$as_ac_var=no" -+fi -+rm -f conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+fi -+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -+echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -+if test `eval echo '${'$as_ac_var'}'` = yes; then -+ cat >>confdefs.h <<_ACEOF -+#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -+_ACEOF -+ -+else -+ -+ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 - echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 - if test "${ac_cv_lib_dl_dlopen+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -@@ -4905,7 +5025,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && -- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' -+ { ac_try='test -z "$ac_c_werror_flag" -+ || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? -@@ -4936,6 +5057,332 @@ else - exit 1 - fi - -+fi -+done -+ -+ -+ -+ -+ -+ -+if test "${ac_cv_header_libintl_h+set}" = set; then -+ echo "$as_me:$LINENO: checking for libintl.h" >&5 -+echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6 -+if test "${ac_cv_header_libintl_h+set}" = set; then -+ echo $ECHO_N "(cached) $ECHO_C" >&6 -+fi -+echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5 -+echo "${ECHO_T}$ac_cv_header_libintl_h" >&6 -+else -+ # Is the header compilable? -+echo "$as_me:$LINENO: checking libintl.h usability" >&5 -+echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6 -+cat >conftest.$ac_ext <<_ACEOF -+/* confdefs.h. */ -+_ACEOF -+cat confdefs.h >>conftest.$ac_ext -+cat >>conftest.$ac_ext <<_ACEOF -+/* end confdefs.h. */ -+$ac_includes_default -+#include -+_ACEOF -+rm -f conftest.$ac_objext -+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 -+ (eval $ac_compile) 2>conftest.er1 -+ ac_status=$? -+ grep -v '^ *+' conftest.er1 >conftest.err -+ rm -f conftest.er1 -+ cat conftest.err >&5 -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); } && -+ { ac_try='test -z "$ac_c_werror_flag" -+ || test ! -s conftest.err' -+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -+ (eval $ac_try) 2>&5 -+ ac_status=$? -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); }; } && -+ { ac_try='test -s conftest.$ac_objext' -+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -+ (eval $ac_try) 2>&5 -+ ac_status=$? -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); }; }; then -+ ac_header_compiler=yes -+else -+ echo "$as_me: failed program was:" >&5 -+sed 's/^/| /' conftest.$ac_ext >&5 -+ -+ac_header_compiler=no -+fi -+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext -+echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -+echo "${ECHO_T}$ac_header_compiler" >&6 -+ -+# Is the header present? -+echo "$as_me:$LINENO: checking libintl.h presence" >&5 -+echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6 -+cat >conftest.$ac_ext <<_ACEOF -+/* confdefs.h. */ -+_ACEOF -+cat confdefs.h >>conftest.$ac_ext -+cat >>conftest.$ac_ext <<_ACEOF -+/* end confdefs.h. */ -+#include -+_ACEOF -+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 -+ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 -+ ac_status=$? -+ grep -v '^ *+' conftest.er1 >conftest.err -+ rm -f conftest.er1 -+ cat conftest.err >&5 -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); } >/dev/null; then -+ if test -s conftest.err; then -+ ac_cpp_err=$ac_c_preproc_warn_flag -+ ac_cpp_err=$ac_cpp_err$ac_c_werror_flag -+ else -+ ac_cpp_err= -+ fi -+else -+ ac_cpp_err=yes -+fi -+if test -z "$ac_cpp_err"; then -+ ac_header_preproc=yes -+else -+ echo "$as_me: failed program was:" >&5 -+sed 's/^/| /' conftest.$ac_ext >&5 -+ -+ ac_header_preproc=no -+fi -+rm -f conftest.err conftest.$ac_ext -+echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -+echo "${ECHO_T}$ac_header_preproc" >&6 -+ -+# So? What about this header? -+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in -+ yes:no: ) -+ { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5 -+echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} -+ { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5 -+echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;} -+ ac_header_preproc=yes -+ ;; -+ no:yes:* ) -+ { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5 -+echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;} -+ { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5 -+echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;} -+ { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5 -+echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;} -+ { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5 -+echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;} -+ { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5 -+echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;} -+ { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5 -+echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;} -+ ( -+ cat <<\_ASBOX -+## ---------------------------- ## -+## Report this to tuomov@iki.fi ## -+## ---------------------------- ## -+_ASBOX -+ ) | -+ sed "s/^/$as_me: WARNING: /" >&2 -+ ;; -+esac -+echo "$as_me:$LINENO: checking for libintl.h" >&5 -+echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6 -+if test "${ac_cv_header_libintl_h+set}" = set; then -+ echo $ECHO_N "(cached) $ECHO_C" >&6 -+else -+ ac_cv_header_libintl_h=$ac_header_preproc -+fi -+echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5 -+echo "${ECHO_T}$ac_cv_header_libintl_h" >&6 -+ -+fi -+if test $ac_cv_header_libintl_h = yes; then -+ : -+else -+ exit 1 -+fi -+ -+ -+ -+for ac_func in gettext -+do -+as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -+echo "$as_me:$LINENO: checking for $ac_func" >&5 -+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -+if eval "test \"\${$as_ac_var+set}\" = set"; then -+ echo $ECHO_N "(cached) $ECHO_C" >&6 -+else -+ cat >conftest.$ac_ext <<_ACEOF -+/* confdefs.h. */ -+_ACEOF -+cat confdefs.h >>conftest.$ac_ext -+cat >>conftest.$ac_ext <<_ACEOF -+/* end confdefs.h. */ -+/* Define $ac_func to an innocuous variant, in case declares $ac_func. -+ For example, HP-UX 11i declares gettimeofday. */ -+#define $ac_func innocuous_$ac_func -+ -+/* System header to define __stub macros and hopefully few prototypes, -+ which can conflict with char $ac_func (); below. -+ Prefer to if __STDC__ is defined, since -+ exists even on freestanding compilers. */ -+ -+#ifdef __STDC__ -+# include -+#else -+# include -+#endif -+ -+#undef $ac_func -+ -+/* Override any gcc2 internal prototype to avoid an error. */ -+#ifdef __cplusplus -+extern "C" -+{ -+#endif -+/* We use char because int might match the return type of a gcc2 -+ builtin and then its argument prototype would still apply. */ -+char $ac_func (); -+/* The GNU C library defines this for functions which it implements -+ to always fail with ENOSYS. Some functions are actually named -+ something starting with __ and the normal name is an alias. */ -+#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -+choke me -+#else -+char (*f) () = $ac_func; -+#endif -+#ifdef __cplusplus -+} -+#endif -+ -+int -+main () -+{ -+return f != $ac_func; -+ ; -+ return 0; -+} -+_ACEOF -+rm -f conftest.$ac_objext conftest$ac_exeext -+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 -+ (eval $ac_link) 2>conftest.er1 -+ ac_status=$? -+ grep -v '^ *+' conftest.er1 >conftest.err -+ rm -f conftest.er1 -+ cat conftest.err >&5 -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); } && -+ { ac_try='test -z "$ac_c_werror_flag" -+ || test ! -s conftest.err' -+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -+ (eval $ac_try) 2>&5 -+ ac_status=$? -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); }; } && -+ { ac_try='test -s conftest$ac_exeext' -+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -+ (eval $ac_try) 2>&5 -+ ac_status=$? -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); }; }; then -+ eval "$as_ac_var=yes" -+else -+ echo "$as_me: failed program was:" >&5 -+sed 's/^/| /' conftest.$ac_ext >&5 -+ -+eval "$as_ac_var=no" -+fi -+rm -f conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+fi -+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -+echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -+if test `eval echo '${'$as_ac_var'}'` = yes; then -+ cat >>confdefs.h <<_ACEOF -+#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -+_ACEOF -+ -+else -+ -+ echo "$as_me:$LINENO: checking for gettext in -lintl" >&5 -+echo $ECHO_N "checking for gettext in -lintl... $ECHO_C" >&6 -+if test "${ac_cv_lib_intl_gettext+set}" = set; then -+ echo $ECHO_N "(cached) $ECHO_C" >&6 -+else -+ ac_check_lib_save_LIBS=$LIBS -+LIBS="-lintl $LIBS" -+cat >conftest.$ac_ext <<_ACEOF -+/* confdefs.h. */ -+_ACEOF -+cat confdefs.h >>conftest.$ac_ext -+cat >>conftest.$ac_ext <<_ACEOF -+/* end confdefs.h. */ -+ -+/* Override any gcc2 internal prototype to avoid an error. */ -+#ifdef __cplusplus -+extern "C" -+#endif -+/* We use char because int might match the return type of a gcc2 -+ builtin and then its argument prototype would still apply. */ -+char gettext (); -+int -+main () -+{ -+gettext (); -+ ; -+ return 0; -+} -+_ACEOF -+rm -f conftest.$ac_objext conftest$ac_exeext -+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 -+ (eval $ac_link) 2>conftest.er1 -+ ac_status=$? -+ grep -v '^ *+' conftest.er1 >conftest.err -+ rm -f conftest.er1 -+ cat conftest.err >&5 -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); } && -+ { ac_try='test -z "$ac_c_werror_flag" -+ || test ! -s conftest.err' -+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -+ (eval $ac_try) 2>&5 -+ ac_status=$? -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); }; } && -+ { ac_try='test -s conftest$ac_exeext' -+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -+ (eval $ac_try) 2>&5 -+ ac_status=$? -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); }; }; then -+ ac_cv_lib_intl_gettext=yes -+else -+ echo "$as_me: failed program was:" >&5 -+sed 's/^/| /' conftest.$ac_ext >&5 -+ -+ac_cv_lib_intl_gettext=no -+fi -+rm -f conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+LIBS=$ac_check_lib_save_LIBS -+fi -+echo "$as_me:$LINENO: result: $ac_cv_lib_intl_gettext" >&5 -+echo "${ECHO_T}$ac_cv_lib_intl_gettext" >&6 -+if test $ac_cv_lib_intl_gettext = yes; then -+ INTL_LIBS="-lintl" -+else -+ exit 1 -+fi -+ -+fi -+done -+ - - - -@@ -5143,7 +5590,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && -- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' -+ { ac_try='test -z "$ac_c_werror_flag" -+ || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? -@@ -5306,7 +5754,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && -- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' -+ { ac_try='test -z "$ac_c_werror_flag" -+ || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? -@@ -5375,7 +5824,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && -- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' -+ { ac_try='test -z "$ac_c_werror_flag" -+ || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? -@@ -5442,7 +5892,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && -- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' -+ { ac_try='test -z "$ac_c_werror_flag" -+ || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? -@@ -5510,7 +5961,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && -- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' -+ { ac_try='test -z "$ac_c_werror_flag" -+ || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? -@@ -5678,7 +6130,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && -- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' -+ { ac_try='test -z "$ac_c_werror_flag" -+ || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? -@@ -5768,7 +6221,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && -- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' -+ { ac_try='test -z "$ac_c_werror_flag" -+ || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? -@@ -5963,7 +6417,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && -- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' -+ { ac_try='test -z "$ac_c_werror_flag" -+ || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? -@@ -6000,12 +6455,13 @@ if test "${enable_locale+set}" = set; th - - fi; - --if test "x$enable_locale" == xno; then -+if test "x$enable_locale" = xno; then - _DCF_NO_LOCALE="-DCF_NO_LOCALE" - fi - - - -+ - ac_config_files="$ac_config_files system-ac.mk" - cat >confcache <<\_ACEOF - # This file is a shell script that caches the results of configure -@@ -6670,6 +7126,7 @@ s,@_DCF_XFREE86_TEXTPROP_BUG_WORKAROUND@ - s,@_DCF_DE_USE_XUTF8@,$_DCF_DE_USE_XUTF8,;t t - s,@_DCF_SUN_F1X_REMAP@,$_DCF_SUN_F1X_REMAP,;t t - s,@DL_LIBS@,$DL_LIBS,;t t -+s,@INTL_LIBS@,$INTL_LIBS,;t t - s,@PRELOAD_MODULES@,$PRELOAD_MODULES,;t t - s,@LUA@,$LUA,;t t - s,@LUAC@,$LUAC,;t t -@@ -6680,6 +7137,7 @@ s,@XOPEN_SOURCE@,$XOPEN_SOURCE,;t t - s,@C99_SOURCE@,$C99_SOURCE,;t t - s,@_DCF_HAS_VA_COPY@,$_DCF_HAS_VA_COPY,;t t - s,@_DCF_NO_LOCALE@,$_DCF_NO_LOCALE,;t t -+s,@PKGLOCALEDIR@,$PKGLOCALEDIR,;t t - s,@LIBOBJS@,$LIBOBJS,;t t - s,@LTLIBOBJS@,$LTLIBOBJS,;t t - CEOF -@@ -6848,6 +7306,11 @@ esac - *) ac_INSTALL=$ac_top_builddir$INSTALL ;; - esac - -+ if test x"$ac_file" != x-; then -+ { echo "$as_me:$LINENO: creating $ac_file" >&5 -+echo "$as_me: creating $ac_file" >&6;} -+ rm -f "$ac_file" -+ fi - # Let's still pretend it is `configure' which instantiates (i.e., don't - # use $as_me), people would be surprised to read: - # /* config.h. Generated by config.status. */ -@@ -6886,12 +7349,6 @@ echo "$as_me: error: cannot find input f - fi;; - esac - done` || { (exit 1); exit 1; } -- -- if test x"$ac_file" != x-; then -- { echo "$as_me:$LINENO: creating $ac_file" >&5 --echo "$as_me: creating $ac_file" >&6;} -- rm -f "$ac_file" -- fi - _ACEOF - cat >>$CONFIG_STATUS <<_ACEOF - sed "$ac_vpsub diff --git a/wm/ion3-devel/patches/patch-ad b/wm/ion3-devel/patches/patch-ad index d178e7b307d..9f996139298 100644 --- a/wm/ion3-devel/patches/patch-ad +++ b/wm/ion3-devel/patches/patch-ad @@ -1,8 +1,8 @@ -$NetBSD: patch-ad,v 1.1.1.1 2004/10/04 20:50:57 cube Exp $ +$NetBSD: patch-ad,v 1.2 2006/02/11 10:03:48 cube Exp $ ---- ext_statusbar/ext_statusbar.lua.orig 2004-08-15 03:40:35.000000000 +0200 -+++ ext_statusbar/ext_statusbar.lua -@@ -102,7 +102,7 @@ end +--- mod_statusbar/ion-statusd/statusd_load.lua.orig 2005-05-02 16:55:27.000000000 +0200 ++++ mod_statusbar/ion-statusd/statusd_load.lua +@@ -39,7 +39,7 @@ end local function get_load_uptime() local f=io.popen('uptime', 'r') if not f then @@ -11,7 +11,7 @@ $NetBSD: patch-ad,v 1.1.1.1 2004/10/04 20:50:57 cube Exp $ end local s=f:read('*l') f:close() -@@ -110,11 +110,30 @@ local function get_load_uptime() +@@ -47,11 +47,30 @@ local function get_load_uptime() return (load or "") end @@ -22,7 +22,7 @@ $NetBSD: patch-ad,v 1.1.1.1 2004/10/04 20:50:57 cube Exp $ + end + local s=f:read('*l') + f:close() -+ local st, en, load=string.find(s, '^(%d+%.%d+) %d+%.%d+ %d+%.%d+$') ++ local st, en, load=string.find(s, '^\{? ?(%d+%.%d+) %d+%.%d+ %d+%.%d+ ?\}?$') + return (load or "") +end + diff --git a/wm/ion3-devel/patches/patch-ae b/wm/ion3-devel/patches/patch-ae index a2e87765aab..589353f4d1d 100644 --- a/wm/ion3-devel/patches/patch-ae +++ b/wm/ion3-devel/patches/patch-ae @@ -1,12 +1,12 @@ -$NetBSD: patch-ae,v 1.1.1.1 2004/10/04 20:50:57 cube Exp $ +$NetBSD: patch-ae,v 1.2 2006/02/11 10:03:48 cube Exp $ ---- ion/Makefile.orig 2004-09-06 20:28:36.000000000 +0200 +--- ion/Makefile.orig 2005-05-02 16:55:27.000000000 +0200 +++ ion/Makefile -@@ -18,6 +18,7 @@ LIBS += -lm +@@ -18,6 +18,7 @@ INCLUDES += -I.. LIBS += $(X11_LIBS) $(XINERAMA_LIBS) - LIBS += $(LUA_LIBS) - LIBS += $(DL_LIBS) + LIBS += $(LIBMAINLOOP_LIBS) $(LIBEXTL_LIBS) $(LIBTU_LIBS) + LIBS += $(LUA_LIBS) $(DL_LIBS) +LIBS += $(INTL_LIBS) - EXT_OBJS += ../ioncore/ioncore.a ../luaextl/luaextl.a - EXT_OBJS += ../libtu/libtu.a + LIBS += -lm + EXT_OBJS += ../ioncore/ioncore.a diff --git a/wm/ion3-devel/patches/patch-af b/wm/ion3-devel/patches/patch-af deleted file mode 100644 index 57c7c54284b..00000000000 --- a/wm/ion3-devel/patches/patch-af +++ /dev/null @@ -1,16 +0,0 @@ -$NetBSD: patch-af,v 1.1.1.1 2004/10/04 20:50:57 cube Exp $ - ---- mod_dock/Makefile.orig 2004-09-06 20:28:36.000000000 +0200 -+++ mod_dock/Makefile -@@ -28,9 +28,9 @@ include $(TOPDIR)/rules.mk - ###################################### - - _install: module_install -- $(INSTALLDIR) $(ETCDIR) -+ $(INSTALLDIR) $(EXDIR) - for i in $(ETC); do \ -- $(INSTALL) -m $(DATA_MODE) $$i $(ETCDIR); \ -+ $(INSTALL) -m $(DATA_MODE) $$i $(EXDIR); \ - done - - ###################################### diff --git a/wm/ion3-devel/patches/patch-ag b/wm/ion3-devel/patches/patch-ag index 0671e8a6b47..5be83ca51c2 100644 --- a/wm/ion3-devel/patches/patch-ag +++ b/wm/ion3-devel/patches/patch-ag @@ -1,16 +1,16 @@ -$NetBSD: patch-ag,v 1.1.1.1 2004/10/04 20:50:57 cube Exp $ +$NetBSD: patch-ag,v 1.2 2006/02/11 10:03:48 cube Exp $ ---- pwm/Makefile.orig 2004-09-06 20:28:36.000000000 +0200 +--- pwm/Makefile.orig 2005-05-02 16:55:27.000000000 +0200 +++ pwm/Makefile -@@ -18,6 +18,7 @@ LIBS += -lm +@@ -18,6 +18,7 @@ INCLUDES += -I.. LIBS += $(X11_LIBS) $(XINERAMA_LIBS) - LIBS += $(LUA_LIBS) - LIBS += $(DL_LIBS) + LIBS += $(LIBMAINLOOP_LIBS) $(LIBEXTL_LIBS) $(LIBTU_LIBS) + LIBS += $(LUA_LIBS) $(DL_LIBS) +LIBS += $(INTL_LIBS) - EXT_OBJS += ../ioncore/ioncore.a ../luaextl/luaextl.a - EXT_OBJS += ../libtu/libtu.a + LIBS += -lm -@@ -26,7 +27,7 @@ DEFINES += -DETCDIR=\"$(ETCDIR)\" -DSHAR + EXT_OBJS += ../ioncore/ioncore.a +@@ -27,7 +28,7 @@ DEFINES += -DETCDIR=\"$(ETCDIR)\" -DSHAR -DLCDIR=\"$(LCDIR)\" -DLOCALEDIR=\"$(LOCALEDIR)\" ifndef PWM_ETCDIR diff --git a/wm/ion3-devel/patches/patch-aj b/wm/ion3-devel/patches/patch-aj new file mode 100644 index 00000000000..1aa67e49ba9 --- /dev/null +++ b/wm/ion3-devel/patches/patch-aj @@ -0,0 +1,12 @@ +$NetBSD: patch-aj,v 1.1 2006/02/11 10:03:48 cube Exp $ + +--- mod_statusbar/ion-statusd/Makefile.orig 2005-06-20 22:53:30.000000000 +0200 ++++ mod_statusbar/ion-statusd/Makefile +@@ -10,6 +10,7 @@ include $(TOPDIR)/system-inc.mk + + INCLUDES += $(LIBMAINLOOP_INCLUDES) $(LIBEXTL_INCLUDES) $(LIBTU_INCLUDES) + LIBS += $(LIBMAINLOOP_LIBS) $(LIBEXTL_LIBS) $(LIBTU_LIBS) $(LUA_LIBS) $(DL_LIBS) -lm ++LIBS += $(INTL_LIBS) + CFLAGS += $(XOPEN_SOURCE) $(C99_SOURCE) + + DEFINES += -DETCDIR=\"$(ETCDIR)\" -DSHAREDIR=\"$(SHAREDIR)\" \ diff --git a/wm/ion3-devel/patches/patch-ak b/wm/ion3-devel/patches/patch-ak new file mode 100644 index 00000000000..fce4db79703 --- /dev/null +++ b/wm/ion3-devel/patches/patch-ak @@ -0,0 +1,13 @@ +$NetBSD: patch-ak,v 1.1 2006/02/11 10:03:48 cube Exp $ + +--- utils/ion-completefile/Makefile.orig 2005-06-20 22:56:47.000000000 +0200 ++++ utils/ion-completefile/Makefile +@@ -8,7 +8,7 @@ include $(TOPDIR)/system-inc.mk + + ###################################### + +-LIBS += $(LIBTU_LIBS) ++LIBS += $(LIBTU_LIBS) $(INTL_LIBS) + INCLUDES += $(LIBTU_INCLUDES) + CFLAGS += $(XOPEN_SOURCE) + diff --git a/wm/ion3-devel/patches/patch-al b/wm/ion3-devel/patches/patch-al new file mode 100644 index 00000000000..25f04c484c4 --- /dev/null +++ b/wm/ion3-devel/patches/patch-al @@ -0,0 +1,61 @@ +$NetBSD: patch-al,v 1.1 2006/02/11 10:03:48 cube Exp $ + +--- system.mk.orig 2005-08-20 13:33:57.000000000 +0200 ++++ system.mk +@@ -7,7 +7,7 @@ + ## Installation paths + ## + +-PREFIX=/usr/local ++EXDIR= ${PREFIX}/share/examples/ion3 + + # Unless you are creating a package conforming to some OS's standards, you + # probably do not want to modify the following directories: +@@ -19,7 +19,7 @@ ETCDIR=$(PREFIX)/etc/ion3 + # Some .lua files and ion-* shell scripts + SHAREDIR=$(PREFIX)/share/ion3 + # Manual pages +-MANDIR=$(PREFIX)/share/man ++MANDIR=$(PREFIX)/man + # Some documents + DOCDIR=$(PREFIX)/share/doc/ion3 + # Nothing at the moment +@@ -47,7 +47,7 @@ LOCALEDIR=$(PREFIX)/share/locale + #PRELOAD_MODULES=1 + + # Flags to link with libdl. +-DL_LIBS=-ldl ++DL_LIBS= ${BUILDLINK_LDADD.dl} + + + ## +@@ -56,7 +56,7 @@ DL_LIBS=-ldl + + # If you have installed Lua 5.0 from the official tarball without changing + # paths, this should do it. +-LUA_DIR=/usr/local ++LUA_DIR=${PREFIX} + LUA_LIBS = -L$(LUA_DIR)/lib -llua -llualib + LUA_INCLUDES = -I$(LUA_DIR)/include + LUA=$(LUA_DIR)/bin/lua +@@ -116,8 +116,7 @@ DEFINES += -DCF_XFREE86_TEXTPROP_BUG_WOR + #DEFINES += -DCF_NO_LOCALE + + # On some other systems you may something like this: +-#EXTRA_LIBS += -lintl +-#EXTRA_INCLUDES += ++INTL_LIBS += -lintl + + + ## +@@ -132,8 +131,8 @@ WARN= -W -Wimplicit -Wreturn-type -Wswit + -Wtrigraphs -Wformat -Wchar-subscripts \ + -Wparentheses -pedantic -Wuninitialized + +-CFLAGS=-g -Os $(WARN) $(DEFINES) $(EXTRA_INCLUDES) $(INCLUDES) +-LDFLAGS=-g -Os $(EXTRA_LIBS) $(LIBS) ++CFLAGS+= $(WARN) $(DEFINES) $(EXTRA_INCLUDES) $(INCLUDES) ++LDFLAGS+= $(EXTRA_LIBS) $(LIBS) + EXPORT_DYNAMIC=-Xlinker --export-dynamic + + # The following options are mainly for development use and can be used diff --git a/wm/ion3-devel/patches/patch-am b/wm/ion3-devel/patches/patch-am new file mode 100644 index 00000000000..c228ad7fdc0 --- /dev/null +++ b/wm/ion3-devel/patches/patch-am @@ -0,0 +1,13 @@ +$NetBSD: patch-am,v 1.1 2006/02/11 10:03:48 cube Exp $ + +--- mod_statusbar/ion-statusd/ion-statusd.c.orig 2005-09-29 10:50:12.000000000 +0200 ++++ mod_statusbar/ion-statusd/ion-statusd.c +@@ -9,6 +9,8 @@ + * (at your option) any later version. + */ + ++#include ++#include + #include + #include + #include -- cgit v1.2.3