Hello community,
here is the log from the commit of package yast2-ycp-ui-bindings
checked in at Thu May 1 14:57:46 CEST 2008.
--------
--- yast2-ycp-ui-bindings/yast2-ycp-ui-bindings.changes 2008-04-16 16:39:33.000000000 +0200
+++ /mounts/work_src_done/STABLE/yast2-ycp-ui-bindings/yast2-ycp-ui-bindings.changes 2008-04-30 15:20:21.558700000 +0200
@@ -1,0 +2,8 @@
+Wed Apr 30 15:08:14 CEST 2008 - lslezak@suse.cz
+
+- added support for `repoMgr option in
+ YCPDialogParser::parsePackageSelector() to make the repository
+ management optional (bnc#381956)
+- V 2.16.46
+
+-------------------------------------------------------------------
Old:
----
yast2-ycp-ui-bindings-2.16.45.tar.bz2
New:
----
yast2-ycp-ui-bindings-2.16.46.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-ycp-ui-bindings.spec ++++++
--- /var/tmp/diff_new_pack.X15047/_old 2008-05-01 14:56:48.000000000 +0200
+++ /var/tmp/diff_new_pack.X15047/_new 2008-05-01 14:56:48.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-ycp-ui-bindings (Version 2.16.45)
+# spec file for package yast2-ycp-ui-bindings (Version 2.16.46)
#
# 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-ycp-ui-bindings
-Version: 2.16.45
+Version: 2.16.46
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-ycp-ui-bindings-2.16.45.tar.bz2
+Source0: yast2-ycp-ui-bindings-2.16.46.tar.bz2
Prefix: /usr
BuildRequires: gcc-c++
BuildRequires: yast2-devtools
@@ -30,8 +30,9 @@
Conflicts: yast2-core < 2.16.38
# libycp includes crypto built-ins
BuildRequires: libxcrypt-devel
-Requires: yast2-libyui >= 2.16.45
-BuildRequires: yast2-libyui-devel >= 2.16.45
+# YUIOpt_repoMgr value
+Requires: yast2-libyui >= 2.16.47
+BuildRequires: yast2-libyui-devel >= 2.16.47
# libyui ImplPtr
BuildRequires: boost-devel
Summary: YaST2 - YCP Bindings for the YaST2 User Interface Engine
@@ -77,7 +78,7 @@
Matthias Kettner
%prep
-%setup -n yast2-ycp-ui-bindings-2.16.45
+%setup -n yast2-ycp-ui-bindings-2.16.46
%build
%{prefix}/bin/y2tool y2autoconf
@@ -115,8 +116,12 @@
%{prefix}/include/YaST2
%{_libdir}/pkgconfig/yast2-ycp-ui-bindings.pc
%doc %{prefix}/share/doc/packages/yast2-ycp-ui-bindings
-
%changelog
+* Wed Apr 30 2008 lslezak@suse.cz
+- added support for `repoMgr option in
+ YCPDialogParser::parsePackageSelector() to make the repository
+ management optional (bnc#381956)
+- V 2.16.46
* Wed Apr 16 2008 sh@suse.de
- Let YDialog take care of deleting events
- V 2.16.45
++++++ yast2-ycp-ui-bindings-2.16.45.tar.bz2 -> yast2-ycp-ui-bindings-2.16.46.tar.bz2 ++++++
++++ 10688 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-ycp-ui-bindings-2.16.45/configure.in new/yast2-ycp-ui-bindings-2.16.46/configure.in
--- old/yast2-ycp-ui-bindings-2.16.45/configure.in 2008-04-16 15:21:04.000000000 +0200
+++ new/yast2-ycp-ui-bindings-2.16.46/configure.in 2008-04-30 15:18:44.000000000 +0200
@@ -3,7 +3,7 @@
dnl -- This file is generated by y2autoconf 2.16.8 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-ycp-ui-bindings, 2.16.44, http://bugs.opensuse.org/, yast2-ycp-ui-bindings)
+AC_INIT(yast2-ycp-ui-bindings, 2.16.46, 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.16.44"
+VERSION="2.16.46"
RPMNAME="yast2-ycp-ui-bindings"
MAINTAINER="Stefan Hundhammer "
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-ycp-ui-bindings-2.16.45/examples/ManyMainDialogs.ycp new/yast2-ycp-ui-bindings-2.16.46/examples/ManyMainDialogs.ycp
--- old/yast2-ycp-ui-bindings-2.16.45/examples/ManyMainDialogs.ycp 2008-04-16 13:39:12.000000000 +0200
+++ new/yast2-ycp-ui-bindings-2.16.46/examples/ManyMainDialogs.ycp 1970-01-01 01:00:00.000000000 +0100
@@ -1,25 +0,0 @@
-// ManyMainDialogs.ycp
-//
-// Example for multiple dialogs
-
-
-{
- UI::OpenDialog(`opt(`defaultsize),
- `VBox(
- `Label( "Top level dialog" ),
- `PushButton(`opt(`default), "OK\nLevel 1" )
- )
- );
- UI::UserInput();
- UI::CloseDialog();
- sleep(2*1000);
-
- UI::OpenDialog(`opt(`defaultsize),
- `VBox(
- `Label( "Another dialog on top of the previous" ),
- `PushButton(`opt(`default), "OK\nLevel 2" )
- )
- );
- UI::UserInput();
- UI::CloseDialog();
-}
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-ycp-ui-bindings-2.16.45/examples/MultiProgressMeter1.ycp new/yast2-ycp-ui-bindings-2.16.46/examples/MultiProgressMeter1.ycp
--- old/yast2-ycp-ui-bindings-2.16.45/examples/MultiProgressMeter1.ycp 2008-04-09 14:09:40.000000000 +0200
+++ new/yast2-ycp-ui-bindings-2.16.46/examples/MultiProgressMeter1.ycp 2008-04-21 16:06:51.000000000 +0200
@@ -17,25 +17,44 @@
UI::OpenDialog(
`VBox(
- `HMultiProgressMeter(`id(`prog), [ 1000, 200, 500, 20, 100 ] ),
+ `VMultiProgressMeter(`id(`prog), [ 1000, 200, 500, 20, 100 ] ),
`PushButton(`opt(`default), "&Ok" )
)
);
- UI::ChangeWidget(`prog, `Values, [ 1000, 200, 500, 20, 100 ] ); UI::UserInput();
- UI::ChangeWidget(`prog, `Values, [ 800, 200, 500, 20, 100 ] ); UI::UserInput();
- UI::ChangeWidget(`prog, `Values, [ 500, 200, 500, 20, 100 ] ); UI::UserInput();
- UI::ChangeWidget(`prog, `Values, [ 200, 200, 500, 20, 100 ] ); UI::UserInput();
- UI::ChangeWidget(`prog, `Values, [ 0, 200, 500, 20, 100 ] ); UI::UserInput();
+ UI::UserInput();
+
+ UI::ChangeWidget(`prog, `Values, [ 100, 0, 0, 0, 0 ] ); UI::UserInput();
+ UI::ChangeWidget(`prog, `Values, [ 200, 0, 0, 0, 0 ] ); UI::UserInput();
+ UI::ChangeWidget(`prog, `Values, [ 300, 0, 0, 0, 0 ] ); UI::UserInput();
+ UI::ChangeWidget(`prog, `Values, [ 400, 0, 0, 0, 0 ] ); UI::UserInput();
+ UI::ChangeWidget(`prog, `Values, [ 500, 0, 0, 0, 0 ] ); UI::UserInput();
+ UI::ChangeWidget(`prog, `Values, [ 600, 0, 0, 0, 0 ] ); UI::UserInput();
+ UI::ChangeWidget(`prog, `Values, [ 700, 0, 0, 0, 0 ] ); UI::UserInput();
+ UI::ChangeWidget(`prog, `Values, [ 800, 0, 0, 0, 0 ] ); UI::UserInput();
+ UI::ChangeWidget(`prog, `Values, [ 900, 0, 0, 0, 0 ] ); UI::UserInput();
+ UI::ChangeWidget(`prog, `Values, [ 1000, 0, 0, 0, 0 ] ); UI::UserInput();
+
+ UI::ChangeWidget(`prog, `Values, [ 1000, 50, 0, 0, 0 ] ); UI::UserInput();
+ UI::ChangeWidget(`prog, `Values, [ 1000, 100, 0, 0, 0 ] ); UI::UserInput();
+ UI::ChangeWidget(`prog, `Values, [ 1000, 150, 0, 0, 0 ] ); UI::UserInput();
+ UI::ChangeWidget(`prog, `Values, [ 1000, 200, 0, 0, 0 ] ); UI::UserInput();
- UI::ChangeWidget(`prog, `Values, [ 0, 100, 500, 20, 100 ] ); UI::UserInput();
- UI::ChangeWidget(`prog, `Values, [ 0, 20, 500, 20, 100 ] ); UI::UserInput();
- UI::ChangeWidget(`prog, `Values, [ 0, 0, 500, 20, 100 ] ); UI::UserInput();
+ UI::ChangeWidget(`prog, `Values, [ 1000, 200, 100, 0, 0 ] ); UI::UserInput();
+ UI::ChangeWidget(`prog, `Values, [ 1000, 200, 200, 0, 0 ] ); UI::UserInput();
+ UI::ChangeWidget(`prog, `Values, [ 1000, 200, 300, 0, 0 ] ); UI::UserInput();
+ UI::ChangeWidget(`prog, `Values, [ 1000, 200, 400, 0, 0 ] ); UI::UserInput();
+ UI::ChangeWidget(`prog, `Values, [ 1000, 200, 500, 0, 0 ] ); UI::UserInput();
- UI::ChangeWidget(`prog, `Values, [ 0, 0, 400, 20, 100 ] ); UI::UserInput();
- UI::ChangeWidget(`prog, `Values, [ 0, 0, 300, 20, 100 ] ); UI::UserInput();
- UI::ChangeWidget(`prog, `Values, [ 0, 0, 200, 20, 100 ] ); UI::UserInput();
- UI::ChangeWidget(`prog, `Values, [ 0, 0, 100, 20, 100 ] ); UI::UserInput();
+ UI::ChangeWidget(`prog, `Values, [ 1000, 200, 500, 10, 0 ] ); UI::UserInput();
+ UI::ChangeWidget(`prog, `Values, [ 1000, 200, 500, 20, 0 ] ); UI::UserInput();
+
+ UI::ChangeWidget(`prog, `Values, [ 1000, 200, 500, 20, 20 ] ); UI::UserInput();
+ UI::ChangeWidget(`prog, `Values, [ 1000, 200, 500, 20, 40 ] ); UI::UserInput();
+ UI::ChangeWidget(`prog, `Values, [ 1000, 200, 500, 20, 80 ] ); UI::UserInput();
+ UI::ChangeWidget(`prog, `Values, [ 1000, 200, 500, 20, 100 ] ); UI::UserInput();
+
+ UI::UserInput();
UI::CloseDialog();
}
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-ycp-ui-bindings-2.16.45/examples/MultiProgressMeter2.ycp new/yast2-ycp-ui-bindings-2.16.46/examples/MultiProgressMeter2.ycp
--- old/yast2-ycp-ui-bindings-2.16.45/examples/MultiProgressMeter2.ycp 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-ycp-ui-bindings-2.16.46/examples/MultiProgressMeter2.ycp 2008-04-21 16:06:51.000000000 +0200
@@ -0,0 +1,205 @@
+//
+// Advanced MultiProgressMeter example:
+// Change values interactively with sliders
+// and allow tests with huge numbers
+//
+{
+ //
+ // Global variables
+ //
+
+ list<integer> maxValueList = [ 950, 200, 500, 20, 100 ];
+ list<integer> valueList = [ 100, 30, 400, 0, 0 ];
+ integer unit = 0; // exponent: powers of 2
+
+
+ /**
+ * Return a VBox term with Slider widgets for each list value.
+ **/
+ term slidersVBox( list<integer> maxValuesList, list<integer> currentValuesList )
+ {
+ term vbox = `VBox();
+ integer i=0;
+
+ foreach ( integer maxVal, maxValuesList,
+ {
+ vbox = add( vbox, `Slider(`id(`slider(i) ),
+ `opt(`notify),
+ "", // label
+ 0, // minVal
+ maxVal,
+ currentValuesList[i]:0 // currentVal
+ )
+ );
+ i = i+1;
+ });
+
+ return vbox;
+ }
+
+
+ /**
+ * Apply unit to a list of values. Return the scaled list.
+ **/
+ list<integer> scaleList( integer unit, list<integer> values )
+ {
+ list<integer> scaledValues = [];
+
+ foreach ( integer val, values,
+ {
+ scaledValues = add( scaledValues, val << unit );
+ });
+
+ // y2debug( "Values: %1 unit: %2 scaled: %3", values, unit, scaledValues );
+ return scaledValues;
+ }
+
+
+ /**
+ * Get the current values from all sliders and return them as a list.
+ **/
+ list<integer> getValues()
+ {
+ list<integer> values = [];
+ integer i = 0;
+
+ while ( true )
+ {
+ term sliderID = `slider(i);
+ // y2debug( "Looking for %1", sliderID );
+
+ if ( ! UI::WidgetExists(`id( sliderID) ) )
+ break;
+
+ values = add( values, (integer) UI::QueryWidget(`id(sliderID), `Value ) );
+ i = i+1;
+ }
+
+ // y2debug( "Values: %1", values );
+ return values;
+ }
+
+
+ /**
+ * Update progress meters with values from sliders.
+ **/
+ void updateProgress()
+ {
+ list<integer> values = scaleList( unit, getValues() );
+ UI::ChangeWidget(`vProgress, `Values, values );
+ UI::ChangeWidget(`hProgress, `Values, values );
+ }
+
+
+
+ //
+ // Check if required special widgets are available
+ //
+
+ if ( ! UI::HasSpecialWidget(`HMultiProgressMeter ) ||
+ ! UI::HasSpecialWidget(`Slider ) )
+ {
+ UI::OpenDialog(
+ `VBox(
+ `Label("Error: This UI doesn't support the required widgets!"),
+ `PushButton(`opt(`default), "&OK")
+ )
+ );
+ UI::UserInput();
+ UI::CloseDialog();
+
+ return;
+ }
+
+
+ //
+ // Create dialog
+ //
+
+ term radioBox =
+ `Frame( "Unit",
+ `RadioButtonGroup(`id(`unit), `opt(`notify),
+ `HBox(
+ `HSpacing(0.5),
+ `RadioButton(`id(`unit( 0)), `opt(`notify), "&Bytes"), `HSpacing(1.5),
+ `RadioButton(`id(`unit(10)), `opt(`notify), "&kB"), `HSpacing(1.5),
+ `RadioButton(`id(`unit(20)), `opt(`notify), "&MB"), `HSpacing(1.5),
+ `RadioButton(`id(`unit(30)), `opt(`notify), "&GB"),
+ `HSpacing(0.5)
+ )
+ )
+ );
+
+ UI::OpenDialog(
+ `VBox(
+ `HBox(
+ `VBox(
+ `Heading( "MultiProgressMeter Example" ),
+ `VSpacing( 1 ),
+ slidersVBox( maxValueList, valueList ),
+ radioBox,
+ `VStretch()
+ ),
+ `HSpacing( 1 ),
+ `ReplacePoint(`id(`rep_vProgress),
+ `VMultiProgressMeter(`id(`vProgress), scaleList( unit, maxValueList ) )
+ )
+ ),
+ `HBox(
+ `ReplacePoint(`id(`rep_hProgress),
+ `HMultiProgressMeter(`id(`hProgress), scaleList( unit, maxValueList ) )
+ ),
+ `HSpacing( 0.5 ),
+ `PushButton(`id(`cancel), "&Close" )
+ )
+ )
+ );
+
+ UI::ChangeWidget(`id(`unit), `Value, `unit( unit ) );
+ updateProgress();
+
+
+ //
+ // Event loop
+ //
+
+ while ( true )
+ {
+ map event = UI::WaitForEvent();
+ // y2debug( "Event: %1", event );
+ any id = event["ID"]:nil;
+ symbol widgetClass = (symbol) event["WidgetClass"]:nil;
+
+ if ( widgetClass == `RadioButton )
+ {
+ any currentUnitID = UI::QueryWidget(`unit, `CurrentButton );
+
+ if ( is( currentUnitID, term ) )
+ {
+ unit = ( (term) currentUnitID )[0]:0;
+
+ y2milestone( "New unit: 2^%1", unit );
+ UI::ReplaceWidget(`rep_vProgress, `VMultiProgressMeter(`id(`vProgress), scaleList( unit, maxValueList ) ) );
+ UI::ReplaceWidget(`rep_hProgress, `HMultiProgressMeter(`id(`hProgress), scaleList( unit, maxValueList ) ) );
+ updateProgress();
+ }
+ }
+ if ( widgetClass == `Slider )
+ {
+ updateProgress();
+ list<integer> values = scaleList( unit, getValues() );
+ UI::ChangeWidget(`vProgress, `Values, values );
+ UI::ChangeWidget(`hProgress, `Values, values );
+ }
+
+ if ( id == `cancel )
+ break;
+ }
+
+
+ //
+ // Clean up
+ //
+
+ UI::CloseDialog();
+}
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-ycp-ui-bindings-2.16.45/examples/SlideShowDemo2.ycp new/yast2-ycp-ui-bindings-2.16.46/examples/SlideShowDemo2.ycp
--- old/yast2-ycp-ui-bindings-2.16.45/examples/SlideShowDemo2.ycp 2008-04-09 14:09:40.000000000 +0200
+++ new/yast2-ycp-ui-bindings-2.16.46/examples/SlideShowDemo2.ycp 2008-04-21 16:06:51.000000000 +0200
@@ -181,7 +181,7 @@
\
<tr> \
\
- \
</td> \
\
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-ycp-ui-bindings-2.16.45/missing new/yast2-ycp-ui-bindings-2.16.46/missing
--- old/yast2-ycp-ui-bindings-2.16.45/missing 2008-04-16 15:21:21.000000000 +0200
+++ new/yast2-ycp-ui-bindings-2.16.46/missing 2008-04-30 15:18:57.000000000 +0200
@@ -1,9 +1,9 @@
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
-scriptversion=2005-06-08.21
+scriptversion=2006-05-10.23
-# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005
+# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006
# Free Software Foundation, Inc.
# Originally by Fran,cois Pinard , 1996.
@@ -33,6 +33,8 @@
fi
run=:
+sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p'
+sed_minuso='s/.* -o \([^ ]*\).*/\1/p'
# In the cases where this matters, `missing' is being run in the
# srcdir already.
@@ -44,7 +46,7 @@
msg="missing on your system"
-case "$1" in
+case $1 in
--run)
# Try to run requested program, and just exit if it succeeds.
run=
@@ -77,6 +79,7 @@
aclocal touch file \`aclocal.m4'
autoconf touch file \`configure'
autoheader touch file \`config.h.in'
+ autom4te touch the output file, or create a stub one
automake touch all \`Makefile.in' files
bison create \`y.tab.[ch]', if possible, from existing .[ch]
flex create \`lex.yy.c', if possible, from existing .c
@@ -106,7 +109,7 @@
# Now exit if we have it, but it failed. Also exit now if we
# don't have it and --version was passed (most likely to detect
# the program).
-case "$1" in
+case $1 in
lex|yacc)
# Not GNU programs, they don't have --version.
;;
@@ -135,7 +138,7 @@
# If it does not exist, or fails to run (possibly an outdated version),
# try to emulate it.
-case "$1" in
+case $1 in
aclocal*)
echo 1>&2 "\
WARNING: \`$1' is $msg. You should only need it if
@@ -164,7 +167,7 @@
test -z "$files" && files="config.h"
touch_files=
for f in $files; do
- case "$f" in
+ case $f in
*:*) touch_files="$touch_files "`echo "$f" |
sed -e 's/^[^:]*://' -e 's/:.*//'`;;
*) touch_files="$touch_files $f.in";;
@@ -192,8 +195,8 @@
You can get \`$1' as part of \`Autoconf' from any GNU
archive site."
- file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'`
- test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'`
+ file=`echo "$*" | sed -n "$sed_output"`
+ test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
if test -f "$file"; then
touch $file
else
@@ -214,25 +217,25 @@
in order for those modifications to take effect. You can get
\`Bison' from any GNU archive site."
rm -f y.tab.c y.tab.h
- if [ $# -ne 1 ]; then
+ if test $# -ne 1; then
eval LASTARG="\${$#}"
- case "$LASTARG" in
+ case $LASTARG in
*.y)
SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
- if [ -f "$SRCFILE" ]; then
+ if test -f "$SRCFILE"; then
cp "$SRCFILE" y.tab.c
fi
SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
- if [ -f "$SRCFILE" ]; then
+ if test -f "$SRCFILE"; then
cp "$SRCFILE" y.tab.h
fi
;;
esac
fi
- if [ ! -f y.tab.h ]; then
+ if test ! -f y.tab.h; then
echo >y.tab.h
fi
- if [ ! -f y.tab.c ]; then
+ if test ! -f y.tab.c; then
echo 'main() { return 0; }' >y.tab.c
fi
;;
@@ -244,18 +247,18 @@
in order for those modifications to take effect. You can get
\`Flex' from any GNU archive site."
rm -f lex.yy.c
- if [ $# -ne 1 ]; then
+ if test $# -ne 1; then
eval LASTARG="\${$#}"
- case "$LASTARG" in
+ case $LASTARG in
*.l)
SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
- if [ -f "$SRCFILE" ]; then
+ if test -f "$SRCFILE"; then
cp "$SRCFILE" lex.yy.c
fi
;;
esac
fi
- if [ ! -f lex.yy.c ]; then
+ if test ! -f lex.yy.c; then
echo 'main() { return 0; }' >lex.yy.c
fi
;;
@@ -267,11 +270,9 @@
\`Help2man' package in order for those modifications to take
effect. You can get \`Help2man' from any GNU archive site."
- file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
- if test -z "$file"; then
- file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'`
- fi
- if [ -f "$file" ]; then
+ file=`echo "$*" | sed -n "$sed_output"`
+ test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
+ if test -f "$file"; then
touch $file
else
test -z "$file" || exec >$file
@@ -289,11 +290,17 @@
DU, IRIX). You might want to install the \`Texinfo' package or
the \`GNU make' package. Grab either from any GNU archive site."
# The file to touch is that specified with -o ...
- file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
+ file=`echo "$*" | sed -n "$sed_output"`
+ test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
if test -z "$file"; then
# ... or it is the one specified with @setfilename ...
infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
- file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $infile`
+ file=`sed -n '
+ /^@setfilename/{
+ s/.* \([^ ]*\) *$/\1/
+ p
+ q
+ }' $infile`
# ... or it is derived from the source name (dir/f.texi becomes f.info)
test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
fi
@@ -317,13 +324,13 @@
fi
firstarg="$1"
if shift; then
- case "$firstarg" in
+ case $firstarg in
*o*)
firstarg=`echo "$firstarg" | sed s/o//`
tar "$firstarg" "$@" && exit 0
;;
esac
- case "$firstarg" in
+ case $firstarg in
*h*)
firstarg=`echo "$firstarg" | sed s/h//`
tar "$firstarg" "$@" && exit 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-ycp-ui-bindings-2.16.45/src/YCPDialogParser.cc new/yast2-ycp-ui-bindings-2.16.46/src/YCPDialogParser.cc
--- old/yast2-ycp-ui-bindings-2.16.45/src/YCPDialogParser.cc 2008-04-03 15:43:04.000000000 +0200
+++ new/yast2-ycp-ui-bindings-2.16.46/src/YCPDialogParser.cc 2008-04-30 13:41:32.000000000 +0200
@@ -2370,6 +2370,7 @@
* @option searchMode start with the "search" filter view
* @option summaryMode start with the "installation summary" filter view
* @option repoMode start with the "repositories" filter view
+ * @option repoMgr enable "Repository Manager" menu item
* @usage `PackageSelector()
*
* @examples PackageSelector.ycp
@@ -2421,6 +2422,7 @@
else if ( sym == YUIOpt_summaryMode ) modeFlags |= YPkg_SummaryMode;
else if ( sym == YUIOpt_repoMode ) modeFlags |= YPkg_RepoMode;
else if ( sym == YUIOpt_testMode ) modeFlags |= YPkg_TestMode;
+ else if ( sym == YUIOpt_repoMgr ) modeFlags |= YPkg_RepoMgr;
else logUnknownOption( term, optList->value(o) );
}
else logUnknownOption( term, optList->value(o) );
@@ -2727,7 +2729,7 @@
* @usage if ( HasSpecialWidget( `MultiProgressMeter ) {...
* `MultiProgressMeter( "Percentage", 1, 100, 50 )
*
- * @examples MultiProgressMeter1.ycp
+ * @examples MultiProgressMeter1.ycp MultiProgressMeter2.ycp
*
* @description
*
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-ycp-ui-bindings-2.16.45/src/YCPPropertyHandler.cc new/yast2-ycp-ui-bindings-2.16.46/src/YCPPropertyHandler.cc
--- old/yast2-ycp-ui-bindings-2.16.45/src/YCPPropertyHandler.cc 2008-03-07 13:28:54.000000000 +0100
+++ new/yast2-ycp-ui-bindings-2.16.46/src/YCPPropertyHandler.cc 2008-04-21 16:06:51.000000000 +0200
@@ -589,7 +589,7 @@
if ( newCurrentButton )
{
- y2debug( "Setting new current radio button: %s", newCurrentButton->debugLabel().c_str() );
+ // y2debug( "Setting new current radio button: %s", newCurrentButton->debugLabel().c_str() );
newCurrentButton->setValue( true );
}
else
@@ -902,7 +902,7 @@
if ( ! currentButton )
return YCPVoid();
- y2debug( "Current radio button: %s", currentButton->debugLabel().c_str() );
+ // y2debug( "Current radio button: %s", currentButton->debugLabel().c_str() );
if ( currentButton->hasId() )
{
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-ycp-ui-bindings-2.16.45/VERSION new/yast2-ycp-ui-bindings-2.16.46/VERSION
--- old/yast2-ycp-ui-bindings-2.16.45/VERSION 2008-04-16 16:38:25.000000000 +0200
+++ new/yast2-ycp-ui-bindings-2.16.46/VERSION 2008-04-30 15:11:00.000000000 +0200
@@ -1 +1 @@
-2.16.45
+2.16.46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org
|