Hello community,
here is the log from the commit of package yast2-printer for openSUSE:Factory
checked in at Thu Jun 4 00:21:52 CEST 2009.
--------
--- yast2-printer/yast2-printer.changes 2009-04-30 15:33:19.000000000 +0200
+++ /mounts/work_src_done/STABLE/yast2-printer/yast2-printer.changes 2009-06-03 09:38:08.000000000 +0200
@@ -1,0 +2,20 @@
+Tue Jun 2 16:35:57 CEST 2009 - jsmeix@suse.de
+
+- Adapted the Connection Wizard and its help text regarding beh
+ for the new foomatic-filters 4.0.1 which now contains beh
+ so that cups-backends is no longer required to set up beh
+ (see Novell/Suse Bugzilla bnc#502656 comment #15).
+- Fixed the determine_printer_driver_options tool which
+ failed to set PPD options with special characters in keywords
+ (see Novell/Suse Bugzilla bnc#503774).
+- Let the autodetect_print_queues tool ignore "root"-instances
+ (see Novell/Suse Bugzilla bnc#503065).
+- 2.18.17
+
+-------------------------------------------------------------------
+Tue May 19 15:39:34 CEST 2009 - mzugec@suse.cz
+
+- fixed: creating AY profile (bnc#504762)
+- 2.18.16
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
yast2-printer-2.18.15.tar.bz2
New:
----
yast2-printer-2.18.17.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-printer.spec ++++++
--- /var/tmp/diff_new_pack.a32432/_old 2009-06-04 00:20:10.000000000 +0200
+++ /var/tmp/diff_new_pack.a32432/_new 2009-06-04 00:20:10.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-printer (Version 2.18.15)
+# spec file for package yast2-printer (Version 2.18.17)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -20,12 +20,12 @@
Url: http://en.opensuse.org/YaST/Modules/Printer
Name: yast2-printer
-Version: 2.18.15
+Version: 2.18.17
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-printer-2.18.15.tar.bz2
+Source0: yast2-printer-2.18.17.tar.bz2
Prefix: /usr
BuildRequires: cups-devel update-desktop-files yast2 yast2-core-devel yast2-devtools yast2-testsuite
Recommends: netcat
@@ -65,7 +65,7 @@
Michal Zugec
%prep
-%setup -n yast2-printer-2.18.15
+%setup -n yast2-printer-2.18.17
%build
%{prefix}/bin/y2tool y2autoconf
@@ -127,6 +127,20 @@
%exclude %{prefix}/share/doc/packages/yast2-printer/COPYING
%exclude %{prefix}/share/doc/packages/yast2-printer/README
%changelog
+* Tue Jun 02 2009 jsmeix@suse.de
+- Adapted the Connection Wizard and its help text regarding beh
+ for the new foomatic-filters 4.0.1 which now contains beh
+ so that cups-backends is no longer required to set up beh
+ (see Novell/Suse Bugzilla bnc#502656 comment #15).
+- Fixed the determine_printer_driver_options tool which
+ failed to set PPD options with special characters in keywords
+ (see Novell/Suse Bugzilla bnc#503774).
+- Let the autodetect_print_queues tool ignore "root"-instances
+ (see Novell/Suse Bugzilla bnc#503065).
+- 2.18.17
+* Tue May 19 2009 mzugec@suse.cz
+- fixed: creating AY profile (bnc#504762)
+- 2.18.16
* Thu Apr 30 2009 jsmeix@suse.de
- In the Print via Network dialog changed ambiguous wording
"receive" to "accept" to make it more clear that this
++++++ yast2-printer-2.18.15.tar.bz2 -> yast2-printer-2.18.17.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-printer-2.18.15/agents/ag_cups new/yast2-printer-2.18.17/agents/ag_cups
--- old/yast2-printer-2.18.15/agents/ag_cups 2009-04-29 15:13:10.000000000 +0200
+++ new/yast2-printer-2.18.17/agents/ag_cups 2009-06-02 15:37:04.000000000 +0200
@@ -14,7 +14,7 @@
sub createOrInsert {
my ($line, $data_ref) = @_;
- if ( $line=~/(\w*)\s+([\w\W]*)/){
+ if ( $line=~/\s*(\w*)\s+([\w\W]*)/){
# add to existing list
if (exists $$data_ref{$1}){
push(@{$$data_ref{$1}}, $2);
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-printer-2.18.15/configure new/yast2-printer-2.18.17/configure
--- old/yast2-printer-2.18.15/configure 2009-04-30 15:21:36.000000000 +0200
+++ new/yast2-printer-2.18.17/configure 2009-06-02 16:43:11.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.63 for yast2-printer 2.18.15.
+# Generated by GNU Autoconf 2.63 for yast2-printer 2.18.17.
#
# Report bugs to http://bugs.opensuse.org/.
#
@@ -596,8 +596,8 @@
# Identity of this package.
PACKAGE_NAME='yast2-printer'
PACKAGE_TARNAME='yast2-printer'
-PACKAGE_VERSION='2.18.15'
-PACKAGE_STRING='yast2-printer 2.18.15'
+PACKAGE_VERSION='2.18.17'
+PACKAGE_STRING='yast2-printer 2.18.17'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
ac_unique_file="RPMNAME"
@@ -1274,7 +1274,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.18.15 to adapt to many kinds of systems.
+\`configure' configures yast2-printer 2.18.17 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1345,7 +1345,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2-printer 2.18.15:";;
+ short | recursive ) echo "Configuration of yast2-printer 2.18.17:";;
esac
cat <<\_ACEOF
@@ -1425,7 +1425,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-yast2-printer configure 2.18.15
+yast2-printer configure 2.18.17
generated by GNU Autoconf 2.63
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1439,7 +1439,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.18.15, which was
+It was created by yast2-printer $as_me 2.18.17, which was
generated by GNU Autoconf 2.63. Invocation command line was
$ $0 $@
@@ -2286,7 +2286,7 @@
# Define the identity of the package.
PACKAGE='yast2-printer'
- VERSION='2.18.15'
+ VERSION='2.18.17'
cat >>confdefs.h <<_ACEOF
@@ -2510,7 +2510,7 @@
-VERSION="2.18.15"
+VERSION="2.18.17"
RPMNAME="yast2-printer"
MAINTAINER="Michal Zugec "
@@ -3451,7 +3451,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.18.15, which was
+This file was extended by yast2-printer $as_me 2.18.17, which was
generated by GNU Autoconf 2.63. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -3501,7 +3501,7 @@
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_version="\\
-yast2-printer config.status 2.18.15
+yast2-printer config.status 2.18.17
configured by $0, generated by GNU Autoconf 2.63,
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-printer-2.18.15/configure.in new/yast2-printer-2.18.17/configure.in
--- old/yast2-printer-2.18.15/configure.in 2009-04-30 15:21:32.000000000 +0200
+++ new/yast2-printer-2.18.17/configure.in 2009-06-02 16:43:07.000000000 +0200
@@ -3,7 +3,7 @@
dnl -- This file is generated by y2autoconf 2.17.6 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-printer, 2.18.15, http://bugs.opensuse.org/, yast2-printer)
+AC_INIT(yast2-printer, 2.18.17, 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.18.15"
+VERSION="2.18.17"
RPMNAME="yast2-printer"
MAINTAINER="Michal Zugec "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-printer-2.18.15/src/connectionwizard.ycp new/yast2-printer-2.18.17/src/connectionwizard.ycp
--- old/yast2-printer-2.18.15/src/connectionwizard.ycp 2009-04-29 15:13:10.000000000 +0200
+++ new/yast2-printer-2.18.17/src/connectionwizard.ycp 2009-06-02 16:33:16.000000000 +0200
@@ -788,23 +788,6 @@
);
break;
case(`beh):
- if( ! Printerlib::TestAndInstallPackage( "cups-backends", "installed" ) )
- { if( Popup::ContinueCancel( _("To use 'beh', the RPM package cups-backends must be installed.") ) )
- { Printerlib::TestAndInstallPackage( "cups-backends", "install" );
- }
- // The user can also decide during the actual installation not to install it
- // or the installation may have failed for whatever reason
- // so that we test again whether or not it is now actually installed:
- if( ! Printerlib::TestAndInstallPackage( "cups-backends", "installed" ) )
- { content = `VBox
- ( `Left
- ( `Label
- ( _("The RPM package cups-backends is not installed.") )
- )
- );
- break;
- }
- }
model_content = getContentFromCurrentModel();
content = `VBox
( `Left
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-printer-2.18.15/src/helps.ycp new/yast2-printer-2.18.17/src/helps.ycp
--- old/yast2-printer-2.18.15/src/helps.ycp 2009-04-29 15:13:10.000000000 +0200
+++ new/yast2-printer-2.18.17/src/helps.ycp 2009-06-02 16:35:37.000000000 +0200
@@ -527,7 +527,7 @@
The matching device URI is:<br>
pipe:/path/to/targetcommand<br>
<b>Daisy-chain Backend Error Handler (beh)</b><br>
-To do this, the RPM package cups-backends must be installed.
+To do this, the RPM package foomatic-filters must be installed.
The package provides the CUPS backend 'beh'.<br>
The backend 'beh' is a wrapper for the usual backend,
which is then called by beh.
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-printer-2.18.15/tools/autodetect_print_queues new/yast2-printer-2.18.17/tools/autodetect_print_queues
--- old/yast2-printer-2.18.15/tools/autodetect_print_queues 2009-04-29 15:13:10.000000000 +0200
+++ new/yast2-printer-2.18.17/tools/autodetect_print_queues 2009-06-02 16:28:54.000000000 +0200
@@ -81,14 +81,24 @@
# Process the data:
-# Extract what is needed, quotation marks " are replaced by ' :
-tr '"' "'" <$TMP_DATA_RAW_V >$TMP_DATA
+# Extract only real queues (i.e. suppress instances of the form queue_name/instance)
+# and replace quotation marks " by ' because " is needed as YCP string delimiter:
+grep -v '^device for [^:]*/[^:]*:' $TMP_DATA_RAW_V | tr '"' "'" >$TMP_DATA
# Change "^device for" to "queue"
-# and convert only the first colon after the queue name to "\nuri"
-# so that the DeviceURI is on a seperated line:
+# and convert only the first colon (i.e. the colon after the queue name) to "\nuri"
+# to get the DeviceURI is on a separated line so that the content has the form
+# queue first_queue
+# uri backend1:/this
+# queue second_queue
+# uri backend2:/that
+# To be on the safe side match to ': ' so that a colon inside a queue name does not match
+# because a space character is not allowed inside a queue name,
+# see http://www.cups.org/documentation.php/doc-1.1/sam.html which reads
+# "... the printer name must start with any printable character except " ", "/", and "@".
+# It can contain up to 127 letters, numbers, and the underscore (_). Case is not significant ..."
sed -i -e 's/^device for/queue/' \
- -e 's/:/\nuri/' $TMP_DATA
+ -e 's/: /\nuri /' $TMP_DATA
# Condense multiple spaces, convert tabs to blanks, and remove leading and trailing spaces:
sed -i -e 's/[[:space:]][[:space:]]*/ /g' \
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-printer-2.18.15/tools/determine_printer_driver_options new/yast2-printer-2.18.17/tools/determine_printer_driver_options
--- old/yast2-printer-2.18.15/tools/determine_printer_driver_options 2009-04-29 15:13:10.000000000 +0200
+++ new/yast2-printer-2.18.17/tools/determine_printer_driver_options 2009-06-02 15:41:35.000000000 +0200
@@ -50,10 +50,13 @@
# Get the raw data:
# Continue even after timeout because then an empty YCP map is output
# which indicates that there are no driver options.
-# Simply delete unusual (in particular all non-ASCII) characters
-# but keep the delimiters / * and newline:
MAXIMUM_WAIT="10"
-$LPOPTIONS -h localhost -p $QUEUE -l | tr -c -d '[:alnum:] <>/:\*\n' >$TMP_DATA &
+# The Adobe PPD specification reads that main keywords can contain
+# any printable ASCII character within the range of
+# decimal 33 (\041) to decimal 126 (\176) inclusive.
+# Also keep newline and space but exclude " (\042) which
+# is needed as YCP string delimiter:
+$LPOPTIONS -h localhost -p $QUEUE -l | tr -c -d '\n \041\043-\176' >$TMP_DATA &
lpoptionsPID=$!
# Timeout stuff:
for i in $( seq $MAXIMUM_WAIT )
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-printer-2.18.15/VERSION new/yast2-printer-2.18.17/VERSION
--- old/yast2-printer-2.18.15/VERSION 2009-04-29 15:13:30.000000000 +0200
+++ new/yast2-printer-2.18.17/VERSION 2009-06-02 16:35:54.000000000 +0200
@@ -1 +1 @@
-2.18.15
+2.18.17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org