Merge lp:~jmccrohan/lcd4linux/debian into lp:~siretart/lcd4linux/debian

Proposed by Jonathan McCrohan
Status: Merged
Merged at revision: 764
Proposed branch: lp:~jmccrohan/lcd4linux/debian
Merge into: lp:~siretart/lcd4linux/debian
Diff against target: 2671 lines (+842/-335)
25 files modified
aclocal.m4 (+223/-64)
configure (+165/-64)
configure.in (+8/-4)
debian/NEWS (+10/-0)
debian/changelog (+13/-0)
debian/control (+1/-1)
debian/rules (+2/-0)
drivers.m4 (+1/-4)
drv_D4D.c (+295/-153)
drv_EFN.c (+1/-1)
drv_generic_parport.c (+56/-25)
drv_generic_text.h (+2/-1)
lcd4linux_i2c.h (+2/-1)
plugin_huawei.c (+1/-1)
plugin_pop3.c (+2/-2)
plugins.m4 (+42/-5)
svn_version.h (+1/-1)
timer.h (+2/-1)
widget_bar.h (+3/-1)
widget_gpo.h (+2/-1)
widget_icon.h (+2/-1)
widget_image.h (+2/-1)
widget_keypad.h (+2/-1)
widget_text.h (+2/-1)
widget_timer.h (+2/-1)
To merge this branch: bzr merge lp:~jmccrohan/lcd4linux/debian
Reviewer Review Type Date Requested Status
Reinhard Tartler Approve
Review via email: mp+86868@code.launchpad.net
To post a comment you must log in.
lp:~jmccrohan/lcd4linux/debian updated
767. By Jonathan McCrohan

   - raw port I/O in generic_parport driver disabled. Fixes FTBFS
     issues on mipsel, powerpc, s390x and sparc.
* debian/NEWS added to announce change in generic_parport driver

