commit yast2-ncurses-pkg for openSUSE:Factory
Hello community, here is the log from the commit of package yast2-ncurses-pkg for openSUSE:Factory checked in at Wed May 6 18:56:17 CEST 2009. -------- --- yast2-ncurses-pkg/yast2-ncurses-pkg.changes 2009-02-19 14:51:57.000000000 +0100 +++ /mounts/work_src_done/STABLE/yast2-ncurses-pkg/yast2-ncurses-pkg.changes 2009-05-06 12:44:15.000000000 +0200 @@ -1,0 +2,17 @@ +Wed May 6 12:01:32 CEST 2009 - kmachalkova@suse.cz + +- Speeding up scrolling big package lists left/right (bnc#498267) +- 2.18.2 + +------------------------------------------------------------------- +Mon Mar 30 16:04:53 CEST 2009 - kmachalkova@suse.cz + +- Do not implicitly search for matching keywords (added a new switch + into search options to include/exclude keywords) (bnc#470069) + +------------------------------------------------------------------- +Thu Mar 19 14:49:36 CET 2009 - gs@suse.de + +- Add name of source package to technical details view + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- yast2-ncurses-pkg-2.18.1.tar.bz2 New: ---- yast2-ncurses-pkg-2.18.2.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-ncurses-pkg.spec ++++++ --- /var/tmp/diff_new_pack.I25699/_old 2009-05-06 18:56:06.000000000 +0200 +++ /var/tmp/diff_new_pack.I25699/_new 2009-05-06 18:56:06.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package yast2-ncurses-pkg (Version 2.18.1) +# spec file for package yast2-ncurses-pkg (Version 2.18.2) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -19,12 +19,12 @@ Name: yast2-ncurses-pkg -Version: 2.18.1 +Version: 2.18.2 Release: 1 License: GPL v2 or later Group: System/YaST BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source0: yast2-ncurses-pkg-2.18.1.tar.bz2 +Source0: yast2-ncurses-pkg-2.18.2.tar.bz2 Prefix: /usr BuildRequires: dejagnu doxygen gcc-c++ yast2-core-devel yast2-devtools BuildRequires: blocxx-devel libxcrypt-devel ncurses-devel yast2-ncurses-devel @@ -46,7 +46,7 @@ %prep -%setup -n yast2-ncurses-pkg-2.18.1 +%setup -n yast2-ncurses-pkg-2.18.2 %build %{prefix}/bin/y2tool y2autoconf @@ -76,6 +76,14 @@ %{_libdir}/YaST2/plugin/libpy2ncurses_pkg.so %doc %{prefix}/share/doc/packages/yast2-ncurses-pkg %changelog +* Wed May 06 2009 kmachalkova@suse.cz +- Speeding up scrolling big package lists left/right (bnc#498267) +- 2.18.2 +* Mon Mar 30 2009 kmachalkova@suse.cz +- Do not implicitly search for matching keywords (added a new switch + into search options to include/exclude keywords) (bnc#470069) +* Thu Mar 19 2009 gs@suse.de +- Add name of source package to technical details view * Thu Feb 19 2009 kmachalkova@suse.cz - New menu for launching repo manager and YOU configuration - New sub-menu for configuring PKGMGR_ACTION_AT_EXIT sysconfig ++++++ yast2-ncurses-pkg-2.18.1.tar.bz2 -> yast2-ncurses-pkg-2.18.2.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ncurses-pkg-2.18.1/configure new/yast2-ncurses-pkg-2.18.2/configure --- old/yast2-ncurses-pkg-2.18.1/configure 2008-10-23 19:21:54.000000000 +0200 +++ new/yast2-ncurses-pkg-2.18.2/configure 2009-05-06 12:42:08.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.61 for yast2-ncurses-pkg 2.17.8. +# Generated by GNU Autoconf 2.61 for yast2-ncurses-pkg 2.18.2. # # Report bugs to <http://bugs.opensuse.org/>. # @@ -728,8 +728,8 @@ # Identity of this package. PACKAGE_NAME='yast2-ncurses-pkg' PACKAGE_TARNAME='yast2-ncurses-pkg' -PACKAGE_VERSION='2.17.8' -PACKAGE_STRING='yast2-ncurses-pkg 2.17.8' +PACKAGE_VERSION='2.18.2' +PACKAGE_STRING='yast2-ncurses-pkg 2.18.2' PACKAGE_BUGREPORT='http://bugs.opensuse.org/' ac_unique_file="RPMNAME" @@ -899,6 +899,9 @@ am__fastdepCC_TRUE am__fastdepCC_FALSE CPP +PKG_CONFIG +Y2CORE_CFLAGS +Y2CORE_LIBS AGENT_LIBADD SED GREP @@ -914,7 +917,6 @@ ac_ct_F77 LIBTOOL ALLOCA -PKG_CONFIG ZYPP_CFLAGS ZYPP_LIBS LIBOBJS @@ -933,10 +935,12 @@ CC CFLAGS CPP +PKG_CONFIG +Y2CORE_CFLAGS +Y2CORE_LIBS CXXCPP F77 FFLAGS -PKG_CONFIG ZYPP_CFLAGS ZYPP_LIBS' @@ -1441,7 +1445,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures yast2-ncurses-pkg 2.17.8 to adapt to many kinds of systems. +\`configure' configures yast2-ncurses-pkg 2.18.2 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1512,7 +1516,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of yast2-ncurses-pkg 2.17.8:";; + short | recursive ) echo "Configuration of yast2-ncurses-pkg 2.18.2:";; esac cat <<\_ACEOF @@ -1550,10 +1554,13 @@ CC C compiler command CFLAGS C compiler flags CPP C preprocessor + PKG_CONFIG path to pkg-config utility + Y2CORE_CFLAGS + C compiler flags for Y2CORE, overriding pkg-config + Y2CORE_LIBS linker flags for Y2CORE, overriding pkg-config CXXCPP C++ preprocessor F77 Fortran 77 compiler command FFLAGS Fortran 77 compiler flags - PKG_CONFIG path to pkg-config utility ZYPP_CFLAGS C compiler flags for ZYPP, overriding pkg-config ZYPP_LIBS linker flags for ZYPP, overriding pkg-config @@ -1621,7 +1628,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -yast2-ncurses-pkg configure 2.17.8 +yast2-ncurses-pkg configure 2.18.2 generated by GNU Autoconf 2.61 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, @@ -1635,7 +1642,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by yast2-ncurses-pkg $as_me 2.17.8, which was +It was created by yast2-ncurses-pkg $as_me 2.18.2, which was generated by GNU Autoconf 2.61. Invocation command line was $ $0 $@ @@ -2456,7 +2463,7 @@ # Define the identity of the package. PACKAGE='yast2-ncurses-pkg' - VERSION='2.17.8' + VERSION='2.18.2' cat >>confdefs.h <<_ACEOF @@ -2684,7 +2691,7 @@ -VERSION="2.17.8" +VERSION="2.18.2" RPMNAME="yast2-ncurses-pkg" MAINTAINER="Katarina Machalkova <kmachalkova@suse.cz>" @@ -4849,8 +4856,247 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu -CFLAGS="${CFLAGS} -Wall -Wformat=2 -Wmissing-prototypes" -CXXFLAGS="${CXXFLAGS} -Wall -Wformat=2" +# If we have core, get its Y2CORE_CFLAGS. +# When building core itself, it has set Y2CORE_CFLAGS elsewhere already + + +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. +set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_PKG_CONFIG+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +PKG_CONFIG=$ac_cv_path_PKG_CONFIG +if test -n "$PKG_CONFIG"; then + { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 +echo "${ECHO_T}$PKG_CONFIG" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + +fi +if test -z "$ac_cv_path_PKG_CONFIG"; then + ac_pt_PKG_CONFIG=$PKG_CONFIG + # Extract the first word of "pkg-config", so it can be a program name with args. +set dummy pkg-config; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $ac_pt_PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG +if test -n "$ac_pt_PKG_CONFIG"; then + { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 +echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + if test "x$ac_pt_PKG_CONFIG" = x; then + PKG_CONFIG="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf@gnu.org." >&5 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf@gnu.org." >&2;} +ac_tool_warned=yes ;; +esac + PKG_CONFIG=$ac_pt_PKG_CONFIG + fi +else + PKG_CONFIG="$ac_cv_path_PKG_CONFIG" +fi + +fi +if test -n "$PKG_CONFIG"; then + _pkg_min_version=0.9.0 + { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 +echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; } + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then + { echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6; } + else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } + PKG_CONFIG="" + fi + +fi +if test -n "$PKG_CONFIG" && \ + { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"yast2-core\"") >&5 + ($PKG_CONFIG --exists --print-errors "yast2-core") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + + +pkg_failed=no +{ echo "$as_me:$LINENO: checking for Y2CORE" >&5 +echo $ECHO_N "checking for Y2CORE... $ECHO_C" >&6; } + +if test -n "$Y2CORE_CFLAGS"; then + pkg_cv_Y2CORE_CFLAGS="$Y2CORE_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"yast2-core\"") >&5 + ($PKG_CONFIG --exists --print-errors "yast2-core") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + pkg_cv_Y2CORE_CFLAGS=`$PKG_CONFIG --cflags "yast2-core" 2>/dev/null` +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$Y2CORE_LIBS"; then + pkg_cv_Y2CORE_LIBS="$Y2CORE_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"yast2-core\"") >&5 + ($PKG_CONFIG --exists --print-errors "yast2-core") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + pkg_cv_Y2CORE_LIBS=`$PKG_CONFIG --libs "yast2-core" 2>/dev/null` +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + +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 + Y2CORE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "yast2-core" 2>&1` + else + Y2CORE_PKG_ERRORS=`$PKG_CONFIG --print-errors "yast2-core" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$Y2CORE_PKG_ERRORS" >&5 + + { { echo "$as_me:$LINENO: error: Package requirements (yast2-core) were not met: + +$Y2CORE_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 Y2CORE_CFLAGS +and Y2CORE_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details. +" >&5 +echo "$as_me: error: Package requirements (yast2-core) were not met: + +$Y2CORE_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 Y2CORE_CFLAGS +and Y2CORE_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details. +" >&2;} + { (exit 1); exit 1; }; } +elif test $pkg_failed = untried; then + { { echo "$as_me:$LINENO: 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 Y2CORE_CFLAGS +and Y2CORE_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." >&5 +echo "$as_me: 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 Y2CORE_CFLAGS +and Y2CORE_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." >&2;} + { (exit 1); exit 1; }; } +else + Y2CORE_CFLAGS=$pkg_cv_Y2CORE_CFLAGS + Y2CORE_LIBS=$pkg_cv_Y2CORE_LIBS + { echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6; } + : +fi + +fi + +CFLAGS="${CFLAGS} ${Y2CORE_CFLAGS} -Wall -Wformat=2 -Wmissing-prototypes" +CXXFLAGS="${CXXFLAGS} ${Y2CORE_CFLAGS} -Wall -Wformat=2" : ${AGENT_LIBADD:='-L$(libdir) -lscr'} @@ -5570,7 +5816,7 @@ ;; *-*-irix6*) # Find out which ABI we are using. - echo '#line 5573 "configure"' > conftest.$ac_ext + echo '#line 5819 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -7925,11 +8171,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:7928: $lt_compile\"" >&5) + (eval echo "\"\$as_me:8174: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:7932: \$? = $ac_status" >&5 + echo "$as_me:8178: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -8215,11 +8461,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:8218: $lt_compile\"" >&5) + (eval echo "\"\$as_me:8464: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:8222: \$? = $ac_status" >&5 + echo "$as_me:8468: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -8319,11 +8565,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:8322: $lt_compile\"" >&5) + (eval echo "\"\$as_me:8568: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:8326: \$? = $ac_status" >&5 + echo "$as_me:8572: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -10683,7 +10929,7 @@ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<EOF -#line 10686 "configure" +#line 10932 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -10783,7 +11029,7 @@ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<EOF -#line 10786 "configure" +#line 11032 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -13184,11 +13430,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:13187: $lt_compile\"" >&5) + (eval echo "\"\$as_me:13433: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:13191: \$? = $ac_status" >&5 + echo "$as_me:13437: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -13288,11 +13534,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:13291: $lt_compile\"" >&5) + (eval echo "\"\$as_me:13537: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:13295: \$? = $ac_status" >&5 + echo "$as_me:13541: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -14871,11 +15117,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:14874: $lt_compile\"" >&5) + (eval echo "\"\$as_me:15120: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:14878: \$? = $ac_status" >&5 + echo "$as_me:15124: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -14975,11 +15221,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:14978: $lt_compile\"" >&5) + (eval echo "\"\$as_me:15224: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:14982: \$? = $ac_status" >&5 + echo "$as_me:15228: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -17182,11 +17428,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:17185: $lt_compile\"" >&5) + (eval echo "\"\$as_me:17431: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:17189: \$? = $ac_status" >&5 + echo "$as_me:17435: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -17472,11 +17718,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:17475: $lt_compile\"" >&5) + (eval echo "\"\$as_me:17721: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:17479: \$? = $ac_status" >&5 + echo "$as_me:17725: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -17576,11 +17822,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:17579: $lt_compile\"" >&5) + (eval echo "\"\$as_me:17825: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:17583: \$? = $ac_status" >&5 + echo "$as_me:17829: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -20928,126 +21174,6 @@ - -if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. -set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_path_PKG_CONFIG+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $PKG_CONFIG in - [\\/]* | ?:[\\/]*) - ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - - ;; -esac -fi -PKG_CONFIG=$ac_cv_path_PKG_CONFIG -if test -n "$PKG_CONFIG"; then - { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 -echo "${ECHO_T}$PKG_CONFIG" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - -fi -if test -z "$ac_cv_path_PKG_CONFIG"; then - ac_pt_PKG_CONFIG=$PKG_CONFIG - # Extract the first word of "pkg-config", so it can be a program name with args. -set dummy pkg-config; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $ac_pt_PKG_CONFIG in - [\\/]* | ?:[\\/]*) - ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - - ;; -esac -fi -ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG -if test -n "$ac_pt_PKG_CONFIG"; then - { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 -echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - if test "x$ac_pt_PKG_CONFIG" = x; then - PKG_CONFIG="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&5 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&2;} -ac_tool_warned=yes ;; -esac - PKG_CONFIG=$ac_pt_PKG_CONFIG - fi -else - PKG_CONFIG="$ac_cv_path_PKG_CONFIG" -fi - -fi -if test -n "$PKG_CONFIG"; then - _pkg_min_version=0.9.0 - { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 -echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; } - if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then - { echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6; } - else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } - PKG_CONFIG="" - fi - -fi - pkg_failed=no { echo "$as_me:$LINENO: checking for ZYPP" >&5 echo $ECHO_N "checking for ZYPP... $ECHO_C" >&6; } @@ -21588,7 +21714,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by yast2-ncurses-pkg $as_me 2.17.8, which was +This file was extended by yast2-ncurses-pkg $as_me 2.18.2, which was generated by GNU Autoconf 2.61. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -21641,7 +21767,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ -yast2-ncurses-pkg config.status 2.17.8 +yast2-ncurses-pkg config.status 2.18.2 configured by $0, generated by GNU Autoconf 2.61, with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" @@ -21993,6 +22119,9 @@ am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim CPP!$CPP$ac_delim +PKG_CONFIG!$PKG_CONFIG$ac_delim +Y2CORE_CFLAGS!$Y2CORE_CFLAGS$ac_delim +Y2CORE_LIBS!$Y2CORE_LIBS$ac_delim AGENT_LIBADD!$AGENT_LIBADD$ac_delim SED!$SED$ac_delim GREP!$GREP$ac_delim @@ -22008,14 +22137,13 @@ ac_ct_F77!$ac_ct_F77$ac_delim LIBTOOL!$LIBTOOL$ac_delim ALLOCA!$ALLOCA$ac_delim -PKG_CONFIG!$PKG_CONFIG$ac_delim ZYPP_CFLAGS!$ZYPP_CFLAGS$ac_delim ZYPP_LIBS!$ZYPP_LIBS$ac_delim LIBOBJS!$LIBOBJS$ac_delim LTLIBOBJS!$LTLIBOBJS$ac_delim _ACEOF - if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 52; then + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 54; then break elif $ac_last_try; then { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ncurses-pkg-2.18.1/configure.in new/yast2-ncurses-pkg-2.18.2/configure.in --- old/yast2-ncurses-pkg-2.18.1/configure.in 2008-10-23 19:21:39.000000000 +0200 +++ new/yast2-ncurses-pkg-2.18.2/configure.in 2009-05-06 12:41:52.000000000 +0200 @@ -1,9 +1,9 @@ dnl configure.in for yast2-ncurses-pkg dnl -dnl -- This file is generated by y2autoconf 2.16.7 - DO NOT EDIT! -- +dnl -- This file is generated by y2autoconf 2.18.4 - DO NOT EDIT! -- dnl (edit configure.in.in instead) -AC_INIT(yast2-ncurses-pkg, 2.17.8, http://bugs.opensuse.org/, yast2-ncurses-pkg) +AC_INIT(yast2-ncurses-pkg, 2.18.2, http://bugs.opensuse.org/, yast2-ncurses-pkg) dnl Check for presence of file 'RPMNAME' AC_CONFIG_SRCDIR([RPMNAME]) @@ -18,7 +18,7 @@ AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) dnl Important YaST2 variables -VERSION="2.17.8" +VERSION="2.18.2" RPMNAME="yast2-ncurses-pkg" MAINTAINER="Katarina Machalkova <kmachalkova@suse.cz>" @@ -144,8 +144,14 @@ AC_PROG_CC AC_PROG_CPP -CFLAGS="${CFLAGS} -Wall -Wformat=2 -Wmissing-prototypes" -CXXFLAGS="${CXXFLAGS} -Wall -Wformat=2" +# If we have core, get its Y2CORE_CFLAGS. +# When building core itself, it has set Y2CORE_CFLAGS elsewhere already +PKG_CHECK_EXISTS([yast2-core],[ + PKG_CHECK_MODULES(Y2CORE, yast2-core) +]) + +CFLAGS="${CFLAGS} ${Y2CORE_CFLAGS} -Wall -Wformat=2 -Wmissing-prototypes" +CXXFLAGS="${CXXFLAGS} ${Y2CORE_CFLAGS} -Wall -Wformat=2" : ${AGENT_LIBADD:='-L$(libdir) -lscr'} AC_SUBST(AGENT_LIBADD) diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ncurses-pkg-2.18.1/doc/autodocs/Makefile.in new/yast2-ncurses-pkg-2.18.2/doc/autodocs/Makefile.in --- old/yast2-ncurses-pkg-2.18.1/doc/autodocs/Makefile.in 2008-10-23 19:21:57.000000000 +0200 +++ new/yast2-ncurses-pkg-2.18.2/doc/autodocs/Makefile.in 2009-05-06 12:42:12.000000000 +0200 @@ -142,6 +142,8 @@ STYLESHEET_YDOC = @STYLESHEET_YDOC@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ +Y2CORE_CFLAGS = @Y2CORE_CFLAGS@ +Y2CORE_LIBS = @Y2CORE_LIBS@ Y2DEVTOOLS_PREFIX = @Y2DEVTOOLS_PREFIX@ YDOXYGEN = @YDOXYGEN@ ZYPP_CFLAGS = @ZYPP_CFLAGS@ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ncurses-pkg-2.18.1/doc/Makefile.in new/yast2-ncurses-pkg-2.18.2/doc/Makefile.in --- old/yast2-ncurses-pkg-2.18.1/doc/Makefile.in 2008-10-23 19:21:57.000000000 +0200 +++ new/yast2-ncurses-pkg-2.18.2/doc/Makefile.in 2009-05-06 12:42:12.000000000 +0200 @@ -125,6 +125,8 @@ STYLESHEET_YDOC = @STYLESHEET_YDOC@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ +Y2CORE_CFLAGS = @Y2CORE_CFLAGS@ +Y2CORE_LIBS = @Y2CORE_LIBS@ Y2DEVTOOLS_PREFIX = @Y2DEVTOOLS_PREFIX@ YDOXYGEN = @YDOXYGEN@ ZYPP_CFLAGS = @ZYPP_CFLAGS@ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ncurses-pkg-2.18.1/Makefile.am new/yast2-ncurses-pkg-2.18.2/Makefile.am --- old/yast2-ncurses-pkg-2.18.1/Makefile.am 2008-10-23 19:21:39.000000000 +0200 +++ new/yast2-ncurses-pkg-2.18.2/Makefile.am 2009-05-06 12:41:52.000000000 +0200 @@ -32,10 +32,10 @@ # less strict; prefer bzip2 AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip -# where devtools instal m4 snippets +# where devtools install m4 snippets # argh, executed literally #ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal -ACLOCAL_AMFLAGS = -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common cmp -s $< $@ || cp -f $< $@ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ncurses-pkg-2.18.1/Makefile.in new/yast2-ncurses-pkg-2.18.2/Makefile.in --- old/yast2-ncurses-pkg-2.18.1/Makefile.in 2008-10-23 19:21:57.000000000 +0200 +++ new/yast2-ncurses-pkg-2.18.2/Makefile.in 2009-05-06 12:42:12.000000000 +0200 @@ -161,6 +161,8 @@ STYLESHEET_YDOC = @STYLESHEET_YDOC@ VERSION = $(shell cat $(srcdir)/VERSION) XGETTEXT = @XGETTEXT@ +Y2CORE_CFLAGS = @Y2CORE_CFLAGS@ +Y2CORE_LIBS = @Y2CORE_LIBS@ Y2DEVTOOLS_PREFIX = @Y2DEVTOOLS_PREFIX@ YDOXYGEN = @YDOXYGEN@ ZYPP_CFLAGS = @ZYPP_CFLAGS@ @@ -259,10 +261,10 @@ # less strict; prefer bzip2 AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip -# where devtools instal m4 snippets +# where devtools install m4 snippets # argh, executed literally #ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal -ACLOCAL_AMFLAGS = -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal CLEANFILES = MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec POT_DST = $(shell find -type d -name testsuite -prune , \ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ncurses-pkg-2.18.1/src/Makefile.in new/yast2-ncurses-pkg-2.18.2/src/Makefile.in --- old/yast2-ncurses-pkg-2.18.1/src/Makefile.in 2009-02-19 14:42:45.000000000 +0100 +++ new/yast2-ncurses-pkg-2.18.2/src/Makefile.in 2009-05-06 12:42:12.000000000 +0200 @@ -162,6 +162,8 @@ STYLESHEET_YDOC = @STYLESHEET_YDOC@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ +Y2CORE_CFLAGS = @Y2CORE_CFLAGS@ +Y2CORE_LIBS = @Y2CORE_LIBS@ Y2DEVTOOLS_PREFIX = @Y2DEVTOOLS_PREFIX@ YDOXYGEN = @YDOXYGEN@ ZYPP_CFLAGS = @ZYPP_CFLAGS@ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ncurses-pkg-2.18.1/src/NCPkgFilterSearch.cc new/yast2-ncurses-pkg-2.18.2/src/NCPkgFilterSearch.cc --- old/yast2-ncurses-pkg-2.18.1/src/NCPkgFilterSearch.cc 2009-01-06 12:46:34.000000000 +0100 +++ new/yast2-ncurses-pkg-2.18.2/src/NCPkgFilterSearch.cc 2009-03-30 16:02:54.000000000 +0200 @@ -162,6 +162,7 @@ bool NCPkgFilterSearch::fillSearchList( string & expr, bool ignoreCase, bool checkName, + bool checkKeywords, bool checkSummary, bool checkDescr, bool checkProvides, @@ -201,8 +202,6 @@ q.addString( expr ); q.addKind( zypp::ResKind::package ); - //no clue what this means, but it segfaults if it's not here :) - q.addAttribute( zypp::sat::SolvAttr::keywords ); if ( !ignoreCase ) q.setCaseSensitive(); @@ -210,6 +209,8 @@ q.addAttribute( zypp::sat::SolvAttr::name ); if ( checkSummary ) q.addAttribute( zypp::sat::SolvAttr::summary ); + if ( checkKeywords ) + q.addAttribute( zypp::sat::SolvAttr::keywords ); if ( checkDescr ) q.addAttribute( zypp::sat::SolvAttr::description ); if ( checkProvides ) @@ -271,14 +272,14 @@ if ( !packager->isYouMode() ) { // fill the package list with packages matching the search expression - fillSearchList( filter, - getCheckBoxValue( ignoreCase ), - settings->doCheckName(), - settings->doCheckSummary(), - settings->doCheckDescr(), - settings->doCheckProvides(), - settings->doCheckRequires() - ); + fillSearchList( filter, getCheckBoxValue( ignoreCase ), + settings->doCheckName(), + settings->doCheckSummary(), + settings->doCheckKeywords(), + settings->doCheckDescr(), + settings->doCheckProvides(), + settings->doCheckRequires() + ); } else { diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ncurses-pkg-2.18.1/src/NCPkgFilterSearch.h new/yast2-ncurses-pkg-2.18.2/src/NCPkgFilterSearch.h --- old/yast2-ncurses-pkg-2.18.1/src/NCPkgFilterSearch.h 2008-07-23 16:55:22.000000000 +0200 +++ new/yast2-ncurses-pkg-2.18.2/src/NCPkgFilterSearch.h 2009-03-30 16:02:54.000000000 +0200 @@ -83,6 +83,7 @@ bool fillSearchList( string & expr, bool ignoreCase, bool checkName, + bool checkKeywords, bool checkSummary, bool checkDescr, bool checkProvides, diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ncurses-pkg-2.18.1/src/NCPkgPackageDetails.cc new/yast2-ncurses-pkg-2.18.2/src/NCPkgPackageDetails.cc --- old/yast2-ncurses-pkg-2.18.1/src/NCPkgPackageDetails.cc 2008-10-23 19:14:29.000000000 +0200 +++ new/yast2-ncurses-pkg-2.18.2/src/NCPkgPackageDetails.cc 2009-03-30 16:02:54.000000000 +0200 @@ -169,6 +169,13 @@ text += package->group (); text += "<br>"; + // name of the source package + text += "<b>" + _("Source Package: ") + "</b>"; + text += package->sourcePkgName(); + text += "-"; + text += package->sourcePkgEdition().asString(); + text += "<br>"; + //authors, in one line text += NCPkgStrings::Authors(); list<string> authors = package->authors(); // zypp::Package diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ncurses-pkg-2.18.1/src/NCPkgSearchSettings.cc new/yast2-ncurses-pkg-2.18.2/src/NCPkgSearchSettings.cc --- old/yast2-ncurses-pkg-2.18.1/src/NCPkgSearchSettings.cc 2008-06-25 14:07:49.000000000 +0200 +++ new/yast2-ncurses-pkg-2.18.2/src/NCPkgSearchSettings.cc 2009-03-30 16:02:54.000000000 +0200 @@ -40,6 +40,8 @@ items.push_back (checkName); checkSummary = new YItem ( _( "Summary" ), true); items.push_back (checkSummary); + checkKeywords = new YItem ( _( "Keywords" )); + items.push_back (checkKeywords); checkDescr = new YItem ( _( "Description (time-consuming)" )); items.push_back (checkDescr); checkProvides = new YItem ( _( "Provides" )); @@ -58,6 +60,10 @@ { return checkSummary->selected(); } +bool NCPkgSearchSettings::doCheckKeywords() +{ + return checkKeywords->selected(); +} bool NCPkgSearchSettings::doCheckDescr() { return checkDescr->selected(); diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ncurses-pkg-2.18.1/src/NCPkgSearchSettings.h new/yast2-ncurses-pkg-2.18.2/src/NCPkgSearchSettings.h --- old/yast2-ncurses-pkg-2.18.1/src/NCPkgSearchSettings.h 2008-06-25 14:04:52.000000000 +0200 +++ new/yast2-ncurses-pkg-2.18.2/src/NCPkgSearchSettings.h 2009-03-30 16:02:54.000000000 +0200 @@ -35,6 +35,7 @@ YItemCollection items; YItem *checkName; YItem *checkSummary; + YItem *checkKeywords; YItem *checkDescr; YItem *checkProvides; YItem *checkRequires; @@ -47,6 +48,7 @@ bool doCheckName(); bool doCheckSummary(); + bool doCheckKeywords(); bool doCheckDescr(); bool doCheckProvides(); bool doCheckRequires(); diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ncurses-pkg-2.18.1/src/NCPkgTable.cc new/yast2-ncurses-pkg-2.18.2/src/NCPkgTable.cc --- old/yast2-ncurses-pkg-2.18.1/src/NCPkgTable.cc 2009-01-20 17:55:21.000000000 +0100 +++ new/yast2-ncurses-pkg-2.18.2/src/NCPkgTable.cc 2009-05-06 12:01:10.000000000 +0200 @@ -797,9 +797,16 @@ NCTable::wHandleInput( key); break; } - default: { + case '-': + case '+': + case '>': + case '<': + case '!': + case '*': { // set the new status changeObjStatus( key ); + } + default: { break; } } @@ -1141,27 +1148,38 @@ switch (mode) { case I_Descr: - packager->InfoText()->longDescription( pkgPtr ); + if ( packager->InfoText() ) + packager->InfoText()->longDescription( pkgPtr ); break; case I_Technical: - packager->InfoText()->technicalData( pkgPtr, slbPtr ); + if ( packager->InfoText() ) + packager->InfoText()->technicalData( pkgPtr, slbPtr ); break; case I_Files: - packager->InfoText()->fileList( slbPtr ); + if ( packager->InfoText() ) + packager->InfoText()->fileList( slbPtr ); break; case I_Deps: - packager->InfoText()->dependencyList( pkgPtr, slbPtr ); + if ( packager->InfoText() ) + packager->InfoText()->dependencyList( pkgPtr, slbPtr ); break; case I_Versions: - packager->VersionsList()->fillAvailableList( slbPtr ); + if ( packager->VersionsList() ) + packager->VersionsList()->fillAvailableList( slbPtr ); break; case I_PatchDescr: - packager->InfoText()->patchDescription( pkgPtr, slbPtr ); + if ( packager->InfoText() ) + packager->InfoText()->patchDescription( pkgPtr, slbPtr ); + break; case I_PatchPkgs: - packager->fillPatchPackages( packager->PatchPkgs(), pkgPtr ); + if ( packager->PatchPkgs() ) + packager->fillPatchPackages( packager->PatchPkgs(), pkgPtr ); + break; case I_PatchPkgsVersions: - packager->fillPatchPackages( packager->PatchPkgsVersions(), pkgPtr, true ); - default: + if ( packager->PatchPkgsVersions() ) + packager->fillPatchPackages( packager->PatchPkgsVersions(), pkgPtr, true ); break; + // Intentionally omitting 'default' branch so the compiler can + // catch unhandled enum states } } diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ncurses-pkg-2.18.1/VERSION new/yast2-ncurses-pkg-2.18.2/VERSION --- old/yast2-ncurses-pkg-2.18.1/VERSION 2009-02-19 13:33:56.000000000 +0100 +++ new/yast2-ncurses-pkg-2.18.2/VERSION 2009-05-06 12:09:58.000000000 +0200 @@ -1 +1 @@ -2.18.1 +2.18.2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de