Hello community,

here is the log from the commit of package yast2-ycp-ui-bindings for 
openSUSE:Factory checked in at 2013-06-11 06:41:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-ycp-ui-bindings (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-ycp-ui-bindings.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-ycp-ui-bindings"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/yast2-ycp-ui-bindings/yast2-ycp-ui-bindings.changes  
    2013-05-13 22:37:31.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.yast2-ycp-ui-bindings.new/yast2-ycp-ui-bindings.changes
 2013-06-11 09:39:05.000000000 +0200
@@ -1,0 +2,6 @@
+Tue May 14 14:00:54 CEST 2013 - [email protected]
+
+- Fixed libyui dependency
+- 2.21.8
+
+-------------------------------------------------------------------

Old:
----
  yast2-ycp-ui-bindings-2.21.7.tar.bz2

New:
----
  yast2-ycp-ui-bindings-2.21.8.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ yast2-ycp-ui-bindings.spec ++++++
--- /var/tmp/diff_new_pack.XxZlkx/_old  2013-06-11 09:39:05.000000000 +0200
+++ /var/tmp/diff_new_pack.XxZlkx/_new  2013-06-11 09:39:05.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-ycp-ui-bindings
-Version:        2.21.7
+Version:        2.21.8
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -41,8 +41,8 @@
 Conflicts:      yast2 < 2.23.0
 Conflicts:      yast2-libyui < 2.42.0
 
-Requires:       libyui5           >= 2.21.5
-BuildRequires:  libyui-devel >= 2.21.5
+Requires:       libyui5           >= 3.0.4
+BuildRequires:  libyui-devel >= 3.0.4
 
 # libyui ImplPtr
 BuildRequires:  boost-devel

++++++ yast2-ycp-ui-bindings-2.21.7.tar.bz2 -> 
yast2-ycp-ui-bindings-2.21.8.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-ycp-ui-bindings-2.21.7/VERSION 
new/yast2-ycp-ui-bindings-2.21.8/VERSION
--- old/yast2-ycp-ui-bindings-2.21.7/VERSION    2013-04-30 10:46:35.000000000 
+0200
+++ new/yast2-ycp-ui-bindings-2.21.8/VERSION    2013-05-14 14:23:24.000000000 
+0200
@@ -1 +1 @@
-2.21.7
+2.21.8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-ycp-ui-bindings-2.21.7/configure 
new/yast2-ycp-ui-bindings-2.21.8/configure
--- old/yast2-ycp-ui-bindings-2.21.7/configure  2013-04-30 10:51:34.000000000 
+0200
+++ new/yast2-ycp-ui-bindings-2.21.8/configure  2013-05-28 13:56:53.000000000 
+0200
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for yast2-ycp-ui-bindings 2.21.7.
+# Generated by GNU Autoconf 2.69 for yast2-ycp-ui-bindings 2.21.8.
 #
 # Report bugs to <http://bugs.opensuse.org/>.
 #
@@ -590,8 +590,8 @@
 # Identity of this package.
 PACKAGE_NAME='yast2-ycp-ui-bindings'
 PACKAGE_TARNAME='yast2-ycp-ui-bindings'
-PACKAGE_VERSION='2.21.7'
-PACKAGE_STRING='yast2-ycp-ui-bindings 2.21.7'
+PACKAGE_VERSION='2.21.8'
+PACKAGE_STRING='yast2-ycp-ui-bindings 2.21.8'
 PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
 PACKAGE_URL=''
 
@@ -1381,7 +1381,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-ycp-ui-bindings 2.21.7 to adapt to many kinds of 
systems.
+\`configure' configures yast2-ycp-ui-bindings 2.21.8 to adapt to many kinds of 
systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1453,7 +1453,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of yast2-ycp-ui-bindings 
2.21.7:";;
+     short | recursive ) echo "Configuration of yast2-ycp-ui-bindings 
2.21.8:";;
    esac
   cat <<\_ACEOF
 
@@ -1572,7 +1572,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-yast2-ycp-ui-bindings configure 2.21.7
+yast2-ycp-ui-bindings configure 2.21.8
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2116,7 +2116,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-ycp-ui-bindings $as_me 2.21.7, which was
+It was created by yast2-ycp-ui-bindings $as_me 2.21.8, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -3055,7 +3055,7 @@
 
 # Define the identity of the package.
  PACKAGE='yast2-ycp-ui-bindings'
- VERSION='2.21.7'
+ VERSION='2.21.8'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -3178,7 +3178,7 @@
 
 
 
-VERSION="2.21.7"
+VERSION="2.21.8"
 RPMNAME="yast2-ycp-ui-bindings"
 MAINTAINER="Thomas Goettlicher <[email protected]>"
 
@@ -17667,7 +17667,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by yast2-ycp-ui-bindings $as_me 2.21.7, which was
+This file was extended by yast2-ycp-ui-bindings $as_me 2.21.8, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -17733,7 +17733,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-yast2-ycp-ui-bindings config.status 2.21.7
+yast2-ycp-ui-bindings config.status 2.21.8
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-ycp-ui-bindings-2.21.7/configure.in 
new/yast2-ycp-ui-bindings-2.21.8/configure.in
--- old/yast2-ycp-ui-bindings-2.21.7/configure.in       2013-04-30 
10:51:21.000000000 +0200
+++ new/yast2-ycp-ui-bindings-2.21.8/configure.in       2013-05-28 
13:56:42.000000000 +0200
@@ -3,7 +3,7 @@
 dnl -- This file is generated by y2autoconf 2.24.0 - DO NOT EDIT! --
 dnl    (edit configure.in.in instead)
 
-AC_INIT(yast2-ycp-ui-bindings, 2.21.7, http://bugs.opensuse.org/, 
yast2-ycp-ui-bindings)
+AC_INIT(yast2-ycp-ui-bindings, 2.21.8, http://bugs.opensuse.org/, 
yast2-ycp-ui-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.21.7"
+VERSION="2.21.8"
 RPMNAME="yast2-ycp-ui-bindings"
 MAINTAINER="Thomas Goettlicher <[email protected]>"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-ycp-ui-bindings-2.21.7/examples/MultiSelectionBox5.ycp 
new/yast2-ycp-ui-bindings-2.21.8/examples/MultiSelectionBox5.ycp
--- old/yast2-ycp-ui-bindings-2.21.7/examples/MultiSelectionBox5.ycp    
1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-ycp-ui-bindings-2.21.8/examples/MultiSelectionBox5.ycp    
2013-05-28 13:56:35.000000000 +0200
@@ -0,0 +1,89 @@
+// Advanced MultiSelectionBox example:
+//
+// Retrieve the list of selected items and output it.
+{
+    
+    UI::OpenDialog(
+                   `VBox(
+                         `Heading("Today's menu"),
+                        `MinSize( 55, 10,
+                                   `HBox(`Table(`id(`pizza), `opt(`notify), 
`header("Pizza", "Price"),
+                                                [
+                                                 `item(`id(`vege), 
"Vegetarian", 6 ),
+                                                 `item(`id(`capri), 
"Capricciosa", 7 ),
+                                                 `item(`id(`meat), "Meat and 
more", 8 )
+                                                 ]
+                                                ),
+                                         `MultiSelectionBox( `id(`toppings), 
"Select pizza toppings:",
+                                                             [
+                                                              `item( 
`id(`cheese       ), "Cheese"     , true  ),
+                                                              `item( 
`id(`tomatoes), "Tomatoes"        , true  ),
+                                                              `item( 
`id(`mushroom), "Mushrooms"       , false ),
+                                                              `item( 
`id(`onions       ), "Onions"     )
+                                                              ] )
+                                         )
+                                   ),
+                         `PushButton( `id(`ok), `opt(`default), "&OK")
+                         )
+              );
+
+    list vege = [
+                  `item( `id(`cheese           ), "Cheese"     , true  ),
+                  `item( `id(`tomatoes         ), "Tomatoes"   , true  ),
+                  `item( `id(`mushroom         ), "Mushrooms"  , false ),
+                  `item( `id(`onions   ), "Onions"     ) ];
+    list meat = [   `item( `id(`sausage        ), "Salami", true ),
+                    `item( `id(`pork   ), "Ham"        ) ];
+    list capri = merge (vege, meat);
+    
+    any ret = nil;
+
+    repeat
+    {
+        ret = UI::UserInput();
+
+        if ( ret == `pizza )
+        {
+            any item = UI::QueryWidget(`pizza, `CurrentItem );
+            if ( item == `vege )
+                UI::ChangeWidget(`toppings, `Items, vege );
+            else if ( item == `capri )
+                UI::ChangeWidget(`toppings, `Items, capri );
+            else if ( item == `meat )
+                UI::ChangeWidget(`toppings, `Items, meat ); 
+        }
+    }
+    until ( ret == `ok );
+    
+    list selected_items = (list) UI::QueryWidget( `id(`toppings), 
`SelectedItems );
+
+    y2debug( "Selected items: %1", selected_items );
+    
+    // Remember to retrieve the widget's data _before_ the dialog is closed,
+    // i.e. before it is destroyed!
+    
+    UI::CloseDialog();
+
+    
+    
+    // Concatenate the list of selected toppings to one multi-line string.
+    
+    string pizza_description = "";
+
+    foreach ( `topping, selected_items, ``{
+       pizza_description = sformat( "%1\n%2", pizza_description, topping );
+    } );
+
+
+    // Open a new dialog to echo the selection.
+    
+    UI::OpenDialog(
+              `VBox(
+                    `Label( "Your pizza will come with:\n" ),
+                    `Label( pizza_description ),
+                    `PushButton( `opt(`default), "&OK" )
+                    )
+              );
+    UI::UserInput();
+    UI::CloseDialog();
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-ycp-ui-bindings-2.21.7/examples/Table8-multiSel.ycp 
new/yast2-ycp-ui-bindings-2.21.8/examples/Table8-multiSel.ycp
--- old/yast2-ycp-ui-bindings-2.21.7/examples/Table8-multiSel.ycp       
1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-ycp-ui-bindings-2.21.8/examples/Table8-multiSel.ycp       
2013-05-28 13:56:35.000000000 +0200
@@ -0,0 +1,98 @@
+{
+list new_items =  [
+                  `item(`id(1), "Mercedes",    60000),
+                  `item(`id(2), "Audi",        50000),
+                  `item(`id(3), "VW",          40000),
+                  `item(`id(4), "BMW",         60000),
+                  `item(`id(5), "Porsche",     80000)
+
+];
+list orig_items =  [
+                    `item(`id(1), "Chili",             6),
+                    `item(`id(2), "Salami Baguette",   nil),
+                    `item(`id(3), "Spaghetti", 8),
+                    `item(`id(4), "Steak Sandwich",    12)
+                    ];
+
+UI::OpenDialog(
+              `VBox(
+                    `Heading("Today's menu"),
+                    `MinSize( 30, 10,
+                              `Table(`id(`menu), 
+                                     `opt(`notify, `immediate, 
`multiSelection),
+                                     `header("Name", "Price"),
+                                     [
+                                      `item(`id(1), "Chili",           6),
+                                      `item(`id(2), "Salami Baguette", nil),
+                                      `item(`id(3), "Spaghetti",       8),
+                                      `item(`id(4), "Steak Sandwich",  12)
+                                      ]
+                                     )
+                              ),
+                     `HBox(
+                           `Label("Selected: "),
+                           `TextEntry(`id(`info), "") 
+                          ),
+                     `HBox(
+                          `PushButton(`id(`next), "Change &Table Contents"),
+                          `PushButton(`id(`cancel), "&OK")
+                          )
+                    )
+              );
+
+    UI::ChangeWidget(`menu, `SelectedItems, [ 1, 2 ]);
+    list<integer> sel = (list<integer>)UI::QueryWidget(`menu, `SelectedItems);
+    string selItems = "";
+    foreach ( integer val, sel, 
+              { 
+                  selItems = selItems + " " + tostring(val);
+              } );
+
+    UI::ChangeWidget(`info, `Value, selItems );
+
+    map event = $[];
+    integer num = 0;
+    repeat
+    {
+        string selItems = "";
+        event = UI::WaitForEvent();
+        
+        if ( event["EventReason"]:nil == "ValueChanged" )
+        {
+            sel = (list<integer>)UI::QueryWidget(`menu, `SelectedItems);
+            foreach ( integer val, sel, 
+                      { 
+                          selItems = selItems + " " + tostring(val);
+                      } );
+            UI::ChangeWidget(`info, `Value, selItems ); 
+        }
+        if  ( event["EventReason"]:nil == "Activated" && event["ID"]:nil != 
`cancel)
+        {
+            num = num + 1;
+            list items = [];
+            if ( num%2 == 1 )
+                items = new_items;
+            else
+                items = orig_items;
+                
+            // Change table contents
+            UI::ChangeWidget(`menu, `Items, items );
+            sel = (list<integer>)UI::QueryWidget(`menu, `SelectedItems);
+            foreach ( integer val, sel, 
+                      { 
+                          selItems = selItems + " " + tostring(val);
+                      } );
+            UI::ChangeWidget(`info, `Value, selItems );
+            
+            // Double check: Retrieve contents and dump to log
+            y2milestone( "New table content:\n%1", UI::QueryWidget(`menu, 
`Items ) );
+        }
+    } until ( event["ID"]:nil == `cancel );
+    
+    sel = (list<integer>)UI::QueryWidget(`menu, `SelectedItems);
+    y2milestone( "Selected: %1", sel );
+    
+    UI::CloseDialog();
+
+}
+

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to