force-merge 455795 439817
tag 439817 +pending
thanks

Hi!

I have reviewed this bug, and I find that it's quite important to fix it.

Thanks to the help of Pablo De Napoli, that found the upstream patch that
fixes it, I have prepared an NMU with a very simple patch.

I'm attaching the debdiff of the NMU I've prepared. I didn't use dpatch,
even though it's already in the debian/rules, because there was no
debian/patches directory, and the other patches were applied directly.

After uploading this to unstable, I'll be pinging the submitters and asking
them to check if their printers work fine with this package.  Once they
confirm, it would be a good idea to let the package go into Lenny.

After Lenny is released, the new upstream release should be packaged.

-- 
 Besitos,   {o_
     Marga. (')_
diff -u splix-1.0.1/src/spl2.cpp splix-1.0.1/src/spl2.cpp
--- splix-1.0.1/src/spl2.cpp
+++ splix-1.0.1/src/spl2.cpp
@@ -169,7 +169,8 @@
     header[0xd] = _printer->docHeaderValues(1);     // ??? XXX
     header[0xe] = _printer->qpdlVersion();          // QPDL Version
     header[0xf] = _printer->docHeaderValues(2);     // ??? XXX
-    if (_printer->resolutionY() != _printer->resolutionX())
+    if (_printer->resolutionY() != _printer->resolutionX() || 
+        _printer->docHeaderValues(2) == 1)
         header[0x10] = _printer->resolutionX() / 100; // X Resolution
     else
         header[0x10] = 0;                           // X Resolution = Y Res.
diff -u splix-1.0.1/debian/changelog splix-1.0.1/debian/changelog
--- splix-1.0.1/debian/changelog
+++ splix-1.0.1/debian/changelog
@@ -1,3 +1,11 @@
+splix (1.0.1-1.2) unstable; urgency=low
+
+  * Non-maintainer upload to fix important usability bug.
+  * Applied patch from upstream that corrects a bug for the ML-2010 
+    printer.  Thanks to Pablo De Napoli for the patch. (Closes: #439817)  
+
+ -- Margarita Manterola <[EMAIL PROTECTED]>  Sun, 12 Oct 2008 15:46:27 +0000
+
 splix (1.0.1-1.1) unstable; urgency=medium
 
   * Non-maintainer upload.

Reply via email to