Hello community,
here is the log from the commit of package yast2-perl-bindings
checked in at Wed Jul 16 22:53:09 CEST 2008.
--------
--- yast2-perl-bindings/yast2-perl-bindings.changes 2008-04-28 13:51:45.000000000 +0200
+++ yast2-perl-bindings/yast2-perl-bindings.changes 2008-07-16 13:56:14.000000000 +0200
@@ -1,0 +2,19 @@
+Wed Jul 16 13:55:36 CEST 2008 - mvidner@suse.cz
+
+- Pluglib-bindings:
+ - Fixed accessing deques as struct members (bnc#398815).
+ - Improved tests.
+- 2.17.0
+
+-------------------------------------------------------------------
+Tue Jul 15 12:52:33 CEST 2008 - mvidner@suse.cz
+
+- Allow string representation of large numbers in SWIG typemaps for
+ "integer &" (bnc#408829).
+
+-------------------------------------------------------------------
+Mon Jul 14 17:34:03 CEST 2008 - mvidner@suse.cz
+
+- Respect prefix when installing pluglibs.
+
+-------------------------------------------------------------------
Old:
----
yast2-perl-bindings-2.16.7.tar.bz2
New:
----
yast2-perl-bindings-2.17.0.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-perl-bindings.spec ++++++
--- /var/tmp/diff_new_pack.Q22367/_old 2008-07-16 22:51:02.000000000 +0200
+++ /var/tmp/diff_new_pack.Q22367/_new 2008-07-16 22:51:02.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-perl-bindings (Version 2.16.7)
+# spec file for package yast2-perl-bindings (Version 2.17.0)
#
# 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-perl-bindings
-Version: 2.16.7
+Version: 2.17.0
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-perl-bindings-2.16.7.tar.bz2
+Source0: yast2-perl-bindings-2.17.0.tar.bz2
Prefix: /usr
BuildRequires: blocxx-devel curl-devel gcc-c++ libxcrypt-devel rpm-devel yast2-core-devel yast2-devtools yast2-ycp-ui-bindings-devel
# YCPValue::valuetype_str()
@@ -42,7 +42,7 @@
Martin Vidner
%prep
-%setup -n yast2-perl-bindings-2.16.7
+%setup -n yast2-perl-bindings-2.17.0
%build
%{prefix}/bin/y2tool y2autoconf
@@ -83,6 +83,16 @@
/usr/share/YaST2/data/devtools/admin/aminclude/pluglib-bindings.ami
%doc %{prefix}/share/doc/packages/yast2-perl-bindings
%changelog
+* Wed Jul 16 2008 mvidner@suse.cz
+- Pluglib-bindings:
+ - Fixed accessing deques as struct members (bnc#398815).
+ - Improved tests.
+- 2.17.0
+* Tue Jul 15 2008 mvidner@suse.cz
+- Allow string representation of large numbers in SWIG typemaps for
+ "integer &" (bnc#408829).
+* Mon Jul 14 2008 mvidner@suse.cz
+- Respect prefix when installing pluglibs.
* Mon Apr 28 2008 mvidner@suse.cz
- Removed superfluous .la file (bnc#223733).
- 2.16.7
++++++ yast2-perl-bindings-2.16.7.tar.bz2 -> yast2-perl-bindings-2.17.0.tar.bz2 ++++++
++++ 4391 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-perl-bindings-2.16.7/configure.in new/yast2-perl-bindings-2.17.0/configure.in
--- old/yast2-perl-bindings-2.16.7/configure.in 2008-04-28 13:51:53.000000000 +0200
+++ new/yast2-perl-bindings-2.17.0/configure.in 2008-07-16 13:57:17.000000000 +0200
@@ -1,9 +1,9 @@
dnl configure.in for yast2-perl-bindings
dnl
-dnl -- This file is generated by y2autoconf 2.16.8 - DO NOT EDIT! --
+dnl -- This file is generated by y2autoconf 2.17.0 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-perl-bindings, 2.16.7, http://bugs.opensuse.org/, yast2-perl-bindings)
+AC_INIT(yast2-perl-bindings, 2.17.0, http://bugs.opensuse.org/, yast2-perl-bindings)
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.16.7"
+VERSION="2.17.0"
RPMNAME="yast2-perl-bindings"
MAINTAINER="Martin Vidner "
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-perl-bindings-2.16.7/doc/YaPI.html new/yast2-perl-bindings-2.17.0/doc/YaPI.html
--- old/yast2-perl-bindings-2.16.7/doc/YaPI.html 2008-04-28 13:52:19.000000000 +0200
+++ new/yast2-perl-bindings-2.17.0/doc/YaPI.html 2008-07-16 13:57:40.000000000 +0200
@@ -4,7 +4,7 @@
<head>
<title>YaPI - common functions for modules implementing YaST API</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
-<link rev="made" href="mailto:feedback@suse.de" />
+<link rev="made" href="mailto:root@localhost" />
</head>
<body style="background-color: white">
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-perl-bindings-2.16.7/pluglib-bindings/pluglib-bindings.ami new/yast2-perl-bindings-2.17.0/pluglib-bindings/pluglib-bindings.ami
--- old/yast2-perl-bindings-2.16.7/pluglib-bindings/pluglib-bindings.ami 2007-02-06 16:26:50.000000000 +0100
+++ new/yast2-perl-bindings-2.17.0/pluglib-bindings/pluglib-bindings.ami 2008-07-14 17:34:10.000000000 +0200
@@ -1,5 +1,5 @@
# -*- makefile -*- Automake include file
-# $Id: pluglib-bindings.ami 35906 2007-02-06 15:26:47Z mvidner $
+# $Id: pluglib-bindings.ami 49069 2008-07-14 15:34:10Z mvidner $
# Wraps a pluglib for use by YaST. Done by using Swig for Perl, adding
# type information. Compiles, installs.
@@ -72,7 +72,8 @@
$(CXXCOMPILE) -shared -o $@ $^
# Install the library
-PLGB_SOdir = $(PERL_VENDORARCH)
+MY_PERL_VENDORARCH = $(subst /usr,$(prefix),$(PERL_VENDORARCH))
+PLGB_SOdir = $(MY_PERL_VENDORARCH)
PLGB_SO_DATA = $(TARGET_SO)
CLEANFILES = $(PLUGLIB_MODULE)_wrap.*
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-perl-bindings-2.16.7/pluglib-bindings/swig/generic/hash_list.i new/yast2-perl-bindings-2.17.0/pluglib-bindings/swig/generic/hash_list.i
--- old/yast2-perl-bindings-2.16.7/pluglib-bindings/swig/generic/hash_list.i 2006-10-13 15:10:07.000000000 +0200
+++ new/yast2-perl-bindings-2.17.0/pluglib-bindings/swig/generic/hash_list.i 2008-07-16 12:49:18.000000000 +0200
@@ -30,7 +30,7 @@
while(HE *he=hv_iternext(hv)) {
KEY key;
if (!KEY_FROM_SV(hv_iterkeysv(he), &key, sizeof(KEY), $descriptor(KEY))) {
- SWIG_SetErrorf("Type error in argument $argnum of $symname. Expected a reference to hash<%1,???>.\n", SWIG_TypePrettyName($descriptor(KEY)));
+ SWIG_SetErrorf("Type error in argument $argnum of $symname. Expected a reference to hash<%1,?>.\n", SWIG_TypePrettyName($descriptor(KEY)));
SWIG_fail;
}
SV *rv = (SV*)hv_iterval(hv,he);
@@ -68,7 +68,7 @@
while(HE *he=hv_iternext(hv)) {
KEY key;
if (!KEY_FROM_SV(hv_iterkeysv(he), &key, sizeof(KEY), $descriptor(KEY))) {
- SWIG_SetErrorf("Type error in argument $argnum of $symname. Expected a reference to hash<%1,???>.\n", SWIG_TypePrettyName($descriptor(KEY)));
+ SWIG_SetErrorf("Type error in argument $argnum of $symname. Expected a reference to hash<%1,?>.\n", SWIG_TypePrettyName($descriptor(KEY)));
SWIG_fail;
}
SV *rv = (SV*)hv_iterval(hv,he);
@@ -149,7 +149,7 @@
SV **sv = av_fetch(av, i, 0);
HV *hv;
if (!sv || !*sv || !SvROK(*sv) || !(hv = (HV*)SvRV(*sv)) || SvTYPE(hv)!=SVt_PVHV ) {
- SWIG_SetErrorf("Type error in argument $argnum of $symname. Expected a reference to array of HASH.\n");
+ SWIG_SetErrorf("Type error in argument $argnum of $symname. Expected a reference to array of HASH.\n", "dummy");
SWIG_fail;
}
HASH< KEY, VAL > inner;
@@ -184,7 +184,7 @@
SV **sv = av_fetch(av, i, 0);
HV *hv;
if (!sv || !*sv || !SvROK(*sv) || !(hv = (HV*)SvRV(*sv)) || SvTYPE(hv)!=SVt_PVHV ) {
- SWIG_SetErrorf("Type error in argument $argnum of $symname. Expected a reference to array of HASH.\n");
+ SWIG_SetErrorf("Type error in argument $argnum of $symname. Expected a reference to array of HASH.\n", "dummy");
SWIG_fail;
}
HASH< KEY, VAL > inner;
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-perl-bindings-2.16.7/pluglib-bindings/swig/generic/sequence.i new/yast2-perl-bindings-2.17.0/pluglib-bindings/swig/generic/sequence.i
--- old/yast2-perl-bindings-2.16.7/pluglib-bindings/swig/generic/sequence.i 2006-10-13 15:10:07.000000000 +0200
+++ new/yast2-perl-bindings-2.17.0/pluglib-bindings/swig/generic/sequence.i 2008-07-15 16:16:50.000000000 +0200
@@ -102,6 +102,29 @@
delete[] svs;
argvi++;
}
+
+// FIXME apply this everywhere else in the library
+// also check how much is still needed (send upstream?)
+// where to put naturalvar?
+
+// grr, this differs only in s/\./->/
+%typemap(out) L< T >&, L< T >*
+{
+ /* convert from ref/ptr L< T > to perl SV (TODO only ref tested) */
+
+ unsigned int k = 0;
+ int len = $1->size();
+ SV **svs = new SV*[len];
+ for (L< T >::iterator i=$1->begin(); i!=$1->end(); i++) {
+ svs[k] = sv_newmortal();
+ TO_SV(svs[k++], &(*i), sizeof(T), $descriptor(T));
+ }
+ $result = newRV_noinc((SV*)av_make(len, svs));
+ sv_2mortal($result);
+ delete[] svs;
+ argvi++;
+}
+
%enddef
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-perl-bindings-2.16.7/pluglib-bindings/swig/stdc/references.i new/yast2-perl-bindings-2.17.0/pluglib-bindings/swig/stdc/references.i
--- old/yast2-perl-bindings-2.16.7/pluglib-bindings/swig/stdc/references.i 2006-10-10 14:05:31.000000000 +0200
+++ new/yast2-perl-bindings-2.17.0/pluglib-bindings/swig/stdc/references.i 2008-07-15 12:47:03.000000000 +0200
@@ -40,9 +40,12 @@
%typemap(in) long long *(long long dvalue), long long &(long long dvalue)
{
SV *sv;
- if (!SvROK($input) || !(sv = SvRV($input)) || !SvIOK(sv)) {
- SWIG_croak("Type error in argument $argnum of $symname. Expected a REFERENCE to INTEGER.\n");
+ if (!SvROK($input) ||
+ !(sv = SvRV($input)) ||
+ !(SvIOK(sv) || SvNOK(sv) || SvPOK(sv)) ) {
+ SWIG_croak("Type error in argument $argnum of $symname. Expected a REFERENCE to INTEGER_IN_STRING.\n");
}
+ char * coerce = SvPV_nolen(sv);
TO_QUAD(sv, &dvalue, sizeof(dvalue), $1_descriptor);
$1 = &dvalue;
}
@@ -50,9 +53,12 @@
%typemap(in) unsigned long long *(unsigned long long dvalue), unsigned long long &(unsigned long long dvalue)
{
SV *sv;
- if (!SvROK($input) || !(sv = SvRV($input)) || !SvIOK(sv)) {
- SWIG_croak("Type error in argument $argnum of $symname. Expected a REFERENCE to INTEGER.\n");
+ if (!SvROK($input) ||
+ !(sv = SvRV($input)) ||
+ !(SvIOK(sv) || SvNOK(sv) || SvPOK(sv)) ) {
+ SWIG_croak("Type error in argument $argnum of $symname. Expected a REFERENCE to INTEGER_IN_STRING.\n");
}
+ char * coerce = SvPV_nolen(sv);
TO_UQUAD(sv, &dvalue, sizeof(dvalue), $1_descriptor);
$1 = &dvalue;
}
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-perl-bindings-2.16.7/VERSION new/yast2-perl-bindings-2.17.0/VERSION
--- old/yast2-perl-bindings-2.16.7/VERSION 2008-04-28 13:50:45.000000000 +0200
+++ new/yast2-perl-bindings-2.17.0/VERSION 2008-07-16 13:51:21.000000000 +0200
@@ -1 +1 @@
-2.16.7
+2.17.0
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org