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

Bug#694491: unblock: kdeadmin/4:4.8.4-2



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package kdeadmin

This package ships a simple hack^w modification in the UI that allows
us to downgrade the severity of #659155 from grave to normal.

The diffstat is:

 changelog                        |    9 ++
 control                          |    3 
 patches/lp_lpadmin_warning.patch |  119 +++++++++++++++++++++++++++++++++++++++
 patches/series                   |    1 
 4 files changed, 131 insertions(+), 1 deletion(-)

Kinds regards, Lisandro.

unblock kdeadmin/4:4.8.4-2

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.21+edid (SMP w/2 CPU cores)
Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
diff -Nru kdeadmin-4.8.4/debian/changelog kdeadmin-4.8.4/debian/changelog
--- kdeadmin-4.8.4/debian/changelog	2012-06-19 10:29:16.000000000 -0300
+++ kdeadmin-4.8.4/debian/changelog	2012-11-26 17:39:52.000000000 -0300
@@ -1,3 +1,12 @@
+kdeadmin (4:4.8.4-2) unstable; urgency=low
+
+  * Add lp_lpadmin_warning.patch to tell the user that it needs to be in the
+    lp/lpadmin group in order to use system-config-printer-kde. It doesn't
+    solves #659155, but allows us to downgrade the severity.
+  * Add myself to Uploaders.
+
+ -- Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>  Mon, 26 Nov 2012 17:30:35 -0300
+
 kdeadmin (4:4.8.4-1) unstable; urgency=low
 
   * Team upload.
diff -Nru kdeadmin-4.8.4/debian/control kdeadmin-4.8.4/debian/control
--- kdeadmin-4.8.4/debian/control	2012-06-19 10:28:14.000000000 -0300
+++ kdeadmin-4.8.4/debian/control	2012-11-26 17:39:32.000000000 -0300
@@ -6,7 +6,8 @@
  Fathi Boudra <fabo@debian.org>,
  Modestas Vainius <modax@debian.org>,
  José Manuel Santamaría Lema <panfaust@gmail.com>,
- Eshat Cakar <info@eshat.de>
+ Eshat Cakar <info@eshat.de>,
+ Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
 Build-Depends: kde-sc-dev-latest (>= 4:4.8.4),
  cmake, debhelper (>= 7.3.16), pkg-kde-tools (>= 0.12),
  kdepimlibs5-dev (>= 4:4.8), docbook-to-man, python
diff -Nru kdeadmin-4.8.4/debian/patches/lp_lpadmin_warning.patch kdeadmin-4.8.4/debian/patches/lp_lpadmin_warning.patch
--- kdeadmin-4.8.4/debian/patches/lp_lpadmin_warning.patch	1969-12-31 21:00:00.000000000 -0300
+++ kdeadmin-4.8.4/debian/patches/lp_lpadmin_warning.patch	2012-11-26 17:27:49.000000000 -0300
@@ -0,0 +1,119 @@
+Description: Adds a warning to the user to be in the lp/lpadmin group
+ This tool does not works if the user is not in the lp/lpadmin group.
+ This patch adds a note to the user informing this situation.
+Author: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
+Bug-Debian: http://bugs.debian.org/659155
+Forwarded: no
+Last-Update: 2012-08-24
+
+--- kdeadmin-4.8.4.orig/system-config-printer-kde/system-config-printer.ui
++++ kdeadmin-4.8.4/system-config-printer-kde/system-config-printer.ui
+@@ -6,7 +6,7 @@
+    <rect>
+     <x>0</x>
+     <y>0</y>
+-    <width>826</width>
++    <width>850</width>
+     <height>509</height>
+    </rect>
+   </property>
+@@ -42,11 +42,11 @@
+       </sizepolicy>
+      </property>
+      <property name="currentIndex">
+-      <number>2</number>
++      <number>0</number>
+      </property>
+      <widget class="QWidget" name="page">
+-      <layout class="QVBoxLayout" name="verticalLayout_4">
+-       <item>
++      <layout class="QGridLayout" name="gridLayout_17">
++       <item row="0" column="0">
+         <widget class="QLabel" name="label">
+          <property name="sizePolicy">
+           <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
+@@ -65,7 +65,7 @@
+          </property>
+         </widget>
+        </item>
+-       <item>
++       <item row="1" column="0">
+         <layout class="QGridLayout" name="gridLayout">
+          <item row="0" column="0">
+           <widget class="KPushButton" name="btnNewPrinter">
+@@ -153,7 +153,30 @@ print to.</string>
+          </item>
+         </layout>
+        </item>
+-       <item>
++       <item row="2" column="0">
++        <spacer name="verticalSpacer_5">
++         <property name="orientation">
++          <enum>Qt::Vertical</enum>
++         </property>
++         <property name="sizeHint" stdset="0">
++          <size>
++           <width>478</width>
++           <height>23</height>
++          </size>
++         </property>
++        </spacer>
++       </item>
++       <item row="3" column="0">
++        <widget class="QLabel" name="warningLabel">
++         <property name="text">
++          <string>&lt;strong&gt;Note:&lt;/strong&gt; your user needs to be in the lp / lpadmin group for being able to use this tool.</string>
++         </property>
++         <property name="textFormat">
++          <enum>Qt::RichText</enum>
++         </property>
++        </widget>
++       </item>
++       <item row="4" column="0">
+         <spacer name="verticalSpacer_4">
+          <property name="orientation">
+           <enum>Qt::Vertical</enum>
+@@ -877,8 +900,8 @@ print to.</string>
+                  <rect>
+                   <x>0</x>
+                   <y>0</y>
+-                  <width>532</width>
+-                  <height>427</height>
++                  <width>92</width>
++                  <height>22</height>
+                  </rect>
+                 </property>
+                 <layout class="QGridLayout" name="gridLayout_5">
+@@ -912,7 +935,7 @@ print to.</string>
+                  <rect>
+                   <x>0</x>
+                   <y>0</y>
+-                  <width>515</width>
++                  <width>535</width>
+                   <height>1026</height>
+                  </rect>
+                 </property>
+@@ -1774,11 +1797,6 @@ if they are not already set by the appli
+    <header>kcombobox.h</header>
+   </customwidget>
+   <customwidget>
+-   <class>KIntSpinBox</class>
+-   <extends>QSpinBox</extends>
+-   <header>knuminput.h</header>
+-  </customwidget>
+-  <customwidget>
+    <class>KLineEdit</class>
+    <extends>QLineEdit</extends>
+    <header>klineedit.h</header>
+@@ -1788,6 +1806,11 @@ if they are not already set by the appli
+    <extends>QPushButton</extends>
+    <header>kpushbutton.h</header>
+   </customwidget>
++  <customwidget>
++   <class>KIntSpinBox</class>
++   <extends>QSpinBox</extends>
++   <header>knuminput.h</header>
++  </customwidget>
+  </customwidgets>
+  <resources/>
+  <connections/>
diff -Nru kdeadmin-4.8.4/debian/patches/series kdeadmin-4.8.4/debian/patches/series
--- kdeadmin-4.8.4/debian/patches/series	2012-06-19 10:08:03.000000000 -0300
+++ kdeadmin-4.8.4/debian/patches/series	2012-11-26 17:27:49.000000000 -0300
@@ -1,2 +1,3 @@
 system_config_printer_kde_cupsutils.diff
 kuser_first_uid_gid_fix.diff
+lp_lpadmin_warning.patch

Reply to: