reassign 801170 libgdk-pixbuf2.0-0
thanks

Hi,

I tried a slight variation of your instruction:

host$ fallocate -l 10G testimg
host$ /sbin/mkfs.ext4 testimg
host$ mkdir /tmp/mount
host$ mount testimg /tmp/mount
host$ sudo /usr/sbin/debootstrap --variant=minbase unstable /tmp/mount
host$ echo 'APT::Install-Recommends "0";' | sudo tee
"/tmp/mount/etc/apt/apt.conf.d/99no-install-recommends" > /dev/null
host$ Xephyr -listen tcp :1 &
host$ sudo chroot /tmp/mount
chroot# apt-get install awesome
chroot# DISPLAY=127.0.0.1:1 awesome

Via this, I can reproduce the problem (same error message).

Looking at this via strace, I noticed this tries to load mime information. Thus,
I had the following idea:

host$ sudo cp /usr/share//mime/mime.cache /tmp/mount/usr/share/mime/mime.cache

The above command makes everything work here.

Looking at gdk-pixbuf's source, I can see that it has its own, internal mime
information implementation, but it defaults to using the mime information
available. Apparently something is wrong here. Hence I reassign this to
libgdk-pibxuf.

The file /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache says the
following about PNG files:

"/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so"
"png" 5 "gdk-pixbuf" "PNG" "LGPL"
"image/png" ""
"png" ""
"\211PNG\r\n\032\n" "" 100

The background.png file that this issue is about begins with:

\211PNG\r\n\32\n\0\0\0\rIHDR\0\0\10\0\0\0\6\0\10\2\0\0\0m

I don't really understand the loaders.cache's file format, but to me this looks
like it should match.

Cheers,
Uli
-- 
- Buck, when, exactly, did you lose your mind?
- Three months ago. I woke up one morning married to a pineapple.
  An ugly pineapple... But I loved her.

Reply via email to