Package: foomatic-filters
Version: 4.0-20090509-1
Severity: minor
Tags: patch

The debconf command db_title is deprecated and causes warnings when used.
Please apply the attached (untested but trivial) patch to use the command 
db_settitle instead.

Added advantage is that this change makes the dialog title translatable.

diff -ur foomatic-filters-4.0-20090509.orig/debian/foomatic-filters.config foomatic-filters-4.0-20090509/debian/foomatic-filters.config
--- foomatic-filters-4.0-20090509.orig/debian/foomatic-filters.config	2009-12-10 13:10:08.000000000 +0100
+++ foomatic-filters-4.0-20090509/debian/foomatic-filters.config	2009-12-10 13:38:05.000000000 +0100
@@ -7,7 +7,7 @@
 
 db_version 2.0
 db_capb backup
-db_title Foomatic Printer Filter Configuration
+db_settitle foomatic-filters/title
 
 declare -i state=1 backup=0
 
diff -ur foomatic-filters-4.0-20090509.orig/debian/foomatic-filters.templates foomatic-filters-4.0-20090509/debian/foomatic-filters.templates
--- foomatic-filters-4.0-20090509.orig/debian/foomatic-filters.templates	2009-12-10 13:10:08.000000000 +0100
+++ foomatic-filters-4.0-20090509/debian/foomatic-filters.templates	2009-12-10 13:37:40.000000000 +0100
@@ -7,6 +7,10 @@
 # Even minor modifications require translation updates and such
 # changes should be coordinated with translators and reviewers.
 
+Template: foomatic-filters/title
+Type: title
+_Description: Foomatic Printer Filter Configuration
+
 Template: foomatic-filters/filter_debug
 Type: boolean
 Default: false

Reply via email to