Hello community,
here is the log from the commit of package yast2-core
checked in at Thu Jul 17 22:49:01 CEST 2008.
--------
--- yast2-core/yast2-core.changes 2008-06-22 21:02:46.000000000 +0200
+++ yast2-core/yast2-core.changes 2008-07-17 14:21:29.000000000 +0200
@@ -1,0 +2,8 @@
+Thu Jul 17 14:20:14 CEST 2008 - mvidner@suse.cz
+
+- Check GCC version and use to get rid of
+ warnings. It needs yast2-devtools-2.17.2 but fails
+ gracefully.
+- 2.17.2
+
+-------------------------------------------------------------------
Old:
----
yast2-core-2.17.1.tar.bz2
New:
----
yast2-core-2.17.2.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-core.spec ++++++
--- /var/tmp/diff_new_pack.k21870/_old 2008-07-17 22:47:16.000000000 +0200
+++ /var/tmp/diff_new_pack.k21870/_new 2008-07-17 22:47:16.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-core (Version 2.17.1)
+# spec file for package yast2-core (Version 2.17.2)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -12,12 +12,12 @@
Name: yast2-core
-Version: 2.17.1
+Version: 2.17.2
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-core-2.17.1.tar.bz2
+Source0: yast2-core-2.17.2.tar.bz2
Prefix: /usr
# obviously
BuildRequires: gcc-c++
@@ -84,7 +84,7 @@
Stanislav Visnovsky
%prep
-%setup -n yast2-core-2.17.1
+%setup -n yast2-core-2.17.2
%build
%{prefix}/bin/y2tool y2autoconf
@@ -161,6 +161,11 @@
%doc %{prefix}/share/doc/packages/yast2-core
/usr/share/YaST2/data/devtools/bin/generateYCPWrappers
%changelog
+* Thu Jul 17 2008 mvidner@suse.cz
+- Check GCC version and use to get rid of
+ warnings. It needs yast2-devtools-2.17.2 but fails
+ gracefully.
+- 2.17.2
* Fri Jun 20 2008 aschnell@suse.de
- Added list::reduce builtin.
- 2.17.1
++++++ yast2-core-2.17.1.tar.bz2 -> yast2-core-2.17.2.tar.bz2 ++++++
++++ 18897 lines of diff (skipped)
++++ retrying with extended exclude list
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-core-2.17.1/agent-ini/src/IniAgent.cc new/yast2-core-2.17.2/agent-ini/src/IniAgent.cc
--- old/yast2-core-2.17.1/agent-ini/src/IniAgent.cc 2008-04-10 10:33:23.000000000 +0200
+++ new/yast2-core-2.17.2/agent-ini/src/IniAgent.cc 2008-07-17 15:51:00.000000000 +0200
@@ -8,7 +8,7 @@
* Petr Blahos
* Martin Vidner
*
- * $Id: IniAgent.cc 31143 2006-05-25 08:44:19Z mvidner $
+ * $Id: IniAgent.cc 49224 2008-07-17 13:50:58Z mvidner $
*/
#include "IniAgent.h"
@@ -97,8 +97,8 @@
}
else
{
- if (parser.repeatNames () && value->isList () ||
- !parser.repeatNames () && (value->isString () || value->isInteger()) ||
+ if (( parser.repeatNames () && value->isList ()) ||
+ (!parser.repeatNames () && (value->isString () || value->isInteger())) ||
path->component_str(0) == "all"
)
{
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-core-2.17.1/configure.in new/yast2-core-2.17.2/configure.in
--- old/yast2-core-2.17.1/configure.in 2008-06-22 21:01:15.000000000 +0200
+++ new/yast2-core-2.17.2/configure.in 2008-07-17 16:04:01.000000000 +0200
@@ -1,9 +1,9 @@
dnl configure.in for yast2-core
dnl
-dnl -- This file is generated by y2autoconf 2.17.0 - DO NOT EDIT! --
+dnl -- This file is generated by y2autoconf 2.17.1 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-core, 2.17.1, http://bugs.opensuse.org/, yast2-core)
+AC_INIT(yast2-core, 2.17.2, http://bugs.opensuse.org/, yast2-core)
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.1"
+VERSION="2.17.2"
RPMNAME="yast2-core"
MAINTAINER="Martin Vidner "
@@ -139,6 +139,24 @@
$(top_builddir)/liby2/src/liby2.la dnl
${Y2UTIL_LIBS}'
+AC_PROG_CXX
+AC_MSG_CHECKING([for version of C++ standard])
+GCCVER=`$CXX -v 2>&1 | tail -n1`
+case "$GCCVER" in
+[ gcc\ version\ 4.[3456789]*)]dnl **** quoting
+dnl we need a HAVE_* flag for a public header, yuck
+dnl AC_DEFINE([HAVE_CXX0X], 1, [Define to 1 if the c++ compiler knows and the like])
+dnl Y2CORE_CFLAGS="-std=c++0x"
+ Y2CORE_CFLAGS="-std=c++0x -DHAVE_CXX0X"
+ AC_MSG_RESULT([c++0x])
+ ;;
+ *)
+ Y2CORE_CFLAGS=""
+ AC_MSG_RESULT([older than c++0x])
+ ;;
+esac
+AC_SUBST(Y2CORE_CFLAGS) dnl included in {C,CXX}FLAGS in YAST2-CHECKS-PROGRAM
+
AX_CHECK_DOCBOOK
CREATE_PKGCONFIG=true
dnl Checks for programs.
@@ -193,8 +211,15 @@
AC_PROG_CC
AC_PROG_CPP
-CFLAGS="${CFLAGS} -Wall -Wformat=2 -Wmissing-prototypes"
-CXXFLAGS="${CXXFLAGS} -Wall -Wformat=2"
+# core defines it, others use it
+if test $PACKAGE != yast2-core; then
+ PKG_CHECK_MODULES(Y2CORE, yast2-core)
+else
+ : # core has already defined Y2CORE_CFLAGS
+fi
+
+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)
@@ -220,6 +245,7 @@
fi
+dnl FIXME assumes PCRE
AC_CHECK_HEADER(blocxx/BLOCXX_config.h, [yast_found_blocxx=yes])
if [[ "$yast_found_blocxx" != "yes" ]]; then
AC_MSG_ERROR(Headers for blocxx are missing. Please install the package blocxx-devel.)
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-core-2.17.1/configure.in.in new/yast2-core-2.17.2/configure.in.in
--- old/yast2-core-2.17.1/configure.in.in 2008-04-10 10:33:25.000000000 +0200
+++ new/yast2-core-2.17.2/configure.in.in 2008-07-17 15:13:55.000000000 +0200
@@ -52,6 +52,28 @@
$(top_builddir)/liby2/src/liby2.la dnl
${Y2UTIL_LIBS}'
+## produces ugly warnings in gcc 4.3, but its replacement,
+## , is in C++0x which is not stablilized yet.
+## More importantly, this thing is in a public header so we need to propagate
+## the findings to yast2-core users
+AC_PROG_CXX
+AC_MSG_CHECKING([for version of C++ standard])
+GCCVER=`$CXX -v 2>&1 | tail -n1`
+case "$GCCVER" in
+[ gcc\ version\ 4.[3456789]*)]dnl **** quoting
+dnl we need a HAVE_* flag for a public header, yuck
+dnl AC_DEFINE([HAVE_CXX0X], 1, [Define to 1 if the c++ compiler knows and the like])
+dnl Y2CORE_CFLAGS="-std=c++0x"
+ Y2CORE_CFLAGS="-std=c++0x -DHAVE_CXX0X"
+ AC_MSG_RESULT([c++0x])
+ ;;
+ *)
+ Y2CORE_CFLAGS=""
+ AC_MSG_RESULT([older than c++0x])
+ ;;
+esac
+AC_SUBST(Y2CORE_CFLAGS) dnl included in {C,CXX}FLAGS in YAST2-CHECKS-PROGRAM
+
AX_CHECK_DOCBOOK
CREATE_PKGCONFIG=true
## some common checks
@@ -60,6 +82,7 @@
@YAST2-CHECKS-TESTSUITE@
## check for blocxx
+dnl FIXME assumes PCRE
AC_CHECK_HEADER(blocxx/BLOCXX_config.h, [yast_found_blocxx=yes])
if [[ "$yast_found_blocxx" != "yes" ]]; then
AC_MSG_ERROR(Headers for blocxx are missing. Please install the package blocxx-devel.)
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-core-2.17.1/libycp/src/YBlock.cc new/yast2-core-2.17.2/libycp/src/YBlock.cc
--- old/yast2-core-2.17.1/libycp/src/YBlock.cc 2008-04-10 10:33:14.000000000 +0200
+++ new/yast2-core-2.17.2/libycp/src/YBlock.cc 2008-07-17 15:42:08.000000000 +0200
@@ -23,6 +23,7 @@
#include "ycp/YCPVoid.h"
#include <stack>
+#include <algorithm>
#ifndef DO_DEBUG
#define DO_DEBUG 0
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-core-2.17.1/VERSION new/yast2-core-2.17.2/VERSION
--- old/yast2-core-2.17.1/VERSION 2008-06-20 12:56:54.000000000 +0200
+++ new/yast2-core-2.17.2/VERSION 2008-07-17 14:20:11.000000000 +0200
@@ -1 +1 @@
-2.17.1
+2.17.2
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-core-2.17.1/wfm/src/Y2WFMComponent.cc new/yast2-core-2.17.2/wfm/src/Y2WFMComponent.cc
--- old/yast2-core-2.17.1/wfm/src/Y2WFMComponent.cc 2008-04-11 20:31:06.000000000 +0200
+++ new/yast2-core-2.17.2/wfm/src/Y2WFMComponent.cc 2008-07-17 15:48:36.000000000 +0200
@@ -23,6 +23,8 @@
#include
#include
+#include <algorithm>
+
#include
#include
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-core-2.17.1/yast2-core.pc.in new/yast2-core-2.17.2/yast2-core.pc.in
--- old/yast2-core-2.17.1/yast2-core.pc.in 2008-04-10 10:33:25.000000000 +0200
+++ new/yast2-core-2.17.2/yast2-core.pc.in 2008-07-17 13:58:07.000000000 +0200
@@ -4,6 +4,7 @@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
+datarootdir=@datarootdir@
datadir=@datadir@
sysconfdir=@sysconfdir@
sharedstatedir=@sharedstatedir@
@@ -17,6 +18,8 @@
yast2dir=@yast2dir@
ybindir=@ybindir@
+Cflags: @Y2CORE_CFLAGS@
+
Name: @RPMNAME@
Version: @VERSION@
Description: YaST2 package "@RPMNAME@"
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org