Hello community,
here is the log from the commit of package yast2-perl-bindings
checked in at Fri Sep 1 12:56:02 CEST 2006.
--------
--- yast2-perl-bindings/yast2-perl-bindings.changes 2006-08-09 14:38:50.000000000 +0200
+++ yast2-perl-bindings/yast2-perl-bindings.changes 2006-08-31 15:40:32.000000000 +0200
@@ -1,0 +2,11 @@
+Thu Aug 31 15:40:12 CEST 2006 - mvidner@suse.cz
+
+- Fixed SWIG typemaps to really work with 1.3.27.
+- 2.13.10
+
+-------------------------------------------------------------------
+Wed Aug 9 15:23:41 CEST 2006 - mvidner@suse.cz
+
+- Using YCPValue::valuetype_str() for better error messages.
+
+-------------------------------------------------------------------
Old:
----
yast2-perl-bindings-2.13.9.tar.bz2
New:
----
yast2-perl-bindings-2.13.10.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-perl-bindings.spec ++++++
--- /var/tmp/diff_new_pack.GAzIdT/_old 2006-09-01 12:54:32.000000000 +0200
+++ /var/tmp/diff_new_pack.GAzIdT/_new 2006-09-01 12:54:32.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-perl-bindings (Version 2.13.9)
+# spec file for package yast2-perl-bindings (Version 2.13.10)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -11,16 +11,18 @@
# norootforbuild
Name: yast2-perl-bindings
-Version: 2.13.9
+Version: 2.13.10
Release: 1
License: GPL
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-perl-bindings-2.13.9.tar.bz2
+Source0: yast2-perl-bindings-2.13.10.tar.bz2
prefix: /usr
BuildRequires: blocxx-devel curl-devel gcc-c++ libxcrypt-devel libzypp-devel rpm-devel yast2-core-devel yast2-devtools
# libzypp-devel is missing .la requires
BuildRequires: boost-devel dbus-1-devel hal-devel
+# YCPValue::valuetype_str()
+Requires: yast2-core >= 2.13.28
Requires: perl
# for YaPI.pm
Requires: perl(Locale::gettext)
@@ -39,7 +41,7 @@
Martin Vidner
%prep
-%setup -n yast2-perl-bindings-2.13.9
+%setup -n yast2-perl-bindings-2.13.10
%build
%{prefix}/bin/y2tool y2autoconf
@@ -78,6 +80,11 @@
%doc %{prefix}/share/doc/packages/yast2-perl-bindings
%changelog -n yast2-perl-bindings
+* Thu Aug 31 2006 - mvidner@suse.cz
+- Fixed SWIG typemaps to really work with 1.3.27.
+- 2.13.10
+* Wed Aug 09 2006 - mvidner@suse.cz
+- Using YCPValue::valuetype_str() for better error messages.
* Wed Aug 09 2006 - mvidner@suse.cz
- Use the Import class when calling a YCP function
so that the log is not flooded with "import (Foo)" (#197845).
++++++ yast2-perl-bindings-2.13.9.tar.bz2 -> yast2-perl-bindings-2.13.10.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-perl-bindings-2.13.9/VERSION new/yast2-perl-bindings-2.13.10/VERSION
--- old/yast2-perl-bindings-2.13.9/VERSION 2006-08-09 14:38:09.000000000 +0200
+++ new/yast2-perl-bindings-2.13.10/VERSION 2006-08-31 15:39:24.000000000 +0200
@@ -1 +1 @@
-2.13.9
+2.13.10
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-perl-bindings-2.13.9/configure new/yast2-perl-bindings-2.13.10/configure
--- old/yast2-perl-bindings-2.13.9/configure 2006-08-09 14:42:01.000000000 +0200
+++ new/yast2-perl-bindings-2.13.10/configure 2006-09-01 11:07:00.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.59 for yast2-perl-bindings 2.13.9.
+# Generated by GNU Autoconf 2.59 for yast2-perl-bindings 2.13.10.
#
# Report bugs to http://bugs.opensuse.org/.
#
@@ -423,8 +423,8 @@
# Identity of this package.
PACKAGE_NAME='yast2-perl-bindings'
PACKAGE_TARNAME='yast2-perl-bindings'
-PACKAGE_VERSION='2.13.9'
-PACKAGE_STRING='yast2-perl-bindings 2.13.9'
+PACKAGE_VERSION='2.13.10'
+PACKAGE_STRING='yast2-perl-bindings 2.13.10'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
ac_unique_file="RPMNAME"
@@ -959,7 +959,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-perl-bindings 2.13.9 to adapt to many kinds of systems.
+\`configure' configures yast2-perl-bindings 2.13.10 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1026,7 +1026,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2-perl-bindings 2.13.9:";;
+ short | recursive ) echo "Configuration of yast2-perl-bindings 2.13.10:";;
esac
cat <<\_ACEOF
@@ -1169,7 +1169,7 @@
test -n "$ac_init_help" && exit 0
if $ac_init_version; then
cat <<\_ACEOF
-yast2-perl-bindings configure 2.13.9
+yast2-perl-bindings configure 2.13.10
generated by GNU Autoconf 2.59
Copyright (C) 2003 Free Software Foundation, Inc.
@@ -1183,7 +1183,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-perl-bindings $as_me 2.13.9, which was
+It was created by yast2-perl-bindings $as_me 2.13.10, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ $0 $@
@@ -1913,7 +1913,7 @@
# Define the identity of the package.
PACKAGE='yast2-perl-bindings'
- VERSION='2.13.9'
+ VERSION='2.13.10'
cat >>confdefs.h <<_ACEOF
@@ -2124,7 +2124,7 @@
-VERSION="2.13.9"
+VERSION="2.13.10"
RPMNAME="yast2-perl-bindings"
MAINTAINER="Martin Vidner "
@@ -19989,7 +19989,7 @@
} >&5
cat >&5 <<_CSEOF
-This file was extended by yast2-perl-bindings $as_me 2.13.9, which was
+This file was extended by yast2-perl-bindings $as_me 2.13.10, which was
generated by GNU Autoconf 2.59. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -20052,7 +20052,7 @@
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-yast2-perl-bindings config.status 2.13.9
+yast2-perl-bindings config.status 2.13.10
configured by $0, generated by GNU Autoconf 2.59,
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
@@ -21477,7 +21477,7 @@
} >&5
cat >&5 <<_CSEOF
-This file was extended by yast2-perl-bindings $as_me 2.13.9, which was
+This file was extended by yast2-perl-bindings $as_me 2.13.10, which was
generated by GNU Autoconf 2.59. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -21540,7 +21540,7 @@
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-yast2-perl-bindings config.status 2.13.9
+yast2-perl-bindings config.status 2.13.10
configured by $0, generated by GNU Autoconf 2.59,
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-perl-bindings-2.13.9/configure.in new/yast2-perl-bindings-2.13.10/configure.in
--- old/yast2-perl-bindings-2.13.9/configure.in 2006-08-09 14:41:16.000000000 +0200
+++ new/yast2-perl-bindings-2.13.10/configure.in 2006-09-01 11:06:10.000000000 +0200
@@ -1,9 +1,9 @@
dnl configure.in for yast2-perl-bindings
dnl
-dnl -- This file is generated by y2autoconf 2.13.20 - DO NOT EDIT! --
+dnl -- This file is generated by y2autoconf 2.13.22 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-perl-bindings, 2.13.9, http://bugs.opensuse.org/, yast2-perl-bindings)
+AC_INIT(yast2-perl-bindings, 2.13.10, http://bugs.opensuse.org/, yast2-perl-bindings)
dnl Check for presence of file 'RPMNAME'
AC_CONFIG_SRCDIR([RPMNAME])
@@ -17,7 +17,7 @@
AM_INIT_AUTOMAKE(tar-ustar) dnl searches for some needed programs
dnl Important YaST2 variables
-VERSION="2.13.9"
+VERSION="2.13.10"
RPMNAME="yast2-perl-bindings"
MAINTAINER="Martin Vidner "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-perl-bindings-2.13.9/pluglib-bindings/swig/stdc/types.i new/yast2-perl-bindings-2.13.10/pluglib-bindings/swig/stdc/types.i
--- old/yast2-perl-bindings-2.13.9/pluglib-bindings/swig/stdc/types.i 2006-08-02 16:19:19.000000000 +0200
+++ new/yast2-perl-bindings-2.13.10/pluglib-bindings/swig/stdc/types.i 2006-08-31 15:34:44.000000000 +0200
@@ -11,7 +11,15 @@
/* for compatibility with older SWIG versions */
#if SWIG_VERSION <= 0x010327
-#define SWIG_ConvertPacked(obj, p, s, type) SWIG_ConvertPacked(obj, p, s, type, 0)
+%{
+#define SWIG_ConvertPacked0(obj, p, s, type) \
+ SWIG_ConvertPacked (obj, p, s, type, 0)
+%}
+#else
+%{
+#define SWIG_ConvertPacked0(obj, p, s, type) \
+ SWIG_ConvertPacked (obj, p, s, type)
+%}
#endif
%typemap(in) SWIGTYPE {
@@ -21,7 +29,7 @@
$1 = *argp;
} else {
// try packed object
- if (SWIG_ConvertPacked($input,(void **) &$1, sizeof($1_ltype), $1_descriptor) < 0) {
+ if (SWIG_ConvertPacked0($input,(void **) &$1, sizeof($1_ltype), $1_descriptor) < 0) {
SWIG_croak("Type error in argument $argnum of $symname. Expected $1_mangle or $&1_mangle.\n");
}
}
@@ -32,7 +40,7 @@
if (SWIG_ConvertPtr($input,(void **) &$1, $1_descriptor,0) < 0) {
// try packed object
void *temp = (void*) malloc(sizeof($*1_ltype));
- if (SWIG_ConvertPacked($input, temp, sizeof($*1_ltype), $*1_descriptor) < 0) {
+ if (SWIG_ConvertPacked0($input, temp, sizeof($*1_ltype), $*1_descriptor) < 0) {
SWIG_croak("Type error in argument $argnum of $symname. Expected $1_mangle or $*1_mangle.\n");
}
$1 = ($1_ltype)temp;
@@ -55,7 +63,7 @@
}
bool TO_PACK(SV *sv, void *ptr, int size, swig_type_info *t) {
- return SWIG_ConvertPacked(sv, ptr, size, t) == 0;
+ return SWIG_ConvertPacked0(sv, ptr, size, t) == 0;
}
bool FROM_BOOL(SV *sv, const bool *x, int size, const swig_type_info *t) {
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-perl-bindings-2.13.9/src/YPerl.cc new/yast2-perl-bindings-2.13.10/src/YPerl.cc
--- old/yast2-perl-bindings-2.13.9/src/YPerl.cc 2006-08-04 12:17:05.000000000 +0200
+++ new/yast2-perl-bindings-2.13.10/src/YPerl.cc 2006-08-09 15:21:16.000000000 +0200
@@ -428,8 +428,7 @@
}
if ( val->isVoid() ) return composite? newSV (0): &PL_sv_undef;
- // YuCK, stringify
- y2error ("Unhandled conversion from YCP type #%d", val->valuetype ());
+ y2error ("Unhandled conversion from YCP type %s", val->valuetype_str ());
return 0;
}
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org