kde/qt debconf not working

Pali Rohár pali.rohar at gmail.com
Fri Nov 22 12:21:42 UTC 2013


Hello,

it looks like for me that nobody reading debconf bugs on
launchpad... so I resending them to kubuntu-devel list.

problem is that debconf does not work with qt/kde gui backend and
debconf package has missing dependences.

I reported it on launchpad bug tracker more than year ago, see:
https://bugs.launchpad.net/ubuntu/+source/debconf/+bug/988991
https://bugs.launchpad.net/ubuntu/+source/debconf/+bug/988961

Here are patches which fixing that two bugs:

--- /usr/share/perl5/Debconf/FrontEnd/Kde/Ui_DebconfWizard.pm	2012-03-15 14:21:13.000000000 +0100
+++ /usr/share/perl5/Debconf/FrontEnd/Kde/Ui_DebconfWizard.pm	2013-11-22 13:10:14.650205057 +0100
@@ -141,10 +141,10 @@ sub retranslateUi {
     my ( $self, $debconfWizard ) = @_;
     $debconfWizard->setWindowTitle( Qt::Application::translate( 'DebconfWizard', "Debconf", undef, 
Qt::Application::UnicodeUTF8() ) );
     $self->{title}->setText( Qt::Application::translate( 'DebconfWizard', "title", undef, Qt::Application::UnicodeUTF8() ) );
-    $self->{bhelp}->setText( Qt::Application::translate( 'DebconfWizard', "Help", undef, Qt::Application::UnicodeUTF8() ) );
-    $self->{bback}->setText( Qt::Application::translate( 'DebconfWizard', "< Back", undef, Qt::Application::UnicodeUTF8() ) );
-    $self->{bnext}->setText( Qt::Application::translate( 'DebconfWizard', "Next >", undef, Qt::Application::UnicodeUTF8() ) );
-    $self->{bcancel}->setText( Qt::Application::translate( 'DebconfWizard', "Cancel", undef, Qt::Application::UnicodeUTF8() ) );
+    $self->{bHelp}->setText( Qt::Application::translate( 'DebconfWizard', "Help", undef, Qt::Application::UnicodeUTF8() ) );
+    $self->{bBack}->setText( Qt::Application::translate( 'DebconfWizard', "< Back", undef, Qt::Application::UnicodeUTF8() ) );
+    $self->{bNext}->setText( Qt::Application::translate( 'DebconfWizard', "Next >", undef, Qt::Application::UnicodeUTF8() ) );
+    $self->{bCancel}->setText( Qt::Application::translate( 'DebconfWizard', "Cancel", undef, Qt::Application::UnicodeUTF8() ) );
 } # retranslateUi
 
 sub retranslate_ui {


--- /usr/share/perl5/Debconf/Element/Kde/Note.pm	2012-03-15 14:21:13.000000000 +0100
+++ /usr/share/perl5/Debconf/Element/Kde/Note.pm	2013-08-09 13:47:33.682134067 +0200
@@ -5,7 +5,7 @@
 package Debconf::Element::Kde::Note;
 use strict;
 use Debconf::Gettext;
-use Qt;
+#use Qt;
 use Debconf::Element::Noninteractive::Note;
 use base qw(Debconf::Element::Kde);
 

Patches were generated on Kubuntu precise. Can you look at above
two bugs and fix them?

-- 
Pali Rohár
pali.rohar at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.ubuntu.com/archives/kubuntu-devel/attachments/20131122/0448fbd8/attachment.pgp>


More information about the kubuntu-devel mailing list