Hello community,
here is the log from the commit of package yast2-add-on-creator
checked in at Fri Apr 25 15:08:56 CEST 2008.
--------
--- yast2-add-on-creator/yast2-add-on-creator.changes 2008-04-21 13:17:19.000000000 +0200
+++ /mounts/work_src_done/NOARCH/yast2-add-on-creator/yast2-add-on-creator.changes 2008-04-25 10:29:03.623636000 +0200
@@ -1,0 +2,7 @@
+Fri Apr 25 10:06:08 CEST 2008 - jsuchome@suse.cz
+
+- fixed some widget layouts
+- allow deleting keys from package descriptions
+- 2.16.9
+
+-------------------------------------------------------------------
Old:
----
yast2-add-on-creator-2.16.8.tar.bz2
New:
----
yast2-add-on-creator-2.16.9.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-add-on-creator.spec ++++++
--- /var/tmp/diff_new_pack.u29012/_old 2008-04-25 15:08:37.000000000 +0200
+++ /var/tmp/diff_new_pack.u29012/_new 2008-04-25 15:08:37.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-add-on-creator (Version 2.16.8)
+# spec file for package yast2-add-on-creator (Version 2.16.9)
#
# 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-add-on-creator
-Version: 2.16.8
+Version: 2.16.9
Release: 1
License: GPL v2 only; GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-add-on-creator-2.16.8.tar.bz2
+Source0: yast2-add-on-creator-2.16.9.tar.bz2
Prefix: /usr
Requires: yast2
BuildRequires: perl-XML-Writer update-desktop-files yast2 yast2-devtools yast2-testsuite
@@ -34,7 +34,7 @@
Jiř� Suchomel
%prep
-%setup -n yast2-add-on-creator-2.16.8
+%setup -n yast2-add-on-creator-2.16.9
%build
%{prefix}/bin/y2tool y2autoconf
@@ -70,6 +70,10 @@
/usr/lib/YaST2/servers_non_y2/ag_*
%doc %{prefix}/share/doc/packages/yast2-add-on-creator
%changelog
+* Fri Apr 25 2008 jsuchome@suse.cz
+- fixed some widget layouts
+- allow deleting keys from package descriptions
+- 2.16.9
* Mon Apr 21 2008 jsuchome@suse.cz
- default product is openSUSE11.0
- root not required for running
++++++ yast2-add-on-creator-2.16.8.tar.bz2 -> yast2-add-on-creator-2.16.9.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-add-on-creator-2.16.8/configure new/yast2-add-on-creator-2.16.9/configure
--- old/yast2-add-on-creator-2.16.8/configure 2008-04-21 13:09:13.000000000 +0200
+++ new/yast2-add-on-creator-2.16.9/configure 2008-04-25 10:07:15.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61 for yast2-add-on-creator 2.16.8.
+# Generated by GNU Autoconf 2.61 for yast2-add-on-creator 2.16.9.
#
# Report bugs to http://bugs.opensuse.org/.
#
@@ -574,8 +574,8 @@
# Identity of this package.
PACKAGE_NAME='yast2-add-on-creator'
PACKAGE_TARNAME='yast2-add-on-creator'
-PACKAGE_VERSION='2.16.8'
-PACKAGE_STRING='yast2-add-on-creator 2.16.8'
+PACKAGE_VERSION='2.16.9'
+PACKAGE_STRING='yast2-add-on-creator 2.16.9'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
ac_unique_file="RPMNAME"
@@ -1197,7 +1197,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-add-on-creator 2.16.8 to adapt to many kinds of systems.
+\`configure' configures yast2-add-on-creator 2.16.9 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1268,7 +1268,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2-add-on-creator 2.16.8:";;
+ short | recursive ) echo "Configuration of yast2-add-on-creator 2.16.9:";;
esac
cat <<\_ACEOF
@@ -1346,7 +1346,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-yast2-add-on-creator configure 2.16.8
+yast2-add-on-creator configure 2.16.9
generated by GNU Autoconf 2.61
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1360,7 +1360,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-add-on-creator $as_me 2.16.8, which was
+It was created by yast2-add-on-creator $as_me 2.16.9, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ $0 $@
@@ -2181,7 +2181,7 @@
# Define the identity of the package.
PACKAGE='yast2-add-on-creator'
- VERSION='2.16.8'
+ VERSION='2.16.9'
cat >>confdefs.h <<_ACEOF
@@ -2409,7 +2409,7 @@
-VERSION="2.16.8"
+VERSION="2.16.9"
RPMNAME="yast2-add-on-creator"
MAINTAINER="Jiri Suchomel "
@@ -3304,7 +3304,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by yast2-add-on-creator $as_me 2.16.8, which was
+This file was extended by yast2-add-on-creator $as_me 2.16.9, which was
generated by GNU Autoconf 2.61. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -3347,7 +3347,7 @@
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-yast2-add-on-creator config.status 2.16.8
+yast2-add-on-creator config.status 2.16.9
configured by $0, generated by GNU Autoconf 2.61,
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-add-on-creator-2.16.8/configure.in new/yast2-add-on-creator-2.16.9/configure.in
--- old/yast2-add-on-creator-2.16.8/configure.in 2008-04-21 13:09:09.000000000 +0200
+++ new/yast2-add-on-creator-2.16.9/configure.in 2008-04-25 10:07:10.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-add-on-creator, 2.16.8, http://bugs.opensuse.org/, yast2-add-on-creator)
+AC_INIT(yast2-add-on-creator, 2.16.9, http://bugs.opensuse.org/, yast2-add-on-creator)
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.8"
+VERSION="2.16.9"
RPMNAME="yast2-add-on-creator"
MAINTAINER="Jiri Suchomel "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-add-on-creator-2.16.8/src/AddOnCreator.ycp new/yast2-add-on-creator-2.16.9/src/AddOnCreator.ycp
--- old/yast2-add-on-creator-2.16.8/src/AddOnCreator.ycp 2008-04-14 14:26:35.000000000 +0200
+++ new/yast2-add-on-creator-2.16.9/src/AddOnCreator.ycp 2008-04-25 10:28:45.000000000 +0200
@@ -24,7 +24,7 @@
* Summary: AddOnCreator settings, input and output functions
* Authors: Jiri Suchomel
*
- * $Id: AddOnCreator.ycp 46575 2008-04-14 12:26:34Z jsuchome $
+ * $Id: AddOnCreator.ycp 47052 2008-04-25 08:28:44Z jsuchome $
*
* Representation of the configuration of add-on-creator.
* Input and output routines.
@@ -1222,6 +1222,7 @@
list<string> create_argument_lists (string stdout) {
list<string> ret = [];
+ if (stdout == nil || stdout == "") return ret;
// approximately maximum size of parameters list passed to rpm
integer kbytes = 120;
// looks like pre-sorting helps to fasten rpm call
@@ -2021,7 +2022,7 @@
map out = (map) SCR::Execute (.target.bash_output,
sformat ("cd '%1'; find -maxdepth 1 -type f | wc -l", dir));
integer count = tointeger(deletechars(out["stdout"]:"0","\n"));
- return count > 0;
+ return (count != nil && count > 0);
}
/**
@@ -2092,7 +2093,7 @@
term info_term = failure ? `VBox (
`HSpacing (70),
// error label
- `Label (_("Signing of the product failed.")),
+ `Left (`Label (_("Signing of the product failed."))),
message == "" ?
`VSpacing (0) :
`RichText (mergestring (splitstring (
@@ -2100,9 +2101,9 @@
)
) : `VSpacing ();
term input_term = failure ? `HBox (
- `CheckBox (`id (`again), `opt (`notify),
+ `Left (`CheckBox (`id (`again), `opt (`notify),
// checkbox label
- _("Try again with different passphrase")),
+ _("Try again with different passphrase"))),
`Password (`id (`pw1), "")
) : `VBox (
`Password (`id (`pw1), message)
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-add-on-creator-2.16.8/src/complex.ycp new/yast2-add-on-creator-2.16.9/src/complex.ycp
--- old/yast2-add-on-creator-2.16.8/src/complex.ycp 2008-04-21 13:17:02.000000000 +0200
+++ new/yast2-add-on-creator-2.16.9/src/complex.ycp 2008-04-25 10:28:45.000000000 +0200
@@ -24,7 +24,7 @@
* Summary: Dialogs definitions
* Authors: Jiri Suchomel
*
- * $Id: complex.ycp 46900 2008-04-21 11:17:02Z jsuchome $
+ * $Id: complex.ycp 47052 2008-04-25 08:28:44Z jsuchome $
*/
{
@@ -255,7 +255,7 @@
term contents = `HVCenter (`HBox (`HSpacing (), `VBox (
`VSpacing (0.8),
- `RadioButtonGroup (`id(`rd), `Left(`HVSquash(`VBox (
+ `RadioButtonGroup (`id(`rd), `HVSquash (`VBox (
`Left (`RadioButton(`id(`new), `opt (`notify),
// radio button label
_("Create an Add-On &from the Beginning"), !AddOnCreator::clone)
@@ -267,7 +267,7 @@
),
`HBox (
`HSpacing (2.5),
- `TextEntry (`id(`path),
+ `InputField (`id(`path), `opt (`hstretch),
// text entry label
_("&Path to Directory of the Existing Add-On Product"),
AddOnCreator::import_path
@@ -285,7 +285,7 @@
// TODO move to next dialog?
)
)
- )))),
+ ))),
`VSpacing (0.9)
)));
@@ -370,10 +370,12 @@
term contents = `HBox (`HSpacing (), `VBox (
`HBox (
+ `InputField (`id (`product), `opt (`hstretch),
+ // textentry label
+ _("&Add-On Product Name"), product),
// textentry label
- `TextEntry (`id (`product), _("&Add-On Product Name"), product),
- // textentry label
- `TextEntry (`id (`version), _("&Version"), version)
+ `InputField (`id (`version), `opt (`hstretch), _("&Version"),
+ version)
),
`VSpacing (0.7),
`Frame (_("Required Product"), `HBox (`HSpacing (0.5), `VBox (
@@ -412,7 +414,7 @@
`Left(`RadioButton(`id(`other), `opt (`notify),
// radio button label
_("&Other"))),
- `TextEntry (`id(`other_val), "")
+ `InputField (`id(`other_val), "")
)
)))
),
@@ -420,7 +422,7 @@
))),
`VSpacing (0.7),
`HBox (
- `TextEntry (`id(`rpm_path),
+ `InputField (`id(`rpm_path), `opt (`hstretch),
// text entry label
_("&Path to Directory with Add-On Packages"),
current_product["rpm_path"]:""),
@@ -430,7 +432,7 @@
)
),
`HBox (
- `TextEntry (`id(`required_rpm_path),
+ `InputField (`id(`required_rpm_path), `opt (`hstretch),
// text entry label
_("Path to Directory with Re&quired Product Packages"),
current_product["required_rpm_path"]:""),
@@ -1277,6 +1279,7 @@
`HBox (
`PushButton (`id(`add), `opt(`key_F6), Label::AddButton ()),
`PushButton (`id(`edit), `opt(`key_F7), Label::EditButton ()),
+ `PushButton (`id(`delete), `opt(`key_F8), Label::DeleteButton ()),
`HStretch ()
),
`VSpacing (0.4),
@@ -1317,6 +1320,7 @@
UI::ChangeWidget (`id(`import_lang), `Enabled, descr[current_lang]:$[] != $[]);
UI::ChangeWidget (`id(`edit), `Enabled, descr[current_lang]:$[] != $[]);
+ UI::ChangeWidget (`id(`delete), `Enabled, descr[current_lang]:$[] != $[]);
replace_language_widgets (current_lang);
@@ -1440,6 +1444,16 @@
}
UI::SetFocus (`id(`description));
}
+ else if (ret == `delete) {
+ string key =(string)UI::QueryWidget(`id(`description),`CurrentItem);
+ if (descr[lang,sel,key]:nil != nil)
+ {
+ descr[lang,sel] = remove (descr[lang,sel]:$[], key);
+ UI::ChangeWidget (`id(`description), `Items,
+ get_descr_items (descr[lang, sel]:$[]));
+ }
+ UI::SetFocus (`id(`description));
+ }
else if (ret == `browse)
{
string file = UI::AskForExistingFile (
@@ -1518,7 +1532,7 @@
// textentry label
`TextEntry (`id("Name-Email"), _("E-&Mail Address")),
// password widget label
- `Password (`id ("Passphrase"), _("&Passphrase"))
+ `Password (`id ("Passphrase"), `opt (`hstretch), _("&Passphrase"))
),
`HSpacing(1)
);
@@ -1607,10 +1621,10 @@
)
),
// password entry label
- `Password (`id(`pw), _("&Passphrase"),
+ `Password (`id(`pw), `opt (`hstretch), _("&Passphrase"),
AddOnCreator::passphrases[gpg_key]:""),
// password entry label (verification)
- `Password (`id(`pw2), _("&Passphrase Verification"),
+ `Password (`id(`pw2), `opt (`hstretch), _("&Passphrase Verification"),
AddOnCreator::passphrases[gpg_key]:""),
// checkbox label
`Left (`CheckBox (`id (`resign),
@@ -1697,8 +1711,9 @@
term contents = `HBox (`HSpacing (), `VBox (
`HBox (
- // text entry label
- `TextEntry (`id(`output_path), _("P&ath to Output Directory"),
+ `InputField (`id(`output_path), `opt (`hstretch),
+ // text entry label
+ _("P&ath to Output Directory"),
current_product["base_output_path"]:""),
`VBox (
`Label (""),
@@ -1714,7 +1729,8 @@
`HBox (
`HSpacing (2),
// text entry label
- `TextEntry (`id(`iso_name), _("Image File Name"), iso_name)
+ `InputField (`id(`iso_name), `opt (`hstretch), _("Image File Name"),
+ iso_name)
),
`VSpacing (0.4),
// check box label
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-add-on-creator-2.16.8/src/patterns.ycp new/yast2-add-on-creator-2.16.9/src/patterns.ycp
--- old/yast2-add-on-creator-2.16.8/src/patterns.ycp 2008-02-15 16:27:22.000000000 +0100
+++ new/yast2-add-on-creator-2.16.9/src/patterns.ycp 2008-04-25 10:28:45.000000000 +0200
@@ -4,7 +4,7 @@
* Summary: Dialogs for patterns and selections
* Authors: Jiri Suchomel
*
- * $Id: patterns.ycp 44537 2008-02-15 15:27:21Z jsuchome $
+ * $Id: patterns.ycp 47052 2008-04-25 08:28:44Z jsuchome $
*/
{
@@ -261,9 +261,9 @@
UI::ChangeWidget (`id(`required), `Value,
issubstring (requires, "pattern:" + current_pattern));
}
- UI::ChangeWidget (`id(`delete_pt), `Enabled, patterns != $[]);
- UI::ChangeWidget (`id(`edit), `Enabled, patterns != $[]);
- UI::ChangeWidget (`id(`add), `Enabled, patterns != $[]);
+ foreach (symbol w, [ `delete_pt, `edit, `add, `delete, `required ], {
+ UI::ChangeWidget (`id (w), `Enabled, patterns != $[]);
+ });
symbol ret = nil;
while(true) {
@@ -314,7 +314,7 @@
}
if (contains ([`new_pt, `import_pt, `delete_pt], ret))
{
- foreach (symbol s, [`delete_pt, `edit, `add], {
+ foreach (symbol s, [`delete_pt, `edit, `add, `delete, `required], {
UI::ChangeWidget (`id(s), `Enabled, patterns != $[]);
});
ret = `patterns;
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-add-on-creator-2.16.8/VERSION new/yast2-add-on-creator-2.16.9/VERSION
--- old/yast2-add-on-creator-2.16.8/VERSION 2008-04-21 13:09:04.000000000 +0200
+++ new/yast2-add-on-creator-2.16.9/VERSION 2008-04-25 10:07:01.000000000 +0200
@@ -1 +1 @@
-2.16.8
+2.16.9
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org