Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#2889 - gtk2 should create gdk-pixbuf.loaders

Attached to Project: Arch Linux
Opened by Andrew Cousino (poetofnumbers) - Tuesday, 28 June 2005, 14:38 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To No-one
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

The package gtk2 does not create the following files:
/etc/gtk-2.0/gtk.immodules
/etc/gtk-2.0/gdk-pixbuf.loaders

These files are supposed to be created after running post_install in gtk2.install, because their creation is in the code of the install file. Many packages such as mozilla, gaim, and gqview complain that the gdk-pixbuf.loaders file does not exist.
This task depends upon

Closed by  arjan timmerman (blaasvis)
Wednesday, 27 July 2005, 09:19 GMT
Reason for closing:  Not a bug
Comment by Jan de Groot (JGC) - Tuesday, 28 June 2005, 15:46 GMT
Something like this?
post_install() {
# we need to ldconfig first, in case xfree86's libs aren't
# in ld.so.cache yet
sbin/ldconfig -r .
mkdir -p etc/gtk-2.0 &>/dev/null
usr/bin/gtk-query-immodules-2.0 >etc/gtk-2.0/gtk.immodules
usr/bin/gdk-pixbuf-query-loaders >etc/gtk-2.0/gdk-pixbuf.loaders
}

Because that's what I have in /var/lib/pacman/local/gtk2-2.6.8-1/install, which is there because the current gtk2 has that .install file ;)
Comment by Andrew Cousino (poetofnumbers) - Tuesday, 28 June 2005, 16:50 GMT
Yes, however, this install script does not seem to create the files mentioned in the bug report.
Comment by Jan de Groot (JGC) - Tuesday, 28 June 2005, 17:25 GMT
They exist on my system, so somehow these files were created.
Comment by Andrew Cousino (poetofnumbers) - Tuesday, 28 June 2005, 22:12 GMT
I installed a fresh copy of Arch 0.7 a few days ago, and I had to create them on my own.
Comment by Jan de Groot (JGC) - Thursday, 30 June 2005, 11:13 GMT
I cannot reproduce this on my system. Whenever I rm -rf /etc/gtk-2.0, reinstall gtk2, it appears again. When I pacman -Rd gtk2, then rm -rf /etc/gtk-2.0 and install gtk2 again, it's also there again.

Loading...