[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Fwd: kde/qt debconf not working



Hello,

Kubuntu developers told me to send these patches to Debian, because
perl debconf version is maintaned by Debian. Can you look at patches
and fix these bugs? I'm forwarding original email.

-- 
Pali Rohár
pali.rohar@gmail.com

---------- Forwarded message ----------
From: Pali Rohár <pali.rohar@gmail.com>
Date: 2013/11/22
Subject: kde/qt debconf not working
To: kubuntu-devel@lists.ubuntu.com


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@gmail.com


Reply to: