Hello community,
here is the log from the commit of package yast2-printer
checked in at Thu Oct 16 14:37:06 CEST 2008.
--------
--- yast2-printer/yast2-printer.changes 2008-10-13 17:03:06.000000000 +0200
+++ /mounts/work_src_done/STABLE/yast2-printer/yast2-printer.changes 2008-10-16 12:32:42.479785000 +0200
@@ -1,0 +2,6 @@
+Thu Oct 16 12:12:23 CEST 2008 - jsrain@suse.cz
+
+- fixed printer proposal (bnc #431559)
+- 2.17.22
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
yast2-printer-2.17.21.tar.bz2
New:
----
yast2-printer-2.17.22.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-printer.spec ++++++
--- /var/tmp/diff_new_pack.X11423/_old 2008-10-16 14:36:52.000000000 +0200
+++ /var/tmp/diff_new_pack.X11423/_new 2008-10-16 14:36:52.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-printer (Version 2.17.21)
+# spec file for package yast2-printer (Version 2.17.22)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -20,12 +20,12 @@
Url: http://en.opensuse.org/YaST/Modules/Printer
Name: yast2-printer
-Version: 2.17.21
+Version: 2.17.22
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-printer-2.17.21.tar.bz2
+Source0: yast2-printer-2.17.22.tar.bz2
Prefix: /usr
BuildRequires: cups-devel update-desktop-files yast2 yast2-core-devel yast2-devtools yast2-testsuite
Recommends: netcat
@@ -64,7 +64,7 @@
Michal Zugec
%prep
-%setup -n yast2-printer-2.17.21
+%setup -n yast2-printer-2.17.22
%build
%{prefix}/bin/y2tool y2autoconf
@@ -118,8 +118,10 @@
%doc %{prefix}/share/doc/packages/yast2-printer
%exclude %{prefix}/share/doc/packages/yast2-printer/COPYING
%exclude %{prefix}/share/doc/packages/yast2-printer/README
-
%changelog
+* Thu Oct 16 2008 jsrain@suse.cz
+- fixed printer proposal (bnc #431559)
+- 2.17.22
* Mon Oct 13 2008 mzugec@suse.cz
- fixed Connection Wizard
- some help text improvements
++++++ yast2-printer-2.17.21.tar.bz2 -> yast2-printer-2.17.22.tar.bz2 ++++++
++++ 4679 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-printer-2.17.21/configure.in new/yast2-printer-2.17.22/configure.in
--- old/yast2-printer-2.17.21/configure.in 2008-10-13 16:49:13.000000000 +0200
+++ new/yast2-printer-2.17.22/configure.in 2008-10-16 12:32:14.000000000 +0200
@@ -1,9 +1,9 @@
dnl configure.in for yast2-printer
dnl
-dnl -- This file is generated by y2autoconf 2.17.0 - DO NOT EDIT! --
+dnl -- This file is generated by y2autoconf 2.17.6 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-printer, 2.17.19, http://bugs.opensuse.org/, yast2-printer)
+AC_INIT(yast2-printer, 2.17.22, http://bugs.opensuse.org/, yast2-printer)
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.17.19"
+VERSION="2.17.22"
RPMNAME="yast2-printer"
MAINTAINER="Michal Zugec "
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-printer-2.17.21/src/printer_proposal.ycp new/yast2-printer-2.17.22/src/printer_proposal.ycp
--- old/yast2-printer-2.17.21/src/printer_proposal.ycp 2008-08-11 13:09:24.000000000 +0200
+++ new/yast2-printer-2.17.22/src/printer_proposal.ycp 2008-10-16 11:55:47.000000000 +0200
@@ -47,7 +47,7 @@
/* create a textual proposal */
if(func == "MakeProposal") {
- string proposal = "";
+ list<string> proposal = [];
string warning = nil;
symbol warning_level = nil;
boolean force_reset = param["force_reset"]:false;
@@ -58,11 +58,17 @@
Printer::Read();
Progress::set (progress_orig);
}
- list sum = Printer::QueueItems( true, true );
- proposal = sum[0]:"";
+
+ proposal = maplist ( map< string, string > queue, Printer::queues, {
+ string description = queue["description"]:"";
+ return description;
+ });
+ proposal = filter (string p, proposal, { return p != ""; });
+ if (size (proposal) == 0)
+ proposal = [ _("No printer queue configured.") ];
ret = $[
- "preformatted_proposal" : proposal,
+ "raw_proposal" : proposal,
"warning_level" : warning_level,
"warning" : warning,
];
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-printer-2.17.21/VERSION new/yast2-printer-2.17.22/VERSION
--- old/yast2-printer-2.17.21/VERSION 2008-10-13 17:00:26.000000000 +0200
+++ new/yast2-printer-2.17.22/VERSION 2008-10-16 12:12:44.000000000 +0200
@@ -1 +1 @@
-2.17.21
+2.17.22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org