I have found a build problem. The fix works well with a package which I
build on my local machine, but with a package built on buildds it fails.

So I get the following (having a locally rebuilt binary package of
"cups", using 1.4.6-5 in all cases):

till@till:~/ubuntu/cups/bzr/debian-trunk$ sudo dpkg -i cups_1.4.6-5_amd64.deb
...
till@till:~/ubuntu/cups/bzr/debian-trunk$ file 
/usr/share/cups/doc-root/images/cups.png
/usr/share/cups/doc-root/images/cups.png: PNG image data, 128 x 128, 
8-bit/color RGBA, non-interlaced
till@till:~/ubuntu/cups/bzr/debian-trunk$ sudo apt-get install --reinstall cups
...
till@till:~/ubuntu/cups/bzr/debian-trunk$ file 
/usr/share/cups/doc-root/images/cups.png
/usr/share/cups/doc-root/images/cups.png: PNG image data, 128 x 128, 8-bit 
colormap, non-interlaced
till@till:~/ubuntu/cups/bzr/debian-trunk$ 

So cups.png has the correct format with the locally built package but
the wrong format with the package built by buildds.

The conversion is done in the debian/rules file, in the "binary-post-
install/cups::" rule, by running the command line

convert debian/$(cdbs_curpkg)/usr/share/cups/doc-root/images/cups.png 
PNG32:cups.png && \
        mv -f cups.png debian/$(cdbs_curpkg)/usr/share/cups/doc-root/images/

How has this to be done correctly so that buildds produces the correct
files.

pitti, can you help here? Thanks.


** Changed in: cups (Ubuntu Natty)
   Importance: High => Critical

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/710881

Title:
  cups: Test Page /usr/lib/cups/filter/bannertops failed, test page and
  banner pages do not get printed

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to