Hello community,
here is the log from the commit of package yast2-add-on
checked in at Mon Aug 27 18:24:01 CEST 2007.
--------
--- yast2-add-on/yast2-add-on.changes 2007-08-22 13:06:25.000000000 +0200
+++ /mounts/work_src_done/NOARCH/yast2-add-on/yast2-add-on.changes 2007-08-27 18:12:15.000000000 +0200
@@ -1,0 +2,7 @@
+Mon Aug 27 18:10:53 CEST 2007 - locilka@suse.cz
+
+- Adjusting Add-On's name if set in SourceDialogs when adding it
+ during installation and on a running system (#304659).
+- 2.15.13
+
+-------------------------------------------------------------------
Old:
----
yast2-add-on-2.15.12.tar.bz2
New:
----
yast2-add-on-2.15.13.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-add-on.spec ++++++
--- /var/tmp/diff_new_pack.h19450/_old 2007-08-27 18:23:47.000000000 +0200
+++ /var/tmp/diff_new_pack.h19450/_new 2007-08-27 18:23:47.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-add-on (Version 2.15.12)
+# spec file for package yast2-add-on (Version 2.15.13)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -11,12 +11,12 @@
# norootforbuild
Name: yast2-add-on
-Version: 2.15.12
+Version: 2.15.13
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-add-on-2.15.12.tar.bz2
+Source0: yast2-add-on-2.15.13.tar.bz2
prefix: /usr
Requires: autoyast2-installation
# WorkflowManager module
@@ -47,7 +47,7 @@
Lukas Ocilka
%prep
-%setup -n yast2-add-on-2.15.12
+%setup -n yast2-add-on-2.15.13
%build
%{prefix}/bin/y2tool y2autoconf
@@ -86,6 +86,10 @@
%doc %{prefix}/share/doc/packages/yast2-add-on
%changelog
+* Mon Aug 27 2007 - locilka@suse.cz
+- Adjusting Add-On's name if set in SourceDialogs when adding it
+ during installation and on a running system (#304659).
+- 2.15.13
* Wed Aug 22 2007 - locilka@suse.cz
- Disabled [ Back ] button and using [ Cancel ] instead of
[ Abort ] button in the "New Add-On" dialog (#298052).
++++++ yast2-add-on-2.15.12.tar.bz2 -> yast2-add-on-2.15.13.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-add-on-2.15.12/configure new/yast2-add-on-2.15.13/configure
--- old/yast2-add-on-2.15.12/configure 2007-06-05 16:27:00.000000000 +0200
+++ new/yast2-add-on-2.15.13/configure 2007-08-23 17:35:20.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.60 for yast2-add-on 2.15.9.
+# Generated by GNU Autoconf 2.60 for yast2-add-on 2.15.12.
#
# Report bugs to http://bugs.opensuse.org/.
#
@@ -559,8 +559,8 @@
# Identity of this package.
PACKAGE_NAME='yast2-add-on'
PACKAGE_TARNAME='yast2-add-on'
-PACKAGE_VERSION='2.15.9'
-PACKAGE_STRING='yast2-add-on 2.15.9'
+PACKAGE_VERSION='2.15.12'
+PACKAGE_STRING='yast2-add-on 2.15.12'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
ac_unique_file="RPMNAME"
@@ -1181,7 +1181,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 2.15.9 to adapt to many kinds of systems.
+\`configure' configures yast2-add-on 2.15.12 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1252,7 +1252,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2-add-on 2.15.9:";;
+ short | recursive ) echo "Configuration of yast2-add-on 2.15.12:";;
esac
cat <<\_ACEOF
@@ -1330,7 +1330,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-yast2-add-on configure 2.15.9
+yast2-add-on configure 2.15.12
generated by GNU Autoconf 2.60
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1344,7 +1344,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 $as_me 2.15.9, which was
+It was created by yast2-add-on $as_me 2.15.12, which was
generated by GNU Autoconf 2.60. Invocation command line was
$ $0 $@
@@ -2145,7 +2145,7 @@
# Define the identity of the package.
PACKAGE='yast2-add-on'
- VERSION='2.15.9'
+ VERSION='2.15.12'
cat >>confdefs.h <<_ACEOF
@@ -2372,7 +2372,7 @@
-VERSION="2.15.9"
+VERSION="2.15.12"
RPMNAME="yast2-add-on"
MAINTAINER="Lukas Ocilka "
@@ -3258,7 +3258,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 $as_me 2.15.9, which was
+This file was extended by yast2-add-on $as_me 2.15.12, which was
generated by GNU Autoconf 2.60. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -3301,7 +3301,7 @@
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-yast2-add-on config.status 2.15.9
+yast2-add-on config.status 2.15.12
configured by $0, generated by GNU Autoconf 2.60,
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-add-on-2.15.12/configure.in new/yast2-add-on-2.15.13/configure.in
--- old/yast2-add-on-2.15.12/configure.in 2007-06-05 16:26:54.000000000 +0200
+++ new/yast2-add-on-2.15.13/configure.in 2007-08-23 17:35:14.000000000 +0200
@@ -1,9 +1,9 @@
dnl configure.in for yast2-add-on
dnl
-dnl -- This file is generated by y2autoconf 2.15.0 - DO NOT EDIT! --
+dnl -- This file is generated by y2autoconf 2.15.7 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-add-on, 2.15.9, http://bugs.opensuse.org/, yast2-add-on)
+AC_INIT(yast2-add-on, 2.15.12, http://bugs.opensuse.org/, yast2-add-on)
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.15.9"
+VERSION="2.15.12"
RPMNAME="yast2-add-on"
MAINTAINER="Lukas Ocilka "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-add-on-2.15.12/Makefile.am new/yast2-add-on-2.15.13/Makefile.am
--- old/yast2-add-on-2.15.12/Makefile.am 2007-06-05 16:26:55.000000000 +0200
+++ new/yast2-add-on-2.15.13/Makefile.am 2007-08-23 17:35:14.000000000 +0200
@@ -210,8 +210,7 @@
# For po/ modules
checkpo:
- test ! -d $(srcdir)/po || $(MAKE) -C po checkpo
-# test ! -d $(srcdir)/po \
-# || { $(MAKE) -C po checkpo && $(MAKE) -C po make-pox; }
+ test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo
+# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox
# No ./SUBDIRS file found - assuming default: All direct subdirs with Makefile.am
SUBDIRS = agents doc src testsuite
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-add-on-2.15.12/Makefile.in new/yast2-add-on-2.15.13/Makefile.in
--- old/yast2-add-on-2.15.12/Makefile.in 2007-06-05 16:27:01.000000000 +0200
+++ new/yast2-add-on-2.15.13/Makefile.in 2007-08-23 17:35:21.000000000 +0200
@@ -233,8 +233,7 @@
@CREATE_PKGCONFIG_NOARCH_TRUE@@CREATE_PKGCONFIG_TRUE@pkgconfigdata_DATA = $(RPMNAME).pc
@CREATE_PKGCONFIG_NOARCH_FALSE@@CREATE_PKGCONFIG_TRUE@pkgconfig_DATA = $(RPMNAME).pc
TAGVERSION = $(Y2TOOL) tagversion
-# test ! -d $(srcdir)/po \
-# || { $(MAKE) -C po checkpo && $(MAKE) -C po make-pox; }
+# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox
# No ./SUBDIRS file found - assuming default: All direct subdirs with Makefile.am
SUBDIRS = agents doc src testsuite
all: all-recursive
@@ -841,7 +840,7 @@
# For po/ modules
checkpo:
- test ! -d $(srcdir)/po || $(MAKE) -C po checkpo
+ test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-add-on-2.15.12/src/add-on-workflow.ycp new/yast2-add-on-2.15.13/src/add-on-workflow.ycp
--- old/yast2-add-on-2.15.12/src/add-on-workflow.ycp 2007-08-22 13:04:36.000000000 +0200
+++ new/yast2-add-on-2.15.13/src/add-on-workflow.ycp 2007-08-27 17:08:12.000000000 +0200
@@ -321,6 +321,41 @@
return ret;
}
+string new_addon_name = "";
+
+// bugzilla #304659
+/**
+ * Sets the Add-On's product name
+ *
+ * @param integer src_id (source ID)
+ */
+void SetAddOnProductName (integer src_id) {
+ new_addon_name = "";
+
+ if (src_id == nil) {
+ y2error ("Cannot set name, no ID!");
+ return;
+ }
+
+ new_addon_name = SourceDialogs::GetRepoName();
+
+ // no name to change to
+ if (new_addon_name == nil || new_addon_name == "") {
+ y2milestone ("No special name set");
+ return;
+ }
+
+ list