Hello community,
here is the log from the commit of package yast2-printer
checked in at Thu Nov 22 17:54:59 CET 2007.
--------
--- yast2-printer/yast2-printer.changes 2007-11-06 16:50:20.000000000 +0100
+++ /mounts/work_src_done/STABLE/yast2-printer/yast2-printer.changes 2007-11-21 18:17:27.000000000 +0100
@@ -1,0 +2,12 @@
+Wed Nov 21 18:15:08 CET 2007 - mzugec@suse.cz
+
+- add title for Update yast printer db (#303975)
+
+-------------------------------------------------------------------
+Wed Nov 21 11:43:26 CET 2007 - mzugec@suse.cz
+
+- disable printer test button for local filtering (#186597)
+- removed *.la files (#223709)
+- 2.16.5
+
+-------------------------------------------------------------------
Old:
----
yast2-printer-2.16.4.tar.bz2
New:
----
yast2-printer-2.16.5.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-printer.spec ++++++
--- /var/tmp/diff_new_pack.t23617/_old 2007-11-22 17:54:32.000000000 +0100
+++ /var/tmp/diff_new_pack.t23617/_new 2007-11-22 17:54:32.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-printer (Version 2.16.4)
+# spec file for package yast2-printer (Version 2.16.5)
#
# 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-printer
-Version: 2.16.4
+Version: 2.16.5
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-printer-2.16.4.tar.bz2
+Source0: yast2-printer-2.16.5.tar.bz2
Prefix: /usr
BuildRequires: blocxx-devel cups-devel cups-drivers cups-drivers-stp docbook-xsl-stylesheets doxygen gcc-c++ libxcrypt-devel libxslt openssl-devel perl-XML-Writer popt-devel sgml-skel update-desktop-files yast2 yast2-core-devel yast2-devtools yast2-testsuite zlib-devel
Requires: yast2 netcat zlib blocxx
@@ -29,12 +29,12 @@
Summary: YaST2 - Printer Configuration
%package devel-doc
-Version: 2.16.4
+Version: 2.16.5
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-printer-2.16.4.tar.bz2
+Source0: yast2-printer-2.16.5.tar.bz2
Prefix: /usr
BuildRequires: cups-devel yast2-core-devel zlib-devel
Summary: YaST2 - Developer documentation for yast2-printer
@@ -51,7 +51,7 @@
%prep
-%setup -n yast2-printer-2.16.4
+%setup -n yast2-printer-2.16.5
%build
%{prefix}/bin/y2tool y2autoconf
@@ -72,7 +72,9 @@
done
#mkdir -p $RPM_BUILD_ROOT/var/lib/YaST2/
#touch $RPM_BUILD_ROOT/var/lib/YaST2/ppd_db.ycp
-#%post
+
+%post
+rm -rf %{buildroot}/%{_libdir}/YaST2/plugin/libpy2ag_*.la
# delete ppd_db.ycp because of CUPS 1.1->1.2 (bugzilla #214265)
#rm -f /var/lib/YaST2/ppd_db.ycp
@@ -130,6 +132,12 @@
%exclude %{prefix}/share/doc/packages/yast2-printer/COPYING
%exclude %{prefix}/share/doc/packages/yast2-printer/README
%changelog
+* Wed Nov 21 2007 - mzugec@suse.cz
+- add title for Update yast printer db (#303975)
+* Wed Nov 21 2007 - mzugec@suse.cz
+- disable printer test button for local filtering (#186597)
+- removed *.la files (#223709)
+- 2.16.5
* Tue Nov 06 2007 - mzugec@suse.cz
- tabbed UI done (without help)
- 2.16.4
++++++ yast2-printer-2.16.4.tar.bz2 -> yast2-printer-2.16.5.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-printer-2.16.4/configure new/yast2-printer-2.16.5/configure
--- old/yast2-printer-2.16.4/configure 2007-11-06 16:34:07.000000000 +0100
+++ new/yast2-printer-2.16.5/configure 2007-11-21 13:02:57.000000000 +0100
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61 for yast2-printer 2.16.3.
+# Generated by GNU Autoconf 2.61 for yast2-printer 2.16.5.
#
# Report bugs to http://bugs.opensuse.org/.
#
@@ -728,8 +728,8 @@
# Identity of this package.
PACKAGE_NAME='yast2-printer'
PACKAGE_TARNAME='yast2-printer'
-PACKAGE_VERSION='2.16.3'
-PACKAGE_STRING='yast2-printer 2.16.3'
+PACKAGE_VERSION='2.16.5'
+PACKAGE_STRING='yast2-printer 2.16.5'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
ac_unique_file="RPMNAME"
@@ -1449,7 +1449,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-printer 2.16.3 to adapt to many kinds of systems.
+\`configure' configures yast2-printer 2.16.5 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1520,7 +1520,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2-printer 2.16.3:";;
+ short | recursive ) echo "Configuration of yast2-printer 2.16.5:";;
esac
cat <<\_ACEOF
@@ -1626,7 +1626,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-yast2-printer configure 2.16.3
+yast2-printer configure 2.16.5
generated by GNU Autoconf 2.61
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1640,7 +1640,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-printer $as_me 2.16.3, which was
+It was created by yast2-printer $as_me 2.16.5, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ $0 $@
@@ -2461,7 +2461,7 @@
# Define the identity of the package.
PACKAGE='yast2-printer'
- VERSION='2.16.3'
+ VERSION='2.16.5'
cat >>confdefs.h <<_ACEOF
@@ -2688,7 +2688,7 @@
-VERSION="2.16.3"
+VERSION="2.16.5"
RPMNAME="yast2-printer"
MAINTAINER="Michal Zugec "
@@ -22599,7 +22599,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by yast2-printer $as_me 2.16.3, which was
+This file was extended by yast2-printer $as_me 2.16.5, which was
generated by GNU Autoconf 2.61. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -22652,7 +22652,7 @@
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-yast2-printer config.status 2.16.3
+yast2-printer config.status 2.16.5
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-printer-2.16.4/configure.in new/yast2-printer-2.16.5/configure.in
--- old/yast2-printer-2.16.4/configure.in 2007-11-06 16:33:47.000000000 +0100
+++ new/yast2-printer-2.16.5/configure.in 2007-11-21 13:02:39.000000000 +0100
@@ -3,7 +3,7 @@
dnl -- This file is generated by y2autoconf 2.15.9 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-printer, 2.16.3, http://bugs.opensuse.org/, yast2-printer)
+AC_INIT(yast2-printer, 2.16.5, http://bugs.opensuse.org/, yast2-printer)
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.16.3"
+VERSION="2.16.5"
RPMNAME="yast2-printer"
MAINTAINER="Michal Zugec "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-printer-2.16.4/src/common/dialogs.ycp new/yast2-printer-2.16.5/src/common/dialogs.ycp
--- old/yast2-printer-2.16.4/src/common/dialogs.ycp 2007-11-06 16:45:59.000000000 +0100
+++ new/yast2-printer-2.16.5/src/common/dialogs.ycp 2007-11-21 13:28:15.000000000 +0100
@@ -8,7 +8,7 @@
* Authors:
* Petr Blahos
*
- * $Id: dialogs.ycp 41826 2007-11-06 15:45:59Z mzugec $
+ * $Id: dialogs.ycp 42267 2007-11-21 12:28:14Z mzugec $
* Main dialogs.
*/
{
@@ -559,6 +559,8 @@
string caption = _("PPD Files");
Wizard::SetContentsButtons (caption, contents, getPpdSelectHelp (all_ppds), Label::BackButton (), all_ppds ? Label::NextButton () : Label::OKButton ());
+// UI::ChangeWidget(`test, `Enabled, Printer::printer["raw"]:false);
+
if (file != "" && file != nil)
{
UI::ChangeWidget (`id (`selection), `CurrentItem, file);
@@ -726,7 +728,7 @@
term raw_insert = is_class
? `VSpacing (0)
- : `CheckBox (`id (`raw), `opt (`hstretch),
+ : `CheckBox (`id (`raw), `opt (`notify, `hstretch),
// checkbox
_("Do Local &Filtering"), ! raw);
@@ -783,6 +785,8 @@
Wizard::RestoreBackButton ();
Wizard::RestoreAbortButton ();
UI::ChangeWidget (`id (`name), `ValidChars, "-_0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ");
+ // disable test printing when local filtering (#186597)
+ UI::ChangeWidget(`test, `Enabled, raw);
if (name == "")
{
@@ -800,10 +804,9 @@
string fwd = "";
repeat {
ret = UI::UserInput ();
- if (ret == `cancel)
- ret = `abort;
- if (ret == `auto)
- {
+ switch ((symbol)ret)
+ {
+ case `auto :
auto_propose = (boolean)UI::QueryWidget (`id (`auto), `Value);
if (auto_propose)
{
@@ -845,30 +848,23 @@
UI::ChangeWidget (`id (`ff), `Value, ff);
}
}
- }
- else if (ret == `test)
- {
- raw = ! (boolean)UI::QueryWidget (`id (`raw), `Value);
- if (! raw)
- {
+ break;
+ case `test :
// error report
+/*
Report::Error (_("Queues that do local filtering cannot be tested
here. Proceed to the next dialog to select the printer model
and test the queue after the printer model is selected."));
- }
- else
- {
+*/
map p = Printer::printer;
if (Spooler::Get () != "cups")
p["ff"] = UI::QueryWidget (`id (`ff), `Value);
p["name"] = UI::QueryWidget (`id (`name), `Value);
p["raw"] = true;
PrinterTest::testPrinter (p, `ask);
- }
ret = nil;
- }
- else if (ret == `next)
- {
+ break;
+ case `next:
if (! is_class)
raw = ! (boolean)UI::QueryWidget (`id (`raw), `Value);
if (Spooler::Get () != "cups")
@@ -886,11 +882,16 @@
break;
}
ret = nil;
- }
- if (`abort == ret || `cancel == ret)
- {
+ break;
+ case `abort :
+ case `cancel:
ret = reallyAbort () ? `abort : nil;
- }
+ break;
+ // disable test printing when local filtering (#186597)
+ case `raw :
+ UI::ChangeWidget(`test, `Enabled, !(boolean)UI::QueryWidget(`raw, `Value));
+ break;
+ }
} until (`abort == ret || ret == `back || ret == `next);
if (ret == `next)
@@ -1497,7 +1498,7 @@
UI::ChangeWidget (`id (`test), `Enabled, false);
UI::ChangeWidget (`id (`edit), `Enabled, false);
}
-
+ UI::ChangeWidget(`test, `Enabled, Printer::printer["raw"]:false);
while (nil == ret)
{
@@ -2442,8 +2443,8 @@
else Printer::selectPrinter(-1);
if (new_spooler == "cups" && CUPS::InstallationType () == `client) new_spooler = "cups-client";
- // FIXME : test if this is string or term
- if ( (symbol)event["ID"]:nil==nil ) { ret=nil; }
+ // to avoid some warnings into log file
+ if ( !is(event["ID"]:nil, symbol) || (symbol)event["ID"]:nil==nil ) { ret=nil; }
else{
ret = (symbol) event["ID"]:nil;
switch((symbol) event["ID"]:nil){
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-printer-2.16.4/src/modules/Printerdb.ycp new/yast2-printer-2.16.5/src/modules/Printerdb.ycp
--- old/yast2-printer-2.16.4/src/modules/Printerdb.ycp 2007-10-30 15:56:08.000000000 +0100
+++ new/yast2-printer-2.16.5/src/modules/Printerdb.ycp 2007-11-21 18:16:44.000000000 +0100
@@ -11,7 +11,7 @@
* Authors:
* Jiri Srain 2002
*
- * $Id: Printerdb.ycp 41644 2007-10-30 14:56:08Z mzugec $
+ * $Id: Printerdb.ycp 42300 2007-11-21 17:16:43Z mzugec $
*
*/
@@ -359,7 +359,14 @@
Building database of drivers...");
} else
{
- UI::OpenDialog (`VBox (
+ UI::OpenDialog (
+ `VBox (
+ `HBox(
+ `HSpacing(1),
+ `VCenter(`Heading( _("YaST printer database") ) ),
+ `HStretch()
+ ),
+
`HSpacing (50),
`ProgressBar (`id(`pr),
// progress bar label
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-printer-2.16.4/VERSION new/yast2-printer-2.16.5/VERSION
--- old/yast2-printer-2.16.4/VERSION 2007-11-06 16:44:33.000000000 +0100
+++ new/yast2-printer-2.16.5/VERSION 2007-11-21 11:43:24.000000000 +0100
@@ -1 +1 @@
-2.16.4
+2.16.5
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org