Files
gtk3/debian/update-gdkpixbuf-loaders.in
Sebastien Bacher 826f027f0a gtk+2.0 (2.6.0-1) experimental; urgency=low
* New upstream release (Closes: #275239).
  * debian/control.in:
    - create a gtk2-engines-pixbuf package.
    - recommends hicolor-icon-theme (Closes: #287334).
    - rename libgtk2.0-dbg to libgtk2.0-0-dbg.
    - updated the Build-Depends.
  * debian/gtk2-engines-pixbuf.files:
    - added.
  * debian/libgtk2.0-bin.files:
    - install gtk-update-icon-cache here.
  * debian/libgtk2.0-bin.postinst:
    - call gtk-update-icon-cache.
  * debian/patches/001_gtk+-debian-aclocal-pass_all.patch:
    - removed, should not be needed with the new version.
  * debian/patches/003_treeview-typeahead.patch,
    debian/patches/003_filechooser-search.patch,
    debian/patches/004_treeview-activate.patch,
    debian/patches/005_modifiers.patch:
    - removed, these changes are in the new version.
  * debian/rules:
    - updated the shlibs.
    - use dh_strip to make the debug package.
  * update-gtk-immodules.in:
  * update-gdkpixbuf-loaders.in:
    - module version is 2.4.0.
  * debian/watch:
    - updated.

 -- Sebastien Bacher <seb128@debian.org>  Wed, 29 Dec 2004 18:55:11 +0100
2005-01-08 17:04:58 +00:00

41 lines
1002 B
Bash

#! /bin/sh
set -e
TMPFILE=`mktemp /tmp/gtk+-@VERSION@.XXXXXXXXXX`
defaultver=@MODVER@
if [ "x$1" != "x" ]; then
VERSION=`echo $1 | sed -e 's/-[A-Za-z0-9\.]*$//' -e 's/+[A-Za-z0-9\.]*$//'`
else
VERSION=$defaultver
fi
VERSION=2.4.0
apiver=2.0
shortver=`echo $VERSION | sed -e 's/\.[0-9]*$//'`
if ! test -d /usr/lib/gtk-$apiver/$VERSION/loaders; then
echo "You don't have gdk-pixbuf loaders directory for version $VERSION."
echo "Use default version instead."
VERSION=$defaultver
shortver=`echo $VERSION | sed -e 's/\.[0-9]*$//'`
fi
echo -n "Updating the gdk-pixbuf loaders list for GTK+-$VERSION..."
/usr/bin/gdk-pixbuf-query-loaders > $TMPFILE
if [ "x`cat $TMPFILE | grep -v '^#'`" = "x" ]; then
echo "the gdk-pixbuf loaders was not found."
else
echo "done."
fi
if ! test -d /etc/gtk-$apiver; then
echo -n "Creating /etc/gtk-$apiver..."
mkdir /etc/gtk-$apiver
echo "done."
fi
cp $TMPFILE /etc/gtk-$apiver/gdk-pixbuf.loaders
chmod 644 /etc/gtk-$apiver/gdk-pixbuf.loaders
rm -f $TMPFILE