Author: igor Date: Tue Jul 8 12:12:28 2014 New Revision: 2929 Log: kbd without tests
Added: trunk/kbd/kbd-2.0.2-no_tests-1.patch Added: trunk/kbd/kbd-2.0.2-no_tests-1.patch ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ trunk/kbd/kbd-2.0.2-no_tests-1.patch Tue Jul 8 12:12:28 2014 (r2929) @@ -0,0 +1,118 @@ +Submitted By: Igor Živković <[email protected]> +Date: 2014-07-08 +Initial Package Version: 2.0.2 +Upstream Status: Not applicable +Origin: Self +Description: Disables tests and removes the required check package + dependency. + +diff -Naur kbd-2.0.2.orig/configure kbd-2.0.2/configure +--- kbd-2.0.2.orig/configure 2014-07-08 00:29:03.000000000 +0200 ++++ kbd-2.0.2/configure 2014-07-08 21:06:21.235369494 +0200 +@@ -2996,94 +2996,6 @@ + fi + fi + +-pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5 +-$as_echo_n "checking for CHECK... " >&6; } +- +-if test -n "$CHECK_CFLAGS"; then +- pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS" +- elif test -n "$PKG_CONFIG"; then +- if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5 +- ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5 +- ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then +- pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.4" 2>/dev/null` +-else +- pkg_failed=yes +-fi +- else +- pkg_failed=untried +-fi +-if test -n "$CHECK_LIBS"; then +- pkg_cv_CHECK_LIBS="$CHECK_LIBS" +- elif test -n "$PKG_CONFIG"; then +- if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5 +- ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5 +- ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then +- pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.4" 2>/dev/null` +-else +- pkg_failed=yes +-fi +- else +- pkg_failed=untried +-fi +- +- +- +-if test $pkg_failed = yes; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } +- +-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then +- _pkg_short_errors_supported=yes +-else +- _pkg_short_errors_supported=no +-fi +- if test $_pkg_short_errors_supported = yes; then +- CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "check >= 0.9.4" 2>&1` +- else +- CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors "check >= 0.9.4" 2>&1` +- fi +- # Put the nasty error message in config.log where it belongs +- echo "$CHECK_PKG_ERRORS" >&5 +- +- as_fn_error $? "Package requirements (check >= 0.9.4) were not met: +- +-$CHECK_PKG_ERRORS +- +-Consider adjusting the PKG_CONFIG_PATH environment variable if you +-installed software in a non-standard prefix. +- +-Alternatively, you may set the environment variables CHECK_CFLAGS +-and CHECK_LIBS to avoid the need to call pkg-config. +-See the pkg-config man page for more details." "$LINENO" 5 +-elif test $pkg_failed = untried; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } +- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it +-is in your PATH or set the PKG_CONFIG environment variable to the full +-path to pkg-config. +- +-Alternatively, you may set the environment variables CHECK_CFLAGS +-and CHECK_LIBS to avoid the need to call pkg-config. +-See the pkg-config man page for more details. +- +-To get pkg-config, see <http://pkg-config.freedesktop.org/>. +-See \`config.log' for more details" "$LINENO" 5; } +-else +- CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS +- CHECK_LIBS=$pkg_cv_CHECK_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } +- +-fi + + + # Check whether --enable-silent-rules was given. +diff -Naur kbd-2.0.2.orig/Makefile.in kbd-2.0.2/Makefile.in +--- kbd-2.0.2.orig/Makefile.in 2014-07-08 00:29:02.000000000 +0200 ++++ kbd-2.0.2/Makefile.in 2014-07-08 21:06:21.235369494 +0200 +@@ -290,7 +290,7 @@ + CREDITS \ + contrib docs rc + +-SUBDIRS = src data po tests docs ++SUBDIRS = src data po docs + all: config.h + $(MAKE) $(AM_MAKEFLAGS) all-recursive + -- http://lists.linuxfromscratch.org/listinfo/patches FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