Revision history for this message
Reinhard Tartler (siretart) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'aclocal.m4'
--- aclocal.m4 2011-08-26 07:26:25 +0000
+++ aclocal.m4 2011-12-27 00:36:23 +0000
@@ -1348,8 +1348,8 @@
1348# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-1348# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
1349#1349#
1350# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,1350# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
1351# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,1351# 2006, 2007, 2008, 2009, 2010, 2011 Free Software
1352# Inc.1352# Foundation, Inc.
1353# Written by Gordon Matzigkeit, 19961353# Written by Gordon Matzigkeit, 1996
1354#1354#
1355# This file is free software; the Free Software Foundation gives1355# This file is free software; the Free Software Foundation gives
@@ -1358,8 +1358,8 @@
13581358
1359m4_define([_LT_COPYING], [dnl1359m4_define([_LT_COPYING], [dnl
1360# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,1360# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
1361# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,1361# 2006, 2007, 2008, 2009, 2010, 2011 Free Software
1362# Inc.1362# Foundation, Inc.
1363# Written by Gordon Matzigkeit, 19961363# Written by Gordon Matzigkeit, 1996
1364#1364#
1365# This file is part of GNU Libtool.1365# This file is part of GNU Libtool.
@@ -1493,6 +1493,8 @@
1493AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl1493AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl
1494AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl1494AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
14951495
1496_LT_DECL([], [PATH_SEPARATOR], [1], [The PATH separator for the build system])dnl
1497dnl
1496_LT_DECL([], [host_alias], [0], [The host system])dnl1498_LT_DECL([], [host_alias], [0], [The host system])dnl
1497_LT_DECL([], [host], [0])dnl1499_LT_DECL([], [host], [0])dnl
1498_LT_DECL([], [host_os], [0])dnl1500_LT_DECL([], [host_os], [0])dnl
@@ -1978,7 +1980,7 @@
1978m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])1980m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
1979configured by $[0], generated by m4_PACKAGE_STRING.1981configured by $[0], generated by m4_PACKAGE_STRING.
19801982
1981Copyright (C) 2010 Free Software Foundation, Inc.1983Copyright (C) 2011 Free Software Foundation, Inc.
1982This config.lt script is free software; the Free Software Foundation1984This config.lt script is free software; the Free Software Foundation
1983gives unlimited permision to copy, distribute and modify it."1985gives unlimited permision to copy, distribute and modify it."
19841986
@@ -2142,6 +2144,7 @@
2142m4_case([$1],2144m4_case([$1],
2143 [C], [_LT_LANG(C)],2145 [C], [_LT_LANG(C)],
2144 [C++], [_LT_LANG(CXX)],2146 [C++], [_LT_LANG(CXX)],
2147 [Go], [_LT_LANG(GO)],
2145 [Java], [_LT_LANG(GCJ)],2148 [Java], [_LT_LANG(GCJ)],
2146 [Fortran 77], [_LT_LANG(F77)],2149 [Fortran 77], [_LT_LANG(F77)],
2147 [Fortran], [_LT_LANG(FC)],2150 [Fortran], [_LT_LANG(FC)],
@@ -2163,6 +2166,29 @@
2163])# _LT_LANG2166])# _LT_LANG
21642167
21652168
2169m4_ifndef([AC_PROG_GO], [
2170# NOTE: This macro has been submitted for inclusion into #
2171# GNU Autoconf as AC_PROG_GO. When it is available in #
2172# a released version of Autoconf we should remove this #
2173# macro and use it instead. #
2174m4_defun([AC_PROG_GO],
2175[AC_LANG_PUSH(Go)dnl
2176AC_ARG_VAR([GOC], [Go compiler command])dnl
2177AC_ARG_VAR([GOFLAGS], [Go compiler flags])dnl
2178_AC_ARG_VAR_LDFLAGS()dnl
2179AC_CHECK_TOOL(GOC, gccgo)
2180if test -z "$GOC"; then
2181 if test -n "$ac_tool_prefix"; then
2182 AC_CHECK_PROG(GOC, [${ac_tool_prefix}gccgo], [${ac_tool_prefix}gccgo])
2183 fi
2184fi
2185if test -z "$GOC"; then
2186 AC_CHECK_PROG(GOC, gccgo, gccgo, false)
2187fi
2188])#m4_defun
2189])#m4_ifndef
2190
2191
2166# _LT_LANG_DEFAULT_CONFIG2192# _LT_LANG_DEFAULT_CONFIG
2167# -----------------------2193# -----------------------
2168m4_defun([_LT_LANG_DEFAULT_CONFIG],2194m4_defun([_LT_LANG_DEFAULT_CONFIG],
@@ -2193,6 +2219,10 @@
2193 m4_ifdef([LT_PROG_GCJ],2219 m4_ifdef([LT_PROG_GCJ],
2194 [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])2220 [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
21952221
2222AC_PROVIDE_IFELSE([AC_PROG_GO],
2223 [LT_LANG(GO)],
2224 [m4_define([AC_PROG_GO], defn([AC_PROG_GO])[LT_LANG(GO)])])
2225
2196AC_PROVIDE_IFELSE([LT_PROG_RC],2226AC_PROVIDE_IFELSE([LT_PROG_RC],
2197 [LT_LANG(RC)],2227 [LT_LANG(RC)],
2198 [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])2228 [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
@@ -2295,7 +2325,13 @@
2295 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \2325 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
2296 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err2326 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
2297 _lt_result=$?2327 _lt_result=$?
2298 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then2328 # If there is a non-empty error log, and "single_module"
2329 # appears in it, assume the flag caused a linker warning
2330 if test -s conftest.err && $GREP single_module conftest.err; then
2331 cat conftest.err >&AS_MESSAGE_LOG_FD
2332 # Otherwise, if the output was created with a 0 exit code from
2333 # the compiler, it worked.
2334 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
2299 lt_cv_apple_cc_single_mod=yes2335 lt_cv_apple_cc_single_mod=yes
2300 else2336 else
2301 cat conftest.err >&AS_MESSAGE_LOG_FD2337 cat conftest.err >&AS_MESSAGE_LOG_FD
@@ -2303,6 +2339,7 @@
2303 rm -rf libconftest.dylib*2339 rm -rf libconftest.dylib*
2304 rm -f conftest.*2340 rm -f conftest.*
2305 fi])2341 fi])
2342
2306 AC_CACHE_CHECK([for -exported_symbols_list linker flag],2343 AC_CACHE_CHECK([for -exported_symbols_list linker flag],
2307 [lt_cv_ld_exported_symbols_list],2344 [lt_cv_ld_exported_symbols_list],
2308 [lt_cv_ld_exported_symbols_list=no2345 [lt_cv_ld_exported_symbols_list=no
@@ -2314,6 +2351,7 @@
2314 [lt_cv_ld_exported_symbols_list=no])2351 [lt_cv_ld_exported_symbols_list=no])
2315 LDFLAGS="$save_LDFLAGS"2352 LDFLAGS="$save_LDFLAGS"
2316 ])2353 ])
2354
2317 AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],2355 AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],
2318 [lt_cv_ld_force_load=no2356 [lt_cv_ld_force_load=no
2319 cat > conftest.c << _LT_EOF2357 cat > conftest.c << _LT_EOF
@@ -2331,7 +2369,9 @@
2331 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD2369 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD
2332 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err2370 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
2333 _lt_result=$?2371 _lt_result=$?
2334 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then2372 if test -s conftest.err && $GREP force_load conftest.err; then
2373 cat conftest.err >&AS_MESSAGE_LOG_FD
2374 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
2335 lt_cv_ld_force_load=yes2375 lt_cv_ld_force_load=yes
2336 else2376 else
2337 cat conftest.err >&AS_MESSAGE_LOG_FD2377 cat conftest.err >&AS_MESSAGE_LOG_FD
@@ -2376,8 +2416,8 @@
2376])2416])
23772417
23782418
2379# _LT_DARWIN_LINKER_FEATURES2419# _LT_DARWIN_LINKER_FEATURES([TAG])
2380# --------------------------2420# ---------------------------------
2381# Checks for linker and compiler features on darwin2421# Checks for linker and compiler features on darwin
2382m4_defun([_LT_DARWIN_LINKER_FEATURES],2422m4_defun([_LT_DARWIN_LINKER_FEATURES],
2383[2423[
@@ -2388,6 +2428,8 @@
2388 _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported2428 _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
2389 if test "$lt_cv_ld_force_load" = "yes"; then2429 if test "$lt_cv_ld_force_load" = "yes"; then
2390 _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'2430 _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
2431 m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes],
2432 [FC], [_LT_TAGVAR(compiler_needs_object, $1)=yes])
2391 else2433 else
2392 _LT_TAGVAR(whole_archive_flag_spec, $1)=''2434 _LT_TAGVAR(whole_archive_flag_spec, $1)=''
2393 fi2435 fi
@@ -2671,14 +2713,27 @@
2671 CFLAGS="$SAVE_CFLAGS"2713 CFLAGS="$SAVE_CFLAGS"
2672 fi2714 fi
2673 ;;2715 ;;
2674sparc*-*solaris*)2716*-*solaris*)
2675 # Find out which ABI we are using.2717 # Find out which ABI we are using.
2676 echo 'int i;' > conftest.$ac_ext2718 echo 'int i;' > conftest.$ac_ext
2677 if AC_TRY_EVAL(ac_compile); then2719 if AC_TRY_EVAL(ac_compile); then
2678 case `/usr/bin/file conftest.o` in2720 case `/usr/bin/file conftest.o` in
2679 *64-bit*)2721 *64-bit*)
2680 case $lt_cv_prog_gnu_ld in2722 case $lt_cv_prog_gnu_ld in
2681 yes*) LD="${LD-ld} -m elf64_sparc" ;;2723 yes*)
2724 case $host in
2725 i?86-*-solaris*)
2726 LD="${LD-ld} -m elf_x86_64"
2727 ;;
2728 sparc*-*-solaris*)
2729 LD="${LD-ld} -m elf64_sparc"
2730 ;;
2731 esac
2732 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
2733 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
2734 LD="${LD-ld}_sol2"
2735 fi
2736 ;;
2682 *)2737 *)
2683 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then2738 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
2684 LD="${LD-ld} -64"2739 LD="${LD-ld} -64"
@@ -2755,13 +2810,13 @@
2755if test -n "$RANLIB"; then2810if test -n "$RANLIB"; then
2756 case $host_os in2811 case $host_os in
2757 openbsd*)2812 openbsd*)
2758 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"2813 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
2759 ;;2814 ;;
2760 *)2815 *)
2761 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"2816 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
2762 ;;2817 ;;
2763 esac2818 esac
2764 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"2819 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
2765fi2820fi
27662821
2767case $host_os in2822case $host_os in
@@ -2941,6 +2996,11 @@
2941 lt_cv_sys_max_cmd_len=1966082996 lt_cv_sys_max_cmd_len=196608
2942 ;;2997 ;;
29432998
2999 os2*)
3000 # The test takes a long time on OS/2.
3001 lt_cv_sys_max_cmd_len=8192
3002 ;;
3003
2944 osf*)3004 osf*)
2945 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure3005 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
2946 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not3006 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
@@ -2980,7 +3040,7 @@
2980 # If test is not a shell built-in, we'll probably end up computing a3040 # If test is not a shell built-in, we'll probably end up computing a
2981 # maximum length that is only half of the actual maximum length, but3041 # maximum length that is only half of the actual maximum length, but
2982 # we can't tell.3042 # we can't tell.
2983 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \3043 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
2984 = "X$teststring$teststring"; } >/dev/null 2>&1 &&3044 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
2985 test $i != 17 # 1/2 MB should be enough3045 test $i != 17 # 1/2 MB should be enough
2986 do3046 do
@@ -3526,7 +3586,7 @@
35263586
3527case $host_os in3587case $host_os in
3528aix3*)3588aix3*)
3529 version_type=linux3589 version_type=linux # correct to gnu/linux during the next big refactor
3530 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'3590 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
3531 shlibpath_var=LIBPATH3591 shlibpath_var=LIBPATH
35323592
@@ -3535,7 +3595,7 @@
3535 ;;3595 ;;
35363596
3537aix[[4-9]]*)3597aix[[4-9]]*)
3538 version_type=linux3598 version_type=linux # correct to gnu/linux during the next big refactor
3539 need_lib_prefix=no3599 need_lib_prefix=no
3540 need_version=no3600 need_version=no
3541 hardcode_into_libs=yes3601 hardcode_into_libs=yes
@@ -3600,7 +3660,7 @@
3600 ;;3660 ;;
36013661
3602bsdi[[45]]*)3662bsdi[[45]]*)
3603 version_type=linux3663 version_type=linux # correct to gnu/linux during the next big refactor
3604 need_version=no3664 need_version=no
3605 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'3665 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3606 soname_spec='${libname}${release}${shared_ext}$major'3666 soname_spec='${libname}${release}${shared_ext}$major'
@@ -3739,7 +3799,7 @@
3739 ;;3799 ;;
37403800
3741dgux*)3801dgux*)
3742 version_type=linux3802 version_type=linux # correct to gnu/linux during the next big refactor
3743 need_lib_prefix=no3803 need_lib_prefix=no
3744 need_version=no3804 need_version=no
3745 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'3805 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
@@ -3747,10 +3807,6 @@
3747 shlibpath_var=LD_LIBRARY_PATH3807 shlibpath_var=LD_LIBRARY_PATH
3748 ;;3808 ;;
37493809
3750freebsd1*)
3751 dynamic_linker=no
3752 ;;
3753
3754freebsd* | dragonfly*)3810freebsd* | dragonfly*)
3755 # DragonFly does not have aout. When/if they implement a new3811 # DragonFly does not have aout. When/if they implement a new
3756 # versioning mechanism, adjust this.3812 # versioning mechanism, adjust this.
@@ -3758,7 +3814,7 @@
3758 objformat=`/usr/bin/objformat`3814 objformat=`/usr/bin/objformat`
3759 else3815 else
3760 case $host_os in3816 case $host_os in
3761 freebsd[[123]]*) objformat=aout ;;3817 freebsd[[23]].*) objformat=aout ;;
3762 *) objformat=elf ;;3818 *) objformat=elf ;;
3763 esac3819 esac
3764 fi3820 fi
@@ -3776,7 +3832,7 @@
3776 esac3832 esac
3777 shlibpath_var=LD_LIBRARY_PATH3833 shlibpath_var=LD_LIBRARY_PATH
3778 case $host_os in3834 case $host_os in
3779 freebsd2*)3835 freebsd2.*)
3780 shlibpath_overrides_runpath=yes3836 shlibpath_overrides_runpath=yes
3781 ;;3837 ;;
3782 freebsd3.[[01]]* | freebsdelf3.[[01]]*)3838 freebsd3.[[01]]* | freebsdelf3.[[01]]*)
@@ -3796,7 +3852,7 @@
3796 ;;3852 ;;
37973853
3798gnu*)3854gnu*)
3799 version_type=linux3855 version_type=linux # correct to gnu/linux during the next big refactor
3800 need_lib_prefix=no3856 need_lib_prefix=no
3801 need_version=no3857 need_version=no
3802 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'3858 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
@@ -3807,7 +3863,7 @@
3807 ;;3863 ;;
38083864
3809haiku*)3865haiku*)
3810 version_type=linux3866 version_type=linux # correct to gnu/linux during the next big refactor
3811 need_lib_prefix=no3867 need_lib_prefix=no
3812 need_version=no3868 need_version=no
3813 dynamic_linker="$host_os runtime_loader"3869 dynamic_linker="$host_os runtime_loader"
@@ -3868,7 +3924,7 @@
3868 ;;3924 ;;
38693925
3870interix[[3-9]]*)3926interix[[3-9]]*)
3871 version_type=linux3927 version_type=linux # correct to gnu/linux during the next big refactor
3872 need_lib_prefix=no3928 need_lib_prefix=no
3873 need_version=no3929 need_version=no
3874 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'3930 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
@@ -3884,7 +3940,7 @@
3884 nonstopux*) version_type=nonstopux ;;3940 nonstopux*) version_type=nonstopux ;;
3885 *)3941 *)
3886 if test "$lt_cv_prog_gnu_ld" = yes; then3942 if test "$lt_cv_prog_gnu_ld" = yes; then
3887 version_type=linux3943 version_type=linux # correct to gnu/linux during the next big refactor
3888 else3944 else
3889 version_type=irix3945 version_type=irix
3890 fi ;;3946 fi ;;
@@ -3921,9 +3977,9 @@
3921 dynamic_linker=no3977 dynamic_linker=no
3922 ;;3978 ;;
39233979
3924# This must be Linux ELF.3980# This must be glibc/ELF.
3925linux* | k*bsd*-gnu | kopensolaris*-gnu)3981linux* | k*bsd*-gnu | kopensolaris*-gnu)
3926 version_type=linux3982 version_type=linux # correct to gnu/linux during the next big refactor
3927 need_lib_prefix=no3983 need_lib_prefix=no
3928 need_version=no3984 need_version=no
3929 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'3985 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
@@ -3998,7 +4054,7 @@
3998 ;;4054 ;;
39994055
4000newsos6)4056newsos6)
4001 version_type=linux4057 version_type=linux # correct to gnu/linux during the next big refactor
4002 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'4058 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4003 shlibpath_var=LD_LIBRARY_PATH4059 shlibpath_var=LD_LIBRARY_PATH
4004 shlibpath_overrides_runpath=yes4060 shlibpath_overrides_runpath=yes
@@ -4067,7 +4123,7 @@
4067 ;;4123 ;;
40684124
4069solaris*)4125solaris*)
4070 version_type=linux4126 version_type=linux # correct to gnu/linux during the next big refactor
4071 need_lib_prefix=no4127 need_lib_prefix=no
4072 need_version=no4128 need_version=no
4073 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'4129 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
@@ -4092,7 +4148,7 @@
4092 ;;4148 ;;
40934149
4094sysv4 | sysv4.3*)4150sysv4 | sysv4.3*)
4095 version_type=linux4151 version_type=linux # correct to gnu/linux during the next big refactor
4096 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'4152 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4097 soname_spec='${libname}${release}${shared_ext}$major'4153 soname_spec='${libname}${release}${shared_ext}$major'
4098 shlibpath_var=LD_LIBRARY_PATH4154 shlibpath_var=LD_LIBRARY_PATH
@@ -4116,7 +4172,7 @@
41164172
4117sysv4*MP*)4173sysv4*MP*)
4118 if test -d /usr/nec ;then4174 if test -d /usr/nec ;then
4119 version_type=linux4175 version_type=linux # correct to gnu/linux during the next big refactor
4120 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'4176 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
4121 soname_spec='$libname${shared_ext}.$major'4177 soname_spec='$libname${shared_ext}.$major'
4122 shlibpath_var=LD_LIBRARY_PATH4178 shlibpath_var=LD_LIBRARY_PATH
@@ -4147,7 +4203,7 @@
41474203
4148tpf*)4204tpf*)
4149 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.4205 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
4150 version_type=linux4206 version_type=linux # correct to gnu/linux during the next big refactor
4151 need_lib_prefix=no4207 need_lib_prefix=no
4152 need_version=no4208 need_version=no
4153 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'4209 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
@@ -4157,7 +4213,7 @@
4157 ;;4213 ;;
41584214
4159uts4*)4215uts4*)
4160 version_type=linux4216 version_type=linux # correct to gnu/linux during the next big refactor
4161 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'4217 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4162 soname_spec='${libname}${release}${shared_ext}$major'4218 soname_spec='${libname}${release}${shared_ext}$major'
4163 shlibpath_var=LD_LIBRARY_PATH4219 shlibpath_var=LD_LIBRARY_PATH
@@ -4579,7 +4635,7 @@
4579 lt_cv_deplibs_check_method=pass_all4635 lt_cv_deplibs_check_method=pass_all
4580 ;;4636 ;;
45814637
4582# This must be Linux ELF.4638# This must be glibc/ELF.
4583linux* | k*bsd*-gnu | kopensolaris*-gnu)4639linux* | k*bsd*-gnu | kopensolaris*-gnu)
4584 lt_cv_deplibs_check_method=pass_all4640 lt_cv_deplibs_check_method=pass_all
4585 ;;4641 ;;
@@ -4999,6 +5055,7 @@
4999 # which start with @ or ?.5055 # which start with @ or ?.
5000 lt_cv_sys_global_symbol_pipe="$AWK ['"\5056 lt_cv_sys_global_symbol_pipe="$AWK ['"\
5001" {last_section=section; section=\$ 3};"\5057" {last_section=section; section=\$ 3};"\
5058" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5002" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\5059" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5003" \$ 0!~/External *\|/{next};"\5060" \$ 0!~/External *\|/{next};"\
5004" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\5061" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
@@ -5583,7 +5640,9 @@
5583 case $cc_basename in5640 case $cc_basename in
5584 nvcc*) # Cuda Compiler Driver 2.25641 nvcc*) # Cuda Compiler Driver 2.2
5585 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '5642 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
5586 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Xcompiler -fPIC'5643 if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
5644 _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)"
5645 fi
5587 ;;5646 ;;
5588 esac5647 esac
5589 else5648 else
@@ -5675,18 +5734,33 @@
5675 ;;5734 ;;
5676 *)5735 *)
5677 case `$CC -V 2>&1 | sed 5q` in5736 case `$CC -V 2>&1 | sed 5q` in
5678 *Sun\ F* | *Sun*Fortran*)5737 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*)
5679 # Sun Fortran 8.3 passes all unrecognized flags to the linker5738 # Sun Fortran 8.3 passes all unrecognized flags to the linker
5680 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'5739 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5681 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'5740 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5682 _LT_TAGVAR(lt_prog_compiler_wl, $1)=''5741 _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
5683 ;;5742 ;;
5743 *Sun\ F* | *Sun*Fortran*)
5744 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5745 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5746 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
5747 ;;
5684 *Sun\ C*)5748 *Sun\ C*)
5685 # Sun C 5.95749 # Sun C 5.9
5686 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'5750 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5687 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'5751 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5688 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'5752 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5689 ;;5753 ;;
5754 *Intel*\ [[CF]]*Compiler*)
5755 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5756 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
5757 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
5758 ;;
5759 *Portland\ Group*)
5760 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5761 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
5762 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5763 ;;
5690 esac5764 esac
5691 ;;5765 ;;
5692 esac5766 esac
@@ -5846,7 +5920,9 @@
5846 ;;5920 ;;
5847 cygwin* | mingw* | cegcc*)5921 cygwin* | mingw* | cegcc*)
5848 case $cc_basename in5922 case $cc_basename in
5849 cl*) ;;5923 cl*)
5924 _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
5925 ;;
5850 *)5926 *)
5851 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'5927 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
5852 _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname']5928 _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname']
@@ -5874,7 +5950,6 @@
5874 _LT_TAGVAR(hardcode_direct, $1)=no5950 _LT_TAGVAR(hardcode_direct, $1)=no
5875 _LT_TAGVAR(hardcode_direct_absolute, $1)=no5951 _LT_TAGVAR(hardcode_direct_absolute, $1)=no
5876 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=5952 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
5877 _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
5878 _LT_TAGVAR(hardcode_libdir_separator, $1)=5953 _LT_TAGVAR(hardcode_libdir_separator, $1)=
5879 _LT_TAGVAR(hardcode_minus_L, $1)=no5954 _LT_TAGVAR(hardcode_minus_L, $1)=no
5880 _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported5955 _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
@@ -6128,8 +6203,7 @@
6128 xlf* | bgf* | bgxlf* | mpixlf*)6203 xlf* | bgf* | bgxlf* | mpixlf*)
6129 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself6204 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
6130 _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'6205 _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
6131 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=6206 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
6132 _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
6133 _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'6207 _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
6134 if test "x$supports_anon_versioning" = xyes; then6208 if test "x$supports_anon_versioning" = xyes; then
6135 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~6209 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
@@ -6425,6 +6499,7 @@
6425 # The linker will not automatically build a static lib if we build a DLL.6499 # The linker will not automatically build a static lib if we build a DLL.
6426 # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'6500 # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
6427 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes6501 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
6502 _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
6428 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'6503 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
6429 # Don't use ranlib6504 # Don't use ranlib
6430 _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'6505 _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
@@ -6471,10 +6546,6 @@
6471 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no6546 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
6472 ;;6547 ;;
64736548
6474 freebsd1*)
6475 _LT_TAGVAR(ld_shlibs, $1)=no
6476 ;;
6477
6478 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor6549 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
6479 # support. Future versions do this automatically, but an explicit c++rt0.o6550 # support. Future versions do this automatically, but an explicit c++rt0.o
6480 # does not break anything, and helps significantly (at the cost of a little6551 # does not break anything, and helps significantly (at the cost of a little
@@ -6487,7 +6558,7 @@
6487 ;;6558 ;;
64886559
6489 # Unfortunately, older versions of FreeBSD 2 do not have this feature.6560 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
6490 freebsd2*)6561 freebsd2.*)
6491 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'6562 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6492 _LT_TAGVAR(hardcode_direct, $1)=yes6563 _LT_TAGVAR(hardcode_direct, $1)=yes
6493 _LT_TAGVAR(hardcode_minus_L, $1)=yes6564 _LT_TAGVAR(hardcode_minus_L, $1)=yes
@@ -6526,7 +6597,6 @@
6526 fi6597 fi
6527 if test "$with_gnu_ld" = no; then6598 if test "$with_gnu_ld" = no; then
6528 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'6599 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
6529 _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
6530 _LT_TAGVAR(hardcode_libdir_separator, $1)=:6600 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
6531 _LT_TAGVAR(hardcode_direct, $1)=yes6601 _LT_TAGVAR(hardcode_direct, $1)=yes
6532 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes6602 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
@@ -6968,9 +7038,6 @@
6968_LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],7038_LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],
6969 [Flag to hardcode $libdir into a binary during linking.7039 [Flag to hardcode $libdir into a binary during linking.
6970 This must work even if $libdir does not exist])7040 This must work even if $libdir does not exist])
6971_LT_TAGDECL([], [hardcode_libdir_flag_spec_ld], [1],
6972 [[If ld is used when linking, flag to hardcode $libdir into a binary
6973 during linking. This must work even if $libdir does not exist]])
6974_LT_TAGDECL([], [hardcode_libdir_separator], [1],7041_LT_TAGDECL([], [hardcode_libdir_separator], [1],
6975 [Whether we need a single "-rpath" flag with a separated argument])7042 [Whether we need a single "-rpath" flag with a separated argument])
6976_LT_TAGDECL([], [hardcode_direct], [0],7043_LT_TAGDECL([], [hardcode_direct], [0],
@@ -7124,7 +7191,6 @@
7124_LT_TAGVAR(hardcode_direct, $1)=no7191_LT_TAGVAR(hardcode_direct, $1)=no
7125_LT_TAGVAR(hardcode_direct_absolute, $1)=no7192_LT_TAGVAR(hardcode_direct_absolute, $1)=no
7126_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=7193_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
7127_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
7128_LT_TAGVAR(hardcode_libdir_separator, $1)=7194_LT_TAGVAR(hardcode_libdir_separator, $1)=
7129_LT_TAGVAR(hardcode_minus_L, $1)=no7195_LT_TAGVAR(hardcode_minus_L, $1)=no
7130_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported7196_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
@@ -7494,7 +7560,7 @@
7494 esac7560 esac
7495 ;;7561 ;;
74967562
7497 freebsd[[12]]*)7563 freebsd2.*)
7498 # C++ shared libraries reported to be fairly broken before7564 # C++ shared libraries reported to be fairly broken before
7499 # switch to ELF7565 # switch to ELF
7500 _LT_TAGVAR(ld_shlibs, $1)=no7566 _LT_TAGVAR(ld_shlibs, $1)=no
@@ -8255,12 +8321,18 @@
8255 }8321 }
8256};8322};
8257_LT_EOF8323_LT_EOF
8324], [$1], [GO], [cat > conftest.$ac_ext <<_LT_EOF
8325package foo
8326func foo() {
8327}
8328_LT_EOF
8258])8329])
82598330
8260_lt_libdeps_save_CFLAGS=$CFLAGS8331_lt_libdeps_save_CFLAGS=$CFLAGS
8261case "$CC $CFLAGS " in #(8332case "$CC $CFLAGS " in #(
8262*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;8333*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
8263*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;8334*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
8335*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
8264esac8336esac
82658337
8266dnl Parse the compiler output and extract the necessary8338dnl Parse the compiler output and extract the necessary
@@ -8457,7 +8529,6 @@
8457_LT_TAGVAR(hardcode_direct, $1)=no8529_LT_TAGVAR(hardcode_direct, $1)=no
8458_LT_TAGVAR(hardcode_direct_absolute, $1)=no8530_LT_TAGVAR(hardcode_direct_absolute, $1)=no
8459_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=8531_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
8460_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
8461_LT_TAGVAR(hardcode_libdir_separator, $1)=8532_LT_TAGVAR(hardcode_libdir_separator, $1)=
8462_LT_TAGVAR(hardcode_minus_L, $1)=no8533_LT_TAGVAR(hardcode_minus_L, $1)=no
8463_LT_TAGVAR(hardcode_automatic, $1)=no8534_LT_TAGVAR(hardcode_automatic, $1)=no
@@ -8590,7 +8661,6 @@
8590_LT_TAGVAR(hardcode_direct, $1)=no8661_LT_TAGVAR(hardcode_direct, $1)=no
8591_LT_TAGVAR(hardcode_direct_absolute, $1)=no8662_LT_TAGVAR(hardcode_direct_absolute, $1)=no
8592_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=8663_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
8593_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
8594_LT_TAGVAR(hardcode_libdir_separator, $1)=8664_LT_TAGVAR(hardcode_libdir_separator, $1)=
8595_LT_TAGVAR(hardcode_minus_L, $1)=no8665_LT_TAGVAR(hardcode_minus_L, $1)=no
8596_LT_TAGVAR(hardcode_automatic, $1)=no8666_LT_TAGVAR(hardcode_automatic, $1)=no
@@ -8773,6 +8843,73 @@
8773])# _LT_LANG_GCJ_CONFIG8843])# _LT_LANG_GCJ_CONFIG
87748844
87758845
8846# _LT_LANG_GO_CONFIG([TAG])
8847# --------------------------
8848# Ensure that the configuration variables for the GNU Go compiler
8849# are suitably defined. These variables are subsequently used by _LT_CONFIG
8850# to write the compiler configuration to `libtool'.
8851m4_defun([_LT_LANG_GO_CONFIG],
8852[AC_REQUIRE([LT_PROG_GO])dnl
8853AC_LANG_SAVE
8854
8855# Source file extension for Go test sources.
8856ac_ext=go
8857
8858# Object file extension for compiled Go test sources.
8859objext=o
8860_LT_TAGVAR(objext, $1)=$objext
8861
8862# Code to be used in simple compile tests
8863lt_simple_compile_test_code="package main; func main() { }"
8864
8865# Code to be used in simple link tests
8866lt_simple_link_test_code='package main; func main() { }'
8867
8868# ltmain only uses $CC for tagged configurations so make sure $CC is set.
8869_LT_TAG_COMPILER
8870
8871# save warnings/boilerplate of simple test code
8872_LT_COMPILER_BOILERPLATE
8873_LT_LINKER_BOILERPLATE
8874
8875# Allow CC to be a program name with arguments.
8876lt_save_CC=$CC
8877lt_save_CFLAGS=$CFLAGS
8878lt_save_GCC=$GCC
8879GCC=yes
8880CC=${GOC-"gccgo"}
8881CFLAGS=$GOFLAGS
8882compiler=$CC
8883_LT_TAGVAR(compiler, $1)=$CC
8884_LT_TAGVAR(LD, $1)="$LD"
8885_LT_CC_BASENAME([$compiler])
8886
8887# Go did not exist at the time GCC didn't implicitly link libc in.
8888_LT_TAGVAR(archive_cmds_need_lc, $1)=no
8889
8890_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
8891_LT_TAGVAR(reload_flag, $1)=$reload_flag
8892_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
8893
8894if test -n "$compiler"; then
8895 _LT_COMPILER_NO_RTTI($1)
8896 _LT_COMPILER_PIC($1)
8897 _LT_COMPILER_C_O($1)
8898 _LT_COMPILER_FILE_LOCKS($1)
8899 _LT_LINKER_SHLIBS($1)
8900 _LT_LINKER_HARDCODE_LIBPATH($1)
8901
8902 _LT_CONFIG($1)
8903fi
8904
8905AC_LANG_RESTORE
8906
8907GCC=$lt_save_GCC
8908CC=$lt_save_CC
8909CFLAGS=$lt_save_CFLAGS
8910])# _LT_LANG_GO_CONFIG
8911
8912
8776# _LT_LANG_RC_CONFIG([TAG])8913# _LT_LANG_RC_CONFIG([TAG])
8777# -------------------------8914# -------------------------
8778# Ensure that the configuration variables for the Windows resource compiler8915# Ensure that the configuration variables for the Windows resource compiler
@@ -8842,6 +8979,13 @@
8842dnl AC_DEFUN([LT_AC_PROG_GCJ], [])8979dnl AC_DEFUN([LT_AC_PROG_GCJ], [])
88438980
88448981
8982# LT_PROG_GO
8983# ----------
8984AC_DEFUN([LT_PROG_GO],
8985[AC_CHECK_TOOL(GOC, gccgo,)
8986])
8987
8988
8845# LT_PROG_RC8989# LT_PROG_RC
8846# ----------8990# ----------
8847AC_DEFUN([LT_PROG_RC],8991AC_DEFUN([LT_PROG_RC],
@@ -9506,9 +9650,24 @@
9506# MODE is either `yes' or `no'. If omitted, it defaults to `both'.9650# MODE is either `yes' or `no'. If omitted, it defaults to `both'.
9507m4_define([_LT_WITH_PIC],9651m4_define([_LT_WITH_PIC],
9508[AC_ARG_WITH([pic],9652[AC_ARG_WITH([pic],
9509 [AS_HELP_STRING([--with-pic],9653 [AS_HELP_STRING([--with-pic@<:@=PKGS@:>@],
9510 [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],9654 [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
9511 [pic_mode="$withval"],9655 [lt_p=${PACKAGE-default}
9656 case $withval in
9657 yes|no) pic_mode=$withval ;;
9658 *)
9659 pic_mode=default
9660 # Look at the argument we got. We use all the common list separators.
9661 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9662 for lt_pkg in $withval; do
9663 IFS="$lt_save_ifs"
9664 if test "X$lt_pkg" = "X$lt_p"; then
9665 pic_mode=yes
9666 fi
9667 done
9668 IFS="$lt_save_ifs"
9669 ;;
9670 esac],
9512 [pic_mode=default])9671 [pic_mode=default])
95139672
9514test -z "$pic_mode" && pic_mode=m4_default([$1], [default])9673test -z "$pic_mode" && pic_mode=m4_default([$1], [default])
@@ -9680,15 +9839,15 @@
96809839
9681# @configure_input@9840# @configure_input@
96829841
9683# serial 3293 ltversion.m49842# serial 3337 ltversion.m4
9684# This file is part of GNU Libtool9843# This file is part of GNU Libtool
96859844
9686m4_define([LT_PACKAGE_VERSION], [2.4])9845m4_define([LT_PACKAGE_VERSION], [2.4.2])
9687m4_define([LT_PACKAGE_REVISION], [1.3293])9846m4_define([LT_PACKAGE_REVISION], [1.3337])
96889847
9689AC_DEFUN([LTVERSION_VERSION],9848AC_DEFUN([LTVERSION_VERSION],
9690[macro_version='2.4'9849[macro_version='2.4.2'
9691macro_revision='1.3293'9850macro_revision='1.3337'
9692_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])9851_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
9693_LT_DECL(, macro_revision, 0)9852_LT_DECL(, macro_revision, 0)
9694])9853])
96959854
=== modified file 'configure'
--- configure 2011-08-26 07:26:25 +0000
+++ configure 2011-12-27 00:36:23 +0000
@@ -761,6 +761,7 @@
761with_ncurses761with_ncurses
762with_x762with_x
763with_python763with_python
764with_outb
764with_drivers765with_drivers
765with_plugins766with_plugins
766with_gnu_ld767with_gnu_ld
@@ -1434,6 +1435,7 @@
1434 --with-ncurses=dir Compile with ncurses/locate base dir1435 --with-ncurses=dir Compile with ncurses/locate base dir
1435 --with-x use the X Window System1436 --with-x use the X Window System
1436 --with-python enable python support [default=no]1437 --with-python enable python support [default=no]
1438 --with-outb enable raw port I/O support [default=no]
1437 --with-drivers=<list> compile driver for displays in <list>,1439 --with-drivers=<list> compile driver for displays in <list>,
1438 drivers may be separated with commas,1440 drivers may be separated with commas,
1439 'all' (default) compiles all available drivers,1441 'all' (default) compiles all available drivers,
@@ -1456,7 +1458,7 @@
1456 --with-gnu-ld assume the C compiler uses GNU ld default=no1458 --with-gnu-ld assume the C compiler uses GNU ld default=no
1457 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib1459 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1458 --without-libiconv-prefix don't search for libiconv in includedir and libdir1460 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1459 --with-pic try to use only PIC/non-PIC objects [default=use1461 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1460 both]1462 both]
1461 --with-gnu-ld assume the C compiler uses GNU ld [default=no]1463 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1462 --with-sysroot=DIR Search for dependent libraries within DIR1464 --with-sysroot=DIR Search for dependent libraries within DIR
@@ -4696,7 +4698,7 @@
4696$as_echo_n "checking for ncurses version... " >&6; }4698$as_echo_n "checking for ncurses version... " >&6; }
4697 ncurses_version=unknown4699 ncurses_version=unknown
4698cat > conftest.$ac_ext <<EOF4700cat > conftest.$ac_ext <<EOF
4699#line 4699 "configure"4701#line 4701 "configure"
4700#include "confdefs.h"4702#include "confdefs.h"
4701#ifdef RENAMED_NCURSES4703#ifdef RENAMED_NCURSES
4702#include <curses.h>4704#include <curses.h>
@@ -6191,7 +6193,19 @@
6191fi6193fi
61926194
6193# check for parport6195# check for parport
6194#AC_CHECK_HEADERS(asm/io.h)6196{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if raw port I/O is wanted" >&5
6197$as_echo_n "checking if raw port I/O is wanted... " >&6; }
6198
6199# Check whether --with-outb was given.
6200if test "${with_outb+set}" = set; then :
6201 withval=$with_outb; { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
6202$as_echo "$withval" >&6; }
6203else
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6205$as_echo "no" >&6; }
6206fi
6207
6208
6195for ac_header in asm/io.h linux/parport.h linux/ppdev.h6209for ac_header in asm/io.h linux/parport.h linux/ppdev.h
6196do :6210do :
6197 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`6211 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
@@ -6815,7 +6829,6 @@
68156829
6816if test "$NEWHAVEN" = "yes"; then6830if test "$NEWHAVEN" = "yes"; then
6817 TEXT="yes"6831 TEXT="yes"
6818 #SERIAL="yes"
6819 I2C="yes"6832 I2C="yes"
6820 DRIVERS="$DRIVERS drv_Newhaven.o"6833 DRIVERS="$DRIVERS drv_Newhaven.o"
68216834
@@ -6847,9 +6860,7 @@
6847fi6860fi
68486861
6849if test "$PERTELIAN" = "yes"; then6862if test "$PERTELIAN" = "yes"; then
6850 # select either text or graphics mode
6851 TEXT="yes"6863 TEXT="yes"
6852 # select bus: serial (including USB), parallel or i2c
6853 SERIAL="yes"6864 SERIAL="yes"
6854 DRIVERS="$DRIVERS drv_Pertelian.o"6865 DRIVERS="$DRIVERS drv_Pertelian.o"
68556866
@@ -7307,6 +7318,47 @@
7307 PLUGIN_WIRELESS="yes"7318 PLUGIN_WIRELESS="yes"
7308 PLUGIN_XMMS="yes"7319 PLUGIN_XMMS="yes"
7309 ;;7320 ;;
7321 none)
7322 PLUGIN_APM="no"
7323 PLUGIN_ASTERISK="no"
7324 PLUGIN_BUTTON_EXEC="no"
7325 PLUGIN_CPUINFO="no"
7326 PLUGIN_DBUS="no"
7327 PLUGIN_DISKSTATS="no"
7328 PLUGIN_DVB="no"
7329 PLUGIN_EXEC="no"
7330 PLUGIN_EVENT="no"
7331 PLUGIN_FIFO="no"
7332 PLUGIN_FILE="no"
7333 PLUGIN_GPS="no"
7334 PLUGIN_HDDTEMP="no"
7335 PLUGIN_HUAWEI="no"
7336 PLUGIN_I2C_SENSORS="no"
7337 PLUGIN_ICONV="no"
7338 PLUGIN_IMON="no"
7339 PLUGIN_ISDN="no"
7340 PLUGIN_KVV="no"
7341 PLUGIN_LOADAVG="no"
7342 PLUGIN_MEMINFO="no"
7343 PLUGIN_MPD="no"
7344 PLUGIN_MPRIS_DBUS="no"
7345 PLUGIN_MYSQL="no"
7346 PLUGIN_NETDEV="no"
7347 PLUGIN_NETINFO="no"
7348 PLUGIN_POP3="no"
7349 PLUGIN_PPP="no"
7350 PLUGIN_PROC_STAT="no"
7351 PLUGIN_PYTHON="no"
7352 PLUGIN_QNAPLOG="no"
7353 PLUGIN_SAMPLE="no"
7354 PLUGIN_SETI="no"
7355 PLUGIN_STATFS="no"
7356 PLUGIN_UNAME="no"
7357 PLUGIN_UPTIME="no"
7358 PLUGIN_W1RETAP="no"
7359 PLUGIN_WIRELESS="no"
7360 PLUGIN_XMMS="no"
7361 ;;
7310 apm)7362 apm)
7311 PLUGIN_APM=$val7363 PLUGIN_APM=$val
7312 ;;7364 ;;
@@ -9369,10 +9421,6 @@
93699421
9370fi9422fi
93719423
9372if test "$PLUGINS" = ""; then
9373 as_fn_error $? "You should include at least one plugin..." "$LINENO" 5
9374fi
9375
93769424
93779425
93789426
@@ -12100,18 +12148,18 @@
1210012148
1210112149
12102{ $as_echo "$as_me:${as_lineno-$LINENO}: result: -----------------------------------------12150{ $as_echo "$as_me:${as_lineno-$LINENO}: result: -----------------------------------------
12103including drivers:12151included drivers:
12104 $DRIVERS12152 $DRIVERS
12105-----------------------------------------12153-----------------------------------------
12106including plugins:12154included plugins:
12107 $PLUGINS12155 $PLUGINS
12108-----------------------------------------12156-----------------------------------------
12109" >&512157" >&5
12110$as_echo "-----------------------------------------12158$as_echo "-----------------------------------------
12111including drivers:12159included drivers:
12112 $DRIVERS12160 $DRIVERS
12113-----------------------------------------12161-----------------------------------------
12114including plugins:12162included plugins:
12115 $PLUGINS12163 $PLUGINS
12116-----------------------------------------12164-----------------------------------------
12117" >&6; }12165" >&6; }
@@ -12125,8 +12173,8 @@
1212512173
1212612174
1212712175
12128macro_version='2.4'12176macro_version='2.4.2'
12129macro_revision='1.3293'12177macro_revision='1.3337'
1213012178
1213112179
1213212180
@@ -12759,6 +12807,11 @@
12759 lt_cv_sys_max_cmd_len=19660812807 lt_cv_sys_max_cmd_len=196608
12760 ;;12808 ;;
1276112809
12810 os2*)
12811 # The test takes a long time on OS/2.
12812 lt_cv_sys_max_cmd_len=8192
12813 ;;
12814
12762 osf*)12815 osf*)
12763 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure12816 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
12764 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not12817 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
@@ -12798,7 +12851,7 @@
12798 # If test is not a shell built-in, we'll probably end up computing a12851 # If test is not a shell built-in, we'll probably end up computing a
12799 # maximum length that is only half of the actual maximum length, but12852 # maximum length that is only half of the actual maximum length, but
12800 # we can't tell.12853 # we can't tell.
12801 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \12854 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
12802 = "X$teststring$teststring"; } >/dev/null 2>&1 &&12855 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
12803 test $i != 17 # 1/2 MB should be enough12856 test $i != 17 # 1/2 MB should be enough
12804 do12857 do
@@ -13227,7 +13280,7 @@
13227 lt_cv_deplibs_check_method=pass_all13280 lt_cv_deplibs_check_method=pass_all
13228 ;;13281 ;;
1322913282
13230# This must be Linux ELF.13283# This must be glibc/ELF.
13231linux* | k*bsd*-gnu | kopensolaris*-gnu)13284linux* | k*bsd*-gnu | kopensolaris*-gnu)
13232 lt_cv_deplibs_check_method=pass_all13285 lt_cv_deplibs_check_method=pass_all
13233 ;;13286 ;;
@@ -13867,13 +13920,13 @@
13867if test -n "$RANLIB"; then13920if test -n "$RANLIB"; then
13868 case $host_os in13921 case $host_os in
13869 openbsd*)13922 openbsd*)
13870 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"13923 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
13871 ;;13924 ;;
13872 *)13925 *)
13873 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"13926 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
13874 ;;13927 ;;
13875 esac13928 esac
13876 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"13929 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
13877fi13930fi
1387813931
13879case $host_os in13932case $host_os in
@@ -14020,6 +14073,7 @@
14020 # which start with @ or ?.14073 # which start with @ or ?.
14021 lt_cv_sys_global_symbol_pipe="$AWK '"\14074 lt_cv_sys_global_symbol_pipe="$AWK '"\
14022" {last_section=section; section=\$ 3};"\14075" {last_section=section; section=\$ 3};"\
14076" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
14023" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\14077" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
14024" \$ 0!~/External *\|/{next};"\14078" \$ 0!~/External *\|/{next};"\
14025" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\14079" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
@@ -14408,7 +14462,7 @@
14408 CFLAGS="$SAVE_CFLAGS"14462 CFLAGS="$SAVE_CFLAGS"
14409 fi14463 fi
14410 ;;14464 ;;
14411sparc*-*solaris*)14465*-*solaris*)
14412 # Find out which ABI we are using.14466 # Find out which ABI we are using.
14413 echo 'int i;' > conftest.$ac_ext14467 echo 'int i;' > conftest.$ac_ext
14414 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&514468 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
@@ -14419,7 +14473,20 @@
14419 case `/usr/bin/file conftest.o` in14473 case `/usr/bin/file conftest.o` in
14420 *64-bit*)14474 *64-bit*)
14421 case $lt_cv_prog_gnu_ld in14475 case $lt_cv_prog_gnu_ld in
14422 yes*) LD="${LD-ld} -m elf64_sparc" ;;14476 yes*)
14477 case $host in
14478 i?86-*-solaris*)
14479 LD="${LD-ld} -m elf_x86_64"
14480 ;;
14481 sparc*-*-solaris*)
14482 LD="${LD-ld} -m elf64_sparc"
14483 ;;
14484 esac
14485 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
14486 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
14487 LD="${LD-ld}_sol2"
14488 fi
14489 ;;
14423 *)14490 *)
14424 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then14491 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
14425 LD="${LD-ld} -64"14492 LD="${LD-ld} -64"
@@ -15059,7 +15126,13 @@
15059 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \15126 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
15060 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err15127 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
15061 _lt_result=$?15128 _lt_result=$?
15062 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then15129 # If there is a non-empty error log, and "single_module"
15130 # appears in it, assume the flag caused a linker warning
15131 if test -s conftest.err && $GREP single_module conftest.err; then
15132 cat conftest.err >&5
15133 # Otherwise, if the output was created with a 0 exit code from
15134 # the compiler, it worked.
15135 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
15063 lt_cv_apple_cc_single_mod=yes15136 lt_cv_apple_cc_single_mod=yes
15064 else15137 else
15065 cat conftest.err >&515138 cat conftest.err >&5
@@ -15070,6 +15143,7 @@
15070fi15143fi
15071{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&515144{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
15072$as_echo "$lt_cv_apple_cc_single_mod" >&6; }15145$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
15146
15073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&515147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
15074$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }15148$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
15075if ${lt_cv_ld_exported_symbols_list+:} false; then :15149if ${lt_cv_ld_exported_symbols_list+:} false; then :
@@ -15102,6 +15176,7 @@
15102fi15176fi
15103{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&515177{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
15104$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }15178$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
15179
15105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&515180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
15106$as_echo_n "checking for -force_load linker flag... " >&6; }15181$as_echo_n "checking for -force_load linker flag... " >&6; }
15107if ${lt_cv_ld_force_load+:} false; then :15182if ${lt_cv_ld_force_load+:} false; then :
@@ -15123,7 +15198,9 @@
15123 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&515198 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
15124 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err15199 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
15125 _lt_result=$?15200 _lt_result=$?
15126 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then15201 if test -s conftest.err && $GREP force_load conftest.err; then
15202 cat conftest.err >&5
15203 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
15127 lt_cv_ld_force_load=yes15204 lt_cv_ld_force_load=yes
15128 else15205 else
15129 cat conftest.err >&515206 cat conftest.err >&5
@@ -15261,7 +15338,22 @@
1526115338
15262# Check whether --with-pic was given.15339# Check whether --with-pic was given.
15263if test "${with_pic+set}" = set; then :15340if test "${with_pic+set}" = set; then :
15264 withval=$with_pic; pic_mode="$withval"15341 withval=$with_pic; lt_p=${PACKAGE-default}
15342 case $withval in
15343 yes|no) pic_mode=$withval ;;
15344 *)
15345 pic_mode=default
15346 # Look at the argument we got. We use all the common list separators.
15347 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
15348 for lt_pkg in $withval; do
15349 IFS="$lt_save_ifs"
15350 if test "X$lt_pkg" = "X$lt_p"; then
15351 pic_mode=yes
15352 fi
15353 done
15354 IFS="$lt_save_ifs"
15355 ;;
15356 esac
15265else15357else
15266 pic_mode=default15358 pic_mode=default
15267fi15359fi
@@ -15339,6 +15431,10 @@
1533915431
1534015432
1534115433
15434
15435
15436
15437
15342test -z "$LN_S" && LN_S="ln -s"15438test -z "$LN_S" && LN_S="ln -s"
1534315439
1534415440
@@ -15794,7 +15890,9 @@
15794 case $cc_basename in15890 case $cc_basename in
15795 nvcc*) # Cuda Compiler Driver 2.215891 nvcc*) # Cuda Compiler Driver 2.2
15796 lt_prog_compiler_wl='-Xlinker '15892 lt_prog_compiler_wl='-Xlinker '
15797 lt_prog_compiler_pic='-Xcompiler -fPIC'15893 if test -n "$lt_prog_compiler_pic"; then
15894 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
15895 fi
15798 ;;15896 ;;
15799 esac15897 esac
15800 else15898 else
@@ -15885,18 +15983,33 @@
15885 ;;15983 ;;
15886 *)15984 *)
15887 case `$CC -V 2>&1 | sed 5q` in15985 case `$CC -V 2>&1 | sed 5q` in
15888 *Sun\ F* | *Sun*Fortran*)15986 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
15889 # Sun Fortran 8.3 passes all unrecognized flags to the linker15987 # Sun Fortran 8.3 passes all unrecognized flags to the linker
15890 lt_prog_compiler_pic='-KPIC'15988 lt_prog_compiler_pic='-KPIC'
15891 lt_prog_compiler_static='-Bstatic'15989 lt_prog_compiler_static='-Bstatic'
15892 lt_prog_compiler_wl=''15990 lt_prog_compiler_wl=''
15893 ;;15991 ;;
15992 *Sun\ F* | *Sun*Fortran*)
15993 lt_prog_compiler_pic='-KPIC'
15994 lt_prog_compiler_static='-Bstatic'
15995 lt_prog_compiler_wl='-Qoption ld '
15996 ;;
15894 *Sun\ C*)15997 *Sun\ C*)
15895 # Sun C 5.915998 # Sun C 5.9
15896 lt_prog_compiler_pic='-KPIC'15999 lt_prog_compiler_pic='-KPIC'
15897 lt_prog_compiler_static='-Bstatic'16000 lt_prog_compiler_static='-Bstatic'
15898 lt_prog_compiler_wl='-Wl,'16001 lt_prog_compiler_wl='-Wl,'
15899 ;;16002 ;;
16003 *Intel*\ [CF]*Compiler*)
16004 lt_prog_compiler_wl='-Wl,'
16005 lt_prog_compiler_pic='-fPIC'
16006 lt_prog_compiler_static='-static'
16007 ;;
16008 *Portland\ Group*)
16009 lt_prog_compiler_wl='-Wl,'
16010 lt_prog_compiler_pic='-fpic'
16011 lt_prog_compiler_static='-Bstatic'
16012 ;;
15900 esac16013 esac
15901 ;;16014 ;;
15902 esac16015 esac
@@ -16258,7 +16371,6 @@
16258 hardcode_direct=no16371 hardcode_direct=no
16259 hardcode_direct_absolute=no16372 hardcode_direct_absolute=no
16260 hardcode_libdir_flag_spec=16373 hardcode_libdir_flag_spec=
16261 hardcode_libdir_flag_spec_ld=
16262 hardcode_libdir_separator=16374 hardcode_libdir_separator=
16263 hardcode_minus_L=no16375 hardcode_minus_L=no
16264 hardcode_shlibpath_var=unsupported16376 hardcode_shlibpath_var=unsupported
@@ -16511,8 +16623,7 @@
16511 xlf* | bgf* | bgxlf* | mpixlf*)16623 xlf* | bgf* | bgxlf* | mpixlf*)
16512 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself16624 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
16513 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'16625 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
16514 hardcode_libdir_flag_spec=16626 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
16515 hardcode_libdir_flag_spec_ld='-rpath $libdir'
16516 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'16627 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
16517 if test "x$supports_anon_versioning" = xyes; then16628 if test "x$supports_anon_versioning" = xyes; then
16518 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~16629 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
@@ -16892,6 +17003,7 @@
16892 # The linker will not automatically build a static lib if we build a DLL.17003 # The linker will not automatically build a static lib if we build a DLL.
16893 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'17004 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
16894 enable_shared_with_static_runtimes=yes17005 enable_shared_with_static_runtimes=yes
17006 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
16895 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'17007 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
16896 # Don't use ranlib17008 # Don't use ranlib
16897 old_postinstall_cmds='chmod 644 $oldlib'17009 old_postinstall_cmds='chmod 644 $oldlib'
@@ -16937,6 +17049,7 @@
16937 hardcode_shlibpath_var=unsupported17049 hardcode_shlibpath_var=unsupported
16938 if test "$lt_cv_ld_force_load" = "yes"; then17050 if test "$lt_cv_ld_force_load" = "yes"; then
16939 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'17051 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
17052
16940 else17053 else
16941 whole_archive_flag_spec=''17054 whole_archive_flag_spec=''
16942 fi17055 fi
@@ -16965,10 +17078,6 @@
16965 hardcode_shlibpath_var=no17078 hardcode_shlibpath_var=no
16966 ;;17079 ;;
1696717080
16968 freebsd1*)
16969 ld_shlibs=no
16970 ;;
16971
16972 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor17081 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16973 # support. Future versions do this automatically, but an explicit c++rt0.o17082 # support. Future versions do this automatically, but an explicit c++rt0.o
16974 # does not break anything, and helps significantly (at the cost of a little17083 # does not break anything, and helps significantly (at the cost of a little
@@ -16981,7 +17090,7 @@
16981 ;;17090 ;;
1698217091
16983 # Unfortunately, older versions of FreeBSD 2 do not have this feature.17092 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16984 freebsd2*)17093 freebsd2.*)
16985 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'17094 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16986 hardcode_direct=yes17095 hardcode_direct=yes
16987 hardcode_minus_L=yes17096 hardcode_minus_L=yes
@@ -17020,7 +17129,6 @@
17020 fi17129 fi
17021 if test "$with_gnu_ld" = no; then17130 if test "$with_gnu_ld" = no; then
17022 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'17131 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
17023 hardcode_libdir_flag_spec_ld='+b $libdir'
17024 hardcode_libdir_separator=:17132 hardcode_libdir_separator=:
17025 hardcode_direct=yes17133 hardcode_direct=yes
17026 hardcode_direct_absolute=yes17134 hardcode_direct_absolute=yes
@@ -17644,11 +17752,6 @@
1764417752
1764517753
1764617754
17647
17648
17649
17650
17651
17652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&517755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
17653$as_echo_n "checking dynamic linker characteristics... " >&6; }17756$as_echo_n "checking dynamic linker characteristics... " >&6; }
1765417757
@@ -17738,7 +17841,7 @@
1773817841
17739case $host_os in17842case $host_os in
17740aix3*)17843aix3*)
17741 version_type=linux17844 version_type=linux # correct to gnu/linux during the next big refactor
17742 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'17845 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
17743 shlibpath_var=LIBPATH17846 shlibpath_var=LIBPATH
1774417847
@@ -17747,7 +17850,7 @@
17747 ;;17850 ;;
1774817851
17749aix[4-9]*)17852aix[4-9]*)
17750 version_type=linux17853 version_type=linux # correct to gnu/linux during the next big refactor
17751 need_lib_prefix=no17854 need_lib_prefix=no
17752 need_version=no17855 need_version=no
17753 hardcode_into_libs=yes17856 hardcode_into_libs=yes
@@ -17812,7 +17915,7 @@
17812 ;;17915 ;;
1781317916
17814bsdi[45]*)17917bsdi[45]*)
17815 version_type=linux17918 version_type=linux # correct to gnu/linux during the next big refactor
17816 need_version=no17919 need_version=no
17817 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'17920 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17818 soname_spec='${libname}${release}${shared_ext}$major'17921 soname_spec='${libname}${release}${shared_ext}$major'
@@ -17951,7 +18054,7 @@
17951 ;;18054 ;;
1795218055
17953dgux*)18056dgux*)
17954 version_type=linux18057 version_type=linux # correct to gnu/linux during the next big refactor
17955 need_lib_prefix=no18058 need_lib_prefix=no
17956 need_version=no18059 need_version=no
17957 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'18060 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
@@ -17959,10 +18062,6 @@
17959 shlibpath_var=LD_LIBRARY_PATH18062 shlibpath_var=LD_LIBRARY_PATH
17960 ;;18063 ;;
1796118064
17962freebsd1*)
17963 dynamic_linker=no
17964 ;;
17965
17966freebsd* | dragonfly*)18065freebsd* | dragonfly*)
17967 # DragonFly does not have aout. When/if they implement a new18066 # DragonFly does not have aout. When/if they implement a new
17968 # versioning mechanism, adjust this.18067 # versioning mechanism, adjust this.
@@ -17970,7 +18069,7 @@
17970 objformat=`/usr/bin/objformat`18069 objformat=`/usr/bin/objformat`
17971 else18070 else
17972 case $host_os in18071 case $host_os in
17973 freebsd[123]*) objformat=aout ;;18072 freebsd[23].*) objformat=aout ;;
17974 *) objformat=elf ;;18073 *) objformat=elf ;;
17975 esac18074 esac
17976 fi18075 fi
@@ -17988,7 +18087,7 @@
17988 esac18087 esac
17989 shlibpath_var=LD_LIBRARY_PATH18088 shlibpath_var=LD_LIBRARY_PATH
17990 case $host_os in18089 case $host_os in
17991 freebsd2*)18090 freebsd2.*)
17992 shlibpath_overrides_runpath=yes18091 shlibpath_overrides_runpath=yes
17993 ;;18092 ;;
17994 freebsd3.[01]* | freebsdelf3.[01]*)18093 freebsd3.[01]* | freebsdelf3.[01]*)
@@ -18008,7 +18107,7 @@
18008 ;;18107 ;;
1800918108
18010gnu*)18109gnu*)
18011 version_type=linux18110 version_type=linux # correct to gnu/linux during the next big refactor
18012 need_lib_prefix=no18111 need_lib_prefix=no
18013 need_version=no18112 need_version=no
18014 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'18113 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
@@ -18019,7 +18118,7 @@
18019 ;;18118 ;;
1802018119
18021haiku*)18120haiku*)
18022 version_type=linux18121 version_type=linux # correct to gnu/linux during the next big refactor
18023 need_lib_prefix=no18122 need_lib_prefix=no
18024 need_version=no18123 need_version=no
18025 dynamic_linker="$host_os runtime_loader"18124 dynamic_linker="$host_os runtime_loader"
@@ -18080,7 +18179,7 @@
18080 ;;18179 ;;
1808118180
18082interix[3-9]*)18181interix[3-9]*)
18083 version_type=linux18182 version_type=linux # correct to gnu/linux during the next big refactor
18084 need_lib_prefix=no18183 need_lib_prefix=no
18085 need_version=no18184 need_version=no
18086 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'18185 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
@@ -18096,7 +18195,7 @@
18096 nonstopux*) version_type=nonstopux ;;18195 nonstopux*) version_type=nonstopux ;;
18097 *)18196 *)
18098 if test "$lt_cv_prog_gnu_ld" = yes; then18197 if test "$lt_cv_prog_gnu_ld" = yes; then
18099 version_type=linux18198 version_type=linux # correct to gnu/linux during the next big refactor
18100 else18199 else
18101 version_type=irix18200 version_type=irix
18102 fi ;;18201 fi ;;
@@ -18133,9 +18232,9 @@
18133 dynamic_linker=no18232 dynamic_linker=no
18134 ;;18233 ;;
1813518234
18136# This must be Linux ELF.18235# This must be glibc/ELF.
18137linux* | k*bsd*-gnu | kopensolaris*-gnu)18236linux* | k*bsd*-gnu | kopensolaris*-gnu)
18138 version_type=linux18237 version_type=linux # correct to gnu/linux during the next big refactor
18139 need_lib_prefix=no18238 need_lib_prefix=no
18140 need_version=no18239 need_version=no
18141 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'18240 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
@@ -18229,7 +18328,7 @@
18229 ;;18328 ;;
1823018329
18231newsos6)18330newsos6)
18232 version_type=linux18331 version_type=linux # correct to gnu/linux during the next big refactor
18233 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'18332 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18234 shlibpath_var=LD_LIBRARY_PATH18333 shlibpath_var=LD_LIBRARY_PATH
18235 shlibpath_overrides_runpath=yes18334 shlibpath_overrides_runpath=yes
@@ -18298,7 +18397,7 @@
18298 ;;18397 ;;
1829918398
18300solaris*)18399solaris*)
18301 version_type=linux18400 version_type=linux # correct to gnu/linux during the next big refactor
18302 need_lib_prefix=no18401 need_lib_prefix=no
18303 need_version=no18402 need_version=no
18304 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'18403 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
@@ -18323,7 +18422,7 @@
18323 ;;18422 ;;
1832418423
18325sysv4 | sysv4.3*)18424sysv4 | sysv4.3*)
18326 version_type=linux18425 version_type=linux # correct to gnu/linux during the next big refactor
18327 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'18426 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18328 soname_spec='${libname}${release}${shared_ext}$major'18427 soname_spec='${libname}${release}${shared_ext}$major'
18329 shlibpath_var=LD_LIBRARY_PATH18428 shlibpath_var=LD_LIBRARY_PATH
@@ -18347,7 +18446,7 @@
1834718446
18348sysv4*MP*)18447sysv4*MP*)
18349 if test -d /usr/nec ;then18448 if test -d /usr/nec ;then
18350 version_type=linux18449 version_type=linux # correct to gnu/linux during the next big refactor
18351 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'18450 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18352 soname_spec='$libname${shared_ext}.$major'18451 soname_spec='$libname${shared_ext}.$major'
18353 shlibpath_var=LD_LIBRARY_PATH18452 shlibpath_var=LD_LIBRARY_PATH
@@ -18378,7 +18477,7 @@
1837818477
18379tpf*)18478tpf*)
18380 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.18479 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
18381 version_type=linux18480 version_type=linux # correct to gnu/linux during the next big refactor
18382 need_lib_prefix=no18481 need_lib_prefix=no
18383 need_version=no18482 need_version=no
18384 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'18483 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
@@ -18388,7 +18487,7 @@
18388 ;;18487 ;;
1838918488
18390uts4*)18489uts4*)
18391 version_type=linux18490 version_type=linux # correct to gnu/linux during the next big refactor
18392 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'18491 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18393 soname_spec='${libname}${release}${shared_ext}$major'18492 soname_spec='${libname}${release}${shared_ext}$major'
18394 shlibpath_var=LD_LIBRARY_PATH18493 shlibpath_var=LD_LIBRARY_PATH
@@ -19170,6 +19269,8 @@
1917019269
1917119270
1917219271
19272
19273
19173 ac_config_commands="$ac_config_commands libtool"19274 ac_config_commands="$ac_config_commands libtool"
1917419275
1917519276
1917619277
=== modified file 'configure.in'
--- configure.in 2011-08-26 07:26:25 +0000
+++ configure.in 2011-12-27 00:36:23 +0000
@@ -2,7 +2,7 @@
2# Process this file with autoconf to produce a configure script.2# Process this file with autoconf to produce a configure script.
33
44
5# $Id: configure.in 1158 2011-07-28 02:09:16Z michael $5# $Id: configure.in 1165 2011-12-26 06:28:05Z michael $
6# $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/configure.in $6# $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/configure.in $
77
88
@@ -105,7 +105,11 @@
105fi105fi
106106
107# check for parport107# check for parport
108#AC_CHECK_HEADERS(asm/io.h)108AC_MSG_CHECKING(if raw port I/O is wanted)
109AC_ARG_WITH(outb,
110[ --with-outb enable raw port I/O support [[default=no]]],
111[AC_MSG_RESULT($withval)], [AC_MSG_RESULT(no)])
112
109AC_CHECK_HEADERS([asm/io.h] [linux/parport.h linux/ppdev.h], [has_parport="true"], [has_parport="false"])113AC_CHECK_HEADERS([asm/io.h] [linux/parport.h linux/ppdev.h], [has_parport="true"], [has_parport="false"])
110114
111# drivers115# drivers
@@ -157,10 +161,10 @@
157161
158AC_MSG_RESULT(162AC_MSG_RESULT(
159[-----------------------------------------]163[-----------------------------------------]
160[including drivers:]164[included drivers:]
161[ $DRIVERS]165[ $DRIVERS]
162[-----------------------------------------]166[-----------------------------------------]
163[including plugins:]167[included plugins:]
164[ $PLUGINS]168[ $PLUGINS]
165[-----------------------------------------]169[-----------------------------------------]
166)170)
167171
=== added file 'debian/NEWS'
--- debian/NEWS 1970-01-01 00:00:00 +0000
+++ debian/NEWS 2011-12-27 00:36:23 +0000
@@ -0,0 +1,10 @@
1lcd4linux (0.11.0~svn1165-1) unstable; urgency=low
2
3 As of 0.11.0~svn1165-1, direct raw parallel port access has been disabled
4 by default. The generic_parport driver depended on sys/io.h which is not
5 available on all architectures. This change means that lcd4linux is now
6 available on the mipsel, powerpc, s390x and sparc architectures. If you
7 still require raw I/O, you can uncomment the --with-outb argument in
8 debian/rules and rebuild the package.
9
10 -- Jonathan McCrohan <jmccrohan@gmail.com> Tue, 27 Dec 2011 00:27:15 +0000
011
=== modified file 'debian/changelog'
--- debian/changelog 2011-08-30 13:18:14 +0000
+++ debian/changelog 2011-12-27 00:36:23 +0000
@@ -1,3 +1,16 @@
1lcd4linux (0.11.0~svn1165-1) unstable; urgency=low
2
3 * New upstream snapshot
4 - raw port I/O in generic_parport driver disabled. Fixes FTBFS
5 issues on mipsel, powerpc, s390x and sparc.
6 - includes updates for D4D driver.
7 - fixes compilation warnings.
8 * debian/NEWS added to announce change in generic_parport driver
9 * Update libmysqlclient-dev virtual package in build-depends,
10 thanks to Clint Byrum (Closes: #652132)
11
12 -- Jonathan McCrohan <jmccrohan@gmail.com> Tue, 27 Dec 2011 00:27:15 +0000
13
1lcd4linux (0.11.0~svn1158-1) unstable; urgency=low14lcd4linux (0.11.0~svn1158-1) unstable; urgency=low
215
3 * New upstream snapshot16 * New upstream snapshot
417
=== modified file 'debian/control'
--- debian/control 2011-08-20 19:52:48 +0000
+++ debian/control 2011-12-27 00:36:23 +0000
@@ -9,7 +9,7 @@
9 dh-autoreconf,9 dh-autoreconf,
10 libdbus-1-dev,10 libdbus-1-dev,
11 libgd2-noxpm-dev,11 libgd2-noxpm-dev,
12 libmysqlclient15-dev,12 libmysqlclient-dev,
13 libncurses5-dev,13 libncurses5-dev,
14 libsqlite3-dev,14 libsqlite3-dev,
15 libusb-dev,15 libusb-dev,
1616
=== modified file 'debian/rules'
--- debian/rules 2011-08-28 13:31:13 +0000
+++ debian/rules 2011-12-27 00:36:23 +0000
@@ -34,6 +34,8 @@
34 --infodir=\$${prefix}/share/info \34 --infodir=\$${prefix}/share/info \
35 --bindir=/usr/sbin \35 --bindir=/usr/sbin \
36 --disable-rpath36 --disable-rpath
37# Enable raw parallel port I/O
38# --with-outb
3739
38# call this target to update config.sub and config.guess40# call this target to update config.sub and config.guess
39# need autotools-dev installed41# need autotools-dev installed
4042
=== modified file 'drivers.m4'
--- drivers.m4 2011-08-26 07:26:25 +0000
+++ drivers.m4 2011-12-27 00:36:23 +0000
@@ -1,4 +1,4 @@
1dnl $Id: drivers.m4 1158 2011-07-28 02:09:16Z michael $1dnl $Id: drivers.m4 1165 2011-12-26 06:28:05Z michael $
2dnl $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/drivers.m4 $2dnl $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/drivers.m4 $
33
44
@@ -565,7 +565,6 @@
565565
566if test "$NEWHAVEN" = "yes"; then566if test "$NEWHAVEN" = "yes"; then
567 TEXT="yes"567 TEXT="yes"
568 #SERIAL="yes"
569 I2C="yes"568 I2C="yes"
570 DRIVERS="$DRIVERS drv_Newhaven.o"569 DRIVERS="$DRIVERS drv_Newhaven.o"
571 AC_DEFINE(WITH_NEWHAVEN,1,[Newhaven driver])570 AC_DEFINE(WITH_NEWHAVEN,1,[Newhaven driver])
@@ -590,9 +589,7 @@
590fi589fi
591590
592if test "$PERTELIAN" = "yes"; then591if test "$PERTELIAN" = "yes"; then
593 # select either text or graphics mode
594 TEXT="yes"592 TEXT="yes"
595 # select bus: serial (including USB), parallel or i2c
596 SERIAL="yes"593 SERIAL="yes"
597 DRIVERS="$DRIVERS drv_Pertelian.o"594 DRIVERS="$DRIVERS drv_Pertelian.o"
598 AC_DEFINE(WITH_PERTELIAN,1,[Pertelian driver])595 AC_DEFINE(WITH_PERTELIAN,1,[Pertelian driver])
599596
=== modified file 'drv_D4D.c'
--- drv_D4D.c 2011-08-26 07:24:25 +0000
+++ drv_D4D.c 2011-12-27 00:36:23 +0000
@@ -1,9 +1,9 @@
1/* $Id: drv_D4D.c 1153 2011-07-27 05:12:30Z michael $1/* $Id: drv_D4D.c 1163 2011-12-09 03:16:17Z sonic74 $
2 * $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/drv_D4D.c $2 * $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/drv_D4D.c $
3 *3 *
4 * LCD4Linux driver for 4D Systems Display Graphics Modules4 * LCD4Linux driver for 4D Systems Display Graphics Modules
5 *5 *
6 * Copyright (C) 2008 Sven Killig <sven@killig.de>6 * Copyright (C) 2008, 2011 Sven Killig <sven@killig.de>
7 * Modified from sample code by:7 * Modified from sample code by:
8 * Copyright (C) 2005 Michael Reinelt <michael@reinelt.co.at>8 * Copyright (C) 2005 Michael Reinelt <michael@reinelt.co.at>
9 * Copyright (C) 2005, 2006, 2007 The LCD4Linux Team <lcd4linux-devel@users.sourceforge.net>9 * Copyright (C) 2005, 2006, 2007 The LCD4Linux Team <lcd4linux-devel@users.sourceforge.net>
@@ -61,9 +61,12 @@
61#include "drv_generic_graphic.h"61#include "drv_generic_graphic.h"
62#include "drv_generic_serial.h"62#include "drv_generic_serial.h"
6363
64#include <sys/ioctl.h>
65#include <linux/serial.h>
66
64static char Name[] = "D4D";67static char Name[] = "D4D";
65char NAME_[20];68char NAME_[20];
66int FONT = 1, MODE = 0, EXTRA = 0, SECTOR = 0, SECTOR_SIZE, NOPOWERCYCLE = 0;69int FONT = 1, MODE = 0, EXTRA = 0, SECTOR = 0, SECTOR_SIZE, POWERCYCLE = 0;
67/* int CONTRAST_; */70/* int CONTRAST_; */
6871
69#define address_mmsb(variable) ((variable >> 24) & 0xFF)72#define address_mmsb(variable) ((variable >> 24) & 0xFF)
@@ -98,24 +101,6 @@
98/****************************************/101/****************************************/
99102
100103
101static int drv_D4D_open(const char *section)
102{
103 int fd;
104 fd = drv_generic_serial_open(section, Name, 0);
105 if (fd < 0)
106 return -1;
107 fcntl(fd, F_SETFL, 0); /* blocking read */
108 return 0;
109}
110
111
112static int drv_D4D_close(void)
113{
114 drv_generic_serial_close();
115 return 0;
116}
117
118
119static void drv_D4D_receive_ACK()104static void drv_D4D_receive_ACK()
120{105{
121 char ret[1];106 char ret[1];
@@ -128,8 +113,11 @@
128 }113 }
129}114}
130115
116
131static void drv_D4D_send_nowait(const char *data, const unsigned int len)117static void drv_D4D_send_nowait(const char *data, const unsigned int len)
132{118{
119 if (len > 1 && data[0] >= 32 && data[0] < 127)
120 debug("drv_D4D_send_nowait('%c'", data[0]);
133 drv_generic_serial_write(data, len);121 drv_generic_serial_write(data, len);
134}122}
135123
@@ -139,32 +127,156 @@
139 drv_D4D_receive_ACK();127 drv_D4D_receive_ACK();
140}128}
141129
142static void drv_D4D_send_nowait_extra(const char *data, const unsigned int len, unsigned char pos1, unsigned char pos2)130static void drv_D4D_send_extra_nowait(const char *data, const unsigned int len, unsigned char pos1, unsigned char pos2,
131 unsigned char pos3, unsigned char pos4)
143{132{
144 /* possibly leave out bytes at pos1 and pos2 for older protocol format */133 /* possibly leave out bytes at posn for GOLDELOX protocol format */
145 if (EXTRA) {134 if (EXTRA) {
146 drv_D4D_send_nowait(data, len);135 drv_D4D_send_nowait(data, len);
147 } else {136 } else {
148 unsigned int i;137 unsigned int i, j = 0, lenNew = len;
149 char send[1];138 char send[len];
150 for (i = 0; i < len; i++) {139 for (i = 0; i < len; i++) {
151 if (!pos1 || i != pos1) {140 if (i != pos1 && i != pos2 && i != pos3 && i != pos4) {
152 if (!pos2 || i != pos2) {141 send[j++] = data[i];
153 send[0] = data[i];142 } else {
154 drv_generic_serial_write(send, 1);143 lenNew--;
155 }
156 }144 }
157 }145 }
146 drv_D4D_send_nowait(send, lenNew);
158 }147 }
159}148}
160149
161static void drv_D4D_send_extra(const char *data, const unsigned int len, char pos1, char pos2)150static void drv_D4D_send_extra(const char *data, const unsigned int len, unsigned char pos1, unsigned char pos2,
151 unsigned char pos3, unsigned char pos4)
162{152{
163 drv_D4D_send_nowait_extra(data, len, pos1, pos2);153 drv_D4D_send_extra_nowait(data, len, pos1, pos2, pos3, pos4);
164 drv_D4D_receive_ACK();154 drv_D4D_receive_ACK();
165}155}
166156
167157
158static int drv_D4D_open(const char *section)
159{
160 info("drv_D4D_open()");
161 int fd, picaso = 0;
162 struct termios portset;
163 static speed_t Speed = 0;
164 fd = drv_generic_serial_open(section, Name, 0);
165 if (fd < 0)
166 return -1;
167 int flags;
168 flags = fcntl(fd, F_GETFL);
169 flags &= ~FNDELAY;
170 fcntl(fd, F_SETFL, flags);
171
172 cfg_number(section, "PICASO", 0, 1200, 4000000, &picaso);
173 if (picaso) {
174 info("switching to 9600 baud");
175 if (tcgetattr(fd, &portset) == -1) {
176 error("%s: tcgetattr failed: %s", Name, strerror(errno));
177 return -1;
178 }
179 cfsetispeed(&portset, B9600);
180 cfsetospeed(&portset, B9600);
181 if (tcsetattr(fd, TCSANOW, &portset) == -1) {
182 error("%s: tcsetattr failed: %s", Name, strerror(errno));
183 return -1;
184 }
185 }
186
187 char cmd[] = { 'U' };
188 drv_D4D_send(cmd, sizeof(cmd));
189 debug("2");
190
191 if (picaso) {
192 char baud[] = { 'Q', 0 };
193 switch (picaso) {
194 case 1200:
195 Speed = B1200;
196 baud[1] = 0x03;
197 break;
198 case 2400:
199 Speed = B2400;
200 baud[1] = 0x04;
201 break;
202 case 4800:
203 Speed = B4800;
204 baud[1] = 0x05;
205 break;
206 case 9600:
207 Speed = B9600;
208 baud[1] = 0x06;
209 break;
210 case 19200:
211 Speed = B19200;
212 baud[1] = 0x08;
213 break;
214 case 38400:
215 Speed = B38400;
216 baud[1] = 0x0A;
217 break;
218 case 57600:
219 Speed = B57600;
220 baud[1] = 0x0B;
221 break;
222 case 115200:
223 Speed = B115200;
224 baud[1] = 0x0D;
225 break;
226 default:
227 if (picaso >= 128000 && picaso < 256000) { /* FTDI: 129032 */
228 Speed = B38400;
229 baud[1] = 0x0E;
230 break;
231 } else if (picaso >= 256000) { /* FTDI: 282353 */
232 Speed = B38400;
233 baud[1] = 0x0F;
234 break;
235 }
236 error("%s: unsupported speed '%d' from %s", Name, picaso, cfg_source());
237 return -1;
238 }
239 drv_D4D_send_nowait(baud, sizeof(baud));
240 sleep(1);
241 debug("3");
242 cfsetispeed(&portset, Speed);
243 cfsetospeed(&portset, Speed);
244 if (picaso >= 128000) {
245 struct serial_struct sstruct;
246 if (ioctl(fd, TIOCGSERIAL, &sstruct) < 0) {
247 error("Error: could not get comm ioctl\n");
248 return -1;
249 }
250 sstruct.custom_divisor = sstruct.baud_base / picaso;
251 info("baud_base=%d; custom_divisor=%d -> effective baud:%d", sstruct.baud_base, sstruct.custom_divisor,
252 sstruct.baud_base / sstruct.custom_divisor);
253 sstruct.flags |= ASYNC_SPD_CUST;
254 if (ioctl(fd, TIOCSSERIAL, &sstruct) < 0) {
255 error("Error: could not set custom comm baud divisor\n");
256 return -1;
257 }
258 }
259 debug("4");
260 info("switching to %d baud", picaso);
261 if (tcsetattr(fd, /*TCSANOW*/ TCSAFLUSH /*TCSADRAIN*/, &portset) == -1) {
262 error("%s: tcsetattr failed: %s", Name, strerror(errno));
263 return -1;
264 }
265 debug("5");
266
267 }
268
269 return 0;
270}
271
272
273static int drv_D4D_close(void)
274{
275 drv_generic_serial_close();
276 return 0;
277}
278
279
168static void drv_D4D_clear(void)280static void drv_D4D_clear(void)
169{281{
170 char cmd[] = { 'E' };282 char cmd[] = { 'E' };
@@ -213,24 +325,33 @@
213 cmdNull[0] = 0;325 cmdNull[0] = 0;
214 drv_D4D_send(cmdNull, 1);326 drv_D4D_send(cmdNull, 1);
215327
216 char cmd_user[] = { 'D', 0, 0, 0, 0, 0, msb(FG_COLOR), lsb(FG_COLOR) }; /* user defined symbols */328 /* 1, 2, 3, 4, 5, 6
329 g, c,mx,lx,my,ly */
330 char cmd_user[] = { 'D', 0, 0, 0, 0, 0, 0, msb(FG_COLOR), lsb(FG_COLOR) }; /* user defined symbols */
217 for (i = 0; i < k; i++) {331 for (i = 0; i < k; i++) {
218 cmd_user[2] = user_char[i];332 cmd_user[2] = user_char[i];
219 cmd_user[3] = user_x[i];333 cmd_user[3] = msb(user_x[i]);
220 cmd_user[4] = msb(user_y[i]);334 cmd_user[4] = lsb(user_x[i]);
221 cmd_user[5] = lsb(user_y[i]);335 cmd_user[5] = msb(user_y[i]);
222 drv_D4D_send_extra(cmd_user, sizeof(cmd_user), 1, 4);336 cmd_user[6] = lsb(user_y[i]);
337 drv_D4D_send_extra(cmd_user, sizeof(cmd_user), 1, 3, 5, -1);
223 }338 }
224 } else { /* font on SD card */339 } else { /* font on SD card */
225 int sec;340 int sec;
226 char cmd_sd[] = { '@', 'I', 0, msb(row * YRES), lsb(row * YRES), XRES, msb(YRES), lsb(YRES), 16, 0, 0, 0 };341 /* 2, 3, 4 , 5 , 6 , 7 , 8 , 9 , 10,11,12,13
342 mx,lx, my , ly , mw , lw , mh , lh , cm,hs,ms,ls */
343 char cmd_sd[] =
344 { '@', 'I', 0, 0, msb(row * YRES), lsb(row * YRES), msb(XRES), lsb(XRES), msb(YRES), lsb(YRES), 16, 0, 0,
345 0
346 };
227 for (i = 0; i < len; i++) {347 for (i = 0; i < len; i++) {
228 cmd_sd[2] = (col + i) * XRES;348 cmd_sd[2] = msb((col + i) * XRES);
349 cmd_sd[3] = lsb((col + i) * XRES);
229 sec = SECTOR + (unsigned char) data[i] * SECTOR_SIZE;350 sec = SECTOR + (unsigned char) data[i] * SECTOR_SIZE;
230 cmd_sd[9] = address_hi(sec);351 cmd_sd[11] = address_hi(sec);
231 cmd_sd[10] = address_mid(sec);352 cmd_sd[12] = address_mid(sec);
232 cmd_sd[11] = address_lo(sec);353 cmd_sd[13] = address_lo(sec);
233 drv_D4D_send_extra(cmd_sd, sizeof(cmd_sd), 3, 6);354 drv_D4D_send_extra(cmd_sd, sizeof(cmd_sd), 2, 4, 6, 8);
234 }355 }
235 }356 }
236}357}
@@ -238,7 +359,7 @@
238359
239static void drv_D4D_defchar(const int ascii, const unsigned char *matrix)360static void drv_D4D_defchar(const int ascii, const unsigned char *matrix)
240{361{
241 /* error("drv_D4D_defchar"); */362 info("drv_D4D_defchar");
242 char cmd[11];363 char cmd[11];
243 int i;364 int i;
244365
@@ -249,62 +370,61 @@
249 for (i = 0; i < 8; i++) {370 for (i = 0; i < 8; i++) {
250 cmd[i + 3] = *matrix++;371 cmd[i + 3] = *matrix++;
251 }372 }
252 drv_D4D_send_extra(cmd, sizeof(cmd), 1, 0);373 drv_D4D_send_extra(cmd, sizeof(cmd), 1, -1, -1, -1);
253}374}
254375
255376
256static void drv_D4D_blit(const int row, const int col, const int height, const int width)377static void drv_D4D_blit(const int row, const int col, const int height, const int width)
257{378{
258 /* error("drv_D4D_blit(%i, %i, %i, %i)",row, col, height, width); */379 debug("drv_D4D_blit(%i, %i, %i, %i)", row, col, height, width);
259 int r, c;380 int r, c;
260 RGBA rgb, pixel0_0, pixel;381 RGBA rgb;
261 short int color;382 short int color;
262 char colorArray[2];383 char colorArray[width * height * MODE / 8];
263
264384
265 /* optimization: single colour rectangle? */385 /* optimization: single colour rectangle? */
266 pixel0_0 = drv_generic_graphic_rgb(0, 0);386 /* commented out because obviously seldom used and expensive */
267 char unicolor = 1;387 /*RGBA pixel0_0, pixel;
388 pixel0_0 = drv_generic_graphic_rgb(row, col);
389 char unicolor = 1;
390 for (r = row; (r < row + height) && unicolor; r++) {
391 for (c = col; (c < col + width) && unicolor; c++) {
392 pixel = drv_generic_graphic_rgb(r, c);
393 if (pixel0_0.R != pixel.R || pixel0_0.G != pixel.G || pixel0_0.B != pixel.B || pixel0_0.A != pixel.A)
394 unicolor = 0;
395 }
396 }
397
398 if (unicolor) {
399 color = RGB_24to16(pixel0_0.R, pixel0_0.G, pixel0_0.B);
400 unsigned char col2 = col + width - 1;
401 unsigned char row2 = row + height - 1;
402 char cmdRect[] =
403 { 'r', msb(col), lsb(col), msb(row), lsb(row), msb(col2), lsb(col2), msb(row2), lsb(row2), msb(color),
404 lsb(color)
405 };
406 debug("Rectangle(%i, %i, %i, %i, %i", col, row, col2, row2, color);
407 drv_D4D_send_extra(cmdRect, sizeof(cmdRect), 1, 3, 5, 7);
408 } else { */
409 char cmd[] =
410 { 'I', msb(col), lsb(col), msb(row), lsb(row), msb(width), lsb(width), msb(height), lsb(height), MODE };
411 int p = 0;
412 drv_D4D_send_extra_nowait(cmd, sizeof(cmd), 1, 3, 5, 7);
268 for (r = row; r < row + height; r++) {413 for (r = row; r < row + height; r++) {
269 if (!unicolor)
270 break;
271 for (c = col; c < col + width; c++) {414 for (c = col; c < col + width; c++) {
272 if (!unicolor)415 rgb = drv_generic_graphic_rgb(r, c);
273 break;416 if (MODE == 8) {
274 pixel = drv_generic_graphic_rgb(r, c);417 colorArray[p++] = RGB_24to8(rgb.R, rgb.G, rgb.B);
275 if (pixel0_0.R != pixel.R || pixel0_0.G != pixel.G || pixel0_0.B != pixel.B || pixel0_0.A != pixel.A)418 } else {
276 unicolor = 0;419 color = RGB_24to16(rgb.R, rgb.G, rgb.B);
277 }420 colorArray[p++] = msb(color);
278 }421 colorArray[p++] = lsb(color);
279
280 if (unicolor) {
281 color = RGB_24to16(pixel0_0.R, pixel0_0.G, pixel0_0.B);
282 char row2 = row + height - 1;
283 char cmdRect[] =
284 { 'r', col, msb(row), lsb(row), col + width - 1, msb(row2), lsb(row2), msb(color), lsb(color) };
285 drv_D4D_send_extra(cmdRect, sizeof(cmdRect), 2, 5);
286 } else {
287 char cmd[] = { 'I', col, msb(row), lsb(row), width, msb(height), lsb(height), MODE };
288 drv_D4D_send_nowait_extra(cmd, sizeof(cmd), 2, 5);
289 for (r = row; r < row + height; r++) {
290 for (c = col; c < col + width; c++) {
291 rgb = drv_generic_graphic_rgb(r, c);
292 if (MODE == 8) {
293 colorArray[0] = RGB_24to8(rgb.R, rgb.G, rgb.B);
294 drv_D4D_send_nowait(colorArray, 1);
295 } else {
296 color = RGB_24to16(rgb.R, rgb.G, rgb.B);
297 colorArray[0] = msb(color);
298 drv_D4D_send_nowait(colorArray, 1); /* doesn't werk if sent together (error: "partial write(/dev/tts/1): len=2 ret=1") */
299 /* colorArray[1]=lsb(color); */
300 colorArray[0] = lsb(color);
301 drv_D4D_send_nowait(colorArray, 1);
302 }
303 /* drv_D4D_send_nowait(colorArray, MODE/8); */
304 }422 }
305 }423 }
306 drv_D4D_receive_ACK();
307 }424 }
425 drv_D4D_send_nowait(colorArray, width * height * MODE / 8); /* doesn't werk if sent together (error: "partial write(/dev/tts/1): len=2 ret=1") */
426 drv_D4D_receive_ACK();
427 /*} */
308}428}
309429
310430
@@ -325,7 +445,7 @@
325445
326static int drv_D4D_start(const char *section)446static int drv_D4D_start(const char *section)
327{447{
328 /* error("drv_D4D_start()"); */448 info("drv_D4D_start()");
329 int contrast;449 int contrast;
330 int xres_cfg = -1, yres_cfg = -1;450 int xres_cfg = -1, yres_cfg = -1;
331 char *s;451 char *s;
@@ -335,14 +455,19 @@
335 return -1;455 return -1;
336 }456 }
337457
338 char cmd[] = { 'U' };458 char getVersion[] = { 'V', 0 /*1 */ };
339 drv_D4D_send(cmd, sizeof(cmd));
340
341
342 char getVersion[] = { 'V', 0 };
343 drv_D4D_send_nowait(getVersion, sizeof(getVersion));459 drv_D4D_send_nowait(getVersion, sizeof(getVersion));
344 char answer[5];460 char answer[5];
345 drv_generic_serial_read(answer, sizeof(answer));461 debug("reading answer[0]");
462 drv_generic_serial_read(answer + 0, 1); /* ,5: PICASO 0/1, Speed 9600: error: "partial read(/dev/ttyUSB0): len=5 ret=1" */
463 debug("reading answer[1]");
464 drv_generic_serial_read(answer + 1, 1);
465 debug("reading answer[2]");
466 drv_generic_serial_read(answer + 2, 1);
467 debug("reading answer[3]");
468 drv_generic_serial_read(answer + 3, 1);
469 debug("reading answer[4]");
470 drv_generic_serial_read(answer + 4, 1);
346 char *ids[] = { "uOLED", "uLCD", "uVGA" };471 char *ids[] = { "uOLED", "uLCD", "uVGA" };
347 char *id;472 char *id;
348 if (answer[0] <= 2)473 if (answer[0] <= 2)
@@ -380,7 +505,8 @@
380 res[i] = 240;505 res[i] = 240;
381 break;506 break;
382 default:507 default:
383 error("Can't detect display dimensions!");508 error("Can't detect display dimensions! answer: {%d, %d, %d, %d, %d}", answer[0], answer[1], answer[2],
509 answer[3], answer[4]);
384 return -1;510 return -1;
385 }511 }
386 }512 }
@@ -390,38 +516,38 @@
390516
391 cfg_number(section, "Mode", 0, 0, 16, &MODE);517 cfg_number(section, "Mode", 0, 0, 16, &MODE);
392518
393 s = cfg_get(section, "Font", NULL);
394 if (s == NULL || *s == '\0') {
395 error("%s: no '%s.Font' entry from %s", Name, section, cfg_source());
396 return -1;
397 }
398 if (sscanf(s, "%dx%d", &xres_cfg, &yres_cfg) < 1 || xres_cfg < 0) {
399 error("%s: bad %s.Font '%s' from %s", Name, section, s, cfg_source());
400 free(s);
401 return -1;
402 }
403
404 if (yres_cfg == -1) { /* font on SD card */
405 SECTOR = xres_cfg * 512;
406 char setAddress[] =
407 { '@', 'A', address_mmsb(SECTOR), address_mlsb(SECTOR), address_lmsb(SECTOR), address_llsb(SECTOR) };
408 drv_D4D_send(setAddress, sizeof(setAddress));
409 char answer1[1];
410 char readByte[] = { '@', 'r' };
411 drv_D4D_send_nowait(readByte, sizeof(readByte));
412 drv_generic_serial_read(answer1, sizeof(answer1));
413 XRES = answer1[0];
414 drv_D4D_send_nowait(readByte, sizeof(readByte));
415 drv_generic_serial_read(answer1, sizeof(answer1));
416 YRES = answer1[0];
417 SECTOR = xres_cfg + 1;
418 SECTOR_SIZE = ceil((double) XRES * (double) YRES * 2.0 / 512.0);
419 } else {
420 XRES = xres_cfg;
421 YRES = yres_cfg;
422 }
423
424 if (MODE == 0) {519 if (MODE == 0) {
520 s = cfg_get(section, "Font", NULL);
521 if (s == NULL || *s == '\0') {
522 error("%s: no '%s.Font' entry from %s", Name, section, cfg_source());
523 return -1;
524 }
525 if (sscanf(s, "%dx%d", &xres_cfg, &yres_cfg) < 1 || xres_cfg < 0) {
526 error("%s: bad %s.Font '%s' from %s", Name, section, s, cfg_source());
527 free(s);
528 return -1;
529 }
530
531 if (yres_cfg == -1) { /* font on SD card */
532 SECTOR = xres_cfg * 512;
533 char setAddress[] =
534 { '@', 'A', address_mmsb(SECTOR), address_mlsb(SECTOR), address_lmsb(SECTOR), address_llsb(SECTOR) };
535 drv_D4D_send(setAddress, sizeof(setAddress));
536 char answer1[1];
537 char readByte[] = { '@', 'r' };
538 drv_D4D_send_nowait(readByte, sizeof(readByte));
539 drv_generic_serial_read(answer1, sizeof(answer1));
540 XRES = answer1[0];
541 drv_D4D_send_nowait(readByte, sizeof(readByte));
542 drv_generic_serial_read(answer1, sizeof(answer1));
543 YRES = answer1[0];
544 SECTOR = xres_cfg + 1;
545 SECTOR_SIZE = ceil((double) XRES * (double) YRES * 2.0 / 512.0);
546 } else {
547 XRES = xres_cfg;
548 YRES = yres_cfg;
549 }
550
425551
426 color = cfg_get(section, "foreground", "ffffff");552 color = cfg_get(section, "foreground", "ffffff");
427 if (color2RGBA(color, &FG_COL_) < 0) {553 if (color2RGBA(color, &FG_COL_) < 0) {
@@ -474,8 +600,8 @@
474600
475601
476602
477 cfg_number(section, "NoPowerCycle", 0, 1, 65536, &NOPOWERCYCLE);603 cfg_number(section, "PowerCycle", 0, 0, 1, &POWERCYCLE);
478 if (!NOPOWERCYCLE) {604 if (POWERCYCLE) {
479 char powerOn[] = { 'Y', 3, 1 };605 char powerOn[] = { 'Y', 3, 1 };
480 drv_D4D_send(powerOn, sizeof(powerOn));606 drv_D4D_send(powerOn, sizeof(powerOn));
481607
@@ -523,7 +649,7 @@
523}649}
524650
525651
526int lastVal[40 * 40 * 2]; /* ToDo: MAX_WIDGETS*2 */652int lastVal[40 * 40 * 2]; /* Fixme: MAX_WIDGETS*2 */
527int drv_D4D_bar_draw(WIDGET * W)653int drv_D4D_bar_draw(WIDGET * W)
528{654{
529 /* optimizations:655 /* optimizations:
@@ -534,14 +660,14 @@
534 int row, col, len, res, max, val1, val2;660 int row, col, len, res, max, val1, val2;
535 DIRECTION dir;661 DIRECTION dir;
536#if 0662#if 0
537 STYLE style; /* Fixme: unused variable */663 STYLE style; /* Fixme: missing style support */
538#endif664#endif
539665
540 row = W->row;666 row = W->row;
541 col = W->col;667 col = W->col;
542 dir = Bar->direction;668 dir = Bar->direction;
543#if 0669#if 0
544 style = Bar->style; /* Fixme: unused variable */670 style = Bar->style; /* Fixme: missing style support */
545#endif671#endif
546 len = Bar->length;672 len = Bar->length;
547673
@@ -567,12 +693,12 @@
567 FG_COLOR = RGB_24to16(fg.R, fg.G, fg.B);693 FG_COLOR = RGB_24to16(fg.R, fg.G, fg.B);
568 BG_COLOR = RGB_24to16(bg.R, bg.G, bg.B);694 BG_COLOR = RGB_24to16(bg.R, bg.G, bg.B);
569695
570 char cmd[9];696 char cmd[11];
571 cmd[0] = 'r';697 cmd[0] = 'r';
572 int val[2];698 int val[2];
573 val[0] = val1;699 val[0] = val1;
574 val[1] = val2;700 val[1] = val2;
575 int i, vals;701 int i, vals, x1, x2;
576 int lastValIndex0 = row * DCOLS + col;702 int lastValIndex0 = row * DCOLS + col;
577 int cells = DROWS * DCOLS;703 int cells = DROWS * DCOLS;
578 if (val1 == val2 && lastVal[lastValIndex0] == lastVal[lastValIndex0 + cells])704 if (val1 == val2 && lastVal[lastValIndex0] == lastVal[lastValIndex0 + cells])
@@ -582,23 +708,33 @@
582 for (i = 0; i < vals; i++) {708 for (i = 0; i < vals; i++) {
583 int lastValIndex = lastValIndex0 + cells * (i /*+1 */ );709 int lastValIndex = lastValIndex0 + cells * (i /*+1 */ );
584 int y1 = row * YRES + (YRES / 2) * i;710 int y1 = row * YRES + (YRES / 2) * i;
585 cmd[2] = msb(y1);711 cmd[3] = msb(y1);
586 cmd[3] = lsb(y1);712 cmd[4] = lsb(y1);
587 int y2 = y1 + (YRES) / vals - 1;713 int y2 = y1 + YRES / vals - 1;
588 cmd[5] = msb(y2);714 cmd[7] = msb(y2);
589 cmd[6] = lsb(y2);715 cmd[8] = lsb(y2);
590 if (val[i] > lastVal[lastValIndex]) {716 if (val[i] > lastVal[lastValIndex]) {
591 cmd[1] = col * XRES + lastVal[lastValIndex];717 x1 = col * XRES + lastVal[lastValIndex];
592 cmd[4] = cmd[1] + val[i] - lastVal[lastValIndex] - 1;718 cmd[1] = msb(x1);
593 cmd[7] = msb(FG_COLOR);719 cmd[2] = lsb(x1);
594 cmd[8] = lsb(FG_COLOR);720 x2 = x1 + val[i] - lastVal[lastValIndex] - 1;
595 drv_D4D_send_extra(cmd, sizeof(cmd), 2, 5);721 cmd[5] = msb(x2);
722 cmd[6] = lsb(x2);
723 cmd[9] = msb(FG_COLOR);
724 cmd[10] = lsb(FG_COLOR);
725 drv_D4D_send_extra(cmd, sizeof(cmd), 1, 3, 5, 7);
596 } else if (val[i] < lastVal[lastValIndex]) {726 } else if (val[i] < lastVal[lastValIndex]) {
597 cmd[1] = col * XRES + val[i] - 1 + 1;727 x1 = col * XRES + val[i] - 1 + 1;
598 cmd[4] = cmd[1] + lastVal[lastValIndex] - val[i];728 cmd[1] = msb(x1);
599 cmd[7] = msb(BG_COLOR);729 cmd[2] = lsb(x1);
600 cmd[8] = lsb(BG_COLOR);730 x2 = x1 + lastVal[lastValIndex] - val[i];
601 drv_D4D_send_extra(cmd, sizeof(cmd), 2, 5);731 cmd[5] = msb(x2);
732 cmd[6] = lsb(x2);
733 cmd[9] = msb(BG_COLOR);
734 cmd[10] = lsb(BG_COLOR);
735 drv_D4D_send_extra(cmd, sizeof(cmd), 1, 3, 5, 7);
736 } else {
737 /* do nothing */
602 }738 }
603 lastVal[lastValIndex] = val[i];739 lastVal[lastValIndex] = val[i];
604 }740 }
@@ -650,11 +786,11 @@
650786
651int drv_D4D_init(const char *section, const int quiet)787int drv_D4D_init(const char *section, const int quiet)
652{788{
653 /* error("drv_D4D_init()"); */789 info("drv_D4D_init()");
654 WIDGET_CLASS wc;790 WIDGET_CLASS wc;
655 int ret;791 int ret;
656792
657 info("%s: %s", Name, "$Rev: 1153 $");793 info("%s: %s", Name, "$Rev: 1163 $");
658794
659 if ((ret = drv_D4D_start(section)) != 0)795 if ((ret = drv_D4D_start(section)) != 0)
660 return ret;796 return ret;
@@ -732,7 +868,7 @@
732868
733int drv_D4D_quit(const int quiet)869int drv_D4D_quit(const int quiet)
734{870{
735 /* error("drv_D4D_quit()"); */871 info("drv_D4D_quit()");
736872
737 info("%s: shutting down.", Name);873 info("%s: shutting down.", Name);
738874
@@ -740,7 +876,7 @@
740 drv_generic_text_quit();876 drv_generic_text_quit();
741877
742878
743 if (!NOPOWERCYCLE) {879 if (POWERCYCLE) {
744 drv_D4D_clear();880 drv_D4D_clear();
745 }881 }
746882
@@ -761,12 +897,18 @@
761 if (MODE)897 if (MODE)
762 drv_generic_graphic_quit();898 drv_generic_graphic_quit();
763899
764 if (!NOPOWERCYCLE) {900 if (POWERCYCLE) {
765 char powerDown[] = { 'Y', 3, 0 };901 char powerDown[] = { 'Y', 3, 0 };
766 drv_D4D_send(powerDown, sizeof(powerDown));902 drv_D4D_send(powerDown, sizeof(powerDown));
767 }903 }
768904
769 debug("closing connection");905 if (EXTRA) {
906 info("switching to 9600 baud");
907 char baud[] = { 'Q', 0x06 };
908 drv_D4D_send_nowait(baud, sizeof(baud));
909 }
910
911 info("closing connection");
770 drv_D4D_close();912 drv_D4D_close();
771913
772 return (0);914 return (0);
773915
=== modified file 'drv_EFN.c'
--- drv_EFN.c 2011-08-26 07:24:25 +0000
+++ drv_EFN.c 2011-12-27 00:36:23 +0000
@@ -318,7 +318,7 @@
318/* list models */318/* list models */
319int drv_EFN_list(void)319int drv_EFN_list(void)
320{320{
321 printf("EFN LED modules + EUG100 Ethernet to serial convertor");321 printf("EFN LED modules + EUG100 Ethernet to serial converter");
322 return 0;322 return 0;
323}323}
324324
325325
=== modified file 'drv_generic_parport.c'
--- drv_generic_parport.c 2011-04-27 17:28:49 +0000
+++ drv_generic_parport.c 2011-12-27 00:36:23 +0000
@@ -1,4 +1,4 @@
1/* $Id: drv_generic_parport.c 905 2008-12-23 13:37:07Z michael $1/* $Id: drv_generic_parport.c 1165 2011-12-26 06:28:05Z michael $
2 * $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/drv_generic_parport.c $2 * $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/drv_generic_parport.c $
3 *3 *
4 * generic driver helper for serial and parport access4 * generic driver helper for serial and parport access
@@ -39,13 +39,17 @@
39#include <sys/stat.h>39#include <sys/stat.h>
40#include <sys/ioctl.h>40#include <sys/ioctl.h>
4141
42#ifdef WITH_OUTB
42#ifdef HAVE_SYS_IO_H43#ifdef HAVE_SYS_IO_H
43#include <sys/io.h>44#include <sys/io.h>
44#define WITH_OUTB
45#else45#else
46#ifdef HAVE_ASM_IO_H46#ifdef HAVE_ASM_IO_H
47#include <asm/io.h>47#include <asm/io.h>
48#define WITH_OUTB48#else
49#warning neither sys/io.h nor asm/io.h exists.
50#warning raw port I/O will be disabled.
51#undef WITH_OUTB
52#endif
49#endif53#endif
50#endif54#endif
5155
@@ -88,8 +92,10 @@
88/* Any bits set here will have their logic inverted at the parallel port */92/* Any bits set here will have their logic inverted at the parallel port */
89static unsigned char inverted_control_bits = 0;93static unsigned char inverted_control_bits = 0;
9094
95#ifdef WITH_OUTB
91/* initial value taken from linux/parport_pc.c */96/* initial value taken from linux/parport_pc.c */
92static unsigned char ctr = 0xc;97static unsigned char ctr = 0xc;
98#endif
9399
94#ifdef WITH_PPDEV100#ifdef WITH_PPDEV
95static int PPfd = -1;101static int PPfd = -1;
@@ -130,7 +136,6 @@
130#endif136#endif
131 }137 }
132#ifdef WITH_PPDEV138#ifdef WITH_PPDEV
133
134 if (PPdev) {139 if (PPdev) {
135 info("%s: using ppdev %s", Driver, PPdev);140 info("%s: using ppdev %s", Driver, PPdev);
136 PPfd = open(PPdev, O_RDWR);141 PPfd = open(PPdev, O_RDWR);
@@ -147,15 +152,15 @@
147 info("%s: got exclusive access to %s.", Driver, PPdev);152 info("%s: got exclusive access to %s.", Driver, PPdev);
148 }153 }
149#endif154#endif
150
151 if (ioctl(PPfd, PPCLAIM)) {155 if (ioctl(PPfd, PPCLAIM)) {
152 error("%s: ioctl(%s, PPCLAIM) failed: %d %s", Driver, PPdev, errno, strerror(errno));156 error("%s: ioctl(%s, PPCLAIM) failed: %d %s", Driver, PPdev, errno, strerror(errno));
153 return -1;157 return -1;
154 }158 }
155 } else159 }
156#endif160#endif
157161
158 {162#ifdef WITH_OUTB
163 if (Port) {
159 error("using raw port 0x%x (deprecated!)", Port);164 error("using raw port 0x%x (deprecated!)", Port);
160 error("You *really* should change your setup and use ppdev!");165 error("You *really* should change your setup and use ppdev!");
161 if ((Port + 3) <= 0x3ff) {166 if ((Port + 3) <= 0x3ff) {
@@ -170,6 +175,7 @@
170 }175 }
171 }176 }
172 }177 }
178#endif
173 return 0;179 return 0;
174}180}
175181
@@ -187,9 +193,11 @@
187 return -1;193 return -1;
188 }194 }
189 free(PPdev);195 free(PPdev);
190 } else196 }
191#endif197#endif
192 {198
199#ifdef WITH_OUTB
200 if (Port) {
193 debug("closing raw port 0x%x", Port);201 debug("closing raw port 0x%x", Port);
194 if ((Port + 3) <= 0x3ff) {202 if ((Port + 3) <= 0x3ff) {
195 if (ioperm(Port, 3, 0) != 0) {203 if (ioperm(Port, 3, 0) != 0) {
@@ -203,6 +211,7 @@
203 }211 }
204 }212 }
205 }213 }
214#endif
206215
207 return 0;216 return 0;
208}217}
@@ -374,13 +383,16 @@
374#ifdef WITH_PPDEV383#ifdef WITH_PPDEV
375 if (PPdev) {384 if (PPdev) {
376 ioctl(PPfd, PPDATADIR, &direction);385 ioctl(PPfd, PPDATADIR, &direction);
377 } else386 }
378#endif387#endif
379 {388
389#ifdef WITH_OUTB
390 if (Port) {
380 /* code stolen from linux/parport_pc.h */391 /* code stolen from linux/parport_pc.h */
381 ctr = (ctr & ~0x20) ^ (direction ? 0x20 : 0x00);392 ctr = (ctr & ~0x20) ^ (direction ? 0x20 : 0x00);
382 outb(ctr, Port + 2);393 outb(ctr, Port + 2);
383 }394 }
395#endif
384}396}
385397
386398
@@ -395,11 +407,14 @@
395#ifdef WITH_PPDEV407#ifdef WITH_PPDEV
396 if (PPdev) {408 if (PPdev) {
397 ioctl(PPfd, PPRSTATUS, &data);409 ioctl(PPfd, PPRSTATUS, &data);
398 } else410 }
399#endif411#endif
400 {412
413#ifdef WITH_OUTB
414 if (Port) {
401 data = inb(Port + 1);415 data = inb(Port + 1);
402 }416 }
417#endif
403418
404 /* clear unused bits */419 /* clear unused bits */
405 data &= mask;420 data &= mask;
@@ -426,13 +441,16 @@
426 frob.mask = mask;441 frob.mask = mask;
427 frob.val = val;442 frob.val = val;
428 ioctl(PPfd, PPFCONTROL, &frob);443 ioctl(PPfd, PPFCONTROL, &frob);
429 } else444 }
430#endif445#endif
431 {446
447#ifdef WITH_OUTB
448 if (Port) {
432 /* code stolen from linux/parport_pc.h */449 /* code stolen from linux/parport_pc.h */
433 ctr = (ctr & ~mask) ^ val;450 ctr = (ctr & ~mask) ^ val;
434 outb(ctr, Port + 2);451 outb(ctr, Port + 2);
435 }452 }
453#endif
436}454}
437455
438456
@@ -469,9 +487,11 @@
469 frob.val = value2;487 frob.val = value2;
470 ioctl(PPfd, PPFCONTROL, &frob);488 ioctl(PPfd, PPFCONTROL, &frob);
471489
472 } else490 }
473#endif491#endif
474 {492
493#ifdef WITH_OUTB
494 if (Port) {
475 /* rise */495 /* rise */
476 ctr = (ctr & ~bits) ^ value1;496 ctr = (ctr & ~bits) ^ value1;
477 outb(ctr, Port + 2);497 outb(ctr, Port + 2);
@@ -483,6 +503,7 @@
483 ctr = (ctr & ~bits) ^ value2;503 ctr = (ctr & ~bits) ^ value2;
484 outb(ctr, Port + 2);504 outb(ctr, Port + 2);
485 }505 }
506#endif
486}507}
487508
488509
@@ -491,41 +512,51 @@
491#ifdef WITH_PPDEV512#ifdef WITH_PPDEV
492 if (PPdev) {513 if (PPdev) {
493 ioctl(PPfd, PPWDATA, &data);514 ioctl(PPfd, PPWDATA, &data);
494 } else515 }
495#endif516#endif
496 {517
518#ifdef WITH_OUTB
519 if (Port) {
497 outb(data, Port);520 outb(data, Port);
498 }521 }
522#endif
499}523}
500524
501unsigned char drv_generic_parport_read(void)525unsigned char drv_generic_parport_read(void)
502{526{
503 unsigned char data;527 unsigned char data = 0;
504528
505#ifdef WITH_PPDEV529#ifdef WITH_PPDEV
506 if (PPdev) {530 if (PPdev) {
507 ioctl(PPfd, PPRDATA, &data);531 ioctl(PPfd, PPRDATA, &data);
508 } else532 }
509#endif533#endif
510 {534
535#ifdef WITH_OUTB
536 if (Port) {
511 data = inb(Port);537 data = inb(Port);
512 }538 }
539#endif
540
513 return data;541 return data;
514}542}
515543
516544
517void drv_generic_parport_debug(void)545void drv_generic_parport_debug(void)
518{546{
519 unsigned char control;547 unsigned char control = 0;
520548
521#ifdef WITH_PPDEV549#ifdef WITH_PPDEV
522 if (PPdev) {550 if (PPdev) {
523 ioctl(PPfd, PPRCONTROL, &control);551 ioctl(PPfd, PPRCONTROL, &control);
524 } else552 }
525#endif553#endif
526 {554
555#ifdef WITH_OUTB
556 if (Port) {
527 control = ctr;557 control = ctr;
528 }558 }
559#endif
529560
530 debug("%cSTROBE %cAUTOFD %cINIT %cSLCTIN",561 debug("%cSTROBE %cAUTOFD %cINIT %cSLCTIN",
531 control & PARPORT_CONTROL_STROBE ? '-' : '+',562 control & PARPORT_CONTROL_STROBE ? '-' : '+',
532563
=== modified file 'drv_generic_text.h'
--- drv_generic_text.h 2011-04-27 17:28:49 +0000
+++ drv_generic_text.h 2011-12-27 00:36:23 +0000
@@ -1,4 +1,4 @@
1/* $Id: drv_generic_text.h 840 2007-09-09 12:17:42Z michael $1/* $Id: drv_generic_text.h 1164 2011-12-22 10:48:01Z mjona $
2 * $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/drv_generic_text.h $2 * $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/drv_generic_text.h $
3 *3 *
4 * generic driver helper for text-based displays4 * generic driver helper for text-based displays
@@ -31,6 +31,7 @@
3131
32#include "drv_generic.h"32#include "drv_generic.h"
33#include "widget.h"33#include "widget.h"
34#include "widget_bar.h"
3435
35extern int CHARS, CHAR0; /* number of user-defineable characters, ASCII of first char */36extern int CHARS, CHAR0; /* number of user-defineable characters, ASCII of first char */
36extern int ICONS; /* number of user-defineable characters reserved for icons */37extern int ICONS; /* number of user-defineable characters reserved for icons */
3738
=== modified file 'lcd4linux_i2c.h'
--- lcd4linux_i2c.h 2011-04-27 17:28:49 +0000
+++ lcd4linux_i2c.h 2011-12-27 00:36:23 +0000
@@ -1,4 +1,4 @@
1/* $Id: lcd4linux_i2c.h 728 2007-01-14 11:14:38Z michael $1/* $Id: lcd4linux_i2c.h 1164 2011-12-22 10:48:01Z mjona $
2 * $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/lcd4linux_i2c.h $2 * $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/lcd4linux_i2c.h $
3 *3 *
4 * user space i2c sturctures and defines, taken from the official kernel i2c 4 * user space i2c sturctures and defines, taken from the official kernel i2c
@@ -459,6 +459,7 @@
459459
460#define I2C_RDRW_IOCTL_MAX_MSGS 42460#define I2C_RDRW_IOCTL_MAX_MSGS 42
461461
462#include <stdlib.h>
462#include <sys/ioctl.h>463#include <sys/ioctl.h>
463464
464static inline __s32 i2c_smbus_access(int file, char read_write, __u8 command, int size, union i2c_smbus_data *data)465static inline __s32 i2c_smbus_access(int file, char read_write, __u8 command, int size, union i2c_smbus_data *data)
465466
=== modified file 'plugin_huawei.c'
--- plugin_huawei.c 2011-08-26 07:24:25 +0000
+++ plugin_huawei.c 2011-12-27 00:36:23 +0000
@@ -563,7 +563,7 @@
563563
564 if (strncmp(buf, "OK", 2) == 0) {564 if (strncmp(buf, "OK", 2) == 0) {
565 configured = 1;565 configured = 1;
566 info("%s: Modem user inerface succesfully initialized to: \'%s\'", name, INIT_STRING);566 info("%s: Modem user inerface successfully initialized to: \'%s\'", name, INIT_STRING);
567 } else {567 } else {
568 configured = 0;568 configured = 0;
569 error("%s: ERROR: Invalid or empty response: \'%s\' received for: \'%s\'", name, buf, INIT_STRING);569 error("%s: ERROR: Invalid or empty response: \'%s\' received for: \'%s\'", name, buf, INIT_STRING);
570570
=== modified file 'plugin_pop3.c'
--- plugin_pop3.c 2011-04-27 17:28:49 +0000
+++ plugin_pop3.c 2011-12-27 00:36:23 +0000
@@ -1,4 +1,4 @@
1/* $Id: plugin_pop3.c 728 2007-01-14 11:14:38Z michael $1/* $Id: plugin_pop3.c 1159 2011-08-31 22:00:29Z jmccrohan $
2 * $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/plugin_pop3.c $2 * $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/plugin_pop3.c $
3 *3 *
4 * Plugin to check POP3 mail accounts4 * Plugin to check POP3 mail accounts
@@ -299,7 +299,7 @@
299 n = getConfig();299 n = getConfig();
300 /* by now, head should point to a list of all our accounts */300 /* by now, head should point to a list of all our accounts */
301 if (head) {301 if (head) {
302 info("[POP3] %d POP3 accounts have been succesfully defined", n);302 info("[POP3] %d POP3 accounts have been successfully defined", n);
303 configured = 1;303 configured = 1;
304 } else {304 } else {
305 configured = -1;305 configured = -1;
306306
=== modified file 'plugins.m4'
--- plugins.m4 2011-08-26 07:26:25 +0000
+++ plugins.m4 2011-12-27 00:36:23 +0000
@@ -1,4 +1,4 @@
1dnl $Id: plugins.m4 1149 2011-07-27 02:36:25Z michael $1dnl $Id: plugins.m4 1165 2011-12-26 06:28:05Z michael $
2dnl $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/plugins.m4 $2dnl $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/plugins.m4 $
33
44
@@ -101,6 +101,47 @@
101 PLUGIN_WIRELESS="yes"101 PLUGIN_WIRELESS="yes"
102 PLUGIN_XMMS="yes" 102 PLUGIN_XMMS="yes"
103 ;;103 ;;
104 none)
105 PLUGIN_APM="no"
106 PLUGIN_ASTERISK="no"
107 PLUGIN_BUTTON_EXEC="no"
108 PLUGIN_CPUINFO="no"
109 PLUGIN_DBUS="no"
110 PLUGIN_DISKSTATS="no"
111 PLUGIN_DVB="no"
112 PLUGIN_EXEC="no"
113 PLUGIN_EVENT="no"
114 PLUGIN_FIFO="no"
115 PLUGIN_FILE="no"
116 PLUGIN_GPS="no"
117 PLUGIN_HDDTEMP="no"
118 PLUGIN_HUAWEI="no"
119 PLUGIN_I2C_SENSORS="no"
120 PLUGIN_ICONV="no"
121 PLUGIN_IMON="no"
122 PLUGIN_ISDN="no"
123 PLUGIN_KVV="no"
124 PLUGIN_LOADAVG="no"
125 PLUGIN_MEMINFO="no"
126 PLUGIN_MPD="no"
127 PLUGIN_MPRIS_DBUS="no"
128 PLUGIN_MYSQL="no"
129 PLUGIN_NETDEV="no"
130 PLUGIN_NETINFO="no"
131 PLUGIN_POP3="no"
132 PLUGIN_PPP="no"
133 PLUGIN_PROC_STAT="no"
134 PLUGIN_PYTHON="no"
135 PLUGIN_QNAPLOG="no"
136 PLUGIN_SAMPLE="no"
137 PLUGIN_SETI="no"
138 PLUGIN_STATFS="no"
139 PLUGIN_UNAME="no"
140 PLUGIN_UPTIME="no"
141 PLUGIN_W1RETAP="no"
142 PLUGIN_WIRELESS="no"
143 PLUGIN_XMMS="no"
144 ;;
104 apm)145 apm)
105 PLUGIN_APM=$val146 PLUGIN_APM=$val
106 ;;147 ;;
@@ -583,9 +624,5 @@
583 AC_DEFINE(PLUGIN_XMMS,1,[xmms plugin])624 AC_DEFINE(PLUGIN_XMMS,1,[xmms plugin])
584fi625fi
585626
586if test "$PLUGINS" = ""; then
587 AC_MSG_ERROR([You should include at least one plugin...])
588fi
589
590AC_SUBST(PLUGINS)627AC_SUBST(PLUGINS)
591AC_SUBST(PLUGINLIBS)628AC_SUBST(PLUGINLIBS)
592629
=== modified file 'svn_version.h'
--- svn_version.h 2011-04-27 17:28:49 +0000
+++ svn_version.h 2011-12-27 00:36:23 +0000
@@ -1,1 +1,1 @@
1#define SVN_VERSION "1092"1#define SVN_VERSION "1158"
22
=== modified file 'timer.h'
--- timer.h 2011-04-27 17:28:49 +0000
+++ timer.h 2011-12-27 00:36:23 +0000
@@ -1,4 +1,4 @@
1/* $Id: timer.h 1136 2010-11-28 16:07:16Z mzuther $1/* $Id: timer.h 1164 2011-12-22 10:48:01Z mjona $
2 * $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/timer.h $2 * $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/timer.h $
3 *3 *
4 * generic timer handling4 * generic timer handling
@@ -28,6 +28,7 @@
28#ifndef _TIMER_H_28#ifndef _TIMER_H_
29#define _TIMER_H_29#define _TIMER_H_
3030
31#include <time.h>
3132
32int timer_add(void (*callback) (void *data), void *data, const int interval, const int one_shot);33int timer_add(void (*callback) (void *data), void *data, const int interval, const int one_shot);
3334
3435
=== modified file 'widget_bar.h'
--- widget_bar.h 2011-04-27 17:28:49 +0000
+++ widget_bar.h 2011-12-27 00:36:23 +0000
@@ -1,4 +1,4 @@
1/* $Id: widget_bar.h 840 2007-09-09 12:17:42Z michael $1/* $Id: widget_bar.h 1164 2011-12-22 10:48:01Z mjona $
2 * $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/widget_bar.h $2 * $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/widget_bar.h $
3 *3 *
4 * bar widget handling4 * bar widget handling
@@ -29,6 +29,8 @@
29#define _WIDGET_BAR_H_29#define _WIDGET_BAR_H_
3030
31#include "property.h"31#include "property.h"
32#include "widget.h"
33#include "rgb.h"
3234
33typedef enum { DIR_EAST = 1, DIR_WEST = 2, DIR_NORTH = 4, DIR_SOUTH = 8 } DIRECTION;35typedef enum { DIR_EAST = 1, DIR_WEST = 2, DIR_NORTH = 4, DIR_SOUTH = 8 } DIRECTION;
34typedef enum { STYLE_HOLLOW = 1, STYLE_FIRST = 2, STYLE_LAST = 4 } STYLE;36typedef enum { STYLE_HOLLOW = 1, STYLE_FIRST = 2, STYLE_LAST = 4 } STYLE;
3537
=== modified file 'widget_gpo.h'
--- widget_gpo.h 2011-04-27 17:28:49 +0000
+++ widget_gpo.h 2011-12-27 00:36:23 +0000
@@ -1,4 +1,4 @@
1/* $Id: widget_gpo.h 840 2007-09-09 12:17:42Z michael $1/* $Id: widget_gpo.h 1164 2011-12-22 10:48:01Z mjona $
2 * $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/widget_gpo.h $2 * $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/widget_gpo.h $
3 *3 *
4 * GPO widget handling4 * GPO widget handling
@@ -29,6 +29,7 @@
29#define _WIDGET_GPO_H_29#define _WIDGET_GPO_H_
3030
31#include "property.h"31#include "property.h"
32#include "widget.h"
3233
33typedef struct WIDGET_GPO {34typedef struct WIDGET_GPO {
34 PROPERTY expression; /* main GPO expression */35 PROPERTY expression; /* main GPO expression */
3536
=== modified file 'widget_icon.h'
--- widget_icon.h 2011-04-27 17:28:49 +0000
+++ widget_icon.h 2011-12-27 00:36:23 +0000
@@ -1,4 +1,4 @@
1/* $Id: widget_icon.h 1035 2009-05-19 10:42:01Z michael $1/* $Id: widget_icon.h 1164 2011-12-22 10:48:01Z mjona $
2 * $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/widget_icon.h $2 * $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/widget_icon.h $
3 *3 *
4 * icon widget handling4 * icon widget handling
@@ -29,6 +29,7 @@
29#define _WIDGET_ICON_H_29#define _WIDGET_ICON_H_
3030
31#include "property.h"31#include "property.h"
32#include "widget.h"
3233
33typedef struct WIDGET_ICON {34typedef struct WIDGET_ICON {
34 PROPERTY speed; /* update interval (msec) */35 PROPERTY speed; /* update interval (msec) */
3536
=== modified file 'widget_image.h'
--- widget_image.h 2011-04-27 17:28:49 +0000
+++ widget_image.h 2011-12-27 00:36:23 +0000
@@ -1,4 +1,4 @@
1/* $Id: widget_image.h 840 2007-09-09 12:17:42Z michael $1/* $Id: widget_image.h 1164 2011-12-22 10:48:01Z mjona $
2 * $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/widget_image.h $2 * $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/widget_image.h $
3 *3 *
4 * image widget handling4 * image widget handling
@@ -29,6 +29,7 @@
29#define _WIDGET_IMAGE_H_29#define _WIDGET_IMAGE_H_
3030
31#include "property.h"31#include "property.h"
32#include "widget.h"
32#include "rgb.h"33#include "rgb.h"
3334
34typedef struct WIDGET_IMAGE {35typedef struct WIDGET_IMAGE {
3536
=== modified file 'widget_keypad.h'
--- widget_keypad.h 2011-04-27 17:28:49 +0000
+++ widget_keypad.h 2011-12-27 00:36:23 +0000
@@ -1,4 +1,4 @@
1/* $Id: widget_keypad.h 748 2007-01-20 05:00:06Z michael $1/* $Id: widget_keypad.h 1164 2011-12-22 10:48:01Z mjona $
2 * $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/widget_keypad.h $2 * $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/widget_keypad.h $
3 *3 *
4 * keypad widget handling4 * keypad widget handling
@@ -29,6 +29,7 @@
29#define _WIDGET_KEYPAD_H_29#define _WIDGET_KEYPAD_H_
3030
31#include "property.h"31#include "property.h"
32#include "widget.h"
3233
33typedef enum {34typedef enum {
34 WIDGET_KEY_UP = 1,35 WIDGET_KEY_UP = 1,
3536
=== modified file 'widget_text.h'
--- widget_text.h 2011-04-27 17:28:49 +0000
+++ widget_text.h 2011-12-27 00:36:23 +0000
@@ -1,4 +1,4 @@
1/* $Id: widget_text.h 1083 2010-01-18 13:12:25Z michael $1/* $Id: widget_text.h 1164 2011-12-22 10:48:01Z mjona $
2 * $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/widget_text.h $2 * $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/widget_text.h $
3 *3 *
4 * simple text widget handling4 * simple text widget handling
@@ -29,6 +29,7 @@
29#define _WIDGET_TEXT_H_29#define _WIDGET_TEXT_H_
3030
31#include "property.h"31#include "property.h"
32#include "widget.h"
3233
33typedef enum { ALIGN_LEFT, ALIGN_CENTER, ALIGN_RIGHT, ALIGN_MARQUEE, ALIGN_AUTOMATIC, ALIGN_PINGPONG_LEFT,34typedef enum { ALIGN_LEFT, ALIGN_CENTER, ALIGN_RIGHT, ALIGN_MARQUEE, ALIGN_AUTOMATIC, ALIGN_PINGPONG_LEFT,
34 ALIGN_PINGPONG_CENTER, ALIGN_PINGPONG_RIGHT35 ALIGN_PINGPONG_CENTER, ALIGN_PINGPONG_RIGHT
3536
=== modified file 'widget_timer.h'
--- widget_timer.h 2011-04-27 17:28:49 +0000
+++ widget_timer.h 2011-12-27 00:36:23 +0000
@@ -1,4 +1,4 @@
1/* $Id: widget_timer.h 840 2007-09-09 12:17:42Z michael $1/* $Id: widget_timer.h 1164 2011-12-22 10:48:01Z mjona $
2 * $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/widget_timer.h $2 * $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/widget_timer.h $
3 *3 *
4 * timer widget handling4 * timer widget handling
@@ -29,6 +29,7 @@
29#define _WIDGET_TIMER_H_29#define _WIDGET_TIMER_H_
3030
31#include "property.h"31#include "property.h"
32#include "widget.h"
3233
33typedef struct WIDGET_TIMER {34typedef struct WIDGET_TIMER {
34 PROPERTY expression; /* main timer expression */35 PROPERTY expression; /* main timer expression */

Subscribers

People subscribed via source and target branches

to all changes: