Hello community,
here is the log from the commit of package yast2-core for openSUSE:Factory
checked in at Tue May 5 01:02:14 CEST 2009.
--------
--- yast2-core/yast2-core.changes 2009-04-27 16:10:56.000000000 +0200
+++ /mounts/work_src_done/STABLE/yast2-core/yast2-core.changes 2009-05-04 19:33:20.000000000 +0200
@@ -1,0 +2,7 @@
+Mon May 4 17:28:28 CEST 2009 - lslezak@suse.cz
+
+- SCR DBus service - fixed DBus object registration, fixed creating
+ the PolicyKit action ID
+- 2.18.10
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
yast2-core-2.18.9.tar.bz2
New:
----
yast2-core-2.18.10.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-core.spec ++++++
--- /var/tmp/diff_new_pack.B15805/_old 2009-05-05 01:01:45.000000000 +0200
+++ /var/tmp/diff_new_pack.B15805/_new 2009-05-05 01:01:45.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-core (Version 2.18.9)
+# spec file for package yast2-core (Version 2.18.10)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -19,12 +19,12 @@
Name: yast2-core
-Version: 2.18.9
+Version: 2.18.10
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-core-2.18.9.tar.bz2
+Source0: yast2-core-2.18.10.tar.bz2
Prefix: /usr
# obviously
BuildRequires: gcc-c++
@@ -95,7 +95,7 @@
Stanislav Visnovsky
%prep
-%setup -n yast2-core-2.18.9
+%setup -n yast2-core-2.18.10
%build
%{prefix}/bin/y2tool y2autoconf
@@ -190,6 +190,10 @@
%doc %{_datadir}/doc/yastdoc
/usr/share/YaST2/data/devtools/bin/generateYCPWrappers
%changelog
+* Mon May 04 2009 lslezak@suse.cz
+- SCR DBus service - fixed DBus object registration, fixed creating
+ the PolicyKit action ID
+- 2.18.10
* Mon Apr 27 2009 mvidner@suse.cz
- Resurrected logging in the signal handler, into
/var/log/YaST2/signal (or ./y2signal.log) (bnc#493152#c33).
++++++ yast2-core-2.18.9.tar.bz2 -> yast2-core-2.18.10.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-core-2.18.9/aclocal.m4 new/yast2-core-2.18.10/aclocal.m4
--- old/yast2-core-2.18.9/aclocal.m4 2009-04-27 15:53:10.000000000 +0200
+++ new/yast2-core-2.18.10/aclocal.m4 2009-05-04 18:56:13.000000000 +0200
@@ -19,162 +19,6 @@
If you have problems, you may need to regenerate the build system entirely.
To do so, use the procedure documented by the package, typically `autoreconf'.])])
-# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
-#
-# Copyright © 2004 Scott James Remnant .
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-#
-# As a special exception to the GNU General Public License, if you
-# distribute this file as part of a program that contains a
-# configuration script generated by Autoconf, you may include it under
-# the same distribution terms that you use for the rest of that program.
-
-# PKG_PROG_PKG_CONFIG([MIN-VERSION])
-# ----------------------------------
-AC_DEFUN([PKG_PROG_PKG_CONFIG],
-[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
-m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
-AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
-if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
- AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
-fi
-if test -n "$PKG_CONFIG"; then
- _pkg_min_version=m4_default([$1], [0.9.0])
- AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
- if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
- AC_MSG_RESULT([yes])
- else
- AC_MSG_RESULT([no])
- PKG_CONFIG=""
- fi
-
-fi[]dnl
-])# PKG_PROG_PKG_CONFIG
-
-# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
-#
-# Check to see whether a particular set of modules exists. Similar
-# to PKG_CHECK_MODULES(), but does not set variables or print errors.
-#
-#
-# Similar to PKG_CHECK_MODULES, make sure that the first instance of
-# this or PKG_CHECK_MODULES is called, or make sure to call
-# PKG_CHECK_EXISTS manually
-# --------------------------------------------------------------
-AC_DEFUN([PKG_CHECK_EXISTS],
-[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
-if test -n "$PKG_CONFIG" && \
- AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
- m4_ifval([$2], [$2], [:])
-m4_ifvaln([$3], [else
- $3])dnl
-fi])
-
-
-# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
-# ---------------------------------------------
-m4_define([_PKG_CONFIG],
-[if test -n "$$1"; then
- pkg_cv_[]$1="$$1"
- elif test -n "$PKG_CONFIG"; then
- PKG_CHECK_EXISTS([$3],
- [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
- [pkg_failed=yes])
- else
- pkg_failed=untried
-fi[]dnl
-])# _PKG_CONFIG
-
-# _PKG_SHORT_ERRORS_SUPPORTED
-# -----------------------------
-AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
-[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
- _pkg_short_errors_supported=yes
-else
- _pkg_short_errors_supported=no
-fi[]dnl
-])# _PKG_SHORT_ERRORS_SUPPORTED
-
-
-# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
-# [ACTION-IF-NOT-FOUND])
-#
-#
-# Note that if there is a possibility the first call to
-# PKG_CHECK_MODULES might not happen, you should be sure to include an
-# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
-#
-#
-# --------------------------------------------------------------
-AC_DEFUN([PKG_CHECK_MODULES],
-[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
-AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
-AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
-
-pkg_failed=no
-AC_MSG_CHECKING([for $1])
-
-_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
-_PKG_CONFIG([$1][_LIBS], [libs], [$2])
-
-m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
-and $1[]_LIBS to avoid the need to call pkg-config.
-See the pkg-config man page for more details.])
-
-if test $pkg_failed = yes; then
- _PKG_SHORT_ERRORS_SUPPORTED
- if test $_pkg_short_errors_supported = yes; then
- $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
- else
- $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
- fi
- # Put the nasty error message in config.log where it belongs
- echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
-
- ifelse([$4], , [AC_MSG_ERROR(dnl
-[Package requirements ($2) were not met:
-
-$$1_PKG_ERRORS
-
-Consider adjusting the PKG_CONFIG_PATH environment variable if you
-installed software in a non-standard prefix.
-
-_PKG_TEXT
-])],
- [AC_MSG_RESULT([no])
- $4])
-elif test $pkg_failed = untried; then
- ifelse([$4], , [AC_MSG_FAILURE(dnl
-[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.
-
-_PKG_TEXT
-
-To get pkg-config, see http://pkg-config.freedesktop.org/.])],
- [$4])
-else
- $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
- $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
- AC_MSG_RESULT([yes])
- ifelse([$3], , :, [$3])
-fi[]dnl
-])# PKG_CHECK_MODULES
-
# Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
@@ -1060,6 +904,162 @@
AC_SUBST([am__untar])
]) # _AM_PROG_TAR
+# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
+#
+# Copyright © 2004 Scott James Remnant .
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+# PKG_PROG_PKG_CONFIG([MIN-VERSION])
+# ----------------------------------
+AC_DEFUN([PKG_PROG_PKG_CONFIG],
+[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
+m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
+AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
+if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
+ AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
+fi
+if test -n "$PKG_CONFIG"; then
+ _pkg_min_version=m4_default([$1], [0.9.0])
+ AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
+ if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
+ AC_MSG_RESULT([yes])
+ else
+ AC_MSG_RESULT([no])
+ PKG_CONFIG=""
+ fi
+
+fi[]dnl
+])# PKG_PROG_PKG_CONFIG
+
+# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+#
+# Check to see whether a particular set of modules exists. Similar
+# to PKG_CHECK_MODULES(), but does not set variables or print errors.
+#
+#
+# Similar to PKG_CHECK_MODULES, make sure that the first instance of
+# this or PKG_CHECK_MODULES is called, or make sure to call
+# PKG_CHECK_EXISTS manually
+# --------------------------------------------------------------
+AC_DEFUN([PKG_CHECK_EXISTS],
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
+if test -n "$PKG_CONFIG" && \
+ AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
+ m4_ifval([$2], [$2], [:])
+m4_ifvaln([$3], [else
+ $3])dnl
+fi])
+
+
+# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
+# ---------------------------------------------
+m4_define([_PKG_CONFIG],
+[if test -n "$$1"; then
+ pkg_cv_[]$1="$$1"
+ elif test -n "$PKG_CONFIG"; then
+ PKG_CHECK_EXISTS([$3],
+ [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
+ [pkg_failed=yes])
+ else
+ pkg_failed=untried
+fi[]dnl
+])# _PKG_CONFIG
+
+# _PKG_SHORT_ERRORS_SUPPORTED
+# -----------------------------
+AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi[]dnl
+])# _PKG_SHORT_ERRORS_SUPPORTED
+
+
+# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
+# [ACTION-IF-NOT-FOUND])
+#
+#
+# Note that if there is a possibility the first call to
+# PKG_CHECK_MODULES might not happen, you should be sure to include an
+# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
+#
+#
+# --------------------------------------------------------------
+AC_DEFUN([PKG_CHECK_MODULES],
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
+AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
+AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
+
+pkg_failed=no
+AC_MSG_CHECKING([for $1])
+
+_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
+_PKG_CONFIG([$1][_LIBS], [libs], [$2])
+
+m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
+and $1[]_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.])
+
+if test $pkg_failed = yes; then
+ _PKG_SHORT_ERRORS_SUPPORTED
+ if test $_pkg_short_errors_supported = yes; then
+ $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
+ else
+ $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
+
+ ifelse([$4], , [AC_MSG_ERROR(dnl
+[Package requirements ($2) were not met:
+
+$$1_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+_PKG_TEXT
+])],
+ [AC_MSG_RESULT([no])
+ $4])
+elif test $pkg_failed = untried; then
+ ifelse([$4], , [AC_MSG_FAILURE(dnl
+[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.
+
+_PKG_TEXT
+
+To get pkg-config, see http://pkg-config.freedesktop.org/.])],
+ [$4])
+else
+ $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
+ $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
+ AC_MSG_RESULT([yes])
+ ifelse([$3], , :, [$3])
+fi[]dnl
+])# PKG_CHECK_MODULES
+
dnl check for docbook -*- autoconf -*-
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-core-2.18.9/agent-modules/conf/modprobe_blacklist.scr new/yast2-core-2.18.10/agent-modules/conf/modprobe_blacklist.scr
--- old/yast2-core-2.18.9/agent-modules/conf/modprobe_blacklist.scr 2009-04-06 13:00:18.000000000 +0200
+++ new/yast2-core-2.18.10/agent-modules/conf/modprobe_blacklist.scr 2009-04-29 12:58:11.000000000 +0200
@@ -1,5 +1,5 @@
/**
- * $Id$
+ * $Id: modprobe_blacklist.scr 57028 2009-04-29 10:58:09Z lslezak $
* File: modprobe_blacklist.scr
* Summary: SCR agent for accessing /etc/modprobe.d/blacklist file
* Authors: Ladislav Slezák
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-core-2.18.9/agent-modules/testsuite/tests/dir.scr new/yast2-core-2.18.10/agent-modules/testsuite/tests/dir.scr
--- old/yast2-core-2.18.9/agent-modules/testsuite/tests/dir.scr 2009-04-27 13:31:18.000000000 +0200
+++ new/yast2-core-2.18.10/agent-modules/testsuite/tests/dir.scr 1970-01-01 01:00:00.000000000 +0100
@@ -1,6 +0,0 @@
-.
-
-`ag_modules(
- `ModulesConf("tests/dir.in.test")
-)
-
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-core-2.18.9/agent-modules/testsuite/tests/missing.scr new/yast2-core-2.18.10/agent-modules/testsuite/tests/missing.scr
--- old/yast2-core-2.18.9/agent-modules/testsuite/tests/missing.scr 2009-04-27 13:31:17.000000000 +0200
+++ new/yast2-core-2.18.10/agent-modules/testsuite/tests/missing.scr 1970-01-01 01:00:00.000000000 +0100
@@ -1,6 +0,0 @@
-.
-
-`ag_modules(
- `ModulesConf("tests/missing.in.test")
-)
-
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-core-2.18.9/agent-modules/testsuite/tests/read1.scr new/yast2-core-2.18.10/agent-modules/testsuite/tests/read1.scr
--- old/yast2-core-2.18.9/agent-modules/testsuite/tests/read1.scr 2009-04-27 13:31:17.000000000 +0200
+++ new/yast2-core-2.18.10/agent-modules/testsuite/tests/read1.scr 1970-01-01 01:00:00.000000000 +0100
@@ -1,6 +0,0 @@
-.
-
-`ag_modules(
- `ModulesConf("tests/read1.in.test")
-)
-
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-core-2.18.9/agent-modules/testsuite/tests/write1.scr new/yast2-core-2.18.10/agent-modules/testsuite/tests/write1.scr
--- old/yast2-core-2.18.9/agent-modules/testsuite/tests/write1.scr 2009-04-27 13:31:19.000000000 +0200
+++ new/yast2-core-2.18.10/agent-modules/testsuite/tests/write1.scr 1970-01-01 01:00:00.000000000 +0100
@@ -1,6 +0,0 @@
-.
-
-`ag_modules(
- `ModulesConf("tests/write1.in.test")
-)
-
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-core-2.18.9/agent-modules/testsuite/tests/write2.scr new/yast2-core-2.18.10/agent-modules/testsuite/tests/write2.scr
--- old/yast2-core-2.18.9/agent-modules/testsuite/tests/write2.scr 2009-04-27 13:31:10.000000000 +0200
+++ new/yast2-core-2.18.10/agent-modules/testsuite/tests/write2.scr 1970-01-01 01:00:00.000000000 +0100
@@ -1,6 +0,0 @@
-.
-
-`ag_modules(
- `ModulesConf("tests/write2.in.test")
-)
-
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-core-2.18.9/agent-modules/testsuite/tests/write3.scr new/yast2-core-2.18.10/agent-modules/testsuite/tests/write3.scr
--- old/yast2-core-2.18.9/agent-modules/testsuite/tests/write3.scr 2009-04-27 13:31:18.000000000 +0200
+++ new/yast2-core-2.18.10/agent-modules/testsuite/tests/write3.scr 1970-01-01 01:00:00.000000000 +0100
@@ -1,6 +0,0 @@
-.
-
-`ag_modules(
- `ModulesConf("tests/write3.in.test")
-)
-
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-core-2.18.9/agent-process/conf/process.scr new/yast2-core-2.18.10/agent-process/conf/process.scr
--- old/yast2-core-2.18.9/agent-process/conf/process.scr 2008-03-12 13:57:07.000000000 +0100
+++ new/yast2-core-2.18.10/agent-process/conf/process.scr 2009-04-29 12:58:11.000000000 +0200
@@ -5,7 +5,7 @@
* Access: read / write / execute
* See: anyagent libscr MANPAGE(1) file/relative/to/doc_home/file.html
*
- * $Id$
+ * $Id: process.scr 57028 2009-04-29 10:58:09Z lslezak $
*
* Examples:
*
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-core-2.18.9/agent-process/src/Process.h new/yast2-core-2.18.10/agent-process/src/Process.h
--- old/yast2-core-2.18.9/agent-process/src/Process.h 2008-12-22 12:58:28.000000000 +0100
+++ new/yast2-core-2.18.10/agent-process/src/Process.h 2009-04-29 13:04:20.000000000 +0200
@@ -23,7 +23,7 @@
*
* Authors: Ladislav Slezák
*
- * $Id:$
+ * $Id: Process.h 57029 2009-04-29 11:04:19Z lslezak $
*/
#ifndef Process_h
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-core-2.18.9/agents-perl/doc/ycp-pm-pod.html new/yast2-core-2.18.10/agents-perl/doc/ycp-pm-pod.html
--- old/yast2-core-2.18.9/agents-perl/doc/ycp-pm-pod.html 2009-01-26 14:04:49.000000000 +0100
+++ new/yast2-core-2.18.10/agents-perl/doc/ycp-pm-pod.html 2009-04-10 10:03:42.000000000 +0200
@@ -4,7 +4,7 @@
<head>
<title>ycp - a Perl module for parsing and writing the YaST2 Communication Protocol</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
-<link rev="made" href="mailto:root@localhost" />
+<link rev="made" href="mailto:feedback@suse.de" />
</head>
<body style="background-color: white">
@@ -104,31 +104,36 @@
<p>A PerlYCPValue cannot represent a term but only a term is allowed
to initialize an agent in a .scr file. Therefore <a href="#parseterm">ParseTerm</a> is provided.</p>
<dl>
-<dt><strong><a name="string_integer_boolean" class="item">string, integer, boolean</a></strong></dt>
+<dt><strong><a name="string_integer_boolean" class="item">string, integer, boolean</a></strong>
<dd>
<p>Stored as a scalar.</p>
</dd>
-<dt><strong><a name="list" class="item">list</a></strong></dt>
+</li>
+<dt><strong><a name="list" class="item">list</a></strong>
<dd>
<p>Stored as a reference to a list of PerlYCPValues.</p>
</dd>
-<dt><strong><a name="map" class="item">map</a></strong></dt>
+</li>
+<dt><strong><a name="map" class="item">map</a></strong>
<dd>
<p>Stored as a reference to a map of PerlYCPValues.</p>
</dd>
-<dt><strong><a name="path" class="item">path</a></strong></dt>
+</li>
+<dt><strong><a name="path" class="item">path</a></strong>
<dd>
<p>Stored as a reference to a string (starting with a "." as expected).</p>
</dd>
-<dt><strong><a name="nil" class="item">nil (void)</a></strong></dt>
+</li>
+<dt><strong><a name="nil" class="item">nil (void)</a></strong>
<dd>
<p>Stored as an undef.</p>
</dd>
+</li>
</dl>
<p>
</p>
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-core-2.18.9/base/tools/tty_wrapper/tty_wrapper.cc new/yast2-core-2.18.10/base/tools/tty_wrapper/tty_wrapper.cc
--- old/yast2-core-2.18.9/base/tools/tty_wrapper/tty_wrapper.cc 2009-04-27 15:44:26.000000000 +0200
+++ new/yast2-core-2.18.10/base/tools/tty_wrapper/tty_wrapper.cc 2009-04-29 13:04:20.000000000 +0200
@@ -20,7 +20,7 @@
*/
/*
- File: $Id:$
+ File: $Id: tty_wrapper.cc 57029 2009-04-29 11:04:19Z lslezak $
Author: Ladislav Slezák
Summary: This is a generic tty wrapper
Description: Starts a subprocess with a new internal tty input/output
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-core-2.18.9/configure new/yast2-core-2.18.10/configure
--- old/yast2-core-2.18.9/configure 2009-04-27 15:53:14.000000000 +0200
+++ new/yast2-core-2.18.10/configure 2009-05-04 18:56:16.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.63 for yast2-core 2.18.9.
+# Generated by GNU Autoconf 2.63 for yast2-core 2.18.10.
#
# Report bugs to http://bugs.opensuse.org/.
#
@@ -745,8 +745,8 @@
# Identity of this package.
PACKAGE_NAME='yast2-core'
PACKAGE_TARNAME='yast2-core'
-PACKAGE_VERSION='2.18.9'
-PACKAGE_STRING='yast2-core 2.18.9'
+PACKAGE_VERSION='2.18.10'
+PACKAGE_STRING='yast2-core 2.18.10'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
ac_unique_file="RPMNAME"
@@ -1567,7 +1567,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-core 2.18.9 to adapt to many kinds of systems.
+\`configure' configures yast2-core 2.18.10 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1638,7 +1638,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2-core 2.18.9:";;
+ short | recursive ) echo "Configuration of yast2-core 2.18.10:";;
esac
cat <<\_ACEOF
@@ -1755,7 +1755,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-yast2-core configure 2.18.9
+yast2-core configure 2.18.10
generated by GNU Autoconf 2.63
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1769,7 +1769,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-core $as_me 2.18.9, which was
+It was created by yast2-core $as_me 2.18.10, which was
generated by GNU Autoconf 2.63. Invocation command line was
$ $0 $@
@@ -2616,7 +2616,7 @@
# Define the identity of the package.
PACKAGE='yast2-core'
- VERSION='2.18.9'
+ VERSION='2.18.10'
cat >>confdefs.h <<_ACEOF
@@ -2840,7 +2840,7 @@
-VERSION="2.18.9"
+VERSION="2.18.10"
RPMNAME="yast2-core"
MAINTAINER="Martin Vidner "
@@ -19983,7 +19983,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by yast2-core $as_me 2.18.9, which was
+This file was extended by yast2-core $as_me 2.18.10, which was
generated by GNU Autoconf 2.63. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -20046,7 +20046,7 @@
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_version="\\
-yast2-core config.status 2.18.9
+yast2-core config.status 2.18.10
configured by $0, generated by GNU Autoconf 2.63,
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-core-2.18.9/configure.in new/yast2-core-2.18.10/configure.in
--- old/yast2-core-2.18.9/configure.in 2009-04-27 15:52:54.000000000 +0200
+++ new/yast2-core-2.18.10/configure.in 2009-05-04 18:55:59.000000000 +0200
@@ -1,9 +1,9 @@
dnl configure.in for yast2-core
dnl
-dnl -- This file is generated by y2autoconf 2.18.3 - DO NOT EDIT! --
+dnl -- This file is generated by y2autoconf 2.17.6 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-core, 2.18.9, http://bugs.opensuse.org/, yast2-core)
+AC_INIT(yast2-core, 2.18.10, 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.18.9"
+VERSION="2.18.10"
RPMNAME="yast2-core"
MAINTAINER="Martin Vidner "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-core-2.18.9/dbus/SCR_service/DBusServer.cc new/yast2-core-2.18.10/dbus/SCR_service/DBusServer.cc
--- old/yast2-core-2.18.9/dbus/SCR_service/DBusServer.cc 2009-04-14 12:41:32.000000000 +0200
+++ new/yast2-core-2.18.10/dbus/SCR_service/DBusServer.cc 2009-05-04 18:34:47.000000000 +0200
@@ -61,11 +61,6 @@
std::string object(SCR_OBJECT_PATH);
- if (!object.empty() && object[0] == '/')
- {
- object.erase(object.begin());
- }
-
// register the manager object: register_function(object, interface, method, signature, handler)
register_method(object, YAST_SCR_INTERFACE, METHOD_READ, sig_3param, cb);
register_method(object, YAST_SCR_INTERFACE, METHOD_WRITE, sig_3param, cb);
@@ -142,7 +137,7 @@
check_ok = true;
}
- y2internal("check_ok: %d", check_ok);
+ y2debug("check_ok: %d", check_ok);
if (check_ok)
{
@@ -195,7 +190,7 @@
}
}
- y2internal("Finishing the callback");
+ y2milestone("Finishing the callback");
return reply;
}
@@ -210,22 +205,28 @@
ret.push_back(action_id);
+ YCPValue path = msg.getYCPValue(0);
YCPValue arg = msg.getYCPValue(1);
YCPValue opt = msg.getYCPValue(2);
- std::string arg_str, opt_str;
+ std::string path_str, arg_str, opt_str;
+
+ if (!path.isNull())
+ {
+ path_str = path->toString();
+ }
- if (!arg.isNull())
+ if (!arg.isNull() && arg->isString())
{
- arg_str = arg->toString();
+ arg_str = arg->asString()->value();
}
- if (!opt.isNull())
+ if (!opt.isNull() && opt->isString())
{
- opt_str = opt->toString();
+ opt_str = opt->asString()->value();
}
- action_id = PolKit::createActionId(POLKIT_PREFIX, msg.path(), msg.method(), arg_str, opt_str);
+ action_id = PolKit::createActionId(POLKIT_PREFIX, path_str, msg.method(), arg_str, opt_str);
ret.push_back(action_id);
#endif
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-core-2.18.9/dbus/SCR_service/test_SCR_dbus_server.rb.in new/yast2-core-2.18.10/dbus/SCR_service/test_SCR_dbus_server.rb.in
--- old/yast2-core-2.18.9/dbus/SCR_service/test_SCR_dbus_server.rb.in 2009-03-06 10:30:21.000000000 +0100
+++ new/yast2-core-2.18.10/dbus/SCR_service/test_SCR_dbus_server.rb.in 2009-05-04 17:34:42.000000000 +0200
@@ -26,7 +26,7 @@
# Get the object from this service
# (using the root object of the service, for SCR there's just one)
- objYast = yast.object("/#{yast.root}")
+ objYast = yast.object("/SCR")
assert objYast
# Create a local object for accessing the interface provided by the remote object
@@ -47,7 +47,7 @@
assert yast
# Get the object from this service
- objYast = yast.object("/#{yast.root}")
+ objYast = yast.object("/SCR")
assert objYast
poiSCR = DBus::ProxyObjectInterface.new(objYast, "@YAST_SCR_INTERFACE@")
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-core-2.18.9/liby2dbus/src/DBusServerBase.cc new/yast2-core-2.18.10/liby2dbus/src/DBusServerBase.cc
--- old/yast2-core-2.18.9/liby2dbus/src/DBusServerBase.cc 2009-04-14 12:41:37.000000000 +0200
+++ new/yast2-core-2.18.10/liby2dbus/src/DBusServerBase.cc 2009-05-04 18:52:52.000000000 +0200
@@ -458,6 +458,11 @@
return false;
}
+ if (dbus_error_is_set(err))
+ {
+ dbus_error_free(err);
+ }
+
// check the policy here
if (policykit.isDBusUserAuthorized(*it, msg.sender(), connection.getConnection(), err))
{
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-core-2.18.9/Makefile.am new/yast2-core-2.18.10/Makefile.am
--- old/yast2-core-2.18.9/Makefile.am 2009-04-27 15:52:54.000000000 +0200
+++ new/yast2-core-2.18.10/Makefile.am 2009-05-04 18:55:59.000000000 +0200
@@ -32,7 +32,7 @@
# 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 . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-core-2.18.9/Makefile.in new/yast2-core-2.18.10/Makefile.in
--- old/yast2-core-2.18.9/Makefile.in 2009-04-27 15:53:36.000000000 +0200
+++ new/yast2-core-2.18.10/Makefile.in 2009-05-04 18:56:34.000000000 +0200
@@ -302,7 +302,7 @@
# 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 . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-core-2.18.9/VERSION new/yast2-core-2.18.10/VERSION
--- old/yast2-core-2.18.9/VERSION 2009-04-27 15:49:38.000000000 +0200
+++ new/yast2-core-2.18.10/VERSION 2009-05-04 18:32:25.000000000 +0200
@@ -1 +1 @@
-2.18.9
+2.18.10
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-core-2.18.9/wfm/src/Y2WFMComponent.cc new/yast2-core-2.18.10/wfm/src/Y2WFMComponent.cc
--- old/yast2-core-2.18.9/wfm/src/Y2WFMComponent.cc 2008-09-11 07:45:32.000000000 +0200
+++ new/yast2-core-2.18.10/wfm/src/Y2WFMComponent.cc 2009-05-04 17:28:04.000000000 +0200
@@ -698,7 +698,9 @@
string filename = ee.filename ();
int linenumber = ee.linenumber ();
ycp2milestone (filename.c_str(), linenumber,
- "Calling YaST client %s (arguments: %s)", new_modulename.c_str (), args->toString ().c_str ());
+ "Calling YaST client %s", new_modulename.c_str ());
+ ycp2debug (filename.c_str(), linenumber,
+ "(arguments: %s)", args->toString ().c_str ());
YCPValue result = client_comp->doActualWork (args, NULL);
ee.setFilename (filename);
ee.setLinenumber (linenumber);
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org