> [EMAIL PROTECTED] wrote:
>> -------------- Original message ----------------------
>> From: Iain Day <[EMAIL PROTECTED]>
>>> [EMAIL PROTECTED] wrote:
>>>
>>>> The gtk+2 post-installation script runs a couple of scripts. Check if
>>>>
>>>> /sw/sbin/update-gdk-pixbuf-loaders
>>> #!/bin/sh -e
>>> #
>>> # update-gdk-pixbuf-loaders
>>> #
>>> # Packages which install gdk-pixbuf loader(s) should call update-gdk-
>>> # pixbuf-loaders in their PostInstScript and PostRmScript to update
>>> the
>>> # gdk-pixbuf.loaders file.
>>> #
>>>
>>> CONFDIR=/sw/etc/gtk-2.0
>>> CONFFILE=$CONFDIR/gdk-pixbuf.loaders
>>>
>>> mkdir -p $CONFDIR
>>>
>>> TMPFILE=`tempfile`
>>> gdk-pixbuf-query-loaders >$TMPFILE
>>>
>>> mv -f $TMPFILE $CONFFILE
>>> chmod 0644 $CONFFILE
>>>
>>> exit 0
>>>
>>>> and/or
>>>>
>>>> /sw/sbin/update-gtk-immodules
>>> #!/bin/sh -e
>>> #
>>> # update-gtk-immodules
>>> #
>>> # Packages which install gtk immodule(s) should call
>>> update-gtk-immodules
>>> # in their PostInstScript and PostRmScript to update the
>>> gtk.immodules
>>> file.
>>> #
>>>
>>> CONFDIR=/sw/etc/gtk-2.0
>>> CONFFILE=$CONFDIR/gtk.immodules
>>>
>>> mkdir -p $CONFDIR
>>>
>>> TMPFILE=`tempfile`
>>> gtk-query-immodules-2.0 >$TMPFILE
>>>
>>> mv -f $TMPFILE $CONFFILE
>>> chmod 0644 $CONFFILE
>>>
>>> exit 0
>>>
>>> Hope these help.
>>>
>>> Thanks,
>>>
>>> Iain
>>>
>>>
>>
>> Those seem right. Your /sw isn't a symbolic link to another drive by
>> any chance?
>
> No, /sw is on by boot volume. I think I've spotted the problem. The .deb
> package being built is called gtk+2 whereas these scripts are looking
> for gtk-2 I wonder whether this is causing chmod error.
>
> Iain
>
>
(OK, I'm sticking with this account :-)
Unfortunately, that's not the problem. I've got the same version of gtk+2
installed, and the "gtk-2" directories are indeed present.
I think I found the problem after looking at the cvs commits. Those two
scripts call for "chmod 0644" not "chmod a+r" (they're the same thing, but
the output should would have said "0644"). There was a change made to
the package to remove a line with "chmod a+r"
Do another selfupdate and then try running "fink dumpinfo -fpostinstscript
gtk+2" If you've got the correct version of the gtk+2.info file, you'll
see something like
$ fink dumpinfo -fpostinstscript gtk+2
Information about 6384 packages read in 6 seconds.
postinstscript:
case "$1" in
configure)
update-gdk-pixbuf-loaders
update-gtk-immodules
;;
esac
If you've got the wrong one still, then there will be a line before the ;;
that says "chmod a+r %p/etc/gtk-2.0/*"
--AKH
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users